:root {
  --bg: #08080a;
  --bg-2: #111115;
  --fg: #f5f3ef;
  --muted: #9a98a3;
  --line: rgba(245, 243, 239, .14);
  --yellow: #ffd400;
  --cyan: #00c2ff;
  --magenta: #ff2d95;
  --purple: #5b2bd6;
  --grad: linear-gradient(100deg, var(--yellow), var(--cyan) 50%, var(--magenta));
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --pad: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--magenta); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

/* ---------- Shared ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow i { font-style: normal; color: var(--yellow); }
.eyebrow--center { display: flex; justify-content: center; }
.h2 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(44px, 7vw, 112px); line-height: .92; letter-spacing: -.01em;
  margin-top: 20px;
}
.line { display: block; overflow: hidden; padding-bottom: .04em; }
.line > span { display: inline-block; }
.line--outline > span { color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--fg); color: var(--bg);
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grad);
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { color: var(--bg); }
.btn--small { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn--big { min-height: 64px; padding: 0 36px; font-size: 17px; }
.btn svg { width: 22px; height: 22px; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; align-content: center; gap: 16px;
  background: var(--bg);
}
.preloader__logo { width: 96px; height: 96px; color: var(--fg); }
.preloader__count { font-family: var(--display); font-size: clamp(80px, 16vw, 200px); line-height: 1; }
.preloader__label { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

/* ---------- Cursor & grain ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--fg); mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s;
}
.cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.cursor.is-view { width: 96px; height: 96px; margin: -48px 0 0 -48px; mix-blend-mode: normal; background: var(--grad); }
.cursor__label { font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--bg); opacity: 0; transition: opacity .2s; }
.cursor.is-view .cursor__label { opacity: 1; }
@media (pointer: coarse), (prefers-reduced-motion: reduce) { .cursor { display: none; } }

.grain {
  position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--pad);
  transition: transform .5s var(--ease), background .4s, backdrop-filter .4s;
}
.nav.is-scrolled { background: rgba(8, 8, 10, .6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 20px; letter-spacing: .04em; }
.nav__brand em { font-style: normal; color: var(--muted); }
.nav__logo { width: 40px; height: 40px; color: var(--fg); }
.nav__links { display: flex; gap: 36px; font-size: 14px; font-weight: 500; }
.nav__links a { position: relative; color: var(--muted); transition: color .3s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px;
  background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__links a:hover { color: var(--fg); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; gap: 4px; padding: 10px 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.lang [data-lang].is-active { color: var(--fg); }
.lang__sep { opacity: .4; }
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__brand span { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto; gap: 32px;
  padding: 120px var(--pad) 48px; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.12);
}
.hero__media img:first-child { opacity: 1; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,8,10,.55) 0%, rgba(8,8,10,.35) 40%, var(--bg) 100%),
    radial-gradient(ellipse at 30% 40%, transparent 0%, rgba(8,8,10,.6) 80%);
}
.hero__glow {
  position: absolute; z-index: -1; left: 0; top: 0;
  width: 60vmax; height: 60vmax; margin: -30vmax 0 0 -30vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,194,255,.28), rgba(255,45,149,.18) 40%, transparent 70%);
  filter: blur(40px); mix-blend-mode: screen; pointer-events: none;
  transform: translate(50vw, 50vh);
}
.hero__title {
  align-self: center;
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(52px, 11vw, 200px); line-height: .88; letter-spacing: -.01em;
}
.hero__title .line--outline > span { -webkit-text-stroke-width: clamp(1px, .18vw, 2.5px); }
.hero__bottom { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.hero__lead { max-width: 420px; font-size: clamp(16px, 1.3vw, 19px); color: #d6d4dc; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-right: clamp(0px, 14vw, 200px); }

.badge {
  position: absolute; right: var(--pad); bottom: 110px;
  width: clamp(110px, 12vw, 170px); aspect-ratio: 1;
  display: grid; place-items: center;
}
.badge__text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge__text text { fill: var(--fg); font-family: var(--body); font-size: 15.5px; font-weight: 700; letter-spacing: 3.2px; }
.badge__logo { width: 46%; height: 46%; color: var(--fg); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 700px) {
  .hero__title { font-size: 15vw; }
  .badge { display: none; }
  .hero__ctas { margin-right: 0; }
  .hero__ctas .btn { flex: 1 1 auto; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; padding: 22px 0;
  border-block: 1px solid var(--line);
  background: var(--bg);
}
.marquee__track {
  display: flex; width: max-content; align-items: center; gap: 36px;
  font-family: var(--display); font-size: clamp(32px, 5vw, 72px); text-transform: uppercase; line-height: 1;
  animation: marquee 32s linear infinite;
}
.marquee__track i { font-style: normal; font-size: .5em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about { padding: clamp(96px, 16vw, 200px) var(--pad); max-width: 1500px; margin: 0 auto; }
.manifesto {
  margin-top: 28px;
  font-size: clamp(28px, 4.4vw, 68px); line-height: 1.12; font-weight: 600; letter-spacing: -.02em;
}
.manifesto .w { opacity: .16; transition: opacity .2s; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: clamp(64px, 10vw, 120px); background: var(--line); border-block: 1px solid var(--line);
}
.stat { background: var(--bg); padding: 32px 8px 32px 0; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(48px, 6vw, 96px); line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Services ---------- */
.services { position: relative; overflow: hidden; }
.services__pin {
  display: flex; align-items: center; gap: clamp(40px, 6vw, 100px);
  min-height: 100svh; padding: 96px var(--pad);
  width: max-content;
}
.services__head { width: min(520px, 80vw); flex-shrink: 0; }
.services__track { display: flex; gap: 24px; }
.card {
  position: relative; display: block; flex-shrink: 0;
  width: clamp(280px, 30vw, 440px); aspect-ratio: 3 / 4;
  border-radius: 20px; overflow: hidden; background: var(--bg-2);
}
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 1.2s var(--ease), filter .6s; filter: grayscale(.6) brightness(.7); }
.card:hover img { transform: scale(1.12); filter: grayscale(0) brightness(.75); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8,8,10,.92)); }
.card__body { position: absolute; inset: auto 0 0; z-index: 1; padding: 28px; }
.card__n { font-family: var(--display); font-size: 15px; letter-spacing: .1em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card h3 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 2.6vw, 42px); line-height: 1; text-transform: uppercase; margin: 8px 0 12px; }
.card p { font-size: 15px; color: #c9c7cf; }
@media (max-width: 899px) {
  .services__pin { display: block; width: auto; min-height: 0; padding: 96px 0; }
  .services__head { padding: 0 var(--pad); width: auto; margin-bottom: 40px; }
  .services__track { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) 8px; scrollbar-width: none; }
  .services__track::-webkit-scrollbar { display: none; }
  .card { width: 78vw; aspect-ratio: 3 / 4.4; scroll-snap-align: center; }
  .card img { filter: brightness(.75); }
}

