/* =========================================================
   KEEP GOING DESIGN CO. — main.css
   Forward motion design studio site
   ========================================================= */

/* ---------- TOKENS ---------- */
:root {
  --bg:           #0a0a0a;
  --bg-2:         #111110;
  --bg-3:         #16140e;
  --paper:        #f3efe5;
  --paper-2:      #e8e3d4;
  --ink:          #f3efe5;
  --ink-dim:      rgba(243,239,229,.65);
  --ink-mute:     rgba(243,239,229,.42);
  --line:         rgba(243,239,229,.14);
  --line-strong:  rgba(243,239,229,.28);
  --accent:       #ffc700;
  --accent-2:     #ff5b1f;
  --accent-3:     #f3efe5;

  --max:          1600px;
  --pad:          clamp(20px, 4vw, 64px);
  --gap:          clamp(20px, 2.4vw, 40px);

  --display:      "Anton", "Bebas Neue", "Archivo Black", system-ui, sans-serif;
  --display-alt:  "Archivo Black", "Anton", system-ui, sans-serif;
  --serif:        "Instrument Serif", "Times New Roman", serif;
  --sans:         "Archivo", "Inter", system-ui, sans-serif;
  --mono:         "JetBrains Mono", ui-monospace, monospace;

  --ease:         cubic-bezier(.2,.7,.1,1);
  --ease-out:     cubic-bezier(.16,1,.3,1);
  --ease-in:      cubic-bezier(.7,0,.84,0);

  --t-fast:       .25s;
  --t-med:        .55s;
  --t-slow:       1s;
  --t-vslow:      1.6s;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
body {
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: .005em;
  background: var(--bg);
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; margin: 0; }
input, textarea { font: inherit; color: inherit; }

/* selection */
::selection { background: var(--accent); color: #0a0a0a; }

/* utility */
.h-display {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 6rem);
  line-height: .92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0;
}
.text-accent { color: var(--accent); }
.text-italic { font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: -0.01em; font-weight: 400; }
.micro { font-family: var(--mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); margin: 0; }

/* ---------- GRAIN + VIGNETTE ---------- */
.grain {
  position: fixed; inset: 0;
  z-index: 9999;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: .14;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  animation: grainShift 8s steps(8) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0) }
  20%  { transform: translate(-2%, 1%) }
  40%  { transform: translate(1%, -2%) }
  60%  { transform: translate(-1%, -1%) }
  80%  { transform: translate(2%, 2%) }
  100% { transform: translate(0, 0) }
}
.vignette {
  position: fixed; inset: 0;
  z-index: 9998;
  pointer-events: none;
  background: radial-gradient(120% 80% at 50% 50%, transparent 60%, rgba(0,0,0,.55) 100%);
}

/* (custom cursor removed — using native cursor) */
.cursor { display: none !important; }

/* ---------- PRELOADER ---------- */
.preloader {
  position: fixed; inset: 0;
  z-index: 10001;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: transform .9s var(--ease-in) .2s, opacity .4s linear .9s;
}
.preloader.is-done {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.preloader__inner {
  width: min(900px, 80vw);
  display: grid; gap: 24px;
}
.preloader__count {
  font-family: var(--display);
  font-size: clamp(8rem, 22vw, 22rem);
  line-height: .85;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.preloader__bar {
  height: 2px;
  background: var(--line);
  position: relative; overflow: hidden;
}
.preloader__bar span {
  position: absolute; inset: 0 100% 0 0;
  background: var(--accent);
  transition: inset .2s linear;
}
.preloader__meta {
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .2em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

/* ---------- SCROLL RAIL ---------- */
.rail {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 50;
  background: transparent;
}
.rail__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .1s linear;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--pad);
  transition: background .35s var(--ease), padding .35s var(--ease);
}
.nav.is-scrolled:not(.is-menu-open) {
  background: rgba(10,10,10,.7);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding: 12px var(--pad);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.nav__logo {
  width: 110px;
  height: auto;
  display: block;
}
.nav__links {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  color: var(--ink-dim);
  transition: color .25s var(--ease);
}
.nav__links a span {
  position: relative;
  display: inline-block;
}
.nav__links a span::before {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover span::before { transform: scaleX(1); }

/* The mobile-menu CTA is hidden on desktop (pill button is in nav header instead) */
.nav__links-cta { display: none; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.nav__cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0a0a;
}

.nav__toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 6px;
  z-index: 110;
}
.nav__toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--ink);
  transform-origin: center;
  transition: transform .4s var(--ease), opacity .25s var(--ease);
}

