/* =========================================================
   ICONIX — Creative-studio design system
   Canvas: warm cream. Type: Sofia Sans. CTAs: ink pills.
   Geometry: pills, stadiums, circles. Accent: rationed orange.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Surface */
  --canvas:   #F3F0EE;
  --lifted:   #FCFBFA;

  /* Ink */
  --ink:      #141413;
  --charcoal: #262627;
  --slate:    #696969;
  --dust:     #D1CDC7;

  /* Accent (rationed) */
  --orange:        #CF4500;
  --orange-light:  #F37338;
  --clay-brown:    #9A3A0A;
  --link-blue:     #3860BE;

  /* Lines */
  --line:        rgba(20, 20, 19, 0.12);
  --line-strong: rgba(20, 20, 19, 0.20);

  /* Type */
  --font: "Sofia Sans", "Arial", sans-serif;

  /* Rhythm */
  --maxw:    1240px;
  --gutter:  clamp(20px, 5vw, 64px);
  --section: clamp(80px, 11vw, 150px);
  --section-tight: clamp(56px, 7vw, 100px);

  /* Radii */
  --r-btn:     20px;
  --r-stadium: 40px;
  --r-pill:    999px;

  /* Elevation */
  --lift-1: 0 4px 24px rgba(20, 20, 19, 0.05);
  --lift-2: 0 24px 48px rgba(20, 20, 19, 0.08);
  --lift-3: 0 70px 110px rgba(20, 20, 19, 0.16);

  /* Motion */
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-2: cubic-bezier(0.65, 0, 0.35, 1);

  /* Measured at runtime by main.js (ResizeObserver on the nav pill).
     Fallback covers first paint before JS runs and noscript users. */
  --nav-h: 64px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
  .marquee, .drift, .hero-bg .orb, .hero-ring { animation: none !important; }
}

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 450;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  text-wrap: pretty;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
::selection { background: var(--ink); color: var(--canvas); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: 1400px; }
main { position: relative; z-index: 2; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: var(--section-tight); }

/* ---------- Typography ---------- */
.display, h1, h2, h3 { font-family: var(--font); line-height: 1.02; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.7rem, 8vw, 6.5rem); font-weight: 750; line-height: 0.98; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.02; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
/* Emphasis = heavier weight of the same font (never a second face, never a color shout) */
.serif-accent, .ital, em { font-weight: 800; font-style: normal; color: inherit; }

.lede {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 450;
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--charcoal);
  max-width: 46ch;
}

/* Eyebrow / section label — dot + uppercase tracking */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange-light);
  flex: none;
}
.eyebrow--center { justify-content: center; }
.index-num { font-weight: 800; font-size: 0.95rem; color: var(--slate); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink);
  --fg: var(--canvas);
  --mx: 0px;
  --my: 0px;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.85em 1.6em;
  background: var(--bg);
  color: var(--fg);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1.5px solid var(--bg);
  border-radius: var(--r-btn);
  position: relative;
  transform: translate(var(--mx), var(--my));
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.35s var(--ease);
}
.btn:hover { box-shadow: var(--lift-2); }
.btn:active { transform: translate(var(--mx), var(--my)) scale(0.97); transition-duration: 0.12s; }
.btn .arrow { transition: transform 0.4s var(--ease), color 0.4s var(--ease); }
.btn:hover .arrow { transform: translate(3px, -3px); color: var(--orange-light); }
/* Primary alias (header / high-intent CTA) stays ink */
.btn--clay { --bg: var(--ink); --fg: var(--canvas); }
/* Secondary, outlined pill */
.btn--ghost {
  --bg: var(--lifted); --fg: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--ghost:hover { box-shadow: var(--lift-2); }
/* Consent / orange pill — legal acknowledgment only */
.btn--consent {
  --bg: var(--orange); --fg: var(--lifted);
  border-color: var(--orange);
  border-radius: 24px;
  padding: 0.7em 1.7em;
  font-size: 0.9rem;
  min-height: 44px;
}

/* Text link with animated orange underline */
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 500;
  position: relative;
  color: var(--ink);
}
.link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1.5px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.link:hover::after { transform: scaleX(1); transform-origin: left; }
.link .arrow { transition: transform 0.4s var(--ease); }
.link:hover .arrow { transform: translate(3px, -3px); }

