/* ============================================================
   NOVA — style.css  |  Rebuilt with editorial design language
   Palette : ink #0c0c0a  ·  cream #f5f1e8  ·  acid #c8f700
   Type    : Clash Display + Satoshi + Space Grotesk
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:          #0c0c0a;
  --ink-soft:     #181816;
  --cream:        #f5f1e8;
  --cream-2:      #edeae0;
  --white:        #ffffff;
  --acid:         #c8f700;
  --acid-dim:     rgba(200,247,0,.10);
  --muted-l:      rgba(245,241,232,.42);
  --muted-d:      rgba(12,12,10,.42);
  --border-d:     rgba(245,241,232,.08);
  --border-l:     rgba(12,12,10,.09);

  --f-serif:  'Clash Display', sans-serif;
  --f-sans:   'Satoshi', sans-serif;
  --f-mono:   'Space Grotesk', sans-serif;

  --ease-out:    cubic-bezier(0.16,1,0.3,1);
  --ease-in-out: cubic-bezier(0.76,0,0.24,1);

  --r:    12px;
  --r-lg: 20px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--f-sans);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  cursor: none;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: none; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ============================================================
   CURSOR
   ============================================================ */
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--acid);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .15s, height .15s;
}
.cursor-follower {
  position: fixed;
  width: 30px; height: 30px;
  border: 1px solid rgba(200,247,0,.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: all .1s var(--ease-out);
}
body:has(a:hover) .cursor,
body:has(button:hover) .cursor { width: 14px; height: 14px; }
body:has(a:hover) .cursor-follower,
body:has(button:hover) .cursor-follower { width: 48px; height: 48px; }

/* ============================================================
   LOADER
   ============================================================ */
.loader {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease-out), visibility .6s;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner { text-align: center; }

.loader-logo {
  font-family: var(--f-serif);
  font-size: clamp(3rem,10vw,7rem);
  font-weight: 500;
  color: var(--cream);
  letter-spacing: -.02em;
  margin-bottom: 2rem;
}
.loader-bar-wrap {
  width: 180px; height: 1px;
  background: rgba(245,241,232,.1);
  margin: 0 auto 1rem;
  overflow: hidden;
}
.loader-bar {
  height: 100%; width: 0%;
  background: var(--acid);
  transition: width .05s linear;
}
.loader-percent {
  font-family: var(--f-mono);
  font-size: .72rem;
  color: rgba(245,241,232,.28);
  letter-spacing: .16em;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 2.5rem;
  transition: background .4s, padding .4s;
}
.nav.scrolled {
  background: rgba(12,12,10,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 2.5rem;
  border-bottom: 1px solid var(--border-d);
}
.nav-logo {
  font-family: var(--f-serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: -.01em;
}
.nav-logo .dot { color: var(--acid); font-style: normal; }

.nav-links { display: flex; list-style: none; gap: 2.5rem; }
.nav-link {
  font-family: var(--f-sans);
  font-size: .8rem; font-weight: 500;
  color: var(--muted-l);
  letter-spacing: .04em;
  position: relative;
  transition: color .3s;
}
.nav-link::after {
  content: ''; position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--acid);
  transition: width .3s var(--ease-out);
}
.nav-link:hover, .nav-link.active { color: var(--cream); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-cta {
  font-family: var(--f-sans);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .06em;
  background: var(--acid);
  color: var(--ink);
  padding: .55rem 1.3rem;
  border-radius: 100px;
  transition: transform .3s, box-shadow .3s;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200,247,0,.32);
}

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--cream); border-radius: 2px;
  transition: transform .35s, opacity .35s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .5rem;
  opacity: 0; visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav ul { list-style: none; text-align: center; }
.mobile-link {
  display: block;
  font-family: var(--f-serif);
  font-size: clamp(2.5rem,8vw,4rem);
  font-weight: 500;
  color: rgba(245,241,232,.7);
  padding: .3rem 0;
  transition: color .3s;
}
.mobile-link:hover { color: var(--acid); }
.mobile-cta {
  margin-top: 2.5rem;
  font-family: var(--f-sans); font-size: .88rem; font-weight: 700;
  background: var(--acid); color: var(--ink);
  padding: .85rem 2rem; border-radius: 100px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-sans); font-size: .85rem; font-weight: 700;
  letter-spacing: .02em;
  padding: .85rem 1.8rem; border-radius: 100px;
  transition: transform .3s var(--ease-out), box-shadow .3s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink); color: var(--cream);
  border: 1px solid rgba(245,241,232,.12);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(12,12,10,.35); }

.btn-ghost {
  background: transparent; color: var(--cream);
  border: 1px solid rgba(245,241,232,.22);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: rgba(245,241,232,.55); }

.btn-dark {
  background: var(--ink); color: var(--cream);
  border: 1px solid var(--border-l);
}
.btn-dark:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.18); }

.btn-acid {
  background: var(--acid); color: var(--ink); font-weight: 800;
}
.btn-acid:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(200,247,0,.36); }

.btn-full { width: 100%; justify-content: center; border-radius: var(--r); }

/* ============================================================
   SHARED — REVEAL ANIMATIONS
   ============================================================ */