@media (max-width: 960px) {
  .nav__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }

  .nav__toggle { display: flex; }

  /* Mobile menu becomes a full-screen overlay */
  .nav__links {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(6px, 1.4vh, 14px);
    padding: clamp(80px, 12vh, 110px) var(--pad) clamp(40px, 6vh, 60px);
    z-index: 100;
    transform: translateY(-100%);
    transition: transform .55s var(--ease);
    pointer-events: none;
    overflow-y: auto;
  }
  .nav.is-menu-open .nav__links {
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav__links a {
    font-family: var(--display);
    font-size: clamp(1.8rem, 7vw, 2.6rem);
    color: var(--ink);
    letter-spacing: 0;
    text-transform: uppercase;
    padding: 4px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s var(--ease), transform .5s var(--ease), color .25s var(--ease);
  }
  .nav.is-menu-open .nav__links a {
    opacity: 1;
    transform: none;
  }
  .nav.is-menu-open .nav__links a:nth-child(1) { transition-delay: .15s; }
  .nav.is-menu-open .nav__links a:nth-child(2) { transition-delay: .20s; }
  .nav.is-menu-open .nav__links a:nth-child(3) { transition-delay: .25s; }
  .nav.is-menu-open .nav__links a:nth-child(4) { transition-delay: .30s; }
  .nav.is-menu-open .nav__links a:nth-child(5) { transition-delay: .35s; }
  .nav__links a span::before { display: none; }
  .nav__links a:hover,
  .nav__links a:active { color: var(--accent); }

  /* In-menu CTA — visible only inside the mobile overlay */
  .nav__links a.nav__links-cta {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin-top: clamp(14px, 2.6vh, 24px);
    padding: 12px 18px;
    background: var(--accent);
    color: #0a0a0a !important;
    border-radius: 999px;
    font-family: var(--mono);
    font-size: .7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .18em;
    line-height: 1;
  }
  .nav__links a.nav__links-cta svg { flex-shrink: 0; width: 14px; height: 14px; }
  .nav.is-menu-open .nav__links-cta {
    opacity: 1;
    transform: none;
    transition-delay: .4s;
  }

  /* Hide the desktop pill CTA on mobile — the in-menu CTA takes over */
  .nav__cta { display: none; }

  /* Hamburger morphs into an X */
  .nav.is-menu-open .nav__toggle span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }
  .nav.is-menu-open .nav__toggle span:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
  }
}

body.menu-open { overflow: hidden; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(110px, 14vh, 180px) var(--pad) clamp(80px, 8vh, 120px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(28px, 5vh, 56px);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -1;
  pointer-events: none;
}
#heroCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero__stripes {
  position: absolute;
  inset: -10% -10%;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 60px,
      rgba(255, 199, 0, .04) 60px 120px
    );
  mix-blend-mode: screen;
  opacity: .5;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 32px);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero__meta-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero__meta-row .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.6s var(--ease) infinite;
  box-shadow: 0 0 0 0 var(--accent);
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,199,0,.8); }
  70%  { box-shadow: 0 0 0 12px rgba(255,199,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,199,0,0); }
}

