/* =========================================================
   THE N3TION — design tokens
   ========================================================= */
:root{
  --ink:        #08090a;
  --ink-2:      #0e0f11;
  --ink-3:      #1e2023;
  --bone:       #eeeeef;
  --bone-dim:   #c6c7ca;
  --accent:     #b9bcc2;
  --accent-hi:  #e2e3e6;
  --cyan:       #8d9096;
  --accent-soft:#a7aab0;
  --deep:       #17181b;
  --stone:      #93959a;
  --stone-dark: #5c5e63;

  --glass-bg:     linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  --glass-border: rgba(255,255,255,.1);
  --glass-glow:   0 30px 70px -40px rgba(180,182,188,.35);

  --font-display: "Times New Roman", Times, "Liberation Serif", serif;
  --font-body: "Times New Roman", Times, "Liberation Serif", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-sm: 10px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-soft: cubic-bezier(.16,.84,.44,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

html, body{ margin:0; padding:0; }
body{
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg{ display:block; max-width:100%; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; cursor:pointer; }
ul{ list-style: none; margin:0; padding:0; }

::selection{ background: var(--accent); color: #04060c; }

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

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* cinematic vignette — sits above every section, below the grain */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: 998;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, transparent 45%, rgba(0,0,0,.4) 100%);
}

/* film-grain texture, self-contained (no image asset) */
.grain{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: .11;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================
   TYPE
   ========================================================= */
h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  margin: 0;
  color: var(--bone);
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin: 0 0 1.1em;
}
.eyebrow::before{
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px 2px rgba(185,188,194,.7);
  flex: none;
}

.lede{
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.6;
  color: var(--stone);
  max-width: 46ch;
  font-weight: 400;
}

.hairline{
  border: none;
  border-top: 1px solid rgba(185,188,194,.22);
  margin: 0;
}

/* the recurring "tick" glyph — replaces generic bullet/number markers */
.tick{
  display: inline-block;
  width: .6em; height: .6em;
  border: 1.5px solid var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
  flex: none;
  box-shadow: 0 0 10px rgba(185,188,194,.5);
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--gutter);
  transition: padding .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled{
  padding: 14px var(--gutter);
  background: rgba(6,7,11,.68);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: rgba(255,255,255,.08);
}

.wordmark{
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: 0;
  color: var(--bone);
}
.wordmark .tick-digit{
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent);
  display: inline-block;
  min-width: .62em;
  text-align: center;
  text-shadow: 0 0 16px rgba(185,188,194,.6);
}
.wordmark small{
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--stone-dark);
  margin-left: 10px;
  text-transform: uppercase;
  display: none;
}
@media (min-width: 720px){ .wordmark small{ display:inline; } }

.site-nav{
  display: none;
  align-items: center;
  gap: 40px;
}
@media (min-width: 900px){ .site-nav{ display: flex; } }

.site-nav a{
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--stone);
  transition: color .25s var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current="page"]{ color: var(--bone); }
.site-nav a:not(.btn)::after{
  content:"";
  position: absolute;
  left: 0; right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(185,188,194,.7);
  transition: right .3s var(--ease);
}
.site-nav a:not(.btn):hover::after{ right: 0; }

