/* ==========================================================================
   Amplify PR — shared stylesheet
   Monochrome base · holographic flares · glow accents
   ========================================================================== */

@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050506;
  --bg-2: #0c0c0e;
  --bg-3: #141417;
  --ink: #f4f4f2;
  --ink-2: #c9c9cc;
  --mute: #8b8b92;
  --line: rgba(255, 255, 255, 0.12);
  --line-2: rgba(255, 255, 255, 0.22);

  --holo-pink: #f6b8e8;
  --holo-lav: #b9b3ff;
  --holo-cyan: #8ef3ff;
  --holo: linear-gradient(100deg, #f6b8e8 0%, #b9b3ff 30%, #8ef3ff 60%, #d9c8ff 80%, #f6b8e8 100%);
  --glow: 0 0 24px rgba(185, 179, 255, 0.45), 0 0 60px rgba(142, 243, 255, 0.18);

  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--holo-lav); color: #000; }

:focus-visible {
  outline: 2px solid var(--holo-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

[hidden] { display: none !important; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Grain + ambient ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); }
}

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mute);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--holo); box-shadow: 0 0 12px var(--holo-lav);
}
.display {
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: .9;
  font-size: clamp(52px, 10.5vw, 176px);
}
.h2 {
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: .95;
  font-size: clamp(40px, 6.4vw, 104px);
}
.h3 {
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-size: clamp(26px, 3vw, 42px);
}
.lede {
  font-size: clamp(19px, 1.9vw, 27px);
  line-height: 1.38;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  font-weight: 400;
}
.label-wide {
  font-weight: 700; letter-spacing: .32em; text-transform: uppercase; font-size: 12px;
}
.holo-text {
  background: var(--holo);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: holoShift 8s linear infinite;
  /* tight tracking pushes the last glyph past the box; pad it so the gradient
     (which only paints inside the box) still covers the whole letter */
  padding-right: .12em; margin-right: -.12em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
@keyframes holoShift { to { background-position: -250% 0; } }
.mute { color: var(--mute); }

/* split text helpers
   The line masks the slide-up reveal vertically only. clip-path (instead of
   overflow: hidden) leaves the sides open so the last letter is never cut, and
   the extra bottom padding keeps descenders (g, y, p) fully visible. */
.split-line {
  display: block; padding-bottom: .22em; margin-bottom: -.22em;
  clip-path: inset(0 -100vw 0 -100vw);
}
.split-line > span { display: inline-block; will-change: transform; }
.word { display: inline-block; }

/* ---------- Buttons ---------- */
.btn {
  --h: 56px;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: 14px;
  height: var(--h); padding: 0 26px 0 28px;
  border-radius: 999px;
  font-weight: 650; font-size: 15px; letter-spacing: .01em;
  background: var(--ink); color: var(--bg);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .4s;
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--holo); background-size: 200% 100%;
  transform: translateY(101%); transition: transform .55s var(--ease);
  animation: holoShift 4s linear infinite;
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover { box-shadow: var(--glow); }
.btn .arrow {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); color: var(--ink); transition: transform .5s var(--ease);
}
.btn:hover .arrow { transform: rotate(-45deg); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { color: var(--bg); }
.btn--ghost .arrow { background: var(--ink); color: var(--bg); }
.btn--sm { --h: 44px; padding: 0 18px 0 20px; font-size: 14px; }
.btn--sm .arrow { width: 22px; height: 22px; }

.link-u {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link-u:hover { background-size: 100% 1px; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: transform .6s var(--ease), background .4s, backdrop-filter .4s;
}
.hdr.is-solid {
  background: rgba(5, 5, 6, .62);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.hdr__logo { display: block; width: 148px; flex: none; }
.hdr__logo img { width: 100%; height: auto; }
.hdr__nav { display: flex; align-items: center; gap: 6px; }
.hdr__link {
  position: relative; padding: 10px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 550; color: var(--ink-2);
  transition: color .3s, background .3s;
}
.hdr__link:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.hdr__link[aria-current="page"] { color: var(--ink); }
.hdr__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--holo-cyan); box-shadow: 0 0 10px var(--holo-cyan);
}
.hdr__cta { margin-left: 10px; }

.burger {
  display: none; align-items: center; gap: 10px;
  height: 44px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2);
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
}
.burger__lines { position: relative; width: 18px; height: 10px; }
.burger__lines i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger__lines i:first-child { top: 0; }
.burger__lines i:last-child { top: 8.5px; }
.menu-open .burger__lines i:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-open .burger__lines i:last-child { top: 4.25px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 79;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease);
  visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__list li { overflow: hidden; border-bottom: 1px solid var(--line); }