.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.4rem, 11vw, 9.5rem);
  line-height: .95;
  letter-spacing: -0.015em;
  margin: 0;
  text-transform: uppercase;
}
.hero__line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: clamp(8px, 1.4vw, 24px);
  row-gap: 0;
}
.hero__line--accent { color: var(--accent); }
.hero__line--italic {
  font-family: var(--serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: -0.03em;
  font-weight: 400;
  line-height: 1.05;
  padding-bottom: .04em;
}
.hero__word {
  display: inline-block;
  position: relative;
}
.hero__word > span,
.hero__word::after { /* fallback no-op */ }

.hero__foot {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(20px, 3vw, 56px);
  align-items: end;
}
.hero__tag {
  font-size: clamp(.95rem, 1.2vw, 1.05rem);
  line-height: 1.55;
  color: var(--ink-dim);
  max-width: 540px;
  margin: 0;
  border-left: 1px solid var(--line-strong);
  padding-left: 18px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-self: end;
}
/* hero scroll arrow removed */

.hero__corner {
  position: absolute;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .25em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.hero__corner--tl { top: 100px; left: var(--pad); }
.hero__corner--tr { top: 100px; right: var(--pad); }
.hero__corner--bl { bottom: 24px; left: var(--pad); }
.hero__corner--br { bottom: 24px; right: var(--pad); }

@media (max-width: 720px) {
  .hero__corner { display: none; }
  .hero__foot { grid-template-columns: 1fr; }
  .hero__actions { justify-self: start; }
}

@media (max-width: 600px) {
  .hero {
    padding: 90px var(--pad) 40px;
    gap: clamp(20px, 3vh, 32px);
  }
  .hero__title {
    font-size: clamp(3.6rem, 14vw, 6rem);
    line-height: .92;
  }
  .hero__meta {
    font-size: .62rem;
  }
  .hero__tag {
    padding-left: 14px;
  }
}

/* ---------- BUTTONS ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color .3s var(--ease);
  white-space: nowrap;
}
.btn span { position: relative; z-index: 1; }
.btn svg { position: relative; z-index: 1; transition: transform .35s var(--ease); }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
  z-index: 0;
}
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: translateY(0); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
}
.btn--primary::before { background: #0a0a0a; }
.btn--primary:hover { color: var(--accent); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--xl {
  padding: 22px 30px;
  font-size: .85rem;
}

/* ---------- SECTION HEAD ---------- */
.section__head {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: clamp(60px, 10vh, 120px) var(--pad) 0;
  max-width: var(--max);
  margin: 0 auto;
}
.section__num {
  color: var(--accent);
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0;
}
.section__head::before {
  content: ""; height: 1px; width: 48px;
  background: var(--line-strong);
}

/* ---------- MARQUEE ---------- */
.marquee {
  position: relative;
  margin: clamp(40px, 8vh, 80px) 0;
  background: var(--accent);
  color: #0a0a0a;
  border-block: 1px solid #0a0a0a;
  overflow: hidden;
  padding: 22px 0;
  transform: rotate(-1deg);
}
.marquee--alt {
  background: var(--bg);
  color: var(--accent);
  border-block: 1px solid var(--line);
  transform: rotate(1deg);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: ticker 40s linear infinite reverse;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 4.6rem);
  text-transform: uppercase;
  letter-spacing: 0;
}
.marquee__track--rev { animation-direction: reverse; }
.marquee__group {
  display: flex; align-items: center;
  gap: 40px; padding-right: 40px;
}
.marquee__group span {
  white-space: nowrap;
  line-height: 1;
}
.m-arrow {
  display: inline-block;
  width: 28px; height: 22px;
  background: currentColor;
  clip-path: polygon(0 38%, 58% 38%, 58% 12%, 100% 50%, 58% 88%, 58% 62%, 0 62%);
  flex-shrink: 0;
}
@keyframes ticker {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ---------- MANIFESTO ---------- */
.manifesto {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(80px, 12vh, 140px);
}
.manifesto__copy {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4.6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--ink);
  margin: clamp(28px, 4vh, 56px) 0 0;
  max-width: 1200px;
}
.manifesto__copy span,
.manifesto__copy em,
.manifesto__copy strong {
  display: inline;
}
.manifesto__copy em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  text-transform: none;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.manifesto__copy .hl {
  color: var(--accent);
  font-weight: inherit;
  font-style: normal;
}
.manifesto__copy strong {
  color: var(--ink);
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
}
/* per-word fade removed — paragraph uses the simple [data-reveal] fade-in */

/* Highlighted word + italic phrase hover: back-glow halo + slight zoom & tilt */
.manifesto__copy .hl,
.manifesto__copy em {
  display: inline-block;
  position: relative;
  z-index: 1;
  transform-origin: center 60%;
  transition:
    transform .5s cubic-bezier(.34, 1.56, .64, 1),
    text-shadow .35s var(--ease);
  cursor: default;
  will-change: transform;
}
.manifesto__copy .hl::before,
.manifesto__copy em::before {
  content: "";
  position: absolute;
  inset: -25% -12%;
  background: radial-gradient(closest-side, rgba(255, 199, 0, .55), transparent 70%);
  filter: blur(28px);
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  transition: opacity .4s var(--ease);
  border-radius: 50%;
}
.manifesto__copy .hl:hover,
.manifesto__copy em:hover {
  text-shadow:
    0 0 18px rgba(255, 199, 0, .55),
    0 0 40px rgba(255, 199, 0, .30);
}
.manifesto__copy .hl:hover::before,
.manifesto__copy em:hover::before {
  opacity: 1;
}
/* Slight tilt — varied per word for character */
.manifesto__copy .hl:nth-of-type(1):hover { transform: scale(1.07) rotate(-2.4deg); }
.manifesto__copy .hl:nth-of-type(2):hover { transform: scale(1.07) rotate(1.8deg); }
.manifesto__copy .hl:nth-of-type(3):hover { transform: scale(1.07) rotate(-1.6deg); }
.manifesto__copy .hl:nth-of-type(4):hover { transform: scale(1.07) rotate(2.2deg); }
.manifesto__copy .hl:nth-of-type(5):hover { transform: scale(1.07) rotate(-1.2deg); }
/* Italic phrase as a whole — gentler rotation, slightly stronger glow */
.manifesto__copy em:hover {
  transform: scale(1.04) rotate(-1deg);
}
.manifesto__copy em:hover::before {
  inset: -18% -6%;
  background: radial-gradient(closest-side, rgba(255, 199, 0, .65), transparent 70%);
}

.manifesto__signature {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: clamp(40px, 8vh, 80px);
}
.manifesto__name {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  margin: 6px 0 0;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.manifesto__seal {
  width: 140px; height: 140px;
  color: var(--accent);
  animation: rotate 22s linear infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }

/* ---------- SERVICES ---------- */
.services {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(60px, 10vh, 120px);
}
.services__intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 80px);
  align-items: end;
  padding: clamp(24px, 5vh, 56px) 0 clamp(40px, 7vh, 80px);
  border-bottom: 1px solid var(--line);
}
.services__intro p {
  color: var(--ink-dim);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  max-width: 460px;
  margin: 0;
}