.nav-toggle{
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  background: none;
  border: none;
  padding: 8px 0;
}
@media (min-width: 900px){ .nav-toggle{ display: none; } }
.nav-toggle span{
  display:block; height: 1px; width: 100%;
  background: var(--bone);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

.mobile-nav{
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(4,5,9,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 0 var(--gutter);
  transform: translateY(-100%);
  transition: transform .5s var(--ease-soft);
}
.mobile-nav.open{ transform: translateY(0); }
.mobile-nav a{
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0;
  font-size: clamp(34px, 9vw, 52px);
  color: var(--bone);
  border-bottom: 1px solid var(--ink-3);
  padding-bottom: 14px;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-primary{
  background: var(--bone);
  color: #060812;
  box-shadow: 0 8px 30px -10px rgba(185,188,194,.5);
}
.btn-primary:hover{ background: #fff; transform: translateY(-2px); box-shadow: 0 12px 34px -8px rgba(185,188,194,.7); }
.btn-ghost{
  border-color: rgba(255,255,255,.16);
  color: var(--bone);
  background: rgba(255,255,255,.03);
}
.btn-ghost:hover{ border-color: var(--accent); color: var(--accent-hi); transform: translateY(-2px); }
.btn:active{ transform: scale(.96); transition-duration: .1s; }
.btn-arrow{ transition: transform .3s var(--ease); }
.btn:hover .btn-arrow{ transform: translateX(4px); }

/* =========================================================
   REVEAL / SCROLL MOTION
   ========================================================= */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-soft), transform .9s var(--ease-soft);
}
.reveal.in{ opacity: 1; transform: translateY(0); }
.reveal-group.in .reveal-child{ opacity: 1; transform: translateY(0); }

/* blur-to-focus on the headlines that carry it — a slower, more deliberate entrance */
h1.reveal, .section-head.reveal h2, #manifesto h2.reveal{
  filter: blur(14px);
  transition: opacity 1.1s var(--ease-soft), transform 1.1s var(--ease-soft), filter 1.1s var(--ease-soft);
}
h1.reveal.in, .section-head.reveal.in h2, #manifesto h2.reveal.in{ filter: blur(0); }
@media (prefers-reduced-motion: reduce){
  h1.reveal, .section-head.reveal h2, #manifesto h2.reveal{ filter: none; }
}
.reveal-child{
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s var(--ease-soft), transform .7s var(--ease-soft);
}
.reveal-group.in .reveal-child:nth-child(1){ transition-delay: .04s; }
.reveal-group.in .reveal-child:nth-child(2){ transition-delay: .12s; }
.reveal-group.in .reveal-child:nth-child(3){ transition-delay: .2s; }
.reveal-group.in .reveal-child:nth-child(4){ transition-delay: .28s; }
.reveal-group.in .reveal-child:nth-child(5){ transition-delay: .36s; }

/* =========================================================
   LAYOUT SECTIONS
   ========================================================= */
main{ display:block; }
section{ position: relative; }

.section-pad{ padding: clamp(70px, 11vw, 150px) 0; isolation: isolate; }
.section-pad-sm{ padding: clamp(50px, 7vw, 90px) 0; isolation: isolate; }

/* ambient per-section wash — replaces flat fills with quiet depth, varied per section */
.section-pad::before, .section-pad-sm::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(680px 420px at 14% -8%, rgba(255,255,255,.045), transparent 60%),
    radial-gradient(520px 360px at 100% 108%, rgba(255,255,255,.025), transparent 62%);
  pointer-events: none;
}
#manifesto::before{
  background:
    radial-gradient(760px 480px at 4% 105%, rgba(185,188,194,.06), transparent 62%),
    radial-gradient(420px 300px at 96% 0%, rgba(255,255,255,.03), transparent 58%);
}
#services::before{
  background:
    radial-gradient(700px 440px at 100% -6%, rgba(255,255,255,.05), transparent 60%),
    radial-gradient(500px 340px at 0% 108%, rgba(185,188,194,.035), transparent 60%);
}
#process::before{
  background:
    radial-gradient(680px 420px at 0% 0%, rgba(255,255,255,.045), transparent 60%),
    radial-gradient(460px 320px at 100% 100%, rgba(185,188,194,.03), transparent 58%);
}