/* ---------- Work ---------- */
.work { padding: clamp(96px, 14vw, 180px) var(--pad); max-width: 1500px; margin: 0 auto; }
.work__list { margin-top: 64px; border-top: 1px solid var(--line); }
.row {
  position: relative; display: grid; grid-template-columns: 60px 1fr auto 80px; align-items: center; gap: 24px;
  padding: 32px 0; border-bottom: 1px solid var(--line); cursor: pointer;
}
.row::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grad); opacity: .08; transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease);
}
.row:hover::before { transform: scaleY(1); }
.row h3 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(36px, 6vw, 96px); line-height: 1; transition: transform .5s var(--ease);
}
.row:hover h3 { transform: translateX(20px); }
.row__n, .row__y { font-size: 14px; color: var(--muted); }
.row__y { text-align: right; }
.row__tag { font-size: 14px; color: var(--muted); }
.work__float {
  position: fixed; top: 0; left: 0; z-index: 40; pointer-events: none;
  width: 340px; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden;
  opacity: 0; transform: scale(.6);
}
.work__float img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) {
  .row { grid-template-columns: 1fr auto; gap: 4px 16px; padding: 24px 0; }
  .row__n { display: none; }
  .row h3 { grid-column: 1 / -1; }
}
@media (pointer: coarse) { .work__float { display: none; } }