.reveal-up, .reveal-left, .reveal-right, .reveal-float {
  opacity: 0;
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
}
.reveal-up    { transform: translateY(44px); }
.reveal-left  { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-float { transform: translateY(24px); }
.reveal-up.visible, .reveal-left.visible,
.reveal-right.visible, .reveal-float.visible {
  opacity: 1; transform: translate(0,0);
}

/* Section eyebrow */
.section-eyebrow {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1.8rem;
}
.eyebrow-num {
  font-family: var(--f-mono); font-size: .65rem; font-weight: 500;
  letter-spacing: .2em; color: var(--muted-d);
}
.eyebrow-rule {
  display: inline-block; width: 2rem; height: 1px;
  background: currentColor; opacity: .2;
}
.eyebrow-label {
  font-family: var(--f-sans); font-size: .65rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted-d);
}
.section-eyebrow.light .eyebrow-num,
.section-eyebrow.light .eyebrow-rule,
.section-eyebrow.light .eyebrow-label { color: var(--muted-l); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(12, 12, 10, 0.7)), url('hero.png') center/cover;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 8rem 2.5rem 5rem;
}

/* Thin architectural grid lines */
.hero-grid-lines {
  position: absolute; inset: 0;
  display: flex; justify-content: space-around;
  pointer-events: none; z-index: 0;
}
.hero-grid-lines span {
  width: 1px; height: 100%;
  background: rgba(245,241,232,.04);
}

.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-sans); font-size: .68rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted-l);
  margin-bottom: 2.5rem;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--acid); border-radius: 50%;
  animation: pulseDot 2s infinite;
  box-shadow: 0 0 0 0 rgba(200,247,0,.4);
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(200,247,0,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(200,247,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,247,0,0); }
}

.hero-title {
  display: flex; flex-direction: column; gap: .04em;
  font-size: clamp(3.00rem,8.5vw,4rem);
  line-height: .92;
  letter-spacing: -.01em;
  color: var(--cream);
  margin-bottom: 2rem;
}
.hero-title .hero-line:not(.hero-serif) {
  font-family: var(--f-sans);
  font-weight: 800;
  text-transform: uppercase;
}
.hero-line.hero-serif {
  font-family: var(--f-serif);
  font-weight: 500;
  color: var(--acid);
  font-size: 1.08em;
  letter-spacing: -.025em;
}
.hero-line {
  display: block; overflow: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .9s var(--ease-out);
}
.hero-line.revealed { clip-path: inset(0 0 0% 0); }

.hero-sub {
  font-size: clamp(.88rem,1.4vw,1.02rem);
  color: rgba(245,241,232,.42);
  line-height: 1.82; font-weight: 300;
  margin-bottom: 3rem;
  max-width: 500px;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Stats aside */
.hero-aside {
  border-left: 1px solid var(--border-d);
  padding-left: 2.5rem;
  align-self: center;
}
.hero-stat-stack { display: flex; flex-direction: column; margin-bottom: 1.8rem; }
.hero-stat { padding: 1.4rem 0; }
.hero-stat-rule { height: 1px; background: var(--border-d); }

.hs-num {
  font-family: var(--f-mono);
  font-size: 2.6rem; font-weight: 700;
  color: var(--cream); line-height: 1;
  margin-bottom: .35rem;
}
.hs-num.acid { color: var(--acid); }
.hs-num span { font-size: 1.5rem; font-weight: 400; }
.hs-unit { font-size: .9rem !important; color: var(--muted-l); margin-left: .15rem; }

.hs-label {
  font-family: var(--f-sans); font-size: .65rem; font-weight: 500;
  color: var(--muted-l); letter-spacing: .06em;
  text-transform: uppercase; line-height: 1.55;
}

.hero-cred {
  border-top: 1px solid var(--border-d);
  padding-top: 1.4rem;
}
.hc-stars { font-size: .65rem; color: var(--acid); letter-spacing: 3px; margin-bottom: .3rem; }
.hc-text { font-family: var(--f-sans); font-size: .65rem; color: var(--muted-l); letter-spacing: .05em; }

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 2.5rem;
  display: flex; align-items: center; gap: 1rem; z-index: 2;
}
.scroll-track {
  width: 40px; height: 1px;
  background: rgba(245,241,232,.15);
  overflow: hidden;
}
.scroll-fill {
  height: 100%; width: 100%;
  background: var(--acid);
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}
.hero-scroll span {
  font-family: var(--f-sans); font-size: .6rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(245,241,232,.22);
}

/* ============================================================
   MARQUEE  — acid yellow bar
   ============================================================ */
.marquee-wrap {
  background: var(--acid);
  padding: 1rem 0; overflow: hidden;
}
.marquee-track { display: flex; }
.marquee-inner {
  display: flex; align-items: center; gap: 2.5rem;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  padding-right: 2.5rem;
  font-family: var(--f-sans); font-size: .7rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink);
}
.marquee-inner span { flex-shrink: 0; }
.marquee-inner .sep { color: rgba(12,12,10,.35); font-size: .6rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: var(--cream);
  padding: 9rem 0;
  position: relative;
  overflow: hidden;
}

.about-headline {
  font-family: var(--f-serif);
  font-size: clamp(2.8rem,6.5vw,5.8rem);
  font-weight: 500;
  line-height: 1.0; letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 1.8rem;
}
.about-headline em { }

.about-rule {
  width: 72px; height: 2px;
  background: var(--acid);
  margin-bottom: 5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 6rem; align-items: start;
  margin-bottom: 6rem;
}
.about-lead {
  font-family: var(--f-sans); font-size: 1.12rem; font-weight: 600;
  color: var(--ink); line-height: 1.65;
  margin-bottom: 1.5rem;
}
.about-body {
  font-size: .92rem; color: var(--muted-d);
  line-height: 1.88; margin-bottom: 1.2rem;
}
.about-text-col .btn { margin-top: 1.5rem; }