.section-head{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head h2{ font-size: clamp(34px, 4.8vw, 60px); max-width: 14ch; }
.section-head .lede{ margin: 0; }

/* =========================================================
   HOME SNAP — homepage-only full-screen slideshow sections
   ========================================================= */
html.home-snap{
  scroll-snap-type: y mandatory;
}
@media (prefers-reduced-motion: reduce){
  html.home-snap{ scroll-snap-type: none; }
}
html.home-snap .hero,
html.home-snap .brand-frame-section,
html.home-snap #manifesto,
html.home-snap #services,
html.home-snap #process,
html.home-snap .quote-band,
html.home-snap .cta-band{
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100svh;
  box-sizing: border-box;
}
html.home-snap .brand-frame-section,
html.home-snap #manifesto,
html.home-snap #services,
html.home-snap #process,
html.home-snap .quote-band,
html.home-snap .cta-band{
  display: flex;
  align-items: center;
}
html.home-snap .brand-frame-section > *,
html.home-snap #manifesto > .container,
html.home-snap #services > .container,
html.home-snap #process > .container,
html.home-snap .quote-band > .container,
html.home-snap .cta-band > .container{
  width: 100%;
}
html.home-snap .site-footer{
  scroll-snap-align: start;
}

/* on phones, the one-screen-per-section slideshow fights natural scroll —
   services/manifesto/process run 1.3–2x a phone screen tall, so mandatory
   snap traps the user mid-section, and short sections (quote/cta) get
   stretched to fill a screen with empty space. Let mobile scroll freely
   with content-driven height instead of compressing the desktop layout. */
@media (max-width: 767px){
  html.home-snap{ scroll-snap-type: none; }
  html.home-snap .hero{
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }
  html.home-snap .brand-frame-section,
  html.home-snap #manifesto,
  html.home-snap #services,
  html.home-snap #process,
  html.home-snap .quote-band,
  html.home-snap .cta-band{
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    min-height: 0;
  }
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px var(--gutter) 200px;
  position: relative;
  overflow: hidden;
}

/* retro grid floor — perspective-tilted, slowly scrolling plane behind the hero content */
.hero-grid{
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  perspective: 200px;
  opacity: .3;
  pointer-events: none;
}
.hero-grid-plane{
  position: absolute;
  inset: 0;
  transform: rotateX(65deg);
}
.hero-grid-lines{
  position: absolute;
  inset: 0 0;
  width: 600vw;
  height: 300vh;
  margin-left: -200%;
  transform-origin: 100% 0 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.16) 1px, transparent 0),
    linear-gradient(to bottom, rgba(255,255,255,.16) 1px, transparent 0);
  background-repeat: repeat;
  background-size: 64px 64px;
  animation: grid-scroll 16s linear infinite;
}
@keyframes grid-scroll{
  0%{ transform: translateY(-50%); }
  100%{ transform: translateY(0); }
}
.hero-grid-fade{
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--ink) 12%, transparent 88%);
}
@media (prefers-reduced-motion: reduce){ .hero-grid-lines{ animation: none; } }
@media (max-width: 640px){ .hero-grid{ opacity: .2; } }

.hero-blur{
  position: absolute;
  width: min(38vw, 560px);
  aspect-ratio: 1;
  right: -10%;
  top: -18%;
  border-radius: 50%;
  z-index: 0;
  background:
    radial-gradient(circle at 32% 30%, var(--cyan), transparent 55%),
    radial-gradient(circle at 66% 62%, var(--accent), transparent 60%),
    radial-gradient(circle at 50% 80%, #24262a, transparent 65%);
  filter: blur(70px) saturate(140%);
  opacity: .4;
  animation: blur-drift 26s ease-in-out infinite;
  pointer-events: none;
}
@keyframes blur-drift{
  0%, 100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(-24px, 20px) scale(1.05); }
}
@media (max-width: 900px){ .hero-blur{ opacity:.28; filter: blur(46px) saturate(140%); width: min(60vw, 420px); } }

.hero-tags{
  position: absolute;
  left: var(--gutter);
  bottom: 40px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--stone-dark);
}
.hero-tags span:first-child{ color: var(--stone); }
@media (max-width: 720px), (max-height: 680px){ .hero-tags{ display:none; } }
@media (max-width: 720px){ .hero{ padding-bottom: 70px; } }

.hero-inner{ position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-inner .hero-actions{ justify-content: center; }

.hero-badge{
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 7px 7px 18px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--stone);
  margin-bottom: 26px;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .2s var(--ease);
}
.hero-badge:hover{ border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.06); }
.hero-badge:active{ transform: scale(.97); }
/* the label repeats the wordmark + tagline directly above it — drop it on
   phones and keep just the compact CTA pill, so the badge reads as one
   tappable chip instead of a wrapping paragraph */
