@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;1,500&family=Inter:wght@300;400;500&family=Vazirmatn:wght@300;400;500&display=swap');
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #030303;
  color: #eee;
  font: 13px Inter,Arial;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

main {
  overflow: hidden;
  background: radial-gradient(circle at 80% 14%,#3c0d2255,transparent 32%),#030303;
}

header {
  height: 76px;
  max-width: 1500px;
  margin: auto;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.logo {
  color: #ff579a;
  font: italic 31px "Cormorant Garamond";
}

.logo small {
  display: block;
  color: white;
  font: 7px Inter;
  letter-spacing: 5px;
  text-align: right;
}

nav {
  display: flex;
  gap: 36px;
}

nav a {
  font-size: 12px;
  color: #ccc;
}

nav a:hover,.pink {
  color: #ff579a;
}

.actions {
  display: flex;
  gap: 18px;
  align-items: center;
}

.actions button,.actions a,.pill {
  border: 1px solid #8d2a52;
  border-radius: 99px;
  background: none;
  color: white;
  padding: 9px 18px;
}

.menu {
  display: none;
  background: none;
  color: white;
  border: 1px solid #8d2a52;
  border-radius: 50%;
  padding: 7px 10px;
}

.hero {
  min-height: 590px;
  display: grid;
  grid-template-columns: 42% 58%;
  border-bottom: 1px solid #25141c;
}

.copy {
  padding: 65px 6% 30px 12%;
  z-index: 2;
}

.pink {
  font-size: 10px;
  letter-spacing: 3px;
}

.hero h1 {
  font: 50px/.98 "Cormorant Garamond";
  margin: 24px 0;
}

.hero em,.about em,footer em {
  color: #ff579a;
}

.lead {
  color: #aaa;
  line-height: 1.8;
  max-width: 480px;
}

.buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.primary {
  display: inline-block;
  background: linear-gradient(135deg,#ff4a94,#ff79ad);
  color: #090306;
  border-radius: 99px;
  padding: 12px 24px;
  box-shadow: 0 0 24px #ff4b9270;
}

.facts {
  display: flex;
  gap: 24px;
  margin-top: 55px;
  color: #ff579a;
}

.facts span {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 19px;
}

.facts small {
  display: flex;
  flex-direction: column;
  color: #777;
  font-size: 8px;
}

.facts b {
  color: #eee;
  font-size: 9px;
  margin-top: 5px;
}

.visual {
  position: relative;
  perspective: 900px;
}

.beam {
  position: absolute;
  width: 85%;
  height: 70%;
  border-bottom: 2px solid #ff4d96;
  border-radius: 50%;
  transform: rotate(-14deg);
  filter: drop-shadow(0 0 8px #ff4d96);
}

.laptop {
  position: absolute;
  width: 68%;
  left: 8%;
  top: 12%;
  transform: rotateY(-7deg);
  filter: drop-shadow(0 25px 25px #000);
}

.screen {
  aspect-ratio: 16/10;
  border: 9px solid #110b0e;
  border-radius: 13px;
  background: radial-gradient(circle at 75% 72%,#55122d,transparent 34%),#080507;
  padding: 9% 8%;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px #87506a;
}

.device-logo {
  font: italic 24px "Cormorant Garamond";
  color: #ff579a;
}

.device-logo span {
  display: block;
  color: white;
  font: 5px Inter;
  letter-spacing: 3px;
  margin-left: 28px;
}

.screen>small {
  display: block;
  color: #ff579a;
  font-size: 6px;
  letter-spacing: 2px;
  margin-top: 17%;
}

.screen h2 {
  font: 27px/1 "Cormorant Garamond";
}

.flower {
  position: absolute;
  right: 3%;
  bottom: 13%;
  font-size: 55px;
  color: #ff579a;
  transform: rotate(-18deg);
}

.base {
  height: 32px;
  background: linear-gradient(#c292a5,#4c333d);
  clip-path: polygon(3% 0,97% 0,100% 70%,82% 100%,16% 100%,0 70%);
  transform: perspective(250px) rotateX(55deg);
  transform-origin: top;
}

.tablet,.phone {
  position: absolute;
  background: radial-gradient(circle at 60% 75%,#651637,transparent 40%),#080507;
  border: 7px solid #241219;
  box-shadow: 0 20px 30px #000,0 0 18px #ff579a55;
  z-index: 3;
}

.tablet {
  width: 25%;
  aspect-ratio: 3/4;
  right: 10%;
  top: 28%;
  border-radius: 16px;
  padding: 6% 3%;
}

.tablet p {
  font: 18px "Cormorant Garamond";
  margin-top: 55%;
}

.tablet b,.phone b {
  position: absolute;
  right: 5%;
  bottom: 8%;
  color: #ff579a;
  font-size: 35px;
}

.phone {
  width: 13%;
  aspect-ratio: 9/19;
  right: 3%;
  top: 45%;
  border-radius: 20px;
  padding: 7% 2%;
}

.phone i {
  display: block;
  width: 40%;
  height: 7px;
  background: #000;
  border-radius: 9px;
  margin: -9px auto 14px;
}

.phone .device-logo {
  font-size: 12px;
}

.phone p {
  font: 13px "Cormorant Garamond";
  margin-top: 70%;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #25141c;
}

.split>div,.projects,.process {
  padding: 25px 4%;
}

.split h2,.projects h2,.process h2 {
  font: 25px "Cormorant Garamond";
  margin: 7px 0 16px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 10px;
}

.service-grid article {
  border: 1px solid #30252a;
  padding: 14px 8px;
  text-align: center;
  height: 140px;
}

.service-grid i,.process-grid i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #593046;
  border-radius: 50%;
  color: #ff579a;
  font-style: normal;
  margin: auto;
}

.service-grid h3 {
  font-size: 9px;
}

.service-grid p {
  font-size: 8px;
  color: #888;
}

.about {
  border-left: 1px solid #25141c;
}

.about>p:not(.pink) {
  color: #999;
  font-size: 10px;
  line-height: 1.8;
  max-width: 380px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 8px;
  margin-top: 24px;
}

.stats span {
  border: 1px solid #30252a;
  text-align: center;
  padding: 12px 4px;
  font-size: 8px;
}

.stats b {
  display: block;
  color: #ff79ad;
  font: 22px "Cormorant Garamond";
}

.projects,.process {
  border-bottom: 1px solid #25141c;
}

.title {
  display: flex;
  justify-content: space-between;
}

.title>a {
  color: #ff579a;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}

.shot {
  height: 120px;
  padding: 14px;
  border-radius: 6px;
  background: #170a10;
}

.shot div {
  height: 100%;
  border: 5px solid #211a1e;
  background: #080507;
  padding: 24px;
  color: #ff579a;
  font: 18px "Cormorant Garamond";
}

.blue-shot {
  background: #152932;
}

.red-shot {
  background: #3b1515;
}

.rose-shot {
  background: #9b3c67;
}

.project-grid h3 {
  font-size: 10px;
  margin-bottom: 2px;
}

.project-grid p {
  font-size: 8px;
  color: #777;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 30px;
}

.process-grid article {
  text-align: center;
}

.process-grid b {
  display: block;
  color: #ff79ad;
  margin-top: 7px;
}

.process-grid h3 {
  font-size: 10px;
}

.process-grid p {
  font-size: 8px;
  color: #777;
}

footer {
  margin: 22px 5% 28px;
  border: 1px solid #39202b;
  border-radius: 11px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr 1fr 1fr;
  gap: 18px;
  align-items: center;
}

footer h2 {
  font: 21px "Cormorant Garamond";
  margin: 0;
}

footer p,footer a {
  font-size: 9px;
}

@media(max-width:900px) {
  nav {
    gap: 15px;
  }

  .hero {
    grid-template-columns: 48% 52%;
  }

  .service-grid {
    grid-template-columns: repeat(3,1fr);
  }

  .project-grid {
    grid-template-columns: repeat(2,1fr);
  }

  footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:700px) {
  header {
    padding: 0 20px;
  }

  .menu {
    display: block;
    order: 3;
  }

  nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 15px;
    right: 15px;
    flex-direction: column;
    background: #12080d;
    border: 1px solid #6d2948;
    padding: 20px;
    border-radius: 12px;
  }

  nav.open {
    display: flex;
  }

  .actions a {
    display: none;
  }

  .hero {
    display: block;
  }

  .copy {
    padding: 50px 24px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .visual {
    height: 410px;
  }

  .laptop {
    width: 78%;
    left: 1%;
    top: 14%;
  }

  .tablet {
    width: 29%;
    right: 7%;
    top: 37%;
  }

  .phone {
    width: 15%;
    right: 0;
    top: 55%;
  }

  .facts {
    flex-wrap: wrap;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .about {
    border-left: 0;
    border-top: 1px solid #25141c;
  }

  .service-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2,1fr);
  }

  footer {
    grid-template-columns: 1fr;
  }

  .buttons {
    flex-direction: column;
  }
}

.rtl {
  font-family: Vazirmatn,Arial,sans-serif;
}

.rtl .copy {
  text-align: right;
  padding-right: 12%;
  padding-left: 6%;
}

.rtl .hero h1,.rtl .split h2,.rtl .projects h2,.rtl .process h2,.rtl footer h2 {
  font-family: Vazirmatn,Arial,sans-serif;
  line-height: 1.55;
}

.rtl .pink {
  letter-spacing: 0;
}

.rtl .about {
  border-left: 0;
  border-right: 1px solid #25141c;
}

.rtl .facts small {
  line-height: 1.6;
}

.rtl .device-logo,.rtl .screen h2,.rtl .tablet p,.rtl .phone p {
  direction: ltr;
  text-align: left;
  font-family: "Cormorant Garamond",serif;
}

.rtl .title {
  direction: rtl;
}

@media(max-width:700px) {
  .rtl .copy {
    padding: 50px 24px;
  }

  .rtl .about {
    border-right: 0;
  }
}

/* Contact icons */
.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  transition: color .25s ease,transform .25s ease;
}

.contact-link:hover {
  color: #ff579a;
  transform: translateY(-2px);
}

.contact-icon {
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  display: grid;
  place-items: center;
  color: #ff579a;
  border: 1px solid #633047;
  border-radius: 50%;
  background: rgba(255,87,154,.05);
}

.contact-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-link[href*="t.me"] .contact-icon svg {
  fill: currentColor;
  stroke: none;
}

.contact-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-text strong {
  overflow: hidden;
  color: #eee;
  font-size: 9px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-text small {
  color: #777;
  font-size: 8px;
}

.project-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  white-space: nowrap;
}

.project-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media(max-width:700px) {
  .contact-link {
    padding: 5px 0;
  }

  .contact-text strong {
    font-size: 11px;
  }

  .contact-text small {
    font-size: 9px;
  }
}

/* Final polish */
:root {
  --bg: #050305;
  --panel: rgba(18, 10, 14, .78);
  --panel-strong: #130a0f;
  --line: rgba(255, 121, 173, .16);
  --pink: #ff579a;
  --pink-light: #ff8fba;
  --text: #f7f3f5;
  --muted: #a49aa0;
}

body {
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

main {
  background:
    radial-gradient(circle at 82% 12%, rgba(101, 22, 55, .36), transparent 31%),
    radial-gradient(circle at 15% 54%, rgba(255, 87, 154, .06), transparent 25%),
    var(--bg);
}

header {
  position: sticky;
  top: 0;
  height: 80px;
  background:
    linear-gradient(180deg, rgba(5, 3, 5, .88) 0%, rgba(5, 3, 5, .56) 62%, transparent 100%);
  border-bottom: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Custom mouse */
@media (pointer: fine) {
  body,
  a,
  button,
  .service-grid article,
  .project-grid article {
    cursor: none;
  }

  .cursor-dot,
  .cursor-ring,
  .cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    will-change: transform;
  }

  .cursor-dot {
    width: 7px;
    height: 7px;
    margin: -3.5px 0 0 -3.5px;
    border-radius: 50%;
    background: #ff79ad;
    box-shadow: 0 0 13px rgba(255, 87, 154, .85);
    transition: width .22s ease, height .22s ease, margin .22s ease,
      background .22s ease, opacity .2s ease;
  }

  .cursor-ring {
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border: 1px solid rgba(255, 121, 173, .64);
    border-radius: 50%;
    background: rgba(255, 87, 154, .025);
    box-shadow: 0 0 18px rgba(255, 87, 154, .09);
    transition: width .25s ease, height .25s ease, margin .25s ease,
      border-color .25s ease, background .25s ease, opacity .2s ease;
  }

  .cursor-glow {
    width: 190px;
    height: 190px;
    margin: -95px 0 0 -95px;
    border-radius: 50%;
    background: radial-gradient(circle,
      rgba(255, 87, 154, .18) 0%,
      rgba(255, 87, 154, .075) 36%,
      transparent 72%);
    filter: blur(7px);
    mix-blend-mode: screen;
    transition: opacity .3s ease;
    z-index: 9997;
  }

  .cursor-visible .cursor-dot,
  .cursor-visible .cursor-ring,
  .cursor-visible .cursor-glow {
    opacity: 1;
  }

  .cursor-hover .cursor-dot {
    width: 5px;
    height: 5px;
    margin: -2.5px 0 0 -2.5px;
    background: #fff;
  }

  .cursor-hover .cursor-ring {
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
    border-color: rgba(255, 121, 173, .9);
    background: rgba(255, 87, 154, .11);
  }

  .cursor-hover .cursor-glow {
    opacity: .82;
  }
}

/* Refined Persian typography */
.rtl {
  font-family: Vazirmatn, Tahoma, Arial, sans-serif;
  font-size: 13px;
  font-weight: 300;
}

.rtl nav a,
.rtl button,
.rtl .actions a,
.rtl .primary,
.rtl .pill {
  font-family: Vazirmatn, Tahoma, Arial, sans-serif;
  font-weight: 400;
}

.rtl nav a {
  font-size: 11px;
}

.rtl .hero h1 {
  max-width: 680px;
  margin-block: 20px;
  font-family: Vazirmatn, Tahoma, Arial, sans-serif;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 400;
  line-height: 1.48;
  letter-spacing: -.025em;
}

.rtl .hero h1 em,
.rtl .about h2 em,
.rtl footer h2 em,
.rtl .support-heading h2 em {
  font-weight: 400;
}

.rtl .lead {
  max-width: 530px;
  font-size: 12px;
  line-height: 2;
}

.rtl .pink {
  font-size: 9px;
  font-weight: 500;
}

.rtl .split h2,
.rtl .projects h2,
.rtl .process h2,
.rtl .support-heading h2 {
  font-family: Vazirmatn, Tahoma, Arial, sans-serif;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 400;
  line-height: 1.65;
}

.rtl .service-grid h3,
.rtl .project-grid h3,
.rtl .process-grid h3 {
  font-size: 9px;
  font-weight: 500;
}

.rtl .service-grid p,
.rtl .project-grid p,
.rtl .process-grid p,
.rtl .about > p:not(.pink),
.rtl .support-lead {
  font-size: 9px;
  line-height: 1.9;
}

.rtl .stats span,
.rtl .support-card small,
.rtl .floating-support-panel small {
  font-size: 8px;
}

.rtl .support-card strong,
.rtl .floating-support-panel strong,
.rtl .contact-text strong {
  font-size: 9px;
}

.rtl footer h2 {
  font-family: Vazirmatn, Tahoma, Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.7;
}

.rtl footer p,
.rtl footer a {
  font-size: 9px;
}

.rtl .floating-support-panel,
.rtl .support-fab {
  font-family: Vazirmatn, Tahoma, Arial, sans-serif;
}

.rtl .floating-support-head,
.rtl .floating-support-panel > a {
  text-align: right;
}

@media (max-width: 700px) {
  .rtl .hero h1 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.55;
  }

  .rtl .lead {
    font-size: 11px;
  }

  .rtl .split h2,
  .rtl .projects h2,
  .rtl .process h2,
  .rtl .support-heading h2 {
    font-size: 25px;
  }
}

/* Three-second branded preloader */
body.is-loading {
  overflow: hidden;
}

body.is-loading main,
body.is-loading .floating-support,
body.is-loading .scroll-progress {
  opacity: 0;
}

body.is-loading main {
  transform: translateY(22px) scale(.994);
}

body main,
body .floating-support,
body .scroll-progress {
  transition: opacity 1.05s cubic-bezier(.2,.7,.2,1),
    transform 1.05s cubic-bezier(.2,.7,.2,1);
}

body:not(.site-ready) main,
body:not(.site-ready) .floating-support,
body:not(.site-ready) .scroll-progress {
  opacity: 0;
}

body:not(.site-ready) main {
  transform: translateY(22px) scale(.994);
}

body.site-ready main,
body.site-ready .floating-support,
body.site-ready .scroll-progress {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #f7f3f5;
  background:
    radial-gradient(circle at 50% 45%, rgba(92,20,49,.42), transparent 34%),
    radial-gradient(circle at 78% 12%, rgba(255,87,154,.08), transparent 24%),
    #030303;
  transition: opacity 1.05s cubic-bezier(.2,.7,.2,1),
    visibility 1.05s ease,
    filter 1.05s ease;
}

.preloader::before,
.preloader::after {
  content: "";
  position: absolute;
  width: 52vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,87,154,.36), transparent);
}

.preloader::before {
  top: 22%;
  transform: rotate(-14deg);
}

.preloader::after {
  right: -8%;
  bottom: 20%;
  transform: rotate(12deg);
}

.preloader-glow {
  position: absolute;
  width: min(440px, 70vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255,87,154,.12);
  border-radius: 50%;
  box-shadow:
    inset 0 0 80px rgba(255,87,154,.025),
    0 0 80px rgba(255,87,154,.035);
  animation: loader-orbit 3s cubic-bezier(.4,0,.2,1) both;
}

.preloader-glow::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 9%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff579a;
  box-shadow: 0 0 18px #ff579a;
}

.preloader-brand {
  position: relative;
  z-index: 2;
  width: min(390px, 76vw);
  text-align: center;
}

.preloader-logo {
  color: #ff579a;
  font: italic clamp(54px, 8vw, 88px)/.85 "Cormorant Garamond", serif;
  letter-spacing: -.035em;
  text-shadow: 0 0 28px rgba(255,87,154,.16);
  animation: loader-logo 1.1s ease both;
}

.preloader-logo span {
  display: block;
  width: max-content;
  margin: 14px auto 0;
  color: #fff;
  font: 8px Inter, Arial, sans-serif;
  letter-spacing: 7px;
}

.preloader-brand > p {
  margin: 38px 0 13px;
  color: #a49aa0;
  font: 8px Inter, Arial, sans-serif;
  letter-spacing: 3px;
}

.preloader-track {
  height: 2px;
  overflow: hidden;
  border-radius: 9px;
  background: rgba(255,255,255,.07);
}

.preloader-track i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff3f8b, #ff82b2);
  box-shadow: 0 0 16px rgba(255,87,154,.75);
  transform: scaleX(0);
  transform-origin: left;
  animation: loader-progress 3s linear forwards;
}

.preloader-status {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: #777;
  font: 8px Inter, Arial, sans-serif;
  letter-spacing: 2px;
}

.preloader-status strong {
  color: #ff79ad;
  font-size: 9px;
  font-weight: 500;
}

.preloader.preloader-done {
  visibility: hidden;
  opacity: 0;
  filter: blur(5px);
}

.preloader.preloader-done .preloader-brand {
  opacity: 0;
  transform: translateY(-14px) scale(.97);
  transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}

@keyframes loader-progress {
  to { transform: scaleX(1); }
}

@keyframes loader-logo {
  from { opacity: 0; transform: translateY(12px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes loader-orbit {
  from { opacity: 0; transform: rotate(-35deg) scale(.82); }
  35% { opacity: 1; }
  to { opacity: .55; transform: rotate(325deg) scale(1.05); }
}

@media (max-width: 600px) {
  .preloader-logo {
    font-size: 54px;
  }

  .preloader-brand > p {
    font-size: 7px;
    letter-spacing: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .preloader-glow,
  .preloader-logo {
    animation: none;
  }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #ff4a94, #ff9bc1);
  box-shadow: 0 0 10px rgba(255, 87, 154, .7);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

nav a,
.actions a,
.actions button,
.pill,
.primary {
  transition: color .25s ease, border-color .25s ease, background .25s ease,
    box-shadow .25s ease, transform .25s ease;
}

nav a:hover {
  color: var(--pink-light);
}

.actions button:hover,
.actions a:hover,
.pill:hover {
  border-color: var(--pink);
  background: rgba(255, 87, 154, .08);
  transform: translateY(-2px);
}

.primary:hover {
  box-shadow: 0 10px 32px rgba(255, 75, 146, .38);
  transform: translateY(-2px);
}

.hero {
  min-height: 630px;
}

.copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 55px;
  padding-bottom: 55px;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(48px, 5.3vw, 78px);
  letter-spacing: -.035em;
}

.lead {
  font-size: 14px;
}

.split > div,
.projects,
.process {
  padding: 54px 5%;
}

.split h2,
.projects h2,
.process h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-grid article {
  position: relative;
  min-height: 172px;
  height: auto;
  padding: 24px 14px 20px;
  overflow: hidden;
  border-color: var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,.025), rgba(255,87,154,.025));
  transition: border-color .3s ease, background .3s ease, transform .3s ease,
    box-shadow .3s ease;
}

.service-grid article::after {
  content: "";
  position: absolute;
  inset: auto -25% -65% 35%;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 87, 154, .12);
  filter: blur(28px);
  opacity: 0;
  transition: opacity .3s ease;
}

.service-grid article:hover {
  border-color: rgba(255, 87, 154, .48);
  background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,87,154,.075));
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
  transform: translateY(-6px);
}

.service-grid article:hover::after {
  opacity: 1;
}

.service-grid i {
  width: 44px;
  height: 44px;
  background: rgba(255, 87, 154, .055);
}

.service-grid h3 {
  margin: 16px 0 8px;
  font-size: 12px;
  font-weight: 500;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.about {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about > p:not(.pink) {
  max-width: 520px;
  color: var(--muted);
  font-size: 12px;
}

.about > .pill {
  align-self: flex-start;
  margin-top: 12px;
}

.stats {
  gap: 12px;
  margin-top: 34px;
}

.stats span {
  border-color: var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.018);
  font-size: 9px;
}

.project-grid {
  gap: 24px;
}

.project-grid article a {
  display: block;
}

.shot {
  height: 170px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 12px;
  transition: transform .35s ease, box-shadow .35s ease;
}

.project-grid article:hover .shot {
  box-shadow: 0 20px 45px rgba(0,0,0,.35);
  transform: translateY(-6px);
}

/* Live project links */
.project-grid article > a,
.project-coming {
  display: block;
  height: 100%;
}

.project-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  color: var(--pink-light);
  font-size: 9px;
  letter-spacing: .04em;
  transition: gap .25s ease, color .25s ease;
}

.project-grid article:hover .project-live:not(.muted) {
  gap: 13px;
  color: #fff;
}

.project-live b { font-size: 13px; }
.project-live:not(.muted)::after { content: "↗"; font-size: 12px; }
.project-live.muted { color: #756a70; }

/* Testimonials and order form */
.testimonials,
.order {
  border-bottom: 1px solid #25141c;
  padding: 58px clamp(24px, 6vw, 88px);
}

.section-heading { max-width: 620px; }
.section-heading h2,
.order h2 {
  margin: 7px 0 12px;
  font: 34px/1.15 "Cormorant Garamond", serif;
}
.section-heading > p:last-child,
.order-copy > p:not(.pink) {
  color: var(--muted);
  line-height: 1.8;
}

.review-empty {
  min-height: 150px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,87,154,.06), rgba(18,10,14,.66));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: left;
}
.review-empty > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255,121,173,.35);
  border-radius: 50%;
  color: var(--pink);
  box-shadow: 0 0 28px rgba(255,87,154,.12);
}
.review-empty div { display: flex; flex-direction: column; gap: 8px; }
.review-empty strong { font-size: 13px; font-weight: 500; }
.review-empty small { color: var(--muted); font-size: 10px; }