.services__list { margin-top: 0; }
.srv {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr 60px;
  align-items: start;
  gap: clamp(18px, 3vw, 56px);
  padding: clamp(28px, 4vh, 48px) clamp(16px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
  transition: padding .4s var(--ease);
}
.srv > * { position: relative; z-index: 1; }
.srv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .55s var(--ease);
  z-index: -1;
}
.srv:hover, .srv.is-hover { color: #0a0a0a; }
.srv:hover::before, .srv.is-hover::before { transform: scaleY(1); transform-origin: top; }
.srv:hover .srv__no, .srv.is-hover .srv__no { color: #0a0a0a; opacity: 1; }
.srv:hover .srv__detail p, .srv.is-hover .srv__detail p { color: rgba(10,10,10,.85); }
.srv:hover .srv__detail ul li, .srv.is-hover .srv__detail ul li { color: rgba(10,10,10,.7); border-color: rgba(10,10,10,.2); }
.srv:hover .srv__arrow, .srv.is-hover .srv__arrow { transform: translateX(8px) rotate(-45deg); color: #0a0a0a; }

.srv__no {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .2em;
  color: var(--ink-mute);
  padding-top: 8px;
}
.srv__title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0;
}
.srv__detail {
  display: grid;
  gap: 12px;
  font-size: .95rem;
  line-height: 1.5;
}
.srv__detail p { margin: 0; color: var(--ink-dim); transition: color .4s var(--ease); }
.srv__detail ul {
  display: flex; flex-wrap: wrap;
  gap: 6px;
}
.srv__detail ul li {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border: 1px solid var(--line-strong);
  padding: 4px 10px;
  border-radius: 999px;
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.srv__arrow {
  width: 32px; height: 32px;
  align-self: center; justify-self: end;
  transition: transform .4s var(--ease), color .4s var(--ease);
}
.srv__arrow svg { width: 100%; height: 100%; }

@media (max-width: 860px) {
  .srv {
    grid-template-columns: 60px 1fr 32px;
  }
  .srv__detail { grid-column: 1 / -1; padding-top: 12px; }
  .services__intro { grid-template-columns: 1fr; }
}

/* ---------- PROCESS ---------- */
.process {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
  padding-bottom: clamp(60px, 10vh, 120px);
}
.process__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.process__sticky {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 24px;
  padding-top: clamp(20px, 5vh, 40px);
}
.process__sticky p {
  color: var(--ink-dim);
  max-width: 360px;
  font-size: 1rem;
}
.process__counter {
  font-family: var(--display);
  font-size: clamp(5rem, 11vw, 11rem);
  line-height: 1;
  color: var(--accent);
  display: inline-flex;
  align-items: baseline;
  gap: .15em;
}
.process__counter small {
  font-family: var(--mono);
  font-size: clamp(.7rem, 1vw, .95rem);
  letter-spacing: .2em;
  color: var(--ink-mute);
  font-weight: 400;
}

.process__steps {
  display: grid;
  gap: 0;
  padding-top: clamp(20px, 5vh, 40px);
}
.step {
  position: relative;
  padding: clamp(28px, 5vh, 48px) 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 14px;
}
.step:last-child { border-bottom: 0; }
.step__bar {
  position: absolute;
  top: 0; left: -32px;
  width: 2px; height: 100%;
  background: var(--line-strong);
}
.step__bar::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0;
  background: var(--accent);
  transition: height .8s var(--ease);
}
.step.is-active .step__bar::after { height: 100%; }

.step__head {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 2.4vw, 28px);
  font-family: var(--display);
  text-transform: uppercase;
  flex-wrap: wrap;
}
.step__num {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .22em;
  color: var(--ink-mute);
  flex-shrink: 0;
  min-width: 1.8em;
}
.step__name {
  font-size: clamp(2rem, 5vw, 4.4rem);
  letter-spacing: -0.005em;
  line-height: .9;
  color: var(--ink);
  transition: color .4s var(--ease), transform .4s var(--ease);
}
.step.is-active .step__name { color: var(--accent); }
.step p {
  color: var(--ink-dim);
  font-size: clamp(.96rem, 1.1vw, 1.05rem);
  line-height: 1.55;
  max-width: 600px;
  margin: 0;
}
.step__tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.step__tags span {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border: 1px solid var(--line-strong);
  padding: 4px 10px;
  border-radius: 999px;
}

@media (max-width: 920px) {
  .process__grid {
    grid-template-columns: 1fr;
    padding: 0 clamp(24px, 6vw, 40px);
  }
  .process__sticky { position: relative; top: 0; }
  .step {
    padding-left: clamp(20px, 5vw, 32px);
  }
  .step__bar { left: 0; }
}

/* ---------- WORK / CAPABILITIES ---------- */
.work {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(60px, 10vh, 120px);
}
.work__intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 80px);
  align-items: end;
  padding: clamp(24px, 5vh, 56px) 0 clamp(40px, 7vh, 80px);
}
.work__intro p {
  color: var(--ink-dim);
  font-size: 1.05rem;
  max-width: 420px;
  margin: 0;
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--gap);
}
.work__card {
  grid-column: span 3;
  position: relative;
  border: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  isolation: isolate;
  transition: border-color .35s var(--ease), transform .8s var(--ease-out), background .35s var(--ease);
}
.work__card--lg { grid-column: span 6; }
.work__card--wide { grid-column: span 6; }
.work__card-inner {
  display: grid;
  grid-template-rows: 1fr auto;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .6s var(--ease-out);
}
.work__card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-3);
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
}
.work__card-body {
  padding: clamp(20px, 2.4vw, 32px);
}
.work__card-body h3 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 8px 0 6px;
}
.work__card-body p {
  margin: 0;
  color: var(--ink-dim);
  font-size: .95rem;
}
.work__tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid currentColor;
  padding: 3px 8px;
  border-radius: 999px;
}
.work__card:hover {
  border-color: var(--accent);
  background: var(--bg-3);
}