.about-stats-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Orbital animation ---- */
.orbit-visual {
  position: relative;
  width: 380px; height: 380px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: -3rem;
}
.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(200,247,0,.18);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.orb-ring--1 { width: 100%; height: 100%; animation: orbSpin 14s linear infinite; }
.orb-ring--2 { width: 68%; height: 68%; animation: orbSpin 9s linear infinite reverse; border-color: rgba(200,247,0,.28); }
.orb-ring--3 { width: 40%; height: 40%; animation: orbSpin 5s linear infinite; border-color: rgba(200,247,0,.42); }
.orb-dot {
  position: absolute;
  top: -5px; left: 50%;
  transform: translateX(-50%);
  width: 9px; height: 9px;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--acid);
}
.orb-core {
  position: relative; z-index: 2;
  background: var(--ink);
  border: 1.5px solid rgba(200,247,0,.35);
  border-radius: 50%;
  width: 90px; height: 90px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-serif);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
  box-shadow: 0 0 30px rgba(200,247,0,.08);
}
@keyframes orbSpin {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}

/* Philosophy strip */
.philosophy-row {
  display: grid; grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--border-l);
  border-radius: var(--r-lg); overflow: hidden;
}
.phil-block {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border-l);
  position: relative;
  transition: background .3s;
}
.phil-block:last-child { border-right: none; }
.phil-block:hover { background: var(--cream-2); }

.phil-num {
  font-family: var(--f-mono); font-size: .62rem; font-weight: 500;
  letter-spacing: .2em; color: rgba(12,12,10,.2);
  margin-bottom: 1rem;
}
.phil-block h3 {
  font-family: var(--f-sans); font-size: 1rem; font-weight: 700;
  color: var(--ink); margin-bottom: .7rem;
}
.phil-block p { font-size: .86rem; color: var(--muted-d); line-height: 1.75; }

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--ink);
  padding: 9rem 0;
  position: relative; overflow: hidden;
}

.services-headline {
  font-family: var(--f-serif);
  font-size: clamp(2.8rem,6.5vw,5.8rem);
  font-weight: 500;
  line-height: 1.0; letter-spacing: -.025em;
  color: var(--cream);
  margin-bottom: 1rem;
}
.acid-text { color: var(--acid); }
.services-sub {
  font-size: .9rem; color: var(--muted-l); line-height: 1.82;
  max-width: 480px; margin-bottom: 4rem;
}

/* Editorial numbered list */
.services-list {
  border-top: 1px solid var(--border-d);
  margin-bottom: 4rem;
}
.service-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 2rem; align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-d);
  transition: background .3s;
  cursor: default;
}
.service-row:hover { background: rgba(245,241,232,.025); }
.srow-num {
  font-family: var(--f-mono); font-size: .65rem; font-weight: 500;
  letter-spacing: .15em; color: rgba(245,241,232,.18);
  padding-left: .25rem;
}
.srow-body h3 {
  font-family: var(--f-sans); font-size: 1.1rem; font-weight: 700;
  color: var(--cream); margin-bottom: .4rem;
  display: flex; align-items: center; gap: .8rem;
  transition: color .3s;
}
.service-row:hover .srow-body h3 { color: var(--acid); }
.srow-body p {
  font-size: .82rem; color: rgba(245,241,232,.38);
  line-height: 1.75; max-width: 520px;
}
.srow-badge {
  font-family: var(--f-sans); font-size: .58rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--acid); color: var(--ink);
  padding: .14rem .55rem; border-radius: 100px;
}
.srow-link {
  font-family: var(--f-sans); font-size: .78rem; font-weight: 700;
  color: rgba(245,241,232,.25); letter-spacing: .05em;
  white-space: nowrap; transition: color .3s;
  padding-right: .5rem;
}
.service-row:hover .srow-link { color: var(--acid); }
.service-row--accent .srow-num { color: rgba(200,247,0,.38); }

/* AI callout */
.ai-callout { }
.ai-callout-inner {
  border: 1px solid var(--border-d);
  border-radius: var(--r-lg);
  padding: 4rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
  position: relative; overflow: hidden;
}
.ai-callout-inner::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: var(--acid);
}
.ai-tag {
  display: inline-block;
  font-family: var(--f-sans); font-size: .62rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--acid); border: 1px solid rgba(200,247,0,.28);
  padding: .28rem .75rem; border-radius: 100px;
  margin-bottom: 1.2rem;
}
.ai-callout-text h3 {
  font-family: var(--f-serif); font-size: 1.75rem;
  font-weight: 500;
  color: var(--cream); line-height: 1.3;
  margin-bottom: 1rem;
}
.ai-callout-text p {
  font-size: .86rem; color: rgba(245,241,232,.42);
  line-height: 1.88; margin-bottom: 2rem;
}
.ai-callout-visual { display: flex; align-items: center; gap: 1.5rem; }
.ai-visual-card {
  flex: 1;
  background: rgba(245,241,232,.03);
  border: 1px solid var(--border-d);
  border-radius: var(--r); padding: 1.5rem;
}
.av-nova {
  background: rgba(200,247,0,.05);
  border-color: rgba(200,247,0,.18);
}
.av-label {
  font-family: var(--f-sans); font-size: .62rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(245,241,232,.28); margin-bottom: .55rem;
}
.av-price {
  font-family: var(--f-mono); font-size: 1.75rem; font-weight: 700;
  color: var(--cream); margin-bottom: .9rem;
}
.av-price.crossed { text-decoration: line-through; color: rgba(245,241,232,.22); font-size: 1.3rem; }
.av-nova .av-price { color: var(--acid); }
.av-items { display: flex; flex-direction: column; gap: .38rem; }
.av-items span { font-family: var(--f-sans); font-size: .75rem; color: rgba(245,241,232,.38); }
.av-vs {
  font-family: var(--f-mono); font-size: .7rem; font-weight: 600;
  color: rgba(245,241,232,.14); letter-spacing: .1em; flex-shrink: 0;
}