/* ---------- Header / floating nav pill ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding-top: clamp(12px, 2vw, 24px);
  padding-inline: var(--gutter);
  pointer-events: none;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.6rem 0.7rem 0.6rem 1.5rem;
  background: color-mix(in srgb, var(--lifted) 88%, transparent);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  backdrop-filter: blur(10px) saturate(1.15);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--lift-1);
  pointer-events: auto;
  transition: box-shadow 0.5s var(--ease), background 0.5s var(--ease), backdrop-filter 0.5s var(--ease), -webkit-backdrop-filter 0.5s var(--ease);
}
/* Once scrolled, the surface is fully opaque; drop the blur entirely
   so the browser stops recompositing the filter region on every scroll. */
.site-header.scrolled .nav {
  background: var(--lifted);
  box-shadow: var(--lift-2);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.05em;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}
.brand .dot { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 0.3em 0;
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: inline-flex; align-items: center; gap: 0.8rem; }
.nav-links > .btn { display: none; }
/* In-menu CTA (mobile only): keep the button's own cream label + ink pill border,
   overriding the higher-specificity `.nav-links a` color/border rules. */
.nav-links a.btn { color: var(--fg); border-bottom: 1.5px solid var(--bg); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--lifted);
}
.nav-toggle span {
  height: 1.8px; width: 18px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: calc(var(--nav-h) + clamp(12px, 2vw, 24px) + 8px) var(--gutter) auto var(--gutter);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--lifted);
    border: 1px solid var(--line);
    border-radius: var(--r-stadium);
    padding: 1rem 1.6rem 1.6rem;
    transform: translateY(-130%);
    opacity: 0;
    transition: transform 0.55s var(--ease), opacity 0.4s var(--ease);
    box-shadow: var(--lift-3);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-links a { width: 100%; padding: 0.9rem 0; font-size: 1.3rem; font-weight: 600; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-links > .btn { display: inline-flex; margin-top: 1.2rem; width: 100%; justify-content: center; }
  .nav-cta .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(140px, 20vh, 220px); padding-bottom: var(--section); position: relative; isolation: isolate; overflow: hidden; }
.hero h1 { margin: 0.5rem 0 1.4rem; max-width: 15ch; }
.hero .lede { max-width: 50ch; }
.hero-content { position: relative; z-index: 1; }