.order {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(35px, 7vw, 110px);
  background: radial-gradient(circle at 12% 45%, rgba(255,87,154,.09), transparent 28%);
}
.order h2 em { color: var(--pink); }
.order-note { display: flex; align-items: center; gap: 12px; margin-top: 28px; color: var(--pink); }
.order-note small { color: #d5cbd0; line-height: 1.8; }
.order-note b { display: block; color: #7f747a; font-size: 8px; font-weight: 400; }

.order-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(13,7,10,.72);
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
}
.order-form label { display: flex; flex-direction: column; gap: 8px; }
.order-form label.full,
.form-submit,
.form-status { grid-column: 1 / -1; }
.order-form label > span { color: #d4cbd0; font-size: 9px; }
.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  border: 1px solid #38222d;
  border-radius: 9px;
  outline: none;
  background: #090608;
  color: var(--text);
  padding: 12px 13px;
  font: 11px Inter, Arial, sans-serif;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.order-form textarea { resize: vertical; min-height: 110px; }
.order-form select { color-scheme: dark; }
.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255,87,154,.1);
}
.form-submit { border: 0; cursor: pointer; display: flex; justify-content: center; gap: 12px; }
.form-status { min-height: 15px; margin: 0; color: var(--pink-light); font-size: 9px; text-align: center; }