/* ---------- Process ---------- */
.process { padding: clamp(96px, 14vw, 180px) var(--pad); max-width: 1500px; margin: 0 auto; }
.process__head .h2 { max-width: 15ch; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 72px; counter-reset: s; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line); }
.step::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%;
  background: var(--grad); transform: scaleX(var(--p, 0)); transform-origin: left;
}
.step span { font-family: var(--display); font-size: 16px; color: var(--muted); }
.step h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 3vw, 44px); line-height: 1; margin: 14px 0 12px; }
.step p { color: var(--muted); font-size: 15px; max-width: 30ch; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.reviews { padding: clamp(96px, 14vw, 180px) var(--pad) 0; max-width: 1300px; margin: 0 auto; }
.reviews__lead { margin-top: 20px; color: var(--muted); }
.reviews__lead a { color: var(--fg); border-bottom: 1px solid var(--yellow); }
.reviews__grid { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.review { margin: 0; padding: 32px; border: 1px solid var(--line); border-radius: 20px; display: flex; flex-direction: column; gap: 18px; }
.review__stars { color: var(--yellow); letter-spacing: 3px; }
.review blockquote { margin: 0; flex: 1; font-size: clamp(16px, 1.3vw, 18px); }
.review figcaption { color: var(--muted); font-size: 14px; }
.footer__nap { grid-column: 1 / -1; font-style: normal; font-size: 13px; }
.footer__nap a:hover { color: var(--fg); }
.faq { padding: clamp(96px, 14vw, 180px) var(--pad); max-width: 1100px; margin: 0 auto; }
.faq__list { margin-top: 56px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 26px 0; font-size: clamp(17px, 1.6vw, 22px); font-weight: 600; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--yellow); font-size: 1.4em; line-height: 1; transition: transform .4s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--muted); max-width: 70ch; padding: 0 0 28px; }