/* ============================================================
   PROJECTS
   ============================================================ */
.projects {
  background: var(--cream-2);
  padding: 9rem 0;
}
.projects-sub {
  font-size: .9rem; color: var(--muted-d);
  line-height: 1.82; max-width: 480px;
  margin-bottom: 4rem;
}
.projects-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1rem;
}
.project-card {
  position: relative; border-radius: var(--r-lg);
  overflow: hidden; min-height: 320px; cursor: pointer;
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.project-card:hover {
  transform: translateY(-6px) scale(1.005);
  box-shadow: 0 24px 60px rgba(0,0,0,.15);
}
.pc-featured { grid-column: span 2; }
.pc-bg { position: absolute; inset: 0; transition: transform .6s var(--ease-out); }
.project-card:hover .pc-bg { transform: scale(1.04); }
.pc-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .055;
}
.pc-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, transparent 100%);
  color: var(--white); z-index: 2;
  transition: padding .4s var(--ease-out);
}
.project-card:hover .pc-content { padding-bottom: 3rem; }
.pc-tag {
  font-family: var(--f-sans); font-size: .62rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.48); margin-bottom: .4rem;
}
.pc-content h3 {
  font-family: var(--f-serif); font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -.01em; margin-bottom: .5rem;
}
.pc-content p {
  font-size: .8rem; color: rgba(255,255,255,.62);
  line-height: 1.65; margin-bottom: .8rem;
}
.pc-metrics { display: flex; gap: .55rem; flex-wrap: wrap; }
.pc-metrics span {
  font-family: var(--f-sans); font-size: .65rem; font-weight: 600;
  color: rgba(255,255,255,.52);
  background: rgba(255,255,255,.08);
  padding: .18rem .62rem; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.1);
}
.pc-hover {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.32);
  opacity: 0; transition: opacity .35s; z-index: 3;
  backdrop-filter: blur(2px);
}
.project-card:hover .pc-hover { opacity: 1; }
.pc-hover span {
  font-family: var(--f-sans); font-size: .82rem; font-weight: 700;
  color: var(--acid);
  background: rgba(200,247,0,.12);
  border: 1px solid rgba(200,247,0,.38);
  padding: .7rem 1.4rem; border-radius: 100px;
}
.projects-cta {
  margin-top: 4rem;
  display: flex; flex-direction: column;
  align-items: center; gap: 1.4rem;
}
.projects-cta p {
  font-family: var(--f-serif);
  font-size: 1.15rem; font-weight: 500;
  color: var(--muted-d);
}
.projects-cta-btns {
  display: flex; align-items: center;
  gap: 0.8rem; flex-wrap: wrap; justify-content: center;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--ink);
  padding: 9rem 0;
  position: relative; overflow: hidden;
}
.contact::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: var(--acid); opacity: .5;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 6rem; align-items: start;
  position: relative; z-index: 2;
}
.contact-title {
  font-family: var(--f-serif);
  font-size: clamp(2.8rem,5.5vw,4.8rem);
  font-weight: 500;
  color: var(--cream); line-height: 1.0;
  letter-spacing: -.025em; margin-bottom: 1.5rem;
}
.contact-title em { color: var(--acid); }
.contact-sub {
  font-size: .88rem; color: rgba(245,241,232,.38);
  line-height: 1.88; margin-bottom: 2.5rem;
}
.contact-info { display: flex; flex-direction: column; gap: .9rem; margin-bottom: 2.5rem; }
.ci-item {
  display: flex; align-items: center; gap: .9rem;
  font-family: var(--f-sans); font-size: .86rem;
  color: rgba(245,241,232,.48); transition: color .3s;
}
.ci-item:hover { color: var(--cream); }
.ci-icon {
  width: 30px; height: 30px;
  border: 1px solid var(--border-d);
  border-radius: 8px; display: grid; place-items: center;
  font-size: .72rem; font-family: var(--f-mono); flex-shrink: 0;
}
.social-links { display: flex; gap: .65rem; margin-bottom: 2.5rem; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(245,241,232,.04);
  border: 1px solid var(--border-d);
  border-radius: 9px; display: grid; place-items: center;
  color: rgba(245,241,232,.38);
  transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.social-link:hover {
  background: var(--acid-dim);
  border-color: rgba(200,247,0,.28);
  color: var(--acid); transform: translateY(-2px);
}
.trust-badges { display: flex; flex-direction: column; gap: .55rem; }
.tb-item {
  display: flex; align-items: center; gap: .65rem;
  font-family: var(--f-sans); font-size: .78rem;
  color: rgba(245,241,232,.28);
}
.tb-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--acid); opacity: .6; flex-shrink: 0;
}

/* Contact form card */
.contact-form-card {
  background: rgba(245,241,232,.03);
  border: 1px solid var(--border-d);
  border-radius: var(--r-lg); padding: 3rem;
}
.contact-form-card h3 {
  font-family: var(--f-sans); font-size: 1.15rem; font-weight: 700;
  color: var(--cream); margin-bottom: .4rem;
}
.contact-form-card > p {
  font-size: .82rem; color: rgba(245,241,232,.32);
  margin-bottom: 1.8rem; line-height: 1.65;
}
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .38rem; }
.form-group label {
  font-family: var(--f-sans); font-size: .66rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(245,241,232,.28);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(245,241,232,.04);
  border: 1px solid var(--border-d);
  border-radius: 10px; padding: .82rem 1rem;
  color: var(--cream); font-size: .86rem;
  outline: none;
  transition: border-color .3s, background .3s;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(245,241,232,0.2)' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-group select option { background: #1a1a17; color: var(--cream); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(200,247,0,.38);
  background: rgba(200,247,0,.03);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(245,241,232,.14); }