/* Ambient hero background: soft drifting warm orbs + an orbital ring */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-bg .orb { position: absolute; border-radius: 50%; filter: blur(64px); will-change: transform; }
.hero-bg .orb-1 {
  width: clamp(300px, 42vw, 620px); aspect-ratio: 1; top: -10%; right: -2%;
  background: radial-gradient(circle, color-mix(in srgb, var(--orange) 32%, transparent), rgba(244,201,179,0.16) 45%, transparent 70%);
  animation: orbA 26s ease-in-out infinite;
}
.hero-bg .orb-2 {
  width: clamp(240px, 32vw, 460px); aspect-ratio: 1; bottom: -14%; left: 26%;
  background: radial-gradient(circle, color-mix(in srgb, var(--clay-brown) 16%, transparent), transparent 68%);
  animation: orbB 32s ease-in-out infinite;
}
.hero-ring {
  position: absolute; top: 22%; right: 13%;
  width: clamp(240px, 28vw, 430px); aspect-ratio: 1;
  border: 1.5px solid color-mix(in srgb, var(--orange-light) 30%, transparent); border-radius: 50%;
  animation: ringBreathe 22s ease-in-out infinite;
}
@keyframes orbA { 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(-46px,34px); } }
@keyframes orbB { 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(38px,-30px); } }
@keyframes ringBreathe { 0%,100%{ transform: scale(1); opacity: 0.5; } 50%{ transform: scale(1.13); opacity: 0.85; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* Ghost-watermark headline */
.ghost {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(4rem, 16vw, 12rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--dust);
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
  position: absolute;
  z-index: 0;
}

/* Stadium media frame */
.hero-stage {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--r-stadium);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 7;
  box-shadow: var(--lift-2);
}
@media (max-width: 720px) { .hero-stage { aspect-ratio: 4 / 3; } }

/* (hero stat strip removed: the stats live in the dedicated stat band below,
   so the hero holds one focused message instead of doubling as a metrics shelf) */

/* ---------- Constellation (circular gradient shapes + arcs) ---------- */
.constellation { position: relative; }
.orbit-arc { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.orbit-arc path { fill: none; stroke: var(--orange-light); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease); }
.orbit-arc.in path { stroke-dashoffset: 0; }

.orbit {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 1;
}
.orbit-shape {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: visible;
  isolation: isolate;
}
.constellation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  position: relative;
  z-index: 1;
}
.constellation-grid .orbit:nth-child(2) { margin-top: 3.5rem; }
.constellation-grid .orbit:nth-child(3) { margin-top: 1rem; }
.constellation-grid .orbit:nth-child(4) { margin-top: 4.5rem; }
@media (max-width: 820px){
  .constellation-grid { grid-template-columns: repeat(2, 1fr); }
  .constellation-grid .orbit { margin-top: 0 !important; }
  .orbit-arc { display: none; }
}
@media (max-width: 480px){ .constellation-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.orbit-shape .fill { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; box-shadow: var(--lift-2); }
.orbit-shape .fill .ph { position: absolute; inset: 0; transition: transform 0.8s var(--ease); }
.orbit:hover .orbit-shape .fill .ph { transform: scale(1.06); }
.drift { animation: drift 9s ease-in-out infinite; }
.drift--2 { animation-delay: -3s; }
.drift--3 { animation-delay: -6s; }
@keyframes drift { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Satellite micro-CTA docked bottom-right */
.satellite {
  position: absolute;
  right: -6px; bottom: 6px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--lifted);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  z-index: 2;
  box-shadow: var(--lift-1);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.orbit:hover .satellite { background: var(--ink); color: var(--canvas); transform: scale(1.08); }
.orbit .o-eyebrow { margin-top: 1.4rem; }
.orbit h3 { margin-top: 0.6rem; max-width: 14ch; }

/* ---------- Marquee / capability strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--lifted); overflow: hidden; padding-block: 1.4rem; }
.marquee { display: flex; gap: 3rem; width: max-content; animation: marquee 36s linear infinite; }
.strip:hover .marquee { animation-play-state: paused; }
.marquee span { font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.4rem); letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; display: inline-flex; align-items: center; gap: 3rem; }
.marquee span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange-light); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section heads ---------- */
.sec-head { display: grid; grid-template-columns: 1fr; gap: 1.2rem; margin-bottom: clamp(2.6rem, 5vw, 4.5rem); }
.sec-head.split { grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: clamp(2rem, 4vw, 4rem); }
.sec-head h2 { margin-top: 0.4rem; max-width: 18ch; }
@media (max-width: 820px){ .sec-head.split { grid-template-columns: 1fr; align-items: start; } }

/* Section head with an inline control (headline left, real link right, not a filler paragraph) */
.sec-head--bar { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; }
.sec-head--bar > div { display: grid; gap: 0.5rem; }
.sec-head--bar h2 { margin-top: 0; }
.sec-head--bar .sh-link { margin-bottom: 0.4rem; min-height: 24px; white-space: nowrap; }
@media (max-width: 560px){ .sec-head--bar .sh-link { margin-bottom: 0; } }

/* ---------- Service rows ---------- */
.svc-list { display: grid; gap: 0.8rem; }
.svc-row {
  display: grid;
  grid-template-columns: auto 1.1fr 1.4fr auto;
  gap: clamp(1rem, 3vw, 2.6rem);
  align-items: center;
  padding: clamp(1.4rem, 2.6vw, 2rem) clamp(1.4rem, 2.6vw, 2.2rem);
  background: var(--lifted);
  border: 1px solid var(--line);
  border-radius: var(--r-stadium);
  position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.svc-row:hover { transform: translateY(-3px); box-shadow: var(--lift-2); }
.svc-row .num { font-weight: 800; color: var(--slate); font-size: 1.05rem; }
.svc-row h3 { transition: color 0.3s var(--ease); }
.svc-row p { color: var(--slate); font-size: 0.98rem; max-width: 46ch; }
.svc-row .go {
  width: 48px; height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.svc-row:hover .go { background: var(--ink); color: var(--canvas); border-color: var(--ink); transform: scale(1.06); }
@media (max-width: 820px){
  .svc-row { grid-template-columns: auto 1fr auto; gap: 0.4rem 1.2rem; }
  .svc-row p { grid-column: 2; }
  .svc-row .go { grid-row: 1 / span 2; grid-column: 3; align-self: center; }
}

/* ---------- Grids & pill cards ---------- */
.grid { display: grid; gap: clamp(1.2rem, 2.5vw, 1.8rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px){ .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px){ .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--lifted);
  border: 1px solid var(--line);
  border-radius: var(--r-stadium);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--lift-2); }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--slate); font-size: 0.98rem; }
.card .idx { font-weight: 800; font-size: 1.1rem; color: var(--clay-brown); margin-bottom: 1rem; display: block; }
.ticks { margin-top: 1.1rem; display: grid; gap: 0.5rem; }
.ticks li { font-size: 0.92rem; color: var(--charcoal); padding-left: 1.4rem; position: relative; }
.ticks li::before { content: "→"; position: absolute; left: 0; color: var(--clay-brown); }

/* ---------- Capabilities index (services: grouped families, deliberately not an icon-card grid) ---------- */
.capabilities { display: grid; }
.cap-group { display: grid; grid-template-columns: 0.7fr 2.3fr; gap: clamp(1.4rem, 4vw, 3.5rem); padding-block: clamp(2.2rem, 4vw, 3.4rem); border-top: 1px solid var(--line); }
.cap-group:first-child { border-top: 0; padding-top: 0; }
.cap-label { display: flex; flex-direction: column; gap: 0.5rem; }
.cap-label .cap-num { font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 0.9; letter-spacing: -0.03em; color: var(--clay-brown); }
.cap-label h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -0.02em; }
.cap-items { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 3vw, 2.8rem); }
.cap-item h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.cap-item > p { color: var(--slate); font-size: 0.96rem; max-width: 44ch; }
@media (max-width: 900px){ .cap-items { grid-template-columns: 1fr; gap: 1.6rem; } }
@media (max-width: 760px){ .cap-group { grid-template-columns: 1fr; gap: 1rem; } }