/* card media: image-led (real assets) — no zoom, no clipping */
.work__card-media--image {
  background: #0a0a0a;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
}
.work__card-media--image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: filter .35s var(--ease);
  filter: contrast(1.02);
}
.work__card-media--image:hover img,
.work__card-media--image:focus-visible img {
  filter: contrast(1.06) brightness(1.04);
}
.work__card-media--image:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
/* --cream is now a no-op modifier (kept on the element so the class can be
   targeted later if needed). The card renders with the default --image rules
   so screenshots and photos display naturally. */

/* card media: swatches */
.work__card-media--swatch {
  background: #14130f;
  padding: clamp(20px, 3vw, 40px);
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 16px;
  place-items: stretch;
  align-items: stretch;
  justify-items: stretch;
}
.swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.swatches span {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .5s var(--ease);
}
.work__card:hover .swatches span:nth-child(1) { transform: translateY(-6px); }
.work__card:hover .swatches span:nth-child(2) { transform: translateY(-6px); transition-delay: .05s; }
.work__card:hover .swatches span:nth-child(3) { transform: translateY(-6px); transition-delay: .1s; }
.work__card:hover .swatches span:nth-child(4) { transform: translateY(-6px); transition-delay: .15s; }
.swatch-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  width: 100%;
}
.swatch-meta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* card media: motion */
.work__card-media--motion {
  background: #0a0a0a;
  padding: 0;
  display: grid;
  align-content: center;
  gap: 8px;
}
.motion-mock__bar {
  display: flex;
  width: max-content;
  gap: 30px;
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  text-transform: uppercase;
  color: var(--accent);
  animation: ticker 24s linear infinite;
  animation-delay: calc(var(--d, 0) * -8s);
  padding: 6px 0;
  white-space: nowrap;
}
.motion-mock__bar span { padding: 0 16px; }
.motion-mock__bar--rev {
  animation-direction: reverse;
  color: var(--ink);
}