.form-group textarea { resize: none; }

.form-success { text-align: center; padding: 3rem 0; display: none; }
.form-success.show { display: block; }
.form-success .fs-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.form-success h4 { font-family: var(--f-sans); font-size: 1.2rem; font-weight: 700; color: var(--cream); margin-bottom: .5rem; }
.form-success p { color: rgba(245,241,232,.38); font-size: .82rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #09090700;
  background: #090907;
  border-top: 1px solid var(--border-d);
  padding: 5rem 0 2rem;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border-d);
}
.footer-logo {
  font-family: var(--f-serif); font-size: 1.9rem;
  font-weight: 500;
  color: var(--cream); letter-spacing: -.01em;
  margin-bottom: 1rem;
}
.footer-logo .dot { color: var(--acid); font-style: normal; }
.footer-brand p {
  font-size: .82rem; color: rgba(245,241,232,.22);
  line-height: 1.78; max-width: 210px;
}
.footer-links-col h4 {
  font-family: var(--f-sans); font-size: .62rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(245,241,232,.2); margin-bottom: 1.2rem;
}
.footer-links-col a {
  display: block; font-size: .82rem;
  color: rgba(245,241,232,.38);
  margin-bottom: .65rem; transition: color .3s;
}
.footer-links-col a:hover { color: var(--cream); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .75rem; color: rgba(245,241,232,.18); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ---- Tablet (≤1024px) ---- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-aside {
    border-left: none; border-top: 1px solid var(--border-d);
    padding-left: 0; padding-top: 2rem;
  }
  .hero-stat-stack { flex-direction: row; }
  .hero-stat-rule { width: 1px; height: auto; align-self: stretch; }
  .hero-stat { flex: 1; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .ai-callout-inner { grid-template-columns: 1fr; gap: 3rem; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .pc-featured { grid-column: span 1; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }

  /* Inner pages */
  .inner-hero { padding: 6.5rem 2rem 3rem; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--border-d); }
  .process-step:last-child { border-bottom: none; }
  .case-overview-inner { grid-template-columns: 1fr 1fr; }
  .co-item:nth-child(2) { border-right: none; }
  .case-metrics { grid-template-columns: 1fr 1fr; }
}

/* ---- Mobile (≤768px) ---- */
@media (max-width: 768px) {
  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none; }

  /* Hero */
  .hero { padding: 5.5rem 1.5rem 3.5rem; }
  .hero-title { font-size: clamp(2.5rem, 12vw, 4rem); line-height: 1; }
  .hero-sub { font-size: .88rem; }
  .hero-aside { display: none; }
  .hero-ctas { flex-direction: column; gap: .8rem; }
  .hero-scroll { display: none; }

  /* Buttons — full width on mobile */
  .btn { width: 100%; justify-content: center; }

  /* About */
  .about { padding: 4.5rem 0; }
  .about-headline { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .about-rule { margin-bottom: 3rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .orbit-visual { width: 260px; height: 260px; margin-top: 0; }
  .philosophy-row { grid-template-columns: 1fr; }
  .phil-block { border-right: none; border-bottom: 1px solid var(--border-l); }
  .phil-block:last-child { border-bottom: none; }

  /* Services section (homepage) */
  .services { padding: 4.5rem 0; }
  .service-row { grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.4rem 0; }
  .srow-link { display: none; }
  .ai-callout-inner { padding: 1.8rem 1.5rem; gap: 2rem; }
  .ai-callout-visual { flex-direction: column; gap: 1rem; }
  .ai-visual-card { padding: 1.2rem; }
  .av-price { font-size: 1.4rem; }

  /* Projects section (homepage) */
  .projects { padding: 4.5rem 0; }
  .projects-grid { grid-template-columns: 1fr !important; }
  .project-card { min-height: 260px; }

  /* Contact */
  .contact { padding: 4.5rem 0; }
  .contact-form-card { padding: 2rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .5rem; }

  /* Inner page hero */
  .inner-hero { padding: 5.5rem 1.5rem 2.8rem; }
  .inner-hero-title { font-size: clamp(2.2rem, 9vw, 3.5rem); }
  .inner-hero-sub { font-size: .88rem; line-height: 1.75; }
  .inner-hero-meta { gap: .8rem 1.5rem; margin-top: 1.5rem; }

  /* Services page accordion */
  .srv-header { grid-template-columns: 44px 1fr 36px; gap: .75rem; padding: 1.4rem 0; }
  .srv-name { font-size: 1rem; }
  .srv-body-inner { padding: 0; }
  .srv-includes { grid-template-columns: 1fr; gap: .4rem; }

  /* Process grid (services page) */
  .process-section { padding: 4.5rem 0; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--border-d); padding: 2rem 1.5rem; }
  .process-step:last-child { border-bottom: none; }

  /* CTA banner */
  .cta-banner { padding: 4rem 1.5rem; }
  .cta-banner h2 { font-size: clamp(2rem, 8vw, 3rem); }

  /* Work / projects page */
  .work-row { grid-template-columns: 48px 1fr 36px; gap: 1.2rem; }
  .wr-metrics { display: none; }

  /* Case study pages */
  .case-hero { padding: 5.5rem 1.5rem 3.5rem; min-height: auto; }
  .case-hero-title { font-size: clamp(2.8rem, 10vw, 5rem); }
  .case-overview-inner { grid-template-columns: 1fr 1fr; padding: 0 1.5rem; }
  .co-item { padding: 1.5rem 0; }
  .co-item:nth-child(2) { border-right: none; }
  .co-item:nth-child(3) { border-top: 1px solid var(--border-l); padding-right: 2rem; border-right: 1px solid var(--border-l); }
  .co-item:nth-child(4) { border-top: 1px solid var(--border-l); border-right: none; }
  .case-metrics { grid-template-columns: 1fr; gap: 1rem; }
  .case-section { padding: 3.5rem 1.5rem; }
  .case-section h2 { font-size: clamp(1.8rem, 6vw, 2.8rem); }
}

/* ---- Small phones (≤480px) ---- */
@media (max-width: 480px) {
  .container { padding: 0 1.2rem; }
  .nav { padding: 1rem 1.2rem; }
  .nav.scrolled { padding: .7rem 1.2rem; }

  /* Hero */
  .hero-title { font-size: clamp(2.2rem, 13vw, 3.2rem); }
  .hero-ctas .btn { font-size: .82rem; padding: .85rem 1.5rem; }

  /* About */
  .orbit-visual { width: 220px; height: 220px; }
  .orb-core { width: 70px; height: 70px; font-size: .6rem; }

  /* Inner pages */
  .inner-hero { padding: 5rem 1.2rem 2.5rem; }
  .inner-hero-title { font-size: clamp(2rem, 11vw, 3rem); }
  .inner-hero-meta { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .ihm-sep { display: none; }

  /* Services accordion */
  .srv-header { grid-template-columns: 36px 1fr 32px; gap: .5rem; }
  .srow-body h3 { font-size: .95rem; flex-wrap: wrap; }

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

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Work row */
  .work-row { grid-template-columns: 1fr 32px; gap: .8rem; }
  .wr-num { display: none; }

  /* Case overview */
  .case-overview-inner { grid-template-columns: 1fr; }
  .co-item { border-right: none !important; border-top: 1px solid var(--border-l); }
  .co-item:first-child { border-top: none; }

  /* Projects grid on work page */
  .projects-grid { grid-template-columns: 1fr !important; }
}

/* ============================================================
   PAGE CURTAIN TRANSITION
   ============================================================ */
.page-curtain {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 100000;
  transform: translateY(100%);
  pointer-events: none;
  will-change: transform;
}
.page-curtain::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--acid);
}
.page-curtain.ct-cover {
  transform: translateY(0);
  pointer-events: all;
  transition: transform .65s cubic-bezier(0.76,0,0.24,1);
}
.page-curtain.ct-reveal {
  transform: translateY(-100%);
  transition: transform .72s cubic-bezier(0.16,1,0.3,1);
}