.menu__list a {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 0; font-size: clamp(34px, 9vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  transform: translateY(100%); transition: transform .8s var(--ease);
}
.menu__list a small { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--mute); font-weight: 400; }
.menu-open .menu__list a { transform: none; }
.menu-open .menu__list li:nth-child(2) a { transition-delay: .05s; }
.menu-open .menu__list li:nth-child(3) a { transition-delay: .1s; }
.menu-open .menu__list li:nth-child(4) a { transition-delay: .15s; }
.menu-open .menu__list li:nth-child(5) a { transition-delay: .2s; }
.menu__foot { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .hdr__nav { display: none; }
  .burger { display: inline-flex; }
  .hdr__logo { width: 126px; }
}

/* ---------- Page transition curtain ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none;
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.curtain i {
  background: var(--bg-2);
  transform-origin: top;
  transform: scaleY(0);
  position: relative;
}
.curtain i::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--holo); box-shadow: 0 0 20px var(--holo-lav);
}
.curtain.is-in i { transform-origin: bottom; }

/* Holographic glow orb that follows pointer in heroes */
.orb {
  position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%;
  left: 50%; top: 40%; transform: translate(-50%, -50%);
  background: radial-gradient(circle at 30% 30%, rgba(246,184,232,.55), rgba(185,179,255,.35) 35%, rgba(142,243,255,.18) 60%, transparent 70%);
  filter: blur(60px); opacity: .5; pointer-events: none; z-index: 0;
}