.rtl .review-empty { text-align: right; }
.rtl .section-heading h2,
.rtl .order h2 { font-family: Vazirmatn, Tahoma, sans-serif; line-height: 1.55; }
.rtl .order-form input,
.rtl .order-form select,
.rtl .order-form textarea { font-family: Vazirmatn, Tahoma, sans-serif; }

@media (max-width: 800px) {
  .order { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .testimonials,
  .order { padding: 44px 20px; }
  .review-empty { justify-content: flex-start; padding: 22px; }
  .order-form { grid-template-columns: 1fr; padding: 19px; }
  .order-form label,
  .form-submit,
  .form-status { grid-column: 1; }
}

/* Floating support — always visible while scrolling */
.floating-support {
  position: fixed;
  right: clamp(16px, 2.4vw, 34px);
  bottom: clamp(16px, 2.4vw, 30px);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  direction: ltr;
}

.support-fab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  width: 54px;
  height: 54px;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(255,183,211,.5);
  border-radius: 99px;
  color: #16070e;
  background: linear-gradient(135deg, #ff4a94, #ff86b4);
  box-shadow: 0 12px 35px rgba(255,74,148,.3), 0 0 22px rgba(255,87,154,.18);
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
}

.support-fab:hover {
  box-shadow: 0 15px 42px rgba(255,74,148,.42), 0 0 30px rgba(255,87,154,.25);
  transform: translateY(-3px);
}

.support-fab-icon {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: inherit;
  color: #fff;
  background: transparent;
}

.support-fab-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-fab > i {
  position: absolute;
  right: 3px;
  top: 3px;
  width: 9px;
  height: 9px;
  border: 2px solid #ff6ea8;
  border-radius: 50%;
  background: #8dffb4;
  box-shadow: 0 0 0 2px rgba(3,3,3,.7);
  animation: support-pulse 2s ease-out infinite;
}

.floating-support-panel {
  width: min(320px, calc(100vw - 32px));
  padding: 12px;
  visibility: hidden;
  opacity: 0;
  border: 1px solid rgba(255,121,173,.25);
  border-radius: 16px;
  background: rgba(10,6,8,.96);
  box-shadow: 0 24px 70px rgba(0,0,0,.56), 0 0 35px rgba(255,87,154,.09);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: translateY(14px) scale(.96);
  transform-origin: right bottom;
  transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
}

.floating-support.open .floating-support-panel {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.floating-support-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 4px 12px;
  border-bottom: 1px solid rgba(255,121,173,.12);
  text-align: left;
}

.floating-support-head > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.floating-support-head strong {
  color: #ff79ad;
  font-size: 12px;
}

.floating-support-head small {
  color: #8f858a;
  font-size: 8px;
}

.support-close {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(255,121,173,.2);
  border-radius: 50%;
  color: #ddd;
  background: rgba(255,255,255,.025);
  font-size: 18px;
}

.floating-support-panel > a {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  gap: 10px;
  align-items: center;
  margin-top: 7px;
  padding: 9px;
  border-radius: 9px;
  transition: background .25s ease, transform .25s ease;
}

.floating-support-panel > a:hover {
  background: rgba(255,87,154,.075);
  transform: translateX(3px);
}

.floating-support-panel > a i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,121,173,.26);
  border-radius: 50%;
  color: #ff79ad;
  background: rgba(255,87,154,.045);
  font-style: normal;
}