@media (max-width: 960px) {
  .work__grid { grid-template-columns: repeat(2, 1fr); }
  .work__card,
  .work__card--lg,
  .work__card--wide { grid-column: span 2; }
  .work__intro { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .work__grid { grid-template-columns: 1fr; }
  .work__card,
  .work__card--lg,
  .work__card--wide { grid-column: 1; }
}

/* ---------- STATS ---------- */
.stats {
  background: var(--bg);
  border-block: 1px solid var(--line);
}
.stats__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(50px, 8vh, 90px) var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.stat {
  display: grid; gap: 8px;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: .9;
  letter-spacing: -0.005em;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 4px;
}
.stat__num i {
  font-style: normal;
  font-size: .5em;
  color: var(--accent);
}
.stat__label {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  max-width: 200px;
  line-height: 1.5;
}
@media (max-width: 860px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; padding-left: 0; }
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding-bottom: clamp(60px, 10vh, 120px);
}
.cta__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(20px, 4vh, 40px) var(--pad) 0;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}
.cta__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 7rem);
  line-height: .9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
  position: sticky;
  top: 120px;
}
.cta__title span { display: block; }

.cta__contact {
  padding-top: 16px;
  display: grid;
  gap: clamp(28px, 4vh, 48px);
}
.cta__lead {
  color: var(--ink-dim);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.55;
  margin: 0;
  max-width: 520px;
}
.cta__lead a {
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: color .25s var(--ease);
}
.cta__lead a:hover { color: var(--accent); }

.contact-list { display: grid; }
.contact-list li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px clamp(20px, 3vw, 40px);
  align-items: baseline;
  padding: clamp(16px, 2.4vh, 24px) 0;
  border-top: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .micro {
  color: var(--ink-mute);
  align-self: center;
}
.contact-list__val {
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.8vw, 1.6rem);
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.05;
  word-break: break-word;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
a.contact-list__val { transition: color .25s var(--ease); }
a.contact-list__val:hover { color: var(--accent); }
.contact-list__val .ext-arrow { flex-shrink: 0; }

@media (max-width: 720px) {
  .contact-list li { grid-template-columns: 1fr; gap: 6px; }
}