/* ============================================================
   INNER PAGE — SHARED HERO
   ============================================================ */
.inner-hero {
  position: relative;
  background: var(--ink);
  padding: 7rem 2.5rem 3.5rem;
  overflow: hidden;
  transform-origin: center top;
  transition: transform .25s ease-out;
}
.inner-hero .hero-grid-lines { position: absolute; inset: 0; display: flex; justify-content: space-around; pointer-events: none; }
.inner-hero .hero-grid-lines span { width: 1px; height: 100%; background: rgba(245,241,232,.04); }

.inner-hero-label {
  font-family: var(--f-mono); font-size: .65rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--acid); margin-bottom: 1.5rem; display: block;
}
.inner-hero-title {
  font-family: var(--f-serif);
  font-size: clamp(2.8rem,6.5vw,6rem);
  font-weight: 500;
  color: var(--cream); line-height: .92;
  letter-spacing: -.03em;
  margin-bottom: 1.5rem;
}
/* em inside any serif heading → accent color, no italic */
[class*="hero-title"] em,
[class*="inner-hero-title"] em,
[class*="section-title"] em,
[class*="case-hero-title"] em,
[class*="about-headline"] em,
[class*="projects-headline"] em,
[class*="contact-title"] em,
[class*="srv-title"] em,
[class*="cn-title"] em,
h1 em, h2 em, h3 em {
  font-style: normal;
  color: var(--acid);
}

.inner-hero-sub {
  font-family: var(--f-sans); font-size: 1rem;
  color: var(--muted-l); line-height: 1.8;
  max-width: 520px; font-weight: 300;
}
.inner-hero-meta {
  display: flex; align-items: center; gap: 2rem;
  margin-top: 3rem; flex-wrap: wrap;
}
.ihm-item {
  font-family: var(--f-mono); font-size: .65rem; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted-l);
}
.ihm-sep { width: 1px; height: 1rem; background: var(--border-d); }