@media (max-width: 480px){
  .hero-badge{ padding: 4px; border-radius: 999px; margin-bottom: 20px; }
  .hero-badge > span:first-child{ display: none; }
}
.hero-badge-arrow{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: var(--bone);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.hero h1{
  position: relative;
  z-index: 1;
  font-size: clamp(50px, 9.5vw, 124px);
  font-weight: 800;
  max-width: 16ch;
  background: linear-gradient(100deg, var(--bone) 30%, var(--bone-dim) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 20px 44px rgba(0,0,0,.5));
}
.hero h1 em{
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(100deg, var(--accent-hi) 10%, var(--cyan) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub{
  position: relative;
  z-index: 1;
  margin-top: 28px;
  font-size: clamp(18px, 1.9vw, 23px);
  color: var(--stone);
  max-width: 52ch;
  line-height: 1.6;
}

.hero-actions{
  position: relative;
  z-index: 1;
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.btn-glow{ position: relative; }
.btn-glow::after{
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(255,255,255,.4), transparent 72%);
  opacity: 0;
  filter: blur(20px);
  transition: opacity .35s var(--ease);
  z-index: -1;
}
.btn-glow:hover::after{ opacity: 1; }

.hero-meta{
  margin-top: clamp(60px, 9vw, 110px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
  max-width: 640px;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 26px;
}
@media (min-width: 720px){ .hero-meta{ grid-template-columns: repeat(4, auto); } }
.hero-stat b{
  display:block;
  font-family: var(--font-mono);
  color: var(--bone);
  font-size: clamp(24px, 2.8vw, 32px);
  letter-spacing: 0;
}
.hero-stat span{
  display:block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--stone-dark);
  letter-spacing: .04em;
}

/* =========================================================
   BRAND FRAME — framed mark + glow, shown below the hero
   ========================================================= */
.brand-frame-section{
  padding: clamp(90px, 12vw, 140px) var(--gutter) clamp(60px, 9vw, 120px);
  position: relative;
}
.brand-frame-wrap{
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  perspective: 1000px;
}
.brand-frame-glow{
  position: absolute;
  left: 50%;
  top: -8%;
  width: 76%;
  aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255,255,255,.22), transparent 72%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}
.brand-frame{
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  overflow: hidden;
  box-shadow: 0 50px 100px -50px rgba(0,0,0,.65);
  transform: rotateX(20deg) scale(1.04);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce){ .brand-frame{ transform: none !important; } }
.brand-frame-bar{
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand-frame-bar span{
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
}
.brand-frame-body{
  padding: clamp(56px, 10vw, 120px) 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.brand-frame-mark{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(46px, 7.5vw, 94px);
  color: var(--bone);
}
.brand-frame-mark .tick-digit{
  font-family: var(--font-mono);
  color: var(--accent);
  text-shadow: 0 0 16px rgba(185,188,194,.5);
}
.brand-frame-tag{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone-dark);
}

/* =========================================================
   MANIFESTO / STATS
   ========================================================= */
.manifesto{
  display: grid;
  gap: 56px;
}
@media (min-width: 900px){
  .manifesto{ grid-template-columns: 1.3fr 1fr; gap: 90px; }
}
.manifesto h2{
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.28;
}
.manifesto h2 .tick{ margin: 0 4px -1px; }

.stat-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
/* cursor-tracked spotlight — shared by every glass card */
.stat-cell, .card-outline, .work-card{
  position: relative;
  overflow: hidden;
}
.stat-cell::before, .card-outline::before, .work-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.09), transparent 70%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.stat-cell:hover::before, .card-outline:hover::before, .work-card:hover::before{ opacity: 1; }

.stat-cell{
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-glow);
  padding: 26px 22px;
}
.stat-cell b{
  font-family: var(--font-mono);
  font-size: clamp(28px, 3.4vw, 38px);
  color: var(--bone);
  letter-spacing: 0;
  display:block;
}
.stat-cell span{
  display:block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--stone);
}

/* =========================================================
   SERVICES
   ========================================================= */
.service-row{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 30px 24px;
  margin: 0 -24px;
  border-radius: var(--radius);
  border-top: 1px solid rgba(255,255,255,.07);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.service-row:last-child{ border-bottom: 1px solid rgba(255,255,255,.07); }
@media (min-width: 780px){
  .service-row{ grid-template-columns: .5fr 2fr 2.2fr auto; align-items: center; gap: 30px; }
}
.service-row:hover{
  background: linear-gradient(180deg, rgba(185,188,194,.08), rgba(185,188,194,.02));
  border-top-color: transparent;
}
.service-index{
  font-family: var(--font-mono);
  color: var(--accent-soft);
  font-size: 13px;
  letter-spacing: .04em;
}
.service-name{
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: 0;
}
.service-desc{
  color: var(--stone);
  font-size: 16px;
  max-width: 46ch;
}
.service-link{
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent-hi);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
@media (min-width: 780px){
  .service-row:hover .service-link{ opacity: 1; transform: translateX(0); }
}
@media (max-width: 779px){ .service-link{ opacity:1; transform:none; } }

/* =========================================================
   WORK / CASE STUDY CARDS
   ========================================================= */
.work-grid{
  display: grid;
  gap: 18px;
}
@media (min-width: 860px){ .work-grid{ grid-template-columns: 1fr 1fr; } }

.work-card{
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-glow);
  padding: clamp(28px, 4vw, 46px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 380px;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.work-card:hover{ border-color: rgba(185,188,194,.4); transform: translateY(-3px); }
.work-card:active{ transform: translateY(-1px) scale(.985); transition-duration: .12s; }
.work-card:hover .work-art path,
.work-card:hover .work-art circle,
.work-card:hover .work-art rect{ transform: scale(1.03); }

.work-art{ height: 150px; width:100%; overflow:hidden; }
.work-art svg{ width:100%; height:100%; }
.work-art path, .work-art circle, .work-art rect{ transition: transform .6s var(--ease-soft); transform-origin: center; }

.work-tag{
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cyan);
}
.work-card h3{ font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; letter-spacing: 0; margin-top: auto; }
.work-result{
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--bone);
  display: flex;
  align-items: center;
  gap: 8px;
}
.work-cta{
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--stone);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.work-card:hover .work-cta{ color: var(--accent-hi); }
.work-cta svg{ width: 13px; height: 13px; transition: transform .3s var(--ease); }
.work-card:hover .work-cta svg{ transform: translateX(4px); }