/* ---------- Global ---------- */
.global { position: relative; overflow: hidden; text-align: center; padding: clamp(120px, 16vw, 220px) var(--pad); }
.global__orb {
  position: absolute; z-index: -1; left: 50%; top: 50%;
  width: min(900px, 120vw); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 38px, rgba(245,243,239,.05) 39px 40px),
    radial-gradient(circle, rgba(91,43,214,.35), transparent 65%);
}
.global__title {
  margin-top: 24px; font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(56px, 11vw, 190px); line-height: .9;
}
.global__lead { max-width: 560px; margin: 32px auto 0; color: #cfcdd6; font-size: clamp(16px, 1.4vw, 19px); }
.cities { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 820px; margin: 48px auto 0; }
.cities li { display: flex; align-items: baseline; gap: 10px; padding: 14px 24px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; background: rgba(8,8,10,.5); }
.cities b { font-family: var(--display); font-weight: 400; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; }
.cities span { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Contact ---------- */
.contact { text-align: center; padding: clamp(96px, 14vw, 180px) var(--pad); border-top: 1px solid var(--line); }
.contact__title { margin-top: 24px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(48px, 9.5vw, 180px); line-height: .9; }
.contact__title .line--outline > span { -webkit-text-stroke-width: clamp(1px, .16vw, 2.5px); }
.contact__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 56px; }
.btn--wa { background: #25d366; color: #05210f; }
@media (max-width: 520px) { .contact__ctas .btn { width: 100%; font-size: 15px; padding: 0 20px; } }

/* ---------- Footer ---------- */
.footer {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end;
  padding: 48px var(--pad) 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px;
}
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__logo { width: 56px; height: 56px; color: var(--fg); flex-shrink: 0; }
.footer__social { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__social a:hover { color: var(--fg); }
.footer__copy { grid-column: 1 / -1; font-size: 13px; }
@media (max-width: 700px) { .footer { grid-template-columns: 1fr; } }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 45;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(37, 211, 102, .35);
}
.wa-float svg { width: 30px; height: 30px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .manifesto .w { opacity: 1; }
  /* Marquee keeps moving (slower) so the cut-off words don't look broken; it still pauses on hover */
  .marquee__track { animation-duration: 60s !important; animation-iteration-count: infinite !important; }
}

/* ======================================================================
   Project detail page
   ====================================================================== */
.p-hero {
  position: relative; overflow: hidden; min-height: 100svh;
  display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: clamp(32px, 5vw, 80px);
  padding: 130px var(--pad) 80px;
}
.p-hero__bg {
  position: absolute; inset: -40px; z-index: -1;
  background-size: cover; background-position: center; filter: blur(60px) saturate(1.4) brightness(.35);
}
.p-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, var(--bg)); }
.p-back { display: block; width: fit-content; margin-bottom: 24px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .3s; }
.p-back:hover { color: var(--fg); }
.p-title {
  margin-top: 20px; font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(48px, 7.5vw, 128px); line-height: .92;
}
.p-meta { display: flex; flex-wrap: wrap; gap: 16px 48px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.p-meta dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.p-meta dd { margin-top: 4px; font-weight: 700; }
.p-hero__img {
  justify-self: center; width: min(100%, 440px); aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 24px; rotate: 3deg; box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px var(--line);
}
.p-hero__img img { width: 100%; height: 100%; object-fit: cover; }

.p-intro { max-width: 1300px; margin: 0 auto; padding: clamp(80px, 12vw, 160px) var(--pad) 0; }
.p-lead { font-size: clamp(26px, 3.6vw, 54px); line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }

.p-body {
  max-width: 1300px; margin: 0 auto; padding: clamp(64px, 10vw, 120px) var(--pad);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px);
}
.p-story { margin-top: 20px; font-size: clamp(17px, 1.4vw, 20px); color: #d6d4dc; }
.p-did { margin-top: 20px; border-top: 1px solid var(--line); }
.p-did li {
  display: flex; gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(18px, 1.6vw, 22px); font-weight: 600;
}
.p-did span { font-family: var(--display); font-size: 14px; font-weight: 400; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.p-gallery { padding: 0 var(--pad) clamp(64px, 10vw, 120px); max-width: 1500px; margin: 0 auto; }
.p-gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.p-gallery__grid figure { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; }
.p-gallery__grid figure:nth-child(2) { translate: 0 60px; }
.p-gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.p-gallery__grid figure:hover img { transform: scale(1.08); }

.p-reels { display: grid; justify-items: center; gap: 40px; padding: clamp(64px, 10vw, 120px) var(--pad); }
.p-reels__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; }
.phone {
  position: relative; display: grid; place-items: center; isolation: isolate;
  width: 320px; max-width: 80vw; aspect-ratio: 9 / 16; border-radius: 36px; overflow: hidden; background: var(--bg-2);
  border: 8px solid #1b1b20; box-shadow: 0 30px 100px rgba(0,0,0,.6), 0 0 0 1px var(--line), 0 0 80px rgba(0,194,255,.12);
  transition: transform .6s var(--ease), box-shadow .6s;
}
.phone img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.phone::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,8,10,.1), rgba(8,8,10,.75)); }
.phone__play {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(245,243,239,.15); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(245,243,239,.4); transition: transform .5s var(--ease), background .4s;
}
.phone__play svg { width: 34px; height: 34px; margin-left: 4px; }
.phone__label { position: absolute; bottom: 28px; font-size: 13px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.phone:hover { transform: translateY(-8px) rotate(-1.5deg); box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 0 1px var(--line), 0 0 100px rgba(255,45,149,.25); }
.phone:hover img { transform: scale(1.08); }
.phone:hover .phone__play { transform: scale(1.12); background: var(--grad); }

.p-next {
  position: relative; display: grid; place-items: center; align-content: center; gap: 16px;
  min-height: 70vh; overflow: hidden; text-align: center; padding: 64px var(--pad); isolation: isolate;
}
.p-next img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; filter: brightness(.3) blur(2px); transform: scale(1.1); transition: transform 1.2s var(--ease), filter .6s; }
.p-next:hover img { transform: scale(1); filter: brightness(.45) blur(0); }
.p-next__name { font-family: var(--display); text-transform: uppercase; font-size: clamp(56px, 10vw, 170px); line-height: .9; }
.p-next:hover .p-next__name { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (max-width: 900px) {
  .p-hero { grid-template-columns: 1fr; padding-top: 110px; }
  .p-hero__img { width: min(100%, 360px); rotate: 0deg; }
  .p-body { grid-template-columns: 1fr; }
  .p-gallery__grid { grid-template-columns: 1fr 1fr; }
  .p-gallery__grid figure:nth-child(2) { translate: none; }
}

/* ======================================================================
   Clients grid + panel
   ====================================================================== */
.clients { padding: clamp(80px, 12vw, 160px) var(--pad); max-width: 1500px; margin: 0 auto; }
.clients__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.clients__hint { max-width: 320px; color: var(--muted); font-size: 15px; }
.clients__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.client {
  --x: 50%; --y: 50%;
  position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; padding: 24px;
  border-radius: 20px; background: var(--bg-2); text-align: center; overflow: hidden; isolation: isolate;
  box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease);
}
.client::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--x) var(--y), rgba(0,194,255,.22), rgba(255,45,149,.12) 40%, transparent 70%);
}
.client::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; opacity: 0; transition: opacity .4s;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.client:hover { transform: translateY(-6px); }
.client:hover::before, .client:hover::after, .client:focus-visible::after { opacity: 1; }
.client__name {
  font-family: var(--display); text-transform: uppercase; font-size: clamp(26px, 3vw, 46px); line-height: 1;
  color: rgba(245,243,239,.55); transition: color .4s, transform .5s var(--ease);
}
/* Logos render as white silhouettes so every brand reads the same on dark. */
.client img { width: 58%; max-height: 38%; object-fit: contain; filter: brightness(0) invert(1); opacity: .55; transition: opacity .4s, transform .5s var(--ease); }
.client:hover .client__name { color: var(--fg); transform: scale(1.05); }
.client:hover img { opacity: 1; transform: scale(1.06); }
.client__sector { position: absolute; left: 20px; bottom: 16px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.client__plus {
  position: absolute; right: 16px; top: 16px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-size: 18px; box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), background .3s, color .3s;
}
.client:hover .client__plus { transform: rotate(90deg); background: var(--fg); color: var(--bg); }
@media (max-width: 800px) { .clients__grid { grid-template-columns: 1fr 1fr; gap: 10px; } .client__sector { display: none; } }