.cta__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 16px;
}
.field { display: grid; gap: 10px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.field input,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 10px 0;
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.6vw, 1.6rem);
  letter-spacing: 0;
  text-transform: uppercase;
  outline: 0;
  resize: vertical;
  color: var(--ink);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-mute);
  text-transform: uppercase;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
}

.chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding-top: 4px;
}
.chips label {
  position: relative;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  color: var(--ink-dim);
}
.chips input {
  position: absolute; opacity: 0; pointer-events: none;
}
.chips label:has(input:checked) {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
}

.cta__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
}
.cta__email {
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.4vw, 1.4rem);
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.cta__email:hover { color: var(--accent); border-color: var(--accent); }
.cta__note {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
  min-height: 1em;
}

@media (max-width: 920px) {
  .cta__inner { grid-template-columns: 1fr; }
  .cta__title { position: relative; top: 0; }
  .cta__form { grid-template-columns: 1fr; }
}

/* ---------- FOOTER ---------- */
.foot {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-top: clamp(40px, 6vh, 80px);
  position: relative;
  overflow: hidden;
}
.foot__top {
  padding: 0 var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.foot__giant {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(4rem, 22vw, 22rem);
  line-height: .8;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: left;
  word-break: break-all;
  -webkit-text-stroke: 1px var(--ink);
  color: transparent;
}
.foot__giant span {
  background: linear-gradient(180deg, var(--ink) 0%, transparent 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  display: inline-block;
}

.foot__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vh, 80px) var(--pad);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--gap);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.foot__col h5 {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 16px;
  font-weight: 400;
}
.foot__col ul { display: grid; gap: 8px; }
.foot__col a:hover { color: var(--accent); }
.foot__col p { color: var(--ink-dim); margin: 0 0 12px; max-width: 360px; }
.foot__legal a { text-decoration: underline; text-underline-offset: 3px; }
.foot__legal a:hover { color: var(--accent); }
.foot__mark { margin-bottom: 18px; }
.foot__mark img { width: 160px; height: auto; display: block; }
.foot__meta li {
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.foot__meta li span:first-child { color: var(--ink-mute); }
.foot__status {
  position: relative; padding-left: 14px;
  color: var(--accent) !important;
}
.foot__status::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
  animation: pulse 1.6s var(--ease) infinite;
}
.foot__bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 12px;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

@media (max-width: 860px) {
  .foot__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .foot__inner { grid-template-columns: 1fr; }
  .foot__bottom { flex-direction: column; gap: 6px; }
}