.floating-support-panel > a span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.floating-support-panel > a small {
  color: #8f858a;
  font-size: 8px;
}

.floating-support-panel > a strong {
  overflow: hidden;
  color: #f4eef1;
  font-size: 10px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes support-pulse {
  0% { box-shadow: 0 0 0 2px rgba(3,3,3,.7), 0 0 0 0 rgba(141,255,180,.45); }
  70%, 100% { box-shadow: 0 0 0 2px rgba(3,3,3,.7), 0 0 0 9px rgba(141,255,180,0); }
}

@media (max-width: 600px) {
  .floating-support {
    right: 14px;
    bottom: 14px;
  }

  .support-fab {
    width: 48px;
    height: 48px;
    padding: 0;
  }

  .support-fab-icon {
    width: 100%;
    height: 100%;
  }
}

@media (pointer: fine) {
  .support-fab,
  .support-close,
  .floating-support-panel a {
    cursor: none;
  }
}

.shot div {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.project-grid h3 {
  margin-top: 14px;
  font-size: 12px;
}

.project-grid p {
  font-size: 9px;
}

.process-grid article {
  padding: 20px 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
}

.process-grid article:hover {
  border-color: var(--line);
  background: rgba(255,87,154,.025);
  transform: translateY(-4px);
}

footer {
  margin-top: 38px;
  margin-bottom: 38px;
  padding: 28px;
  border-color: var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.025), rgba(255,87,154,.035));
}