.panel {
  margin: 0 0 0 auto; height: 100dvh; max-height: none; width: min(560px, 100vw); max-width: 100vw;
  border: 0; padding: 0; background: var(--bg-2); color: var(--fg); box-shadow: -40px 0 120px rgba(0,0,0,.6);
  translate: 100% 0; transition: translate .6s var(--ease), display .6s allow-discrete, overlay .6s allow-discrete;
}
.panel[open] { translate: 0 0; }
@starting-style { .panel[open] { translate: 100% 0; } }
.panel::backdrop { background: rgba(8,8,10,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.panel__inner { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 32px clamp(24px, 4vw, 48px) 48px; }
.panel__close {
  float: right; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line);
}
.panel__close:hover { background: var(--fg); color: var(--bg); }
.panel__name { clear: both; padding-top: 16px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(44px, 7vw, 72px); line-height: .95; margin-top: 12px; }
.panel__text { margin-top: 20px; color: #d6d4dc; }
.panel__quote { margin-top: 32px; padding: 28px; border-radius: 20px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.panel__quote p { font-size: 20px; line-height: 1.4; font-weight: 600; }
.panel__quote p::before { content: "“"; display: block; font-family: var(--display); font-size: 64px; line-height: .6; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.panel__quote footer { margin-top: 16px; font-size: 14px; color: var(--muted); }
.panel__projects { display: grid; gap: 12px; margin-top: 32px; }
.panel__project { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 16px; padding: 10px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s; }
.panel__project:hover { background: var(--bg); }
.panel__project img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; }
.panel__project b { display: block; font-family: var(--display); font-weight: 400; font-size: 24px; text-transform: uppercase; line-height: 1.05; }
.panel__project small { color: var(--muted); }
.panel__soon { margin-top: 32px; padding: 24px; border-radius: 16px; border: 1px dashed var(--line); color: var(--muted); }
.panel .btn { margin-top: 32px; }

/* Social row in contact */
.socials { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.socials a {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s, transform .4s var(--ease);
}
.socials a:hover { background: var(--fg); color: var(--bg); transform: translateY(-4px); }
.socials svg { width: 22px; height: 22px; }

/* ======================================================================
   Service detail page
   ====================================================================== */
.p-hero__lead { max-width: 520px; margin-top: 28px; font-size: clamp(17px, 1.5vw, 21px); color: #d6d4dc; }
.s-formats { padding: 0 var(--pad) clamp(64px, 10vw, 120px); text-align: center; }
.s-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 980px; margin: 32px auto 0; }
.s-chips li {
  padding: 16px 28px; border-radius: 999px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--display); font-size: clamp(20px, 2vw, 30px); text-transform: uppercase; line-height: 1;
  transition: background .4s, color .4s, transform .5s var(--ease);
}
.s-chips li:hover { background: var(--grad); color: var(--bg); transform: translateY(-4px) rotate(-1.5deg); }
.s-examples { max-width: 1500px; margin: 0 auto; padding: 0 var(--pad) clamp(64px, 10vw, 120px); }
.s-examples__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 24px; }
.s-example {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  aspect-ratio: 4 / 3; padding: 28px; border-radius: 20px; overflow: hidden; isolation: isolate;
}
.s-example img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.s-example::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(8,8,10,.92)); }
.s-example:hover img { transform: scale(1.08); }
.s-example__meta { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #c9c7cf; }
.s-example__title { font-family: var(--display); font-size: clamp(26px, 2.6vw, 40px); text-transform: uppercase; line-height: 1; }
.s-example:hover .s-example__title { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Service cards on home link to their page */
.card__more { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: transform .4s var(--ease); }
.card:hover .card__more { transform: translateX(8px); }