/* ---------- Sections ---------- */
main { position: relative; overflow-x: clip; }
.section { position: relative; padding-block: clamp(84px, 13vw, 190px); }
.section--tight { padding-block: clamp(64px, 8vw, 120px); }
.section__head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 84px); max-width: 1100px; }
.section__head--row { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; max-width: none; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Page hero ---------- */
.phero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.phero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.phero__in { position: relative; z-index: 2; width: 100%; }
.phero__meta { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.phero__title { max-width: 14ch; }
.phero__foot {
  margin-top: clamp(32px, 4vw, 56px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end;
}
.phero__foot .lede { max-width: 640px; text-wrap: balance; }
@media (max-width: 720px) {
  .phero__foot { grid-template-columns: 1fr; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; white-space: nowrap; position: relative; }
.marquee__track { display: inline-flex; width: max-content; animation: marquee 38s linear infinite; will-change: transform; }
/* spacing lives inside each item (padding, not gap) so the track is exactly two
   identical halves and translateX(-50%) loops without a jump */
.marquee__track span {
  display: inline-flex; align-items: center; gap: 48px; padding-right: 48px;
  font-size: clamp(28px, 4vw, 56px); font-weight: 800; letter-spacing: -0.035em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.5);
}
.marquee__track span::after { content: "✦"; font-size: .45em; color: var(--holo-lav); text-shadow: 0 0 14px var(--holo-lav); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About / word reveal ---------- */
.reveal-words .w { opacity: .16; transition: opacity .2s; }
.about { display: grid; grid-template-columns: 1fr 2.4fr; gap: clamp(28px, 5vw, 80px); }
.about__text { font-size: clamp(26px, 3.6vw, 54px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 650; }
.about__cta { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* ---------- Expertise cards (dramatic) ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; perspective: 1400px; }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

.xcard {
  position: relative; height: clamp(420px, 38vw, 540px);
  cursor: pointer;
  border-radius: var(--radius);
  perspective: 1200px;
}
.xcard__inner {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transition: transform .9s var(--ease);
  border-radius: inherit;
}
.xcard__face {
  position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  padding: 26px; display: flex; flex-direction: column;
  background: linear-gradient(160deg, #18181c, #0b0b0d 60%);
  box-shadow: inset 0 0 0 1px var(--line);
}
.xcard__front { transform: translateZ(1px); }
.xcard__back { transform: rotateY(180deg) translateZ(1px); background: linear-gradient(160deg, #101014, #050506); }
.xcard__back::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--holo); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: .9;
}
.xcard.is-flipped .xcard__inner { transform: rotateY(180deg); }
.xcard__num { font-family: var(--mono); font-size: 12px; color: var(--mute); letter-spacing: .12em; display: flex; justify-content: space-between; }
.xcard__icon { margin: auto 0 26px; width: 92px; height: 92px; position: relative; transform: translateZ(40px); }
.xcard__icon svg { width: 100%; height: 100%; overflow: visible; }
.xcard__title { font-size: clamp(24px, 2.1vw, 30px); font-weight: 750; letter-spacing: -0.03em; line-height: 1.04; transform: translateZ(30px); }
.xcard__hint { margin-top: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); display: flex; align-items: center; gap: 8px; }
.xcard__hint i { width: 18px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
.xcard:hover .xcard__hint i { width: 36px; }
.xcard__sheen {
  position: absolute; inset: -40%; pointer-events: none; opacity: 0; mix-blend-mode: color-dodge;
  background: conic-gradient(from 0deg at var(--mx, 50%) var(--my, 50%), #f6b8e8, #b9b3ff, #8ef3ff, #f6b8e8);
  filter: blur(40px); transition: opacity .5s;
}
.xcard:hover .xcard__sheen { opacity: .2; }
.xcard__glare {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.22), transparent 45%);
}
.xcard:hover .xcard__glare { opacity: 1; }
.xcard:hover .xcard__front { box-shadow: inset 0 0 0 1px rgba(255,255,255,.3), 0 30px 80px -20px rgba(185,179,255,.35); }
.xcard__back h3 { font-size: 22px; font-weight: 750; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 16px; }
.xcard__back p { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.xcard__back ul { margin-top: auto; display: grid; gap: 0; }
.xcard__back li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; display: flex; gap: 10px; align-items: baseline; }
.xcard__back li::before { content: "↗"; color: var(--holo-cyan); font-size: 12px; }
.cards--burst .xcard { animation: none; }

/* ---------- Case study ---------- */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.case + .case { margin-top: clamp(100px, 14vw, 200px); }
.case__meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.chip {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2);
}
.case__title { margin-bottom: 26px; }
.case__body { color: var(--ink-2); font-size: 17px; max-width: 58ch; }
.case__body p + p { margin-top: 14px; }
.results { margin-top: 34px; border-top: 1px solid var(--line); }
.results li {
  display: grid; grid-template-columns: 118px 1fr; gap: 18px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  transition: background .4s, padding .5s var(--ease);
}
.results li:hover { padding-left: 12px; background: linear-gradient(90deg, rgba(185,179,255,.08), transparent); }
.results b { font-size: 34px; font-weight: 850; letter-spacing: -0.04em; line-height: 1; }
.results b small { font-size: .44em; font-weight: 750; letter-spacing: -0.01em; margin-left: .2em; }
.results span { color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.results span strong { color: var(--ink); font-weight: 650; }
.case__media { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 960px) {
  .case { grid-template-columns: 1fr; }
  .case__media { position: relative; top: 0; }
  .results li { grid-template-columns: 92px 1fr; }
}

/* stacked gallery (skechers) */
.stack { position: relative; aspect-ratio: 4 / 5; }
.stack__item {
  position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), inset 0 0 0 1px var(--line);
  transition: transform .9s var(--ease), filter .6s;
  cursor: pointer; background: var(--bg-3);
}
.stack__item img { width: 100%; height: 100%; object-fit: cover; }
.stack__nav { position: absolute; left: 0; right: 0; bottom: -64px; display: flex; justify-content: space-between; align-items: center; }
.stack__count { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--mute); }
.stack__btns { display: flex; gap: 8px; }
.icon-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-2); transition: background .3s, color .3s, box-shadow .3s;
}
.icon-btn:hover { background: var(--ink); color: var(--bg); box-shadow: var(--glow); }

/* fanned covers */
.covers { position: relative; height: clamp(420px, 52vw, 640px); display: flex; justify-content: center; align-items: center; }
.cover {
  position: absolute; width: min(56%, 340px); aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden;
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.95), 0 0 0 1px var(--line);
  transition: transform .9s var(--ease), box-shadow .5s;
  cursor: pointer; background: var(--bg-3);
}
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover__tag {
  position: absolute; left: 10px; top: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  background: rgba(0,0,0,.65); padding: 5px 8px; border-radius: 99px; backdrop-filter: blur(6px);
}
.cover:nth-child(1) { transform: translateX(-34%) rotate(-8deg) scale(.92); z-index: 1; }
.cover:nth-child(2) { transform: translateY(-2%) rotate(0deg); z-index: 3; }
.cover:nth-child(3) { transform: translateX(34%) rotate(8deg) scale(.92); z-index: 2; }
.covers:hover .cover:nth-child(1) { transform: translateX(-62%) rotate(-12deg) scale(.95); }
.covers:hover .cover:nth-child(3) { transform: translateX(62%) rotate(12deg) scale(.95); }
.cover:hover { box-shadow: 0 50px 90px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.4), var(--glow); z-index: 5 !important; }
.covers:hover .cover:nth-child(2):hover { transform: translateY(-5%) scale(1.04); }
@media (max-width: 600px) {
  .covers:hover .cover:nth-child(1) { transform: translateX(-40%) rotate(-10deg) scale(.92); }
  .covers:hover .cover:nth-child(3) { transform: translateX(40%) rotate(10deg) scale(.92); }
}