footer h2 {
  font-size: 25px;
}

.rtl .about > .pill {
  align-self: flex-start;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 46% 54%;
  }

  nav {
    gap: 20px;
  }

  .facts {
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .hero {
    display: block;
  }

  .copy {
    min-height: 560px;
    padding-right: 8%;
    padding-left: 8%;
  }

  .visual {
    height: 500px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  header {
    height: 72px;
  }

  .copy,
  .rtl .copy {
    min-height: auto;
    padding: 72px 24px 45px;
  }

  .hero h1 {
    font-size: clamp(44px, 14vw, 60px);
  }

  .visual {
    height: 400px;
  }

  .split > div,
  .projects,
  .process {
    padding: 44px 22px;
  }

  .service-grid {
    gap: 10px;
  }

  .service-grid article {
    min-height: 165px;
    padding: 20px 10px 16px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .shot {
    height: 190px;
  }

  footer {
    margin: 24px 18px;
    padding: 24px 20px;
    gap: 20px;
  }
}

@media (max-width: 420px) {
  .logo {
    font-size: 27px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: 150px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero .copy,
  .visual,
  .service-grid article,
  .project-grid article,
  .process-grid article {
    animation: reveal .7s both;
  }

  .service-grid article:nth-child(2),
  .project-grid article:nth-child(2),
  .process-grid article:nth-child(2) { animation-delay: .06s; }
  .service-grid article:nth-child(3),
  .project-grid article:nth-child(3),
  .process-grid article:nth-child(3) { animation-delay: .12s; }
  .service-grid article:nth-child(4),
  .project-grid article:nth-child(4),
  .process-grid article:nth-child(4) { animation-delay: .18s; }
  .service-grid article:nth-child(5),
  .process-grid article:nth-child(5) { animation-delay: .24s; }
  .service-grid article:nth-child(6) { animation-delay: .3s; }

  @keyframes reveal {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* Compact services — closer to the original design */
.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.service-grid article {
  min-height: 132px;
  height: 132px;
  padding: 14px 9px 12px;
  border-radius: 5px;
  background: rgba(255,255,255,.012);
  box-shadow: none;
  animation: none !important;
}

.service-grid article::after {
  display: none;
}

.service-grid article:hover {
  border-color: rgba(255, 87, 154, .42);
  background: rgba(255, 87, 154, .035);
  box-shadow: none;
  transform: translateY(-3px);
}

.service-grid i {
  width: 36px;
  height: 36px;
  background: transparent;
}

.service-grid h3 {
  margin: 11px 0 5px;
  font-size: 9px;
}

.service-grid p {
  font-size: 8px;
  line-height: 1.45;
}

/* Section animations on scroll */
.hero .copy,
.visual,
.project-grid article,
.process-grid article {
  animation: none;
}

.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .72s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms),
    transform .72s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms);
}

.scrolling-up .reveal-item:not(.is-visible) {
  transform: translateY(-22px);
}

.scrolling-down .reveal-item:not(.is-visible) {
  transform: translateY(22px);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .laptop {
    animation: device-float 5.8s ease-in-out infinite;
  }

  .tablet {
    animation: device-float 6.6s ease-in-out -1.2s infinite;
  }

  .phone {
    animation: device-float 5.2s ease-in-out -2.1s infinite;
  }

  .beam {
    animation: beam-pulse 3.8s ease-in-out infinite;
  }

  .service-grid i,
  .process-grid i {
    transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
  }

  .service-grid article:hover i,
  .process-grid article:hover i {
    background: rgba(255, 87, 154, .1);
    box-shadow: 0 0 20px rgba(255, 87, 154, .13);
    transform: rotate(-6deg) scale(1.08);
  }

  @keyframes device-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -9px; }
  }

  @keyframes beam-pulse {
    0%, 100% { opacity: .58; filter: drop-shadow(0 0 7px #ff4d96); }
    50% { opacity: 1; filter: drop-shadow(0 0 14px #ff4d96); }
  }
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid article {
    min-height: 130px;
    height: 130px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Final responsive system and seamless header */
header {
  width: 100%;
  max-width: none;
  padding-inline: clamp(24px, 6vw, 96px);
  background: rgba(3, 3, 3, .86);
  border: 0;
  box-shadow: none;
  isolation: isolate;
  backdrop-filter: blur(13px) saturate(115%);
  -webkit-backdrop-filter: blur(13px) saturate(115%);
}

header::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 100%;
  right: 0;
  left: 0;
  height: 34px;
  background: linear-gradient(180deg, rgba(3,3,3,.72), rgba(3,3,3,.24) 52%, transparent);
  pointer-events: none;
}

header > * {
  position: relative;
  z-index: 1;
}

section {
  scroll-margin-top: 92px;
}

/* Large laptops and desktops */
@media (min-width: 1281px) {
  .hero {
    grid-template-columns: minmax(480px, 42%) minmax(0, 58%);
  }

  .copy {
    padding-left: max(7vw, calc((100vw - 1500px) / 2 + 70px));
  }

  .rtl .copy {
    padding-right: max(7vw, calc((100vw - 1500px) / 2 + 70px));
    padding-left: 6%;
  }

  .split > div,
  .projects,
  .process {
    padding-inline: max(5%, calc((100vw - 1600px) / 2 + 60px));
  }
}

/* Standard laptops */
@media (min-width: 1025px) and (max-width: 1280px) {
  header {
    padding-inline: 42px;
  }

  nav {
    gap: 22px;
  }

  .hero {
    grid-template-columns: 44% 56%;
    min-height: 600px;
  }

  .copy {
    padding: 55px 4% 48px 7%;
  }

  .rtl .copy {
    padding: 55px 7% 48px 4%;
  }

  .hero h1 {
    font-size: clamp(48px, 5vw, 64px);
  }

  .facts {
    gap: 12px;
  }

  .split > div,
  .projects,
  .process {
    padding: 48px 4%;
  }

  footer {
    grid-template-columns: 1.7fr 1fr 1.25fr 1fr 1fr;
    gap: 13px;
  }
}

/* Tablets landscape and small laptops */
@media (min-width: 901px) and (max-width: 1024px) {
  header {
    height: 76px;
    padding-inline: 28px;
  }

  nav {
    gap: 14px;
  }

  nav a {
    font-size: 11px;
  }

  .actions {
    gap: 9px;
  }

  .actions button,
  .actions a {
    padding: 8px 12px;
  }

  .hero {
    display: grid;
    grid-template-columns: 48% 52%;
    min-height: 570px;
  }

  .copy {
    min-height: 0;
    padding: 45px 4% 40px 6%;
  }

  .rtl .copy {
    padding: 45px 6% 40px 4%;
  }

  .hero h1 {
    font-size: 48px;
  }

  .facts {
    margin-top: 38px;
    gap: 10px;
  }

  .facts span {
    font-size: 16px;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .about,
  .rtl .about {
    border-right: 0;
    border-left: 0;
    border-top: 1px solid #25141c;
  }

  .service-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }

  footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-intro,
  .project-button {
    grid-column: 1 / -1;
  }
}

/* Tablets portrait and mobile navigation */
@media (max-width: 900px) {
  header {
    height: 72px;
    padding-inline: clamp(18px, 4vw, 32px);
  }

  header::after {
    height: 26px;
  }

  .menu {
    display: grid;
    place-items: center;
    order: 3;
    width: 38px;
    height: 38px;
    padding: 0;
  }

  nav {
    display: flex;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 62px;
    right: 18px;
    left: 18px;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    border: 1px solid rgba(255,87,154,.22);
    border-radius: 13px;
    background: rgba(8,5,7,.96);
    box-shadow: 0 22px 60px rgba(0,0,0,.48);
    backdrop-filter: blur(18px);
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  }

  nav.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  nav a {
    padding: 10px 12px;
    border-radius: 8px;
  }

  nav a:hover {
    background: rgba(255,87,154,.07);
  }

  .hero {
    display: block;
    min-height: auto;
  }

  .copy,
  .rtl .copy {
    min-height: auto;
    padding: 78px clamp(24px, 8vw, 70px) 48px;
  }

  .visual {
    width: min(760px, 100%);
    height: clamp(390px, 54vw, 510px);
    margin-inline: auto;
  }

  .laptop {
    width: 68%;
    left: 7%;
  }

  .tablet {
    width: 25%;
    right: 10%;
  }

  .phone {
    width: 13%;
    right: 3%;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .about,
  .rtl .about {
    border-right: 0;
    border-left: 0;
    border-top: 1px solid #25141c;
  }

  .split > div,
  .projects,
  .process {
    padding: 46px clamp(22px, 6vw, 52px);
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 28px clamp(18px, 5vw, 40px);
  }

  .footer-intro,
  .project-button {
    grid-column: 1 / -1;
  }
}

/* Phones */
@media (max-width: 600px) {
  .logo {
    font-size: 28px;
  }

  .actions a {
    display: none;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .lead {
    font-size: 13px;
  }

  .buttons {
    align-items: stretch;
  }

  .buttons a {
    text-align: center;
  }

  .facts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 40px;
  }

  .visual {
    height: 360px;
  }

  .laptop {
    width: 78%;
    left: 1%;
  }

  .tablet {
    width: 29%;
    right: 6%;
  }

  .phone {
    width: 16%;
    right: 0;
  }

  .service-grid,
  .project-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shot {
    height: 150px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  footer {
    grid-template-columns: 1fr;
  }

  .footer-intro,
  .project-button {
    grid-column: auto;
  }
}

/* Small phones */
@media (max-width: 390px) {
  header {
    padding-inline: 14px;
  }

  .actions {
    margin-left: auto;
  }

  .copy,
  .rtl .copy {
    padding-inline: 18px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .visual {
    height: 320px;
  }

  .split > div,
  .projects,
  .process {
    padding-inline: 18px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    height: 125px;
    min-height: 125px;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  footer {
    margin-inline: 14px;
  }
}

/* Featured projects — synchronized brand palette */
.project-grid .shot {
  position: relative;
  border-color: rgba(255, 121, 173, .18);
  background-color: #160b11;
  isolation: isolate;
}

.project-grid .shot::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.12), transparent 28%),
    linear-gradient(135deg, transparent 25%, rgba(255,255,255,.025));
  opacity: .75;
}

.project-grid .shot div {
  position: relative;
  border-color: rgba(255, 220, 234, .12);
  background: rgba(8, 5, 7, .78);
  color: #ff8fba;
  box-shadow: inset 0 0 32px rgba(255, 87, 154, .035);
}

.project-grid .pink-shot {
  background:
    radial-gradient(circle at 18% 85%, rgba(255, 137, 183, .34), transparent 44%),
    linear-gradient(145deg, #4d1730, #1b0b13 72%);
}

.project-grid .blue-shot {
  background:
    radial-gradient(circle at 80% 18%, rgba(213, 92, 151, .28), transparent 42%),
    linear-gradient(145deg, #35152b, #160a14 72%);
}

.project-grid .red-shot {
  background:
    radial-gradient(circle at 20% 22%, rgba(255, 86, 142, .25), transparent 40%),
    linear-gradient(145deg, #461322, #18090f 72%);
}

.project-grid .rose-shot {
  background:
    radial-gradient(circle at 78% 80%, rgba(255, 165, 199, .32), transparent 43%),
    linear-gradient(145deg, #5b203d, #1e0c16 72%);
}

.project-grid article:hover .shot {
  border-color: rgba(255, 121, 173, .48);
  box-shadow:
    0 20px 45px rgba(0,0,0,.38),
    0 0 28px rgba(255, 87, 154, .09);
}