/* =========================================================
   PROCESS (legitimate sequence — numbered)
   ========================================================= */
.process-list{ display: grid; gap: 0; }
.process-item{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  padding: 34px 0;
  border-top: 1px solid var(--ink-3);
  align-items: start;
}
.process-item:last-child{ border-bottom: 1px solid var(--ink-3); }
.process-num{
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--accent);
  padding-top: 6px;
  text-shadow: 0 0 14px rgba(185,188,194,.5);
}
.process-item h3{ font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; letter-spacing: 0; margin-bottom: 10px; }
.process-item p{ color: var(--stone); max-width: 56ch; font-size: 16px; }

/* =========================================================
   TESTIMONIAL / QUOTE
   ========================================================= */
.quote-band{
  background:
    radial-gradient(1000px 500px at 15% 0%, rgba(185,188,194,.22), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(185,188,194,.12), transparent 60%),
    radial-gradient(ellipse at 50% 120%, rgba(0,0,0,.5), transparent 70%),
    var(--deep);
  padding: clamp(70px, 10vw, 130px) 0;
  position: relative;
  overflow: hidden;
}
.quote-band::before{
  content: "“";
  position: absolute;
  top: -0.28em; left: clamp(0px, 2vw, 20px);
  font-family: var(--font-display);
  font-size: clamp(180px, 22vw, 320px);
  font-weight: 800;
  color: rgba(255,255,255,.05);
  line-height: 1;
  pointer-events: none;
}
.quote-band blockquote{
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 4.4vw, 48px);
  letter-spacing: 0;
  line-height: 1.35;
  max-width: 20ch;
  color: var(--bone);
  margin: 0;
}
.quote-attr{
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--bone-dim);
}
.quote-attr .tick{ border-color: var(--accent); }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band{
  padding: clamp(90px, 13vw, 170px) 0;
  text-align: center;
  position: relative;
  isolation: isolate;
}
.cta-band::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(900px 520px at 50% 0%, rgba(255,255,255,.05), transparent 62%);
  pointer-events: none;
}
.cta-band h2{
  font-size: clamp(40px, 7.5vw, 90px);
  font-weight: 700;
  max-width: 16ch;
  margin: 0 auto;
}
.cta-band .lede{ margin: 24px auto 0; text-align: center; }
.cta-band .hero-actions{ justify-content: center; margin-top: 40px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  border-top: 1px solid var(--ink-3);
  padding: clamp(50px, 7vw, 80px) 0 30px;
  position: relative;
  isolation: isolate;
}
.site-footer::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(600px 340px at 8% 0%, rgba(255,255,255,.035), transparent 60%);
  pointer-events: none;
}
.footer-top{
  display: grid;
  gap: 44px;
  padding-bottom: 44px;
}
@media (min-width: 780px){
  .footer-top{ grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-brand .wordmark{ font-size: 28px; }
.footer-brand p{ color: var(--stone); margin-top: 18px; max-width: 32ch; font-size: 15px; }
.footer-col h4{
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone-dark);
  margin-bottom: 16px;
}
.footer-col a, .footer-col address{
  display: block;
  font-style: normal;
  color: var(--stone);
  font-size: 15.5px;
  margin-bottom: 10px;
  transition: color .25s var(--ease);
}
.footer-col a:hover{ color: var(--accent-hi); }
.footer-bottom{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--stone-dark);
  letter-spacing: .03em;
}