/* Soft "where to start" prompt (lifted panel, lighter than the closing CTA band) */
.soft-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.4rem 2.5rem; margin-top: clamp(2.6rem, 5vw, 4rem); padding: clamp(1.8rem, 3.5vw, 2.8rem); background: var(--lifted); border: 1px solid var(--line); border-radius: var(--r-stadium); box-shadow: var(--lift-2); }
.soft-cta-title { font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -0.02em; color: var(--ink); }
.soft-cta > div > p:not(.soft-cta-title) { color: var(--slate); margin-top: 0.5rem; max-width: 48ch; }
.soft-cta .btn { flex: none; }

/* ---------- Positioning pillars (editorial columns, deliberately not cards) ---------- */
.lead-statement { font-weight: 700; font-size: clamp(1.7rem, 3.6vw, 2.9rem); line-height: 1.12; letter-spacing: -0.03em; max-width: 24ch; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 3.5vw, 3.4rem); margin-top: clamp(2.6rem, 5vw, 4rem); }
.pillar { border-top: 2px solid var(--ink); padding-top: 1.4rem; }
.pillar .p-num { display: block; font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 0.9; letter-spacing: -0.03em; color: var(--clay-brown); margin-bottom: 0.8rem; }
.pillar h3 { margin-bottom: 0.55rem; }
.pillar p { color: var(--slate); font-size: 0.98rem; max-width: 36ch; }
@media (max-width: 760px){
  .pillars { grid-template-columns: 1fr; gap: 0; }
  .pillar { border-top: 1px solid var(--line); padding-block: 1.5rem; }
  .pillar:first-child { border-top: 2px solid var(--ink); }
}

/* Industry variant: orange top rule that draws in (full-width top, never a side stripe) */
.card--industry::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.card--industry:hover::before { transform: scaleX(1); }

/* ---------- Feature split ---------- */
.split-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
@media (max-width: 880px){ .split-feature { grid-template-columns: 1fr !important; gap: 2.6rem; } }
.split-feature .visual { aspect-ratio: 4/5; border-radius: var(--r-stadium); overflow: hidden; position: relative; box-shadow: var(--lift-2); }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: 0.8rem; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.4rem, 4vw, 4rem);
  padding: clamp(1.8rem, 3.4vw, 2.6rem) clamp(1.6rem, 3vw, 2.4rem);
  background: var(--lifted); border: 1px solid var(--line); border-radius: var(--r-stadium);
  align-items: start;
}
.step .step-num { font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--orange); line-height: 0.9; letter-spacing: -0.04em; }
.step h3 { margin-bottom: 0.7rem; }
.step p { color: var(--slate); max-width: 54ch; }
.step-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
.tag { font-size: 0.78rem; padding: 0.4em 1em; border: 1px solid var(--line-strong); border-radius: var(--r-pill); color: var(--charcoal); white-space: nowrap; }