/* ---------- REVEAL ANIMATIONS ---------- */
[data-reveal],
[data-reveal-lines] > span,
.hero__word > span {
  display: inline-block;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
[data-reveal].is-in { opacity: 1; transform: none; }

[data-reveal-lines] {
  display: block;
  overflow: hidden;
}
[data-reveal-lines] > span {
  display: block;
  transform: translateY(110%);
  transition: transform .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
[data-reveal-lines].is-in > span { transform: translateY(0); }

.hero__word > span {
  display: inline-block;
  opacity: 0;
  transform: translateY(28%);
  transition: transform 1s var(--ease-out), opacity .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.hero__title.is-in .hero__word > span { opacity: 1; transform: none; }

/* split-letter footer */
[data-split-letters] {
  display: inline-block;
}
[data-split-letters] .l {
  display: inline-block;
  transition: transform .6s var(--ease), color .6s var(--ease);
}
[data-split-letters] .l:hover {
  transform: translateY(-12px) rotate(-2deg);
  color: var(--accent);
}

/* stats counter active */
[data-stat] { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0s); }
[data-stat].is-in { opacity: 1; transform: none; }

/* tilt cards */
[data-tilt] { transition: transform .7s var(--ease-out); will-change: transform; }

/* ---------- LIVE CLIENT SITES ---------- */
.live-sites {
  margin-top: clamp(48px, 8vh, 96px);
  border-top: 1px solid var(--line);
  padding-top: clamp(32px, 5vh, 56px);
}
.live-sites__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: clamp(20px, 3vh, 36px);
}
.live-sites__head .micro { color: var(--accent); }
.live-sites__title {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0;
  margin: 0;
  color: var(--ink-dim);
}
.live-sites__list { display: grid; }
.live-sites__list li { border-top: 1px solid var(--line); }
.live-sites__list li:last-child { border-bottom: 1px solid var(--line); }
.live-sites__list a {
  display: grid;
  grid-template-columns: 70px 1fr auto auto;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  padding: clamp(20px, 3vh, 32px) clamp(8px, 2vw, 20px);
  position: relative;
  isolation: isolate;
  transition: color .35s var(--ease), padding .45s var(--ease);
}
.live-sites__list a::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .55s var(--ease);
  z-index: -1;
}
.live-sites__list a:hover { color: #0a0a0a; padding-left: clamp(20px, 3vw, 36px); }
.live-sites__list a:hover::before { transform: scaleY(1); transform-origin: top; }
.live-sites__list a:hover .live-sites__no { color: #0a0a0a; }
.live-sites__list a:hover .live-sites__url { color: rgba(10, 10, 10, .7); }
.live-sites__list a:hover .live-sites__arrow { transform: translate(4px, -4px); color: #0a0a0a; }

.live-sites__no {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .2em;
  color: var(--ink-mute);
  transition: color .4s var(--ease);
}
.live-sites__name {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1;
}
.live-sites__url {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: lowercase;
  color: var(--ink-mute);
  transition: color .4s var(--ease);
}
.live-sites__arrow {
  transition: transform .4s var(--ease), color .4s var(--ease);
  color: var(--ink-dim);
}

@media (max-width: 720px) {
  .live-sites__list a {
    grid-template-columns: 50px 1fr auto;
    grid-template-rows: auto auto;
    gap: 6px 14px;
  }
  .live-sites__no { grid-row: 1 / 3; align-self: center; }
  .live-sites__name { grid-column: 2; grid-row: 1; }
  .live-sites__url { grid-column: 2; grid-row: 2; }
  .live-sites__arrow { grid-column: 3; grid-row: 1 / 3; align-self: center; }
}

/* Floating site-preview card — desktop only */
.live-sites__preview {
  display: none;
}
@media (min-width: 1024px) and (hover: hover) {
  .live-sites__preview {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: clamp(420px, 38vw, 600px);
    z-index: 60;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.92) rotate(-1.5deg);
    transition: opacity .35s var(--ease), transform .45s var(--ease);
    will-change: transform, opacity;
  }
  .live-sites__preview.is-on {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(-1.5deg);
  }
  .live-sites__preview-frame {
    position: relative;
    width: 100%;
    background: #0a0a0a;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,.65), 0 0 0 1px rgba(0,0,0,.3);
  }
  .live-sites__preview-bar {
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255,255,255,.06);
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 10px;
    height: 22px;
  }
  .live-sites__preview-bar span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
  }
  .live-sites__preview img {
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 915;
    object-fit: cover;
    object-position: top center;
    display: block;
    background:
      repeating-linear-gradient(45deg, #141414 0 8px, #1a1a1a 8px 16px);
  }
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10002;
  background: rgba(8, 8, 8, .94);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  display: grid;
  place-items: center;
  padding: clamp(40px, 6vh, 80px) clamp(20px, 5vw, 80px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__stage {
  margin: 0;
  display: grid;
  gap: 16px;
  justify-items: center;
  max-width: 100%;
  max-height: 100%;
  transform: scale(.97) translateY(8px);
  transition: transform .55s var(--ease-out);
}
.lightbox.is-open .lightbox__stage {
  transform: scale(1) translateY(0);
}
.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - clamp(120px, 18vh, 220px));
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  user-select: none;
}
.lightbox__cap {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: center;
  max-width: 60ch;
}
.lightbox__close {
  position: fixed;
  top: clamp(14px, 2.6vh, 26px);
  right: clamp(14px, 2.6vw, 26px);
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .35s var(--ease);
  z-index: 1;
}
.lightbox__close:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0a0a;
  transform: rotate(90deg);
}

body.lightbox-open {
  overflow: hidden;
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .grain, .marquee__track, .preloader { display: none; }
  body { cursor: auto; }
  .cursor { display: none; }
}