/* =========================================================
   PAGE HEADER (inner pages)
   ========================================================= */
.page-hero{
  padding: 150px var(--gutter) 70px;
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}
.page-hero::before{
  content:"";
  position:absolute;
  z-index:-1;
  width: 46vw; height: 46vw; max-width:600px; max-height:600px;
  right: -12%; top: -20%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--accent), transparent 68%);
  filter: blur(100px);
  opacity: .28;
}
.page-hero h1{ font-size: clamp(42px, 7.5vw, 94px); font-weight: 800; max-width: 17ch; }
.page-hero .lede{ margin-top: 24px; }

/* =========================================================
   CASE STUDY DETAIL
   ========================================================= */
.cs-meta{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 30px;
  max-width: 620px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.1);
}
@media (min-width: 640px){ .cs-meta{ grid-template-columns: repeat(4, auto); } }
.cs-meta div span{ display:block; font-size: 11.5px; color: var(--stone-dark); font-family: var(--font-mono); letter-spacing:.06em; text-transform: uppercase; margin-bottom: 6px; }
.cs-meta div b{ font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--bone); }

.cs-art{ width: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--glass-border); }
.cs-art svg{ width: 100%; height: auto; }

.cs-body{
  display: grid;
  gap: 50px;
  max-width: 760px;
}
.cs-body h2{ font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: 0; margin-bottom: 14px; }
.cs-body p{ color: var(--stone); font-size: 16.5px; line-height: 1.75; }

.cs-results{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 640px){ .cs-results{ grid-template-columns: 1fr; } }

/* =========================================================
   FORM (contact)
   ========================================================= */
.form-grid{ display: grid; gap: 22px; max-width: 640px; }
.field{ display: grid; gap: 10px; }
.field label{
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--stone-dark);
}
.field input, .field textarea, .field select{
  background: rgba(255,255,255,.035);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 17px;
  padding: 14px 16px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus{
  border-color: var(--accent);
  background: rgba(185,188,194,.06);
  outline: none;
}
.field textarea{ resize: vertical; min-height: 110px; }
.field select option{ background: var(--ink-2); }

/* =========================================================
   MISC UTILITIES
   ========================================================= */
.two-col{ display: grid; gap: 60px; }
@media (min-width: 900px){ .two-col{ grid-template-columns: 1fr 1fr; } }

.card-outline{
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-glow);
  padding: 28px;
}

.avatar-mark{
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(185,188,194,.5);
  background: radial-gradient(circle at 35% 30%, rgba(185,188,194,.25), transparent 70%);
  display: flex; align-items:center; justify-content:center;
  font-family: var(--font-mono);
  color: var(--accent-hi);
  font-size: 15px;
  flex: none;
}

.tag-list{ display: flex; flex-wrap: wrap; gap: 10px; }
.tag{
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--bone-dim);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 7px 14px;
}

.split-cta{
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
  padding: 30px 0; border-top: 1px solid var(--ink-3);
}

/* =========================================================
   MOBILE — compressed vertical rhythm
   Desktop padding is generous by design (full-screen slides need room
   to breathe); on a phone that same padding just means more thumb-work
   to get through the page. Everything below tightens spacing only —
   type scale, layout, and content are untouched.
   ========================================================= */
@media (max-width: 640px){
  .section-pad{ padding: 44px 0; }
  .section-pad-sm{ padding: 32px 0; }
  .section-head{ margin-bottom: 28px; }

  .brand-frame-section{ padding: 56px var(--gutter) 40px; }
  .brand-frame-body{ padding: 36px 18px; gap: 12px; }

  .manifesto{ gap: 34px; }
  .stat-grid{ gap: 10px; }
  .card-outline{ padding: 20px; }

  .service-row{ padding: 22px 18px; margin: 0 -18px; gap: 12px; }

  .process-item{ padding: 22px 0; gap: 18px; }

  .quote-band{ padding: 48px 0; }
  .cta-band{ padding: 56px 0; }

  .site-footer{ padding: 36px 0 24px; }
  .footer-top{ gap: 30px; padding-bottom: 30px; }

  .two-col{ gap: 36px; }

  /* the decorative quote mark is clamped to a 180px floor down to 818px
     wide — on a phone that's nearly half the screen for one character */
  .quote-band::before{ font-size: 25vw; top: -0.2em; }
  .brand-frame{ transform: rotateX(10deg) scale(.96); }
}