/* ---------- Work / portfolio ---------- */
.work-filter { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.6rem; }
.work-filter button {
  font-size: 0.9rem; font-weight: 500;
  padding: 0.5em 1.2em;
  background: var(--lifted);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  color: var(--charcoal);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.work-filter button:hover { border-color: var(--ink); }
.work-filter button:active { transform: scale(0.97); }
.work-filter button.active { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
@media (max-width: 620px){
  .work-filter button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
  .chip span { min-height: 44px; align-items: center; }
}
/* Touch devices get comfortable 44px targets at any width (covers tablets, not just phones) */
@media (pointer: coarse){
  .work-filter button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
  .chip span { min-height: 44px; align-items: center; }
  .footer-col a, .footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }
}

.work-card { display: block; }
.work-card .thumb {
  aspect-ratio: 4/3;
  border-radius: var(--r-stadium);
  overflow: hidden;
  position: relative;
  box-shadow: var(--lift-2);
  margin-bottom: 1.2rem;
  transition: box-shadow 0.5s var(--ease);
}
.work-card:hover .thumb { box-shadow: var(--lift-3); }
.work-card .thumb .ph { position: absolute; inset: 0; transition: transform 0.7s var(--ease); }
.work-card:hover .thumb .ph { transform: scale(1.05); }
.work-card h3 { font-size: 1.4rem; transition: color 0.35s var(--ease); }
.work-card:hover h3 { color: var(--clay-brown); }
.work-item.hide { display: none; }

/* ---------- Work showcase (homepage: one featured piece + supporting) ---------- */
.work-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.4rem); }
.work-showcase .work-card--feature { grid-column: 1 / -1; }
.work-card--feature .thumb { aspect-ratio: 16 / 7; }
.work-card--feature .work-cap h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); max-width: 22ch; }
@media (max-width: 720px){
  .work-showcase { grid-template-columns: 1fr; }
  .work-card--feature .thumb { aspect-ratio: 4 / 3; }
}
.work-cap { margin-top: 1.1rem; }
.work-kind { display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); margin-bottom: 0.55rem; }
.work-cap h3 { font-size: 1.35rem; transition: color 0.35s var(--ease); }
.work-client { display: block; margin-top: 0.45rem; font-size: 0.86rem; color: var(--slate); }
/* Orbital ring motif on work covers (homepage showcase + work.html grid): echoes the
   hero ring + constellation so the gradient covers read as intentional art direction,
   not empty placeholders */
.work-card .thumb .ph::after { content: ""; position: absolute; right: -8%; top: -26%; width: 52%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--orange-light) 32%, transparent); pointer-events: none; }
.work-card--feature .thumb .ph::after { width: 24%; top: -34%; right: -3%; }