/* ---------- Awards ---------- */
.awards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.award {
  position: relative; border-radius: var(--radius); padding: clamp(26px, 3vw, 40px);
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  transition: transform .6s var(--ease), box-shadow .5s;
}
.award:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(185,179,255,.4); }
.award__logo { width: clamp(120px, 14vw, 190px); background: #fff; border-radius: 12px; padding: 14px; }
.award__logo img { width: 100%; }
.award__year { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--mute); }
.award h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 750; letter-spacing: -0.03em; line-height: 1.05; margin-top: 10px; }
.award p { color: var(--mute); font-size: 15px; margin-top: 10px; }
@media (max-width: 860px) { .awards { grid-template-columns: 1fr; } .award { grid-template-columns: 1fr; } }

/* ---------- Ecosystem ---------- */
.eco {
  position: relative; border-radius: calc(var(--radius) * 1.6); overflow: hidden;
  padding: clamp(36px, 6vw, 96px);
  background: radial-gradient(120% 140% at 100% 0%, rgba(185,179,255,.18), transparent 50%), radial-gradient(90% 120% at 0% 100%, rgba(142,243,255,.12), transparent 50%), var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.eco__lockup { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); flex-wrap: wrap; margin-bottom: 40px; }
.eco__lockup img.a { width: clamp(150px, 20vw, 260px); }
.eco__lockup img.b { width: clamp(150px, 20vw, 280px); filter: drop-shadow(0 0 30px rgba(185,179,255,.35)); }
.eco__x { font-size: clamp(30px, 4vw, 56px); font-weight: 300; color: var(--mute); }
.eco__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.eco__flow { display: grid; gap: 10px; }
.eco__flow li {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-radius: 12px;
  background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 600; transition: transform .5s var(--ease), background .4s;
}
.eco__flow li:hover { transform: translateX(10px); background: rgba(185,179,255,.1); }
.eco__flow li span { font-family: var(--mono); font-size: 11px; color: var(--mute); letter-spacing: .1em; }
@media (max-width: 860px) { .eco__grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
.contact__aside { display: grid; gap: 30px; align-content: start; }
.contact__aside .lede { max-width: 32ch; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.field { position: relative; display: grid; }
.field label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 15px 16px; outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23999' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(185,179,255,.7); box-shadow: 0 0 0 4px rgba(185,179,255,.14), 0 0 30px rgba(142,243,255,.08); background: #0f0f12;
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #ff7a90; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--bg-2); display: grid; place-items: center; cursor: pointer; transition: background .3s; }
.check input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #000; border-bottom: 2px solid #000; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .3s var(--ease); }
.check input:checked { background: var(--holo); border-color: transparent; }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: 14px; min-height: 1.5em; color: var(--ink-2); }
.form__status.is-ok { color: var(--holo-cyan); }
.form__status.is-err { color: #ff9aac; }
.form__submit { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.form.is-sending .btn { opacity: .6; pointer-events: none; }

/* ---------- Footer ---------- */
.ftr { position: relative; padding: clamp(70px, 10vw, 140px) 0 34px; border-top: 1px solid var(--line); overflow: hidden; }
.ftr__big {
  font-size: clamp(64px, 17vw, 300px); font-weight: 850; letter-spacing: -0.06em; line-height: .8;
  /* padding gives the "y" descender and the last letter room inside the gradient box */
  padding: 0 .1em .2em 0;
  margin: 0 0 calc(clamp(40px, 6vw, 80px) - .2em) -0.04em; white-space: nowrap;
  background: linear-gradient(180deg, #fff 20%, rgba(255,255,255,.08));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ftr__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.ftr__grid h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); font-weight: 400; margin-bottom: 16px; }
.ftr__grid li + li { margin-top: 8px; }
.ftr__grid a { color: var(--ink-2); transition: color .3s; }
.ftr__grid a:hover { color: var(--ink); }
.ftr__brand p { color: var(--mute); max-width: 36ch; font-size: 15px; margin-top: 16px; }
.ftr__brand img { width: 160px; }
.ftr__base { margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--mute); }
@media (max-width: 860px) { .ftr__grid { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }

/* ---------- Lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 160; display: grid; place-items: center;
  background: rgba(3,3,4,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  padding: 70px 16px;
}
.lb.is-open { opacity: 1; visibility: visible; }
.lb__img { max-width: min(92vw, 1100px); max-height: 80svh; width: auto; border-radius: 10px; box-shadow: 0 40px 120px rgba(0,0,0,.8); transform: scale(.94); transition: transform .6s var(--ease); }
.lb.is-open .lb__img { transform: scale(1); }
.lb__cap { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--ink-2); text-transform: uppercase; padding: 0 70px; }
.lb__close { position: absolute; top: 18px; right: 18px; }
.lb__prev, .lb__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb__prev { left: 14px; } .lb__next { right: 14px; }
@media (max-width: 600px) { .lb__prev, .lb__next { top: auto; bottom: 14px; transform: none; } .lb__cap { bottom: 74px; padding: 0 16px; } }

/* ---------- Reveal defaults (JS enhances) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.94); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 170; transform: translate(-50%, 140%);
  background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  transition: transform .6s var(--ease); box-shadow: var(--glow); max-width: calc(100vw - 32px); text-align: center;
}
.toast.is-on { transform: translate(-50%, 0); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .grain { display: none; }
}