.hero-scroll-cta {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-top: 2.5rem; color: rgba(245,241,232,.4);
  font-family: var(--f-mono); font-size: .62rem;
  letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; border: none; background: none;
  cursor: pointer; transition: color .25s;
}
.hero-scroll-cta:hover { color: var(--acid); }
.hero-scroll-cta .scroll-arrow {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.hero-scroll-cta .scroll-arrow span {
  display: block; width: 1px; background: currentColor;
  animation: scrollLine 1.6s ease-in-out infinite;
}
.hero-scroll-cta .scroll-arrow span:nth-child(1) { height: 14px; animation-delay: 0s; }
.hero-scroll-cta .scroll-arrow span:nth-child(2) { height: 6px; animation-delay: .2s; }
.hero-scroll-cta svg { animation: scrollBounce 1.6s ease-in-out infinite; }
@keyframes scrollLine {
  0%, 100% { opacity: .3; } 50% { opacity: 1; }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-page { background: var(--cream); }

.srv-list { border-top: 1px solid var(--border-l); }

.srv-item {
  border-bottom: 1px solid var(--border-l);
  overflow: hidden;
  transition: background .3s;
}
.srv-item:hover { background: rgba(12,12,10,.025); }

.srv-header {
  display: grid;
  grid-template-columns: 72px 1fr 40px;
  align-items: center; gap: 2rem;
  padding: 2rem 0; cursor: pointer;
}
.srv-num {
  font-family: var(--f-mono); font-size: .65rem;
  letter-spacing: .2em; color: var(--muted-d);
}
.srv-name {
  font-family: var(--f-sans); font-size: 1.25rem; font-weight: 700;
  color: var(--ink); transition: color .3s;
}
.srv-item.open .srv-name,
.srv-item:hover .srv-name { color: var(--ink); }

.srv-toggle {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border-l);
  display: grid; place-items: center;
  transition: transform .4s var(--ease-out), background .3s, border-color .3s;
  flex-shrink: 0;
}
.srv-toggle svg { transition: transform .4s var(--ease-out); }
.srv-item.open .srv-toggle {
  background: var(--acid); border-color: var(--acid);
  transform: rotate(45deg);
}
.srv-item.open .srv-toggle svg { stroke: var(--ink); }

.srv-body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease-out);
}
.srv-item.open .srv-body { grid-template-rows: 1fr; }
.srv-body-inner {
  overflow: hidden;
  padding: 0 0 0 72px;
}
.srv-body-inner > div { padding-bottom: 2.5rem; }

.srv-desc {
  font-size: .95rem; color: var(--muted-d);
  line-height: 1.85; max-width: 680px; margin-bottom: 1.8rem;
}
.srv-includes {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .5rem 2rem; margin-bottom: 1.8rem;
}
.srv-includes li {
  font-family: var(--f-sans); font-size: .82rem; font-weight: 500;
  color: var(--ink); list-style: none;
  display: flex; align-items: center; gap: .6rem;
}
.srv-includes li::before {
  content: ''; display: block; width: 5px; height: 5px;
  border-radius: 50%; background: var(--acid); flex-shrink: 0;
}
.srv-price {
  font-family: var(--f-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted-d); margin-bottom: 1.2rem;
}
.srv-price strong { color: var(--ink); }

/* Process section */
.process-section {
  background: var(--ink); padding: 8rem 0;
}
.process-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0; border: 1px solid var(--border-d); border-radius: var(--r-lg);
  overflow: hidden; margin-top: 3rem;
}
.process-step {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border-d);
  position: relative;
}
.process-step:last-child { border-right: none; }
.ps-num {
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .2em;
  color: var(--acid); margin-bottom: 1.5rem; display: block;
}
.ps-title {
  font-family: var(--f-sans); font-size: 1rem; font-weight: 700;
  color: var(--cream); margin-bottom: .7rem;
}
.ps-desc { font-size: .82rem; color: var(--muted-l); line-height: 1.75; }

/* CTA banner */
.cta-banner {
  background: var(--acid);
  padding: 6rem 0;
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--f-serif); font-size: clamp(2.5rem,6vw,5rem);
  font-weight: 500;
  color: var(--ink); margin-bottom: 1.5rem; line-height: 1;
}
.cta-banner p {
  font-family: var(--f-sans); font-size: .95rem; color: rgba(12,12,10,.6);
  margin-bottom: 2.5rem; line-height: 1.7;
}

/* ============================================================
   PROJECTS LISTING PAGE
   ============================================================ */
.work-page { background: var(--cream); }

.filter-bar {
  display: flex; align-items: center; gap: .5rem;
  padding: 2.5rem 0; border-bottom: 1px solid var(--border-l);
  flex-wrap: wrap;
}
.filter-btn {
  font-family: var(--f-sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted-d); background: none; border: none;
  padding: .45rem 1rem; border-radius: 100px;
  border: 1px solid transparent; cursor: pointer;
  transition: color .3s, border-color .3s, background .3s;
}
.filter-btn:hover { color: var(--ink); border-color: var(--border-l); }
.filter-btn.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.work-list { padding: 0; }

.work-row {
  display: grid;
  grid-template-columns: 64px 1fr 180px 48px;
  align-items: center; gap: 2.5rem;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--border-l);
  text-decoration: none; color: inherit;
  position: relative;
  transition: background .3s;
  overflow: hidden;
}
.work-row::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-out);
  z-index: 0;
}
.work-row:hover::before { transform: scaleX(1); }
.work-row:hover .wr-num,
.work-row:hover .wr-title,
.work-row:hover .wr-tags,
.work-row:hover .wr-metrics,
.work-row:hover .wr-arrow { color: var(--cream); position: relative; z-index: 1; }
.work-row:hover .wr-num { color: var(--acid); }
.work-row:hover .wr-arrow { transform: translate(4px,-4px); }

.wr-num {
  font-family: var(--f-mono); font-size: .65rem;
  letter-spacing: .18em; color: var(--muted-d);
  transition: color .3s; position: relative; z-index: 1;
}
.wr-body { position: relative; z-index: 1; }
.wr-title {
  font-family: var(--f-serif); font-size: clamp(1.4rem,3vw,2.2rem);
  font-weight: 500;
  color: var(--ink); margin-bottom: .3rem;
  transition: color .3s;
}
.wr-tags {
  font-family: var(--f-sans); font-size: .68rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted-d); transition: color .3s;
}
.wr-metrics {
  font-family: var(--f-mono); font-size: .75rem; font-weight: 600;
  color: var(--muted-d); line-height: 1.6;
  transition: color .3s; position: relative; z-index: 1;
}
.wr-arrow {
  font-size: 1.2rem; color: var(--muted-d);
  transition: color .3s, transform .35s var(--ease-out);
  position: relative; z-index: 1; text-align: right;
}