/* Gradient placeholders (the art direction; no stock) */
.ph { background: linear-gradient(150deg, #EBE3D8, #D9CDBE); }
.ph--clay { background: linear-gradient(150deg, #F4C9B3, var(--orange)); }
.ph--sage { background: linear-gradient(150deg, #CFD3C6, #5C6657); }
.ph--ink  { background: linear-gradient(150deg, #6E665C, var(--ink)); }
.ph--gold { background: linear-gradient(150deg, #ECD6A9, #B07A2E); }
.ph--mix  { background: linear-gradient(150deg, #F4C9B3, #D9C49E 55%, #6E7A63); }
.ph-label {
  position: absolute; inset: 0;
  display: grid; place-items: center; text-align: center;
  font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: -0.03em; color: var(--lifted);
  text-shadow: 0 2px 10px rgba(20,20,19,0.45), 0 1px 2px rgba(20,20,19,0.4); padding: 1rem;
  isolation: isolate;
}
.ph-label::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 92% 78% at center, rgba(20,20,19,0.52), rgba(20,20,19,0.16) 78%);
}

/* ---------- Stat band ---------- */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
@media (max-width: 720px){ .statband { grid-template-columns: repeat(2, 1fr); gap: 2.4rem; } }
.statband .stat .num { font-weight: 800; font-size: clamp(2.4rem, 4.5vw, 3.6rem); line-height: 1; display: block; letter-spacing: -0.04em; }
.statband .stat .num small { color: var(--orange); }
.statband .stat .lbl { font-size: 0.88rem; color: var(--slate); margin-top: 0.6rem; max-width: 22ch; }

/* ---------- Quote / testimonial ---------- */
.testimonial { margin: 0; }
.quote { font-weight: 600; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.2; letter-spacing: -0.025em; max-width: 24ch; }
.quote .mark { color: var(--orange); }
.quote-foot { display: flex; align-items: center; gap: 1rem; margin-top: 2.2rem; }
.quote-foot .avatar { width: 52px; height: 52px; border-radius: 50%; }
.quote-foot .who strong { display: block; font-weight: 700; }
.quote-foot .who span { font-size: 0.88rem; color: var(--slate); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--canvas);
  border-radius: var(--r-stadium);
  padding: clamp(2.6rem, 6vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--canvas); max-width: 16ch; }
.cta-band .serif-accent { color: var(--orange-light); }
.cta-band p { color: color-mix(in srgb, var(--canvas) 74%, transparent); max-width: 44ch; margin-top: 1rem; }
.cta-band .eyebrow { color: var(--orange-light); }
.cta-band .eyebrow::before { background: var(--orange-light); }
.cta-band .btn { --bg: var(--lifted); --fg: var(--ink); border-color: var(--lifted); }
.cta-band .btn .arrow { color: var(--orange); }
.cta-band .link { color: var(--canvas); }
.cta-band .link::after { background: var(--orange-light); }
.cta-glow {
  position: absolute; width: 60%; aspect-ratio: 1; right: -10%; bottom: -40%;
  background: radial-gradient(circle, color-mix(in srgb, var(--orange) 55%, transparent), transparent 65%);
  pointer-events: none;
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.6rem; }
@media (max-width: 640px){ .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; font-weight: 450;
  padding: 0.85em 1.1em;
  background: var(--lifted);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  color: var(--ink);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 22%, transparent);
}
.field input::placeholder, .field textarea::placeholder { color: var(--slate); }
.form-note { font-size: 0.84rem; color: var(--slate); }
.form-success { display: none; padding: 1.1rem 1.3rem; background: color-mix(in srgb, var(--orange) 12%, var(--lifted)); border: 1px solid var(--orange); border-radius: 16px; color: var(--clay-brown); font-weight: 500; }
.form-success.show { display: block; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; padding: 0.5em 1.2em;
  background: var(--lifted);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill); font-size: 0.92rem;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.chip input:checked + span { background: var(--ink); color: var(--canvas); border-color: var(--ink); }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding-top: clamp(140px, 18vh, 200px); padding-bottom: clamp(40px, 6vw, 70px); position: relative; }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); max-width: 18ch; margin-top: 1rem; }
.page-hero .lede { margin-top: 1.6rem; }
.breadcrumb { font-size: 0.82rem; color: var(--slate); letter-spacing: 0.02em; }
.breadcrumb a:hover { color: var(--orange); }

/* ---------- Prose / legal ---------- */
.prose p { margin-bottom: 1.3rem; max-width: 70ch; color: var(--charcoal); }
.prose p:last-child { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 2.6rem 0 0.8rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1.3rem; }
.prose ul li { margin-bottom: 0.5rem; max-width: 70ch; color: var(--charcoal); }
.prose a { color: var(--link-blue); font-weight: 600; }
.prose a:hover { color: var(--clay-brown); }
.pull {
  font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.25; letter-spacing: -0.025em;
  color: var(--ink); padding-left: 1.6rem; margin: 2.4rem 0; max-width: 30ch;
  border-left: 1px solid var(--orange);
}

/* value list */
.values { display: grid; gap: 0.8rem; }
.value-row {
  display: grid; grid-template-columns: auto 1fr; gap: 2rem;
  padding: 1.6rem 1.8rem;
  background: var(--lifted); border: 1px solid var(--line); border-radius: var(--r-stadium);
  align-items: baseline;
}
.value-row .vnum { font-weight: 800; color: var(--clay-brown); font-size: 1.1rem; }
.value-row h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.value-row p { color: var(--slate); max-width: 52ch; }
@media (max-width: 760px){ .value-row { grid-template-columns: 1fr !important; gap: 0.9rem; } }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; z-index: 2;
  background: var(--ink);
  color: var(--canvas);
  padding-block: clamp(3.5rem, 7vw, 6rem) 2.5rem;
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 3.5rem; border-bottom: 1px solid color-mix(in srgb, var(--canvas) 16%, transparent);
}
@media (max-width: 860px){ .footer-top { grid-template-columns: 1fr 1fr; gap: 2.6rem; } }
@media (max-width: 520px){ .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand { font-size: 1.6rem; color: var(--canvas); }
.footer-brand p { color: color-mix(in srgb, var(--canvas) 66%, transparent); margin-top: 1rem; max-width: 30ch; font-size: 0.96rem; }
.footer-col h3 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--canvas) 58%, transparent); margin-bottom: 1.2rem; font-weight: 700; }
.footer-col ul { display: grid; gap: 0.75rem; }
.footer-col a { color: color-mix(in srgb, var(--canvas) 82%, transparent); font-size: 0.96rem; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--orange-light); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 2rem; font-size: 0.86rem; color: color-mix(in srgb, var(--canvas) 58%, transparent); }
.footer-bottom a:hover { color: var(--orange-light); }
.footer-legal { display: flex; gap: 1.4rem; }
.footer-cta-line {
  font-weight: 800; font-size: clamp(2rem, 5.5vw, 4.4rem); line-height: 1.0; letter-spacing: -0.04em;
  margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 18ch; color: var(--canvas);
}
.footer-cta-line a { color: var(--orange-light); white-space: nowrap; }
.footer-cta-line a .arrow { display: inline-block; transition: transform 0.4s var(--ease); }
.footer-cta-line a:hover .arrow { transform: translate(6px, -6px); }

/* ---------- Cookie consent banner ---------- */
.consent {
  position: fixed; left: 50%; bottom: clamp(12px, 3vw, 28px);
  transform: translateX(-50%) translateY(140%);
  z-index: 80;
  width: min(640px, calc(100% - 2 * var(--gutter)));
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  padding: 1.1rem 1.3rem;
  background: var(--lifted);
  border: 1px solid var(--line);
  border-radius: var(--r-stadium);
  box-shadow: var(--lift-3);
  transition: transform 0.6s var(--ease);
}
.consent.show { transform: translateX(-50%) translateY(0); }
.consent p { font-size: 0.9rem; color: var(--charcoal); flex: 1 1 280px; }
.consent p a { color: var(--link-blue); font-weight: 600; }
.consent .consent-actions { display: flex; gap: 0.6rem; align-items: center; }

/* ---------- Reveal / load-in ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }
/* No-JS fallback: reveal-gated content must stay visible if scripts never run */
@media (scripting: none) { [data-reveal] { opacity: 1; transform: none; transition: none; } }
.load-up { opacity: 0; transform: translateY(30px); animation: loadUp 1s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes loadUp { to { opacity: 1; transform: none; } }

/* ---------- Accessibility ---------- */
a:focus-visible, button:focus-visible, .btn:focus-visible, .chip input:focus-visible + span, [tabindex]:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; }
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--canvas); padding: 0.85em 1.3em;
  border-radius: 0 0 16px 16px; font-weight: 600; font-size: 0.92rem;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 0; outline: 2px solid var(--orange); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Inline form validation */
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--orange); box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 22%, transparent);
}
.field-error { display: none; font-size: 0.82rem; font-weight: 500; color: var(--clay-brown); }
.field-error.show { display: block; }
.form-error { display: none; padding: 1.1rem 1.3rem; margin-bottom: 1.4rem; background: color-mix(in srgb, var(--orange) 12%, var(--lifted)); border: 1px solid var(--orange); border-radius: 16px; color: var(--clay-brown); font-weight: 500; }
.form-error.show { display: block; }

/* ---------- Helpers ---------- */
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.divider { height: 1px; background: var(--line); border: 0; }
.text-muted { color: var(--slate); }
.maxw-sm { max-width: 52ch; } .maxw-md { max-width: 70ch; }