/* ============================================================
   CASE STUDY PAGE
   ============================================================ */
.case-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-end;
  padding: 8rem 2.5rem 5rem; overflow: hidden;
}
.case-hero-bg {
  position: absolute; inset: 0;
  transition: transform .8s var(--ease-out);
}
.case-hero:hover .case-hero-bg { transform: scale(1.02); }
.case-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .08;
}
.case-hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; width: 100%; margin: 0 auto;
}
.case-tag {
  font-family: var(--f-mono); font-size: .65rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--acid); margin-bottom: 1.5rem; display: block;
}
.case-hero-title {
  font-family: var(--f-serif);
  font-size: clamp(3.5rem,9vw,8rem);
  font-weight: 500;
  color: var(--cream); line-height: .92;
  letter-spacing: -.03em; margin-bottom: 1.2rem;
}
.case-hero-sub {
  font-size: 1rem; color: rgba(245,241,232,.5);
  line-height: 1.75; max-width: 540px; font-weight: 300;
  margin-bottom: 3rem;
}
.case-hero-nav {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}

.case-overview {
  background: var(--cream-2);
  border-bottom: 1px solid var(--border-l);
}
.case-overview-inner {
  display: grid; grid-template-columns: repeat(4,1fr);
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
}
.co-item {
  padding: 2rem 0; border-right: 1px solid var(--border-l);
  padding-right: 2rem; margin-right: 0;
}
.co-item:last-child { border-right: none; }
.co-label {
  font-family: var(--f-mono); font-size: .6rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted-d); margin-bottom: .5rem;
}
.co-value {
  font-family: var(--f-sans); font-size: .92rem; font-weight: 700;
  color: var(--ink);
}

.case-body { background: var(--cream); }

.case-section {
  max-width: 1200px; margin: 0 auto;
  padding: 6rem 2rem;
  border-bottom: 1px solid var(--border-l);
}
.case-section:last-of-type { border-bottom: none; }

.cs-eyebrow {
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted-d);
  margin-bottom: 1.5rem; display: flex; align-items: center; gap: .75rem;
}
.cs-eyebrow::before {
  content: ''; display: block; width: 2rem; height: 1px;
  background: var(--muted-d); opacity: .4;
}
.case-section h2 {
  font-family: var(--f-serif); font-size: clamp(2rem,4.5vw,3.8rem);
  font-weight: 500;
  color: var(--ink); line-height: 1.08; letter-spacing: -.02em;
  margin-bottom: 2rem; max-width: 700px;
}
.case-section p {
  font-size: .95rem; color: var(--muted-d);
  line-height: 1.9; max-width: 680px; margin-bottom: 1.2rem;
}
.case-section ul {
  list-style: none; display: flex; flex-direction: column; gap: .7rem;
  max-width: 580px;
}
.case-section ul li {
  font-size: .9rem; color: var(--muted-d);
  line-height: 1.7; display: flex; gap: .8rem; align-items: flex-start;
}
.case-section ul li::before {
  content: ''; display: block; width: 5px; height: 5px;
  border-radius: 50%; background: var(--acid);
  flex-shrink: 0; margin-top: .55rem;
}

.case-metrics {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.cm-card {
  background: var(--cream-2);
  border: 1px solid var(--border-l);
  border-radius: var(--r-lg); padding: 2.5rem 2rem;
}
.cm-num {
  font-family: var(--f-mono); font-size: 3.2rem; font-weight: 700;
  color: var(--ink); line-height: 1; margin-bottom: .5rem;
}
.cm-label {
  font-family: var(--f-sans); font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; color: var(--muted-d);
}

.case-next {
  background: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
  padding: 4rem 2rem; text-decoration: none;
  max-width: 100%; transition: background .4s;
  border-top: 1px solid var(--border-d);
}
.case-next:hover { background: #1a1a16; }
.cn-label { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-l); margin-bottom: .5rem; }
.cn-title { font-family: var(--f-serif); font-size: clamp(1.5rem,3.5vw,2.8rem); font-weight: 500; color: var(--cream); }
.cn-arrow { font-size: 2rem; color: var(--acid); transition: transform .35s var(--ease-out); }
.case-next:hover .cn-arrow { transform: translateX(8px); }

/* Case study responsive */
@media (max-width: 1024px) {
  .case-overview-inner { grid-template-columns: 1fr 1fr; }
  .co-item:nth-child(2) { border-right: none; }
  .case-metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .inner-hero { padding: 6rem 1.5rem 3rem; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2) { border-right: none; }
  .process-step:nth-child(3) { border-right: none; }
  .srv-body-inner { padding-left: 0; }
  .srv-header { grid-template-columns: 50px 1fr 32px; gap: 1rem; }
  .srv-includes { grid-template-columns: 1fr; }
  .work-row { grid-template-columns: 48px 1fr 40px; gap: 1rem; }
  .wr-metrics { display: none; }
  .case-hero { padding: 7rem 1.5rem 3.5rem; }
  .case-overview-inner { grid-template-columns: 1fr 1fr; }
  .case-metrics { grid-template-columns: 1fr; }
  .case-section { padding: 4rem 1.5rem; }
  .case-next { flex-direction: column; gap: 1.5rem; padding: 3rem 1.5rem; }
}
@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
  .case-overview-inner { grid-template-columns: 1fr; }
  .co-item { border-right: none; border-bottom: 1px solid var(--border-l); }
  .co-item:last-child { border-bottom: none; }
}
