/* =========================================================
   Harjog Solutions — global styles
   Dark + light themes, Sora + Instrument Serif typography
   ========================================================= */

/* ── Back button (inner pages) ───────────────────────────── */
.site-back-btn {
  position: fixed;
  top: calc(72px + 18px);
  left: clamp(16px, 3vw, 40px);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.site-back-btn:hover {
  background: var(--surface-2);
  border-color: var(--ink);
  transform: translateX(-3px);
}
@media (max-width: 600px) {
  .site-back-btn { top: calc(60px + 12px); left: 12px; padding: 7px 12px; }
}

:root {
  /* Accent (overridden inline via Tweaks) */
  --accent: #E8FF5C;
  --accent-ink: #0a0a0a;          /* readable text ON accent */

  /* Type */
  --f-display: "Playfair Display", "Instrument Serif", Georgia, serif;
  --f-sans: "Archivo", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Density scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;
  --sp-11: 160px;

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Layout */
  --maxw: 1800px;
  --gut: 24px;

  /* Motion */
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-in-out: cubic-bezier(.5, 0, .2, 1);
}

[data-theme="dark"] {
  --bg: #0a0a0a;
  --bg-2: #0f0f0f;
  --surface: #141414;
  --surface-2: #1a1a1a;
  --border: #262626;
  --border-2: #1f1f1f;
  --ink: #fafafa;
  --ink-2: #d4d4d4;
  --muted: #8a8a8a;
  --muted-2: #5f5f5f;
  --grid: rgba(255, 255, 255, 0.04);
  --noise-opacity: 0.04;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f6f4ef;
  --bg-2: #efece4;
  --surface: #ffffff;
  --surface-2: #faf8f3;
  --border: #e3ddd1;
  --border-2: #ebe6db;
  --ink: #111111;
  --ink-2: #2a2a2a;
  --muted: #6b6b6b;
  --muted-2: #9a9a9a;
  --grid: rgba(0, 0, 0, 0.04);
  --noise-opacity: 0.05;
  color-scheme: light;
}

/* Density variants */
[data-density="compact"]  { --pad-section: 72px;  --hero-pad: 96px; }
[data-density="comfortable"] { --pad-section: 128px; --hero-pad: 160px; }
[data-density="spacious"] { --pad-section: 192px; --hero-pad: 220px; }

/* Font pairings */
[data-font="butler"] {
  --f-h: "Cormorant Garamond", Georgia, serif;
  --f-h-weight: 400;
  --f-h-tracking: -0.03em;
  --f-h-italic: italic;
}

/* Display h1: Light weight — Voyage Light hairline/contrast feel */
[data-font="butler"] .aurora-h1,
[data-font="butler"] .page-head h1,
[data-font="butler"] .cs-title {
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

/* Section headings: Regular weight, tight */
[data-font="butler"] h1,
[data-font="butler"] h2,
[data-font="butler"] .sec-head h2,
[data-font="butler"] .cta-band h2 {
  line-height: 0.94;
}

/* Italic accents: Playfair Display italic for extra elegance */
[data-font="butler"] h1 .it,
[data-font="butler"] h2 .it,
[data-font="butler"] h3 .it,
[data-font="butler"] .sec-head h2 .it,
[data-font="butler"] .cta-band h2 .it,
[data-font="butler"] .page-head h1 .it,
[data-font="butler"] .aurora-h1 .it {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
}

/* h3/h4: Archivo for readability */
[data-font="butler"] h3,
[data-font="butler"] h4 {
  font-family: "Archivo", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

[data-font="editorial"] {
  --f-h: "Instrument Serif", Georgia, serif;
  --f-h-weight: 400;
  --f-h-tracking: -0.03em;
  --f-h-italic: italic;
}
[data-font="sans"] {
  --f-h: "Sora", ui-sans-serif, system-ui, sans-serif;
  --f-h-weight: 600;
  --f-h-tracking: -0.03em;
  --f-h-italic: normal;
}
[data-font="technical"] {
  --f-h: "JetBrains Mono", ui-monospace, monospace;
  --f-h-weight: 500;
  --f-h-tracking: -0.03em;
  --f-h-italic: normal;
}
[data-font="brand"] {
  /* Anton display + Playfair Display italic accent — billboard-loud, editorial-elegant */
  --f-h: "Anton", "Archivo Black", ui-sans-serif, system-ui, sans-serif;
  --f-h-weight: 400;
  --f-h-tracking: -0.015em;
  --f-h-italic: italic;
}
[data-font="brand"] h1,
[data-font="brand"] h2,
[data-font="brand"] .cta-band h2,
[data-font="brand"] .sec-head h2,
[data-font="brand"] .page-head h1,
[data-font="brand"] .cs-title,
[data-font="brand"] .ribbon-text {
  text-transform: uppercase;
  line-height: 0.92;
}
[data-font="brand"] h3,
[data-font="brand"] h4 {
  /* Smaller card / step / row titles: Anton would feel cramped mid-page; use Archivo Bold instead */
  font-family: "Archivo", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  text-transform: none;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
[data-font="brand"] h1 .it,
[data-font="brand"] h2 .it,
[data-font="brand"] h3 .it,
[data-font="brand"] .cs-title .it,
[data-font="brand"] .page-head h1 .it,
[data-font="brand"] .sec-head h2 .it,
[data-font="brand"] .cta-band h2 .it,
[data-font="brand"] .cs-section-body h2 .it {
  text-transform: none;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.02em;
}
[data-font="brand"] .tcard .quote,
[data-font="brand"] .cs-pullquote .q {
  /* Long-form quotes: Anton too condensed at body sizes; keep Archivo for readability */
  font-family: "Archivo", ui-sans-serif, system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: -0.015em;
  text-transform: none;
}
[data-font="brand"] .tcard .quote .it,
[data-font="brand"] .cs-pullquote .q { font-style: italic; }
[data-font="brand"] .ribbon-text { font-family: "Anton", sans-serif; font-style: normal; font-weight: 400; text-transform: uppercase; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--f-sans);
  font-size: 18px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background 0.45s var(--ease-out), color 0.45s var(--ease-out);
  overflow-x: hidden;
}

/* Page-level grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

::selection { background: var(--accent); color: var(--accent-ink); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* Headings — display font swaps with [data-font] */
h1, h2, h3, h4 {
  font-family: var(--f-h);
  font-weight: var(--f-h-weight);
  letter-spacing: var(--f-h-tracking);
  line-height: 1.02;
  margin: 0;
  color: var(--ink);
}
h1 .it, h2 .it, h3 .it { font-style: var(--f-h-italic); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

/* ======================== Layout primitives ======================== */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
  position: relative;
}

section {
  padding: var(--pad-section) 0;
  position: relative;
}

.rule {
  height: 1px;
  background: var(--border);
  width: 100%;
}

/* ======================== Header ======================== */
.hdr {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out), padding 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.hdr.scrolled {
  padding: 12px 24px;
  border-bottom-color: var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: var(--f-sans);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 18px;
  color: var(--ink);
  flex-shrink: 0;
}
.logo-img {
  height: 26px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  object-position: left center;
  transition: transform 0.4s var(--ease-out), filter 0.3s var(--ease-out);
}
.logo:hover .logo-img { transform: translateX(-1px); }
/* Solutions wordmark intentionally removed per brand direction — logo stands alone */
.logo-sub { display: none; }

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px;
  border-radius: var(--r-pill);
}
.nav-link {
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
  transition: color 0.25s var(--ease-out), background 0.35s var(--ease-out), transform 0.25s var(--ease-out);
  position: relative;
  overflow: visible;
  font-family: var(--f-sans);
  font-weight: 500;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, 6px) scale(0);
  opacity: 0;
  transition: transform 0.35s var(--ease-out), opacity 0.25s var(--ease-out);
  pointer-events: none;
}
.nav-link:hover {
  color: var(--ink);
  transform: translateY(-1px);
}
.nav-link:hover::after {
  transform: translate(-50%, 0) scale(1);
  opacity: 1;
}
.nav-link:active { transform: translateY(0) scale(0.94); }
.nav-link.active {
  background: var(--ink);
  color: var(--bg);
  animation: navActivePop 0.45s var(--ease-out);
}
.nav-link.active::after { opacity: 0; }
@keyframes navActivePop {
  0%   { transform: scale(0.86); }
  55%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.hdr-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  display: grid; place-items: center;
  transition: transform 0.4s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s;
}
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease-out); }
.theme-toggle:hover svg { transform: rotate(45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease-out), background 0.2s, color 0.2s, border-color 0.2s;
  font-family: var(--f-sans);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), color-mix(in oklab, var(--accent) 70%, white 30%), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -16px color-mix(in oklab, var(--accent) 80%, transparent); }
.btn-primary:hover::before { opacity: 0.9; }
.btn-primary:active { transform: translateY(0) scale(0.97); }
.btn-primary .arr { position: relative; transition: transform 0.35s var(--ease-out); }
.btn-primary:hover .arr { transform: translateX(6px) rotate(-45deg); }
.btn-primary > * { position: relative; z-index: 1; }

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

.btn-large {
  padding: 18px 28px;
  font-size: 16px;
}

/* Mobile menu button */
.menu-btn {
  display: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  align-items: center; justify-content: center;
}

/* ======================== Page transitions ======================== */
.page {
  animation: pageIn 0.55s var(--ease-out);
  padding-top: 88px; /* clear fixed header */
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* Work page — split header */
.page-head-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-top: 24px;
}
.page-head-split h1 { margin: 0; }
.page-head-split .deck { margin: 0; }
/* ======================== Hero ======================== */
.hero {
  padding: var(--hero-pad) 0 calc(var(--pad-section) * 0.6);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000, transparent 80%);
  pointer-events: none;
}

.hero-eyebrow {
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow .meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-eyebrow .sep {
  width: 22px;
  height: 1px;
  background: var(--border);
}

.hero h1 {
  font-size: clamp(48px, 9vw, 152px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.hero h1 .it {
  color: var(--accent);
  font-style: italic;
  font-family: var(--f-display);
  font-weight: 400;
}

.hero-sub {
  max-width: 780px;
  font-size: 21px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 36px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
  flex-wrap: wrap;
}

/* Hero layout — EDITORIAL (default) */
.hero[data-layout="editorial"] .hero-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
  align-items: end;
}
.hero[data-layout="editorial"] .hero-side {
  display: flex; flex-direction: column;
  gap: 24px;
}
.hero[data-layout="editorial"] .hero-visual {
  height: 360px;
  position: relative;
}

/* Hero layout — CENTERED (big type only) */
.hero[data-layout="centered"] {
  text-align: center;
}
.hero[data-layout="centered"] .hero-body { display: block; }
.hero[data-layout="centered"] h1 {
  font-size: clamp(60px, 11vw, 180px);
}
.hero[data-layout="centered"] .hero-eyebrow,
.hero[data-layout="centered"] .hero-cta {
  justify-content: center;
}
.hero[data-layout="centered"] .hero-sub { margin-left: auto; margin-right: auto; }
.hero[data-layout="centered"] .hero-side { display: none; }
.hero[data-layout="centered"] .hero-visual { display: none; }

/* Hero layout — MARQUEE (kinetic words) */
.hero[data-layout="marquee"] {
  min-height: auto;
  margin-top: -88px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 150px 0 80px !important;
}
.hero[data-layout="marquee"] .wrap {
  display: flex;
  flex-direction: column;
  flex: none;
  justify-content: flex-start;
}
.hero[data-layout="marquee"] .hero-body {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.8vh, 16px);
}
.hero[data-layout="marquee"] h1 {
  font-size: clamp(64px, 13vw, 320px);
  line-height: 0.92;
  white-space: nowrap;
}
.hero[data-layout="marquee"] .marquee-row {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marqueeLeft 60s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.hero[data-layout="marquee"] .marquee-row > span {
  margin-right: 0.4em;
}
.hero[data-layout="marquee"] .marquee-row.alt {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marqueeRight 72s linear infinite;
  color: var(--muted-2);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.hero[data-layout="marquee"] .marquee-row.alt > span {
  margin-right: 0.4em;
}
.hero[data-layout="marquee"] .marquee-row.alt .it {
  color: var(--accent);
}
.hero[data-layout="marquee"] .hero-side { display: none; }
.hero[data-layout="marquee"] .hero-visual { display: none; }
.hero[data-layout="marquee"] .hero-sub-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 60px; flex-wrap: wrap;
}

@keyframes marqueeLeft {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@keyframes marqueeRight {
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}

/* Hero key visual placeholder */
.kv-placeholder {
  position: relative;
  width: 100%; height: 100%;
  border: 1px dashed var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, color-mix(in oklab, var(--accent) 14%, transparent), transparent 50%),
    radial-gradient(circle at 70% 70%, var(--surface), var(--bg));
}
.kv-placeholder::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.6;
}
.kv-placeholder .kv-label {
  position: absolute;
  bottom: 14px; left: 14px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  backdrop-filter: blur(6px);
  z-index: 1;
}
.kv-placeholder .kv-mark {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  z-index: 1;
}

/* Hero side: meta info */
.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta .row {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}
.hero-meta .row span:last-child { color: var(--ink); }

/* ======================== Marquee strip (clients) ======================== */
.strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  overflow: hidden;
  position: relative;
}
.strip-row {
  display: flex;
  align-items: center;
  gap: 80px;
  white-space: nowrap;
  width: max-content;
  animation: marqueeLeft 80s linear infinite;
  will-change: transform;
}
.strip-item {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 28px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.strip-item::after {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: 80px;
}
.strip-item:last-child::after { display: none; }

/* ======================== Services Stack ======================== */
.svc-stack,
#capabilities {
  padding: var(--pad-section) 0;
}
#capabilities {
  padding: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#capabilities .wrap {
  max-width: 100%;
  padding: 0 clamp(24px, 5vw, 100px);
}
#capabilities .sec-head {
  margin-bottom: 40px;
}
.svc-stack-item {
  display: flex;
  align-items: center;
  padding: 0;
  cursor: pointer;
}
.svc-stack-title {
  font-family: "Barlow Condensed", ui-sans-serif, sans-serif;
  font-size: clamp(52px, 10vw, 180px);
  line-height: 0.88;
  letter-spacing: 0.01em !important;
  word-spacing: 0.08em;
  font-weight: 800;
  text-transform: uppercase;
  display: inline-flex;
  flex-wrap: wrap;
  width: fit-content;
}
.svc-ch-wrap {
  display: inline-block;
  overflow: hidden;
  position: relative;
  line-height: 0.88;
}
.svc-ch {
  display: block;
  transition: transform 0.75s cubic-bezier(0.85, 0, 0.15, 1);
  will-change: transform;
  backface-visibility: hidden;
}
.svc-ch.clone {
  position: absolute;
  top: 100%;
  left: 0;
  color: var(--accent);
}
.svc-stack-title:hover .svc-ch {
  transform: translateY(-100%);
  transition: transform 0.75s cubic-bezier(0.85, 0, 0.15, 1);
}

/* ======================== Section header ======================== */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
}
.sec-head h2 {
  font-size: clamp(40px, 5.6vw, 84px);
  letter-spacing: -0.035em;
}
.sec-head h2 .it { color: var(--accent); font-style: italic; font-family: var(--f-display); font-weight: 400; }
.sec-head .lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 680px;
  line-height: 1.55;
}

/* ======================== Capabilities ======================== */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
.cap {
  grid-column: span 4;
  padding: 40px 32px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background 0.3s var(--ease-out);
  cursor: pointer;
}
.cap:nth-child(3n) { border-right: none; }
.cap:hover { background: var(--surface); }
.cap-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  margin-bottom: 56px;
}
.cap h3 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.cap p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 28px;
  line-height: 1.55;
}
.cap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cap-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--border);
}
.cap:hover .cap-tag { background: var(--bg); }
.cap-arrow {
  position: absolute;
  top: 36px; right: 32px;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s var(--ease-out);
  color: var(--accent);
}
.cap:hover .cap-arrow { opacity: 1; transform: translateX(0); }

/* ======================== Work / Case studies ======================== */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.work-card {
  position: relative;
  cursor: pointer;
}


.work-thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  margin-bottom: 24px;
  transition: transform 0.5s var(--ease-out);
}
.work-card:hover .work-thumb { transform: translateY(-6px); }
.work-thumb-inner {
  position: absolute; inset: 16px;
  border-radius: var(--r-md);
  border: 1px dashed var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 30%, color-mix(in oklab, var(--accent) 6%, transparent), transparent 70%);
  flex-direction: column;
  gap: 14px;
}
.work-thumb-inner .glyph {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 96px;
  color: var(--ink-2);
  opacity: 0.5;
  line-height: 1;
}
.work-thumb-inner .placeholder-lbl {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: color-mix(in oklab, var(--bg) 80%, transparent);
}
.work-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.work-card h3 {
  font-size: 32px;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.work-card .blurb {
  color: var(--muted);
  font-size: 15px;
  max-width: 480px;
}

/* ======================== Process ======================== */
.process {
  padding: var(--pad-section) 0;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 60px;
}
.step {
  position: relative;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.step-num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 88px;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 28px;
  position: relative;
}
.step-num .dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: top;
  margin-left: 4px;
  margin-top: 18px;
}
.step h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ======================== Testimonials ======================== */
.t-slider {
  overflow: hidden;
  position: relative;
}
.t-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.tcard {
  min-width: 100%;
  padding: 56px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.t-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}
.t-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--ink);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.t-btn:hover { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 10%, transparent); }
.t-dots { display: flex; gap: 8px; }
.t-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.t-dot.on { background: var(--accent); transform: scale(1.4); }
.tcard .qmark {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 56px;
  color: var(--accent);
  line-height: 0.5;
  margin-bottom: -10px;
}
.tcard .quote {
  font-family: var(--f-h);
  font-weight: var(--f-h-weight);
  font-size: clamp(22px, 2.5vw, 36px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  flex: 1;
}
.tcard .quote .it { font-style: italic; color: var(--accent); font-family: var(--f-display); }
.tcard .who {
  display: flex; align-items: center; gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: grid; place-items: center;
  font-weight: 600;
  font-size: 14px;
}
.who .name { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.who .role { font-size: 12px; color: var(--muted); }

/* ======================== FAQ ======================== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.faq-list {
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  cursor: pointer;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: background 0.3s var(--ease-out), transform 0.3s;
}
.faq-item.open .faq-icon {
  background: var(--accent);
  color: var(--accent-ink);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out), padding-top 0.3s;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 600px;
}
.faq-item.open .faq-a {
  max-height: 200px;
  padding-top: 16px;
}

/* ======================== Big CTA ======================== */
.cta-band {
  position: relative;
  padding: var(--pad-section) 0;
  text-align: center;
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, color-mix(in oklab, var(--accent) 18%, transparent), transparent 60%);
  pointer-events: none;
}
.cta-band h2 {
  font-size: clamp(48px, 8vw, 128px);
  letter-spacing: -0.04em;
  position: relative;
}
.cta-band h2 .it { color: var(--accent); font-style: italic; font-family: var(--f-display); font-weight: 400; }
.cta-band p {
  font-size: 17px;
  color: var(--muted);
  max-width: 540px;
  margin: 24px auto 0;
  position: relative;
}
.cta-band .hero-cta {
  justify-content: center;
  margin-top: 40px;
  position: relative;
}

/* Wordmark display (big HARJOG logo) */
.wordmark {
  position: relative;
  padding: 80px var(--gut) 0;
  overflow: hidden;
  text-align: center;
}
.wordmark img {
  width: 100%;
  max-width: 1400px;
  height: auto;
  display: block;
  margin: 0 auto;
  user-select: none;
}
.wordmark-tag {
  margin-top: 24px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.wordmark-tag::before, .wordmark-tag::after {
  content: "";
  width: 40px; height: 1px;
  background: var(--border);
}

/* ======================== Footer — Floema exact layout ======================== */
.ftr {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

/* Full-bleed two-panel grid — no wrap */
.ftr-inner {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  min-height: 480px;
}

/* ── LEFT panel ── */
.ftr-left {
  border-right: 1px solid var(--border);
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ftr-wordmark {
  height: 30px;
  width: auto;
  object-fit: contain;
}
.ftr-big-tagline {
  font-family: var(--f-h, "Playfair Display", serif);
  font-size: clamp(24px, 2.4vw, 44px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
}
.ftr-est {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── RIGHT panel ── */
.ftr-right {
  padding: 52px 60px 48px;
  display: flex;
  flex-direction: column;
}

/* TOP: address columns */
.ftr-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  flex: 1;
}
.ftr-col h4 {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
  font-weight: 500;
}
.ftr-col address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
}
.ftr-col address a {
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s;
}
.ftr-col address a:hover { color: var(--accent); }

/* Divider rule between top and bottom */
.ftr-rule {
  height: 1px;
  background: var(--border);
  margin: 40px 0;
}

/* BOTTOM: nav list left, social+copy right */
.ftr-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.ftr-nav-vertical {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ftr-nav-vertical a {
  font-size: 15px;
  color: var(--ink-2);
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
}
.ftr-nav-vertical a:hover { color: var(--accent); }

.ftr-right-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}
.ftr-social {
  display: flex;
  gap: 16px;
  align-items: center;
}
.ftr-social a {
  color: var(--muted);
  display: flex;
  transition: color 0.2s;
}
.ftr-social a:hover { color: var(--accent); }
.ftr-copy {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Newsletter (kept for subscribe form, placed elsewhere if needed) */
.ftr-newsletter {
  display: flex;
  gap: 8px;
}
.ftr-newsletter input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 10px 16px;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  min-width: 180px;
}
.ftr-newsletter input:focus { border-color: var(--accent); }
.ftr-newsletter button {
  background: var(--ink);
  color: var(--bg);
  border: none;
  border-radius: var(--r-pill);
  padding: 0 16px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.ftr-newsletter button:hover { background: var(--accent); color: var(--accent-ink); }


/* ======================== Pages: shared ======================== */
.page-head {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
}
.page-head .kicker {
  margin-bottom: 24px;
}
.page-head h1 {
  font-size: clamp(48px, 8vw, 128px);
  letter-spacing: -0.04em;
  line-height: 0.98;
}
.page-head h1 .it { color: var(--accent); font-style: italic; font-family: var(--f-display); font-weight: 400; }
.page-head .deck {
  font-size: 19px;
  color: var(--muted);
  margin-top: 28px;
  max-width: 640px;
  line-height: 1.5;
}

/* Service rows (Services page) */
.svc-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr 1fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  transition: padding 0.3s var(--ease-out);
  cursor: pointer;
}
.svc-row:hover { padding: 48px 20px; }
.svc-row:hover h3 { color: var(--accent); }
.svc-row .num {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  padding-top: 6px;
}
.svc-row h3 {
  font-size: 32px;
  letter-spacing: -0.02em;
  transition: color 0.3s var(--ease-out);
}
.svc-row .desc { color: var(--muted); font-size: 15px; line-height: 1.55; }
.svc-row .tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* About: team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.team-card {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
}
.team-photo {
  aspect-ratio: 3 / 4;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  position: relative;
  display: grid; place-items: center;
}
.team-photo .ph-glyph {
  font-family: var(--f-display); font-style: italic;
  font-size: 72px; color: var(--muted-2);
}
.team-photo .ph-lbl {
  position: absolute; bottom: 10px; left: 10px;
  font-family: var(--f-mono); font-size: 9px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  padding: 4px 8px; border: 1px solid var(--border);
  border-radius: 4px;
}
.team-info { padding: 18px; }
.team-info .name { font-size: 16px; font-weight: 500; }
.team-info .role { font-size: 12px; color: var(--muted); margin-top: 2px; font-family: var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; }

/* About: stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 40px 0 0;
  border-top: 1px solid var(--border);
}
.stat {
  padding: 32px 0;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat .v {
  font-family: var(--f-display); font-style: italic;
  font-size: 64px; letter-spacing: -0.04em; line-height: 1;
  color: var(--ink);
}
.stat .v .acc { color: var(--accent); }
.stat .k {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-top: 12px;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.form {
  display: flex; flex-direction: column; gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  font-family: inherit;
  font-size: 17px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-bottom-color: var(--accent);
}
.field textarea { min-height: 120px; }
.budget-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.budget-chip {
  font-size: 13px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.2s;
}
.budget-chip:hover { border-color: var(--ink); }
.budget-chip.active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.contact-meta {
  padding-left: 20px;
  border-left: 1px solid var(--border);
}
.contact-meta dl { margin: 0; }
.contact-meta dt {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.contact-meta dd {
  margin: 0 0 28px;
  font-size: 17px;
  color: var(--ink);
}
.contact-meta dd a:hover { color: var(--accent); }

.form-submitted {
  padding: 60px 0;
  text-align: center;
  border: 1px dashed var(--accent);
  border-radius: var(--r-lg);
  background: color-mix(in oklab, var(--accent) 6%, transparent);
}
.form-submitted h3 {
  font-size: 36px;
  margin-bottom: 14px;
}
.form-submitted p { color: var(--muted); }

/* ============================================================
   Case study detail page
   ============================================================ */
.cs-hero {
  padding: 80px 0 60px;
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.cs-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000, transparent 80%);
  pointer-events: none;
}
.cs-breadcrumb {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cs-breadcrumb a { color: var(--muted); cursor: pointer; }
.cs-breadcrumb a:hover { color: var(--ink); }
.cs-breadcrumb .sep { width: 18px; height: 1px; background: var(--border); }
.cs-breadcrumb .cur { color: var(--ink); }

.cs-title {
  font-size: clamp(48px, 8vw, 128px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.cs-title .it {
  color: var(--accent);
  font-style: italic;
  font-family: var(--f-display);
  font-weight: 400;
}
.cs-deck {
  font-size: 20px;
  color: var(--muted);
  max-width: 720px;
  margin-top: 32px;
  line-height: 1.5;
}

/* Project meta strip */
.cs-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cs-meta .cell {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cs-meta .cell:last-child { border-right: none; }
.cs-meta .k {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.cs-meta .v { font-size: 17px; color: var(--ink); font-weight: 500; }

/* Hero image / placeholder */
.cs-hero-image {
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  position: relative;
  margin: 96px 0 0;
}
.cs-hero-image .inner {
  position: absolute; inset: 16px;
  border-radius: var(--r-md);
  border: 1px dashed var(--border-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background:
    radial-gradient(circle at 50% 30%, color-mix(in oklab, var(--accent) 8%, transparent), transparent 70%);
}
.cs-hero-image .glyph {
  font-family: var(--f-display); font-style: italic;
  font-size: 180px; color: var(--ink-2); opacity: 0.55; line-height: 1;
}
.cs-hero-image .lbl {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: color-mix(in oklab, var(--bg) 80%, transparent);
}

/* Section heads inside case study */
.cs-section {
  padding: calc(var(--pad-section) * 0.7) 0;
  border-bottom: 1px solid var(--border);
}
.cs-section:last-of-type { border-bottom: none; }
.cs-section-head {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}
.cs-section-head .kicker {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  position: sticky;
  top: 100px;
}
.cs-section-head .kicker .num {
  color: var(--accent);
  margin-right: 10px;
}
.cs-section-body h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  line-height: 1.05;
}
.cs-section-body h2 .it {
  color: var(--accent); font-style: italic; font-family: var(--f-display); font-weight: 400;
}
.cs-section-body p {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 24px;
  max-width: 720px;
}
.cs-section-body p + p { margin-top: 24px; }

/* Pull quote inside case study */
.cs-pullquote {
  margin: 48px 0;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cs-pullquote .q {
  font-family: var(--f-h);
  font-weight: var(--f-h-weight);
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 16px;
  font-style: italic;
}
.cs-pullquote .q::before {
  content: "\201C";
  color: var(--accent);
  font-family: var(--f-display);
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.2em;
  margin-right: 8px;
}
.cs-pullquote .who {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Gallery */
.cs-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin: 64px 0;
}
.cs-gallery .slot {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  border: 1px dashed var(--border);
  background: var(--surface);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.cs-gallery .slot::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 40%, color-mix(in oklab, var(--accent) 5%, transparent), transparent 60%);
}
.cs-gallery .slot-lbl {
  position: absolute;
  bottom: 12px; left: 12px;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  padding: 4px 8px; border: 1px solid var(--border); border-radius: 4px;
  background: color-mix(in oklab, var(--bg) 80%, transparent);
}
.cs-gallery .slot .num {
  font-family: var(--f-display); font-style: italic;
  font-size: 56px; color: var(--muted-2); opacity: 0.6;
}
.cs-gallery .a-1-7  { grid-column: 1 / span 7; }
.cs-gallery .a-8-12 { grid-column: 8 / span 5; }
.cs-gallery .a-1-5  { grid-column: 1 / span 5; aspect-ratio: 3 / 4; }
.cs-gallery .a-6-12 { grid-column: 6 / span 7; }
.cs-gallery .a-1-12 { grid-column: 1 / span 12; aspect-ratio: 16 / 9; }

/* Results grid — big numbers */
.cs-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 40px 0;
}
.cs-result {
  padding: 40px 24px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cs-result:last-child { border-right: none; }
.cs-result .v {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(56px, 6.4vw, 96px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.cs-result .v .acc { color: var(--accent); }
.cs-result .k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.cs-result .note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* Approach steps */
.cs-approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.cs-approach-step {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
}
.cs-approach-step .step-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 16px;
}
.cs-approach-step h4 {
  font-size: 20px;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.cs-approach-step p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* Next-case footer */
.cs-next {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.cs-next .label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.cs-next-card {
  cursor: pointer;
}
.cs-next-card h3 {
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1;
  transition: color 0.3s var(--ease-out);
}
.cs-next-card:hover h3 { color: var(--accent); }
.cs-next-card .arr {
  margin-top: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-2);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
}
.cs-next-card:hover .arr { color: var(--accent); }
.cs-next-thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out);
}
.cs-next-card:hover .cs-next-thumb { transform: scale(1.02); }
.cs-next-thumb .inner {
  position: absolute; inset: 14px;
  border-radius: var(--r-sm);
  border: 1px dashed var(--border-2);
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 30%, color-mix(in oklab, var(--accent) 6%, transparent), transparent 70%);
}
.cs-next-thumb .glyph {
  font-family: var(--f-display); font-style: italic;
  font-size: 96px; color: var(--ink-2); opacity: 0.5;
}

@media (max-width: 980px) {
  .cs-meta { grid-template-columns: 1fr 1fr; }
  .cs-meta .cell:nth-child(2n) { border-right: none; }
  .cs-section-head { grid-template-columns: 1fr; gap: 16px; }
  .cs-section-head .kicker { position: static; }
  .cs-results { grid-template-columns: 1fr 1fr; }
  .cs-result:nth-child(2n) { border-right: none; }
  .cs-approach { grid-template-columns: 1fr; }
  .cs-gallery .a-1-7, .cs-gallery .a-8-12,
  .cs-gallery .a-1-5, .cs-gallery .a-6-12,
  .cs-gallery .a-1-12 { grid-column: 1 / span 12; aspect-ratio: 4 / 3; }
  .cs-next { grid-template-columns: 1fr; gap: 32px; }
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Word-by-word reveal */
.word-reveal { display: inline; }
.wr-word { display: inline-block; overflow: hidden; vertical-align: top; }
.wr-inner {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0.001;
  transition: transform 0.8s var(--ease-out), opacity 0.6s var(--ease-out);
  will-change: transform, opacity;
}

/* Line reveal — clips children with a mask sliding up */
.line-reveal {
  overflow: hidden;
  display: block;
}
.line-reveal .lr-inner {
  display: block;
  transform: translateY(110%);
  opacity: 0.001;
  transition: transform 1s var(--ease-out), opacity 0.8s var(--ease-out);
}
.line-reveal.in .lr-inner { transform: translateY(0); opacity: 1; }

/* Kinetic ribbon (for between-section dividers) */
.ribbon {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
}
.ribbon-row {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: marqueeLeft linear infinite;
}
.ribbon-item {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding: 0 40px;
}
.ribbon-text {
  font-family: var(--f-h);
  font-weight: var(--f-h-weight);
  font-style: italic;
  font-size: 36px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ribbon-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}

/* ======================== Responsive ======================== */
@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .hero[data-layout="editorial"] .hero-body { grid-template-columns: 1fr; gap: 40px; }
  .hero[data-layout="editorial"] .hero-visual { height: 220px; }
  .sec-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .cap { grid-column: span 6; }
  .cap:nth-child(3n) { border-right: 1px solid var(--border); }
  .cap:nth-child(2n) { border-right: none; }
  .work-grid { grid-template-columns: 1fr; gap: 24px; }
  .work-card:nth-child(even) { transform: none; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .tcards { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .ftr-inner { grid-template-columns: 1fr; }
  .ftr-left { border-right: none; border-bottom: 1px solid var(--border); padding: 40px 32px; min-height: unset; }
  .ftr-right { padding: 40px 32px; }
  .ftr-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .svc-row { grid-template-columns: 60px 1fr; gap: 16px; }
  .svc-row .desc, .svc-row .tags { grid-column: 2 / -1; }
}
/* ========================================================
   Cleanup overrides — tag chips suppressed per brand direction.
   Plus FAQ heading sizing fix + typing-reveal animation.
   ======================================================== */

/* Hide all tag chips across the site (capabilities, services, work cards) */
.cap-tags,
.cap-tag,
.svc-row .tags,
.placeholder-lbl,
.cap-tags .cap-tag { display: none !important; }

/* Tighter cap card now that tags are gone */
.cap { padding-bottom: 40px; }
.cap-num { margin-bottom: 40px; }

/* FAQ heading: Anton uppercase + Playfair italic needs a roomier line-height
   so descenders on "questions" don't clash with the next line. */
[data-font="brand"] .faq-grid h2,
[data-font="brand"] .cta-band h2,
[data-font="brand"] .page-head h1 {
  line-height: 1.0;
}
[data-font="brand"] .faq-grid h2 .it,
[data-font="brand"] .cta-band h2 .it,
[data-font="brand"] .page-head h1 .it {
  display: inline-block;
  vertical-align: baseline;
  line-height: 1;
  padding-right: 0.05em;
}

/* ========== Work-card image treatment ========== */
.work-thumb-frame {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out);
}
.work-card:hover .work-thumb-frame { transform: translateY(-6px); }
.work-thumb-img {
  position: absolute;
  inset: -12%;
  width: 124%;
  height: 124%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.02);
  transition: transform 0.7s var(--ease-out);
  will-change: transform;
}
.work-card:hover .work-thumb-img { transform: scale(1.04); }
.work-thumb-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, color-mix(in oklab, var(--bg) 85%, transparent) 100%),
    radial-gradient(circle at 50% 30%, transparent 60%, color-mix(in oklab, var(--bg) 30%, transparent) 100%);
  pointer-events: none;
}
.work-thumb-frame .corner {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 10px;
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid color-mix(in oklab, var(--ink) 20%, transparent);
  border-radius: 4px;
  z-index: 2;
}
.work-thumb-frame .corner.acc {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}
.work-thumb-frame .accent-bar {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  background: var(--accent);
  width: 0%;
  transition: width 0.6s var(--ease-out);
  z-index: 2;
}
.work-card:hover .work-thumb-frame .accent-bar { width: 100%; }

/* ========== Typing-style scroll reveal ========== */
.type-reveal {
  display: inline;
}
.ty-ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.32em);
  filter: blur(2px);
  transition:
    opacity 0.32s var(--ease-out),
    transform 0.42s var(--ease-out),
    filter 0.32s var(--ease-out);
  will-change: opacity, transform, filter;
}
.type-reveal.in .ty-ch {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.ty-caret {
  display: inline-block;
  width: 0.05em;
  margin-left: 0.08em;
  background: var(--accent);
  height: 0.85em;
  vertical-align: -0.05em;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: opacity 0.2s, transform 0.25s var(--ease-out);
}
.type-reveal.in .ty-caret {
  opacity: 1;
  transform: scaleY(1);
  animation: tyBlink 1s steps(2, start) infinite;
}
.type-reveal.done .ty-caret { opacity: 0; transform: scaleY(0); animation: none; }
@keyframes tyBlink {
  to { visibility: hidden; }
}

/* Wordmark logo (CTA section) — ensure it never gets cropped */
.wordmark img {
  width: 100%;
  max-width: 1400px;
  height: auto;
  display: block;
  margin: 0 auto;
  user-select: none;
  object-fit: contain;
}

@media (max-width: 600px) {
  :root { --gut: 20px; }
  .cap { grid-column: span 12; border-right: none !important; }
  .process-steps { grid-template-columns: 1fr; }
  .ftr-cols { grid-template-columns: 1fr; gap: 28px; }
  .ftr-bottom-row { flex-direction: column; align-items: flex-start; }
  .ftr-right-bottom { align-items: flex-start; }
  .team-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}

/* ================================================================
   ANIMATED HOMEPAGE — capability mini-demos, metrics ticker,
   activity feed, kinetic banner, hero cursor spotlight.
   ================================================================ */

/* ---- Capability card with embedded animation ---- */
.cap-anim { padding-top: 32px; padding-bottom: 32px; }
.cap-anim .cap-num { margin-bottom: 20px; }
.cap-anim h3 { font-size: 22px; margin-top: 24px; margin-bottom: 10px; }
.cap-anim p { font-size: 13px; }

.cap-visual {
  position: relative;
  height: 160px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.3s var(--ease-out);
}
.cap-anim:hover .cap-visual { border-color: color-mix(in oklab, var(--accent) 50%, var(--border)); }
.cv-meta {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.cv-meta .acc { color: var(--accent); }

/* ---- BrandVisual: wordmark drawing + palette ---- */
.cv-wordmark { width: 100%; height: 56px; display: block; }
.cv-wordmark text {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 56px;
  font-weight: 600;
}
.cv-stroke {
  fill: transparent;
  stroke: var(--accent);
  stroke-width: 1.2;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 1400ms var(--ease-out);
}
.cv-stroke.in { stroke-dashoffset: 0; }
.cv-fill {
  fill: var(--ink);
  opacity: 0;
  transition: opacity 600ms var(--ease-out) 1100ms;
}
.cv-fill.in { opacity: 1; }
.cv-palette { display: flex; gap: 6px; height: 18px; }
.cv-swatch {
  flex: 1;
  border-radius: 2px;
  transform: scaleY(0);
  transform-origin: bottom;
  border: 1px solid var(--border);
  transition: transform 500ms var(--ease-out);
}
.cv-swatch.in { transform: scaleY(1); }

/* ---- RealEstateVisual: map with pins + ripples ---- */
.cv-map {
  position: relative;
  flex: 1;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 4%, var(--bg-2)), var(--bg));
  overflow: hidden;
}
.cv-map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--ink) 6%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--ink) 6%, transparent) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.6;
}
.cv-pin {
  position: absolute;
  width: 10px; height: 10px;
  margin-left: -5px; margin-top: -5px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--bg), 0 2px 6px color-mix(in oklab, var(--accent) 40%, transparent);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 350ms var(--ease-out), transform 500ms var(--ease-out);
}
.cv-pin.in { opacity: 1; transform: translateY(0); }
.cv-ripple {
  position: absolute; inset: -2px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: cv-ripple 2.4s ease-out infinite;
}
.cv-ripple.two { animation-delay: 1.2s; }
@keyframes cv-ripple {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(4.5); opacity: 0;   }
}
.cv-toast {
  position: absolute; bottom: 10px; left: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 12px 6px 8px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 9px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink);
  animation: cv-toast 4.5s ease-in-out infinite;
}
.cv-toast-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #41E0B8;
  box-shadow: 0 0 0 0 #41E0B8;
  animation: cv-pulse 1.6s ease-out infinite;
}
@keyframes cv-toast {
  0%, 12%   { transform: translateY(20px); opacity: 0; }
  18%, 70%  { transform: translateY(0);    opacity: 1; }
  78%, 100% { transform: translateY(20px); opacity: 0; }
}
@keyframes cv-pulse {
  0%   { box-shadow: 0 0 0 0 #41E0B888; }
  70%  { box-shadow: 0 0 0 8px #41E0B800; }
  100% { box-shadow: 0 0 0 0 #41E0B800; }
}

/* ---- PoliticalVisual: dot matrix ---- */
.cv-dots {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
  align-content: center;
  padding: 4px 0;
}
.cv-dot {
  aspect-ratio: 1;
  border-radius: 50%;
  background: color-mix(in oklab, var(--ink) 12%, transparent);
  transition: background 400ms var(--ease-out);
}
.cv-dot.in { background: var(--accent); }
.cv-dot.in:nth-child(7n) { background: color-mix(in oklab, var(--accent) 50%, var(--ink-2)); }

/* ---- PerformanceVisual: bar chart + cpl ticker ---- */
.cv-bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 0 2px;
}
.cv-bar {
  flex: 1;
  height: var(--h, 30%);
  background: linear-gradient(to top, var(--accent), color-mix(in oklab, var(--accent) 60%, var(--ink-2)));
  border-radius: 2px 2px 0 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 800ms var(--ease-out);
}
.cv-bar.in { transform: scaleY(1); }
.cv-cpl {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.cv-cpl-value {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: none;
}
.cv-cpl-num { display: inline-block; min-width: 1.6em; }
.cv-cpl-down {
  font-family: var(--f-mono); font-size: 9px;
  color: #41E0B8; margin-left: 8px;
  letter-spacing: 0.08em;
}

/* ---- AutomationVisual: chat ---- */
.cv-chat {
  flex: 1;
  display: flex; flex-direction: column;
  gap: 4px;
  font-family: var(--f-sans);
  font-size: 10px;
  line-height: 1.35;
  position: relative;
}
.cv-chat-head {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: 9px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2px;
}
.cv-chat-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #41E0B8;
  animation: cv-pulse 1.6s ease-out infinite;
}
.cv-chat-time { margin-left: auto; color: #41E0B8; }
.cv-msg {
  max-width: 78%;
  padding: 5px 9px;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(6px) scale(0.96);
  transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out);
}
.cv-msg.in { opacity: 1; transform: none; }
.cv-msg.in {
  background: var(--bg-2);
  color: var(--ink);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}
.cv-msg.out.in {
  background: color-mix(in oklab, var(--accent) 22%, var(--bg-2));
  color: var(--ink);
  align-self: flex-end;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 10px;
}
.cv-typing {
  display: inline-flex; gap: 3px;
  padding: 5px 9px;
  background: var(--bg-2);
  border-radius: 10px;
  align-self: flex-start;
  opacity: 0;
  transition: opacity 300ms var(--ease-out);
}
.cv-typing.in { opacity: 1; }
.cv-typing span {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--muted);
  animation: cv-typing 1.2s ease-in-out infinite;
}
.cv-typing span:nth-child(2) { animation-delay: 0.15s; }
.cv-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes cv-typing {
  0%, 60%, 100% { transform: translateY(0);   opacity: 0.3; }
  30%           { transform: translateY(-3px); opacity: 1;  }
}

/* ---- ContentVisual: reel scrubber ---- */
.cv-reel {
  flex: 1;
  display: flex; flex-direction: column;
  gap: 8px;
}
.cv-reel-frame {
  position: relative;
  flex: 1;
  border-radius: var(--r-sm);
  background:
    radial-gradient(circle at 30% 40%, color-mix(in oklab, var(--accent) 14%, transparent), transparent 60%),
    linear-gradient(135deg, var(--bg-2), color-mix(in oklab, var(--ink) 4%, var(--bg-2)));
  overflow: hidden;
  display: grid; place-items: center;
}
.cv-reel-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--ink) 4%, transparent) 1px, transparent 1px);
  background-size: 12px 100%;
  opacity: 0.7;
}
.cv-reel-glyph {
  font-size: 26px; color: var(--ink); opacity: 0.85;
  z-index: 1;
}
.cv-reel-tag {
  position: absolute; top: 8px; left: 10px;
  font-family: var(--f-mono); font-size: 8px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.cv-reel-rec {
  position: absolute; top: 8px; right: 10px;
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--f-mono); font-size: 8px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #E63E1F;
}
.cv-reel-rec::before {
  content: 'REC';
}
.cv-reel-rec span {
  width: 6px; height: 6px; border-radius: 50%; background: #E63E1F;
  animation: cv-pulse-red 1.2s ease-out infinite;
}
@keyframes cv-pulse-red {
  0%   { box-shadow: 0 0 0 0 #E63E1F88; }
  70%  { box-shadow: 0 0 0 6px #E63E1F00; }
}
.cv-reel-scrub {
  position: relative;
  height: 4px;
  background: var(--bg-2);
  border-radius: 2px;
  overflow: hidden;
}
.cv-reel-fill {
  position: absolute; top: 0; left: 0; bottom: 0;
  background: var(--accent);
  border-radius: 2px;
  transition: width 80ms linear;
}
.cv-reel-tick {
  position: absolute; top: 0; bottom: 0;
  width: 1px;
  background: color-mix(in oklab, var(--ink) 30%, transparent);
}

/* ================================================================
   Metrics ticker + activity feed
   ================================================================ */
.metrics-ticker {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 90% 0%, color-mix(in oklab, var(--accent) 5%, transparent), transparent 50%),
    var(--bg);
}
.mt-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 40px;
}
.mt-pulse {
  display: inline-flex; align-items: center;
  width: 8px; height: 8px;
}
.mt-pulse span {
  width: 8px; height: 8px; border-radius: 50%;
  background: #41E0B8;
  animation: cv-pulse 1.6s ease-out infinite;
}
.mt-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.mt-cell {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.mt-cell.in { opacity: 1; transform: none; }
.mt-cell:last-child { border-right: none; }
.mt-v {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(48px, 5vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.mt-k {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.mt-sub {
  font-family: var(--f-sans); font-size: 13px;
  color: var(--accent);
}

/* Activity feed strip */
.activity-feed {
  margin-top: 32px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  mask-image: linear-gradient(to right, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
}
.af-track {
  display: inline-flex; gap: 48px;
  white-space: nowrap;
  animation: afScroll 50s linear infinite;
  padding-right: 48px;
}
@keyframes afScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.af-item {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.08em;
}
.af-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.af-time {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
}
.af-event {
  color: var(--ink);
  text-transform: uppercase;
  font-weight: 600;
}
.af-detail { color: var(--muted); text-transform: none; letter-spacing: 0.04em; }
.af-content .af-dot { background: #41E0B8; }
.af-auto    .af-dot { background: #2A6FDB; }
.af-perf    .af-dot { background: var(--accent); }
.af-print   .af-dot { background: #F39137; }
.af-pol     .af-dot { background: #E63E1F; }
.af-brand   .af-dot { background: var(--ink); }

/* ================================================================
   Kinetic banner
   ================================================================ */
.kb {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.kb::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, color-mix(in oklab, var(--accent) 6%, transparent), transparent 60%);
  pointer-events: none;
}
.kb-row {
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  font-size: clamp(48px, 9vw, 144px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 0.25em;
  flex-wrap: wrap;
}
.kb-row.two { justify-content: flex-end; margin-top: 0.05em; }
.kb-static { color: var(--ink); white-space: nowrap; }
.kb-small { font-size: 0.45em; vertical-align: middle; }
.kb-it {
  color: var(--accent);
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.02em;
}
.kb-cycle {
  /* inline-grid stacks all words in the same cell so the container
     auto-sizes to the widest word — no fixed min-width needed */
  display: inline-grid;
  height: 1.18em;
  overflow: hidden;
  vertical-align: bottom;
}
.kb-word {
  grid-area: 1 / 1;        /* all words occupy the same grid cell */
  color: var(--accent);
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 600ms var(--ease-out), opacity 600ms var(--ease-out);
  align-self: start;
}
.kb-word.on { transform: translateY(0); opacity: 1; }
/* Outgoing word slides up */
.kb-word.on ~ .kb-word { transform: translateY(110%); }

/* ================================================================
   Hero cursor spotlight
   ================================================================ */
.hero { position: relative; }
.hero-spot {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 350ms var(--ease-out);
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
    color-mix(in oklab, var(--accent) 16%, transparent) 0,
    color-mix(in oklab, var(--accent) 4%, transparent) 18%,
    transparent 35%);
  z-index: 1;
  mix-blend-mode: screen;
}
.hero-spot.on { opacity: 1; }
[data-theme="light"] .hero-spot { mix-blend-mode: multiply; }
.hero > .wrap { position: relative; z-index: 2; }

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 900px) {
  .mt-grid { grid-template-columns: 1fr 1fr; }
  .mt-cell:nth-child(2) { border-right: none; }
  .mt-cell:nth-child(-n+2) { }
  .cap-anim { padding: 28px 24px; }
  .cap-visual { height: 140px; padding: 14px; }
}
@media (max-width: 600px) {
  .mt-grid { grid-template-columns: 1fr; }
  .mt-cell { border-right: none; }
  .mt-cell:last-child { border-bottom: none; }
  .kb-row { font-size: clamp(32px, 10vw, 56px); }
}

/* ================================================================
   Custom cursor — inner dot + outer ring, smooth lerp
   ================================================================ */
@media (hover: hover) and (pointer: fine) {
  html.has-cursor,
  html.has-cursor body,
  html.has-cursor * {
    cursor: none !important;
  }
  /* Keep native caret on form fields so users can still type */
  html.has-cursor input,
  html.has-cursor textarea,
  html.has-cursor [contenteditable="true"] {
    cursor: text !important;
  }
}

.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 220ms ease, width 220ms cubic-bezier(0.22,0.61,0.36,1),
              height 220ms cubic-bezier(0.22,0.61,0.36,1),
              background 220ms ease, border-color 220ms ease;
  will-change: transform;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 7px; height: 7px;
  background: #fafafa;
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1px solid #fafafa;
}
.cursor-dot.on, .cursor-ring.on { opacity: 1; }

/* Hover over interactive elements */
.cursor-ring.hover {
  width: 64px; height: 64px;
  border-color: #D4A24C;
  background: rgba(212,162,76,0.08);
  mix-blend-mode: normal;
}
.cursor-dot.hover {
  width: 5px; height: 5px;
  background: #D4A24C;
  mix-blend-mode: normal;
}

/* Click pulse */
.cursor-ring.down { width: 28px; height: 28px; }
.cursor-dot.down  { width: 10px; height: 10px; }

/* Hide on touch */
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
  html.has-cursor, html.has-cursor body, html.has-cursor * { cursor: auto !important; }
}

/* Cursor trail — comet-tail particles, JS-controlled size + opacity */
.cursor-trail {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9997;
  border-radius: 50%;
  background: var(--accent);
  will-change: transform;
  opacity: 0;
}
@media (hover: none), (pointer: coarse) {
  .cursor-trail { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor-trail { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-ring, .cursor-dot { transition: opacity 220ms ease; }
}
@media (prefers-reduced-motion: reduce) {
  .cv-stroke, .cv-fill, .cv-swatch, .cv-pin, .cv-dot,
  .cv-bar, .cv-msg, .mt-cell {
    transition-duration: 1ms !important;
  }
  .cv-ripple, .cv-toast, .cv-chat-dot, .cv-typing span,
  .cv-reel-rec span, .mt-pulse span, .af-track {
    animation: none !important;
  }
}

/* ================================================================
   Aurora Hero
   ================================================================ */
.aurora-hero {
  position: relative;
  min-height: 100svh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: -88px;
  color: var(--ink);
}

.aurora-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0;
  animation: aurBlobShow 1.6s ease forwards, aurBlobDrift 18s ease-in-out infinite alternate;
}

.aurora-blob.b1 {
  width: 58vw;
  height: 58vw;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent) 0%, transparent 70%);
  top: -12%;
  left: 5%;
  animation-delay: 0.1s, 1.2s;
  animation-duration: 1.6s, 20s;
}

.aurora-blob.b2 {
  width: 46vw;
  height: 46vw;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 20%, transparent) 0%, transparent 70%);
  bottom: -12%;
  right: 4%;
  animation-delay: 0.4s, 1.4s;
  animation-duration: 1.6s, 25s;
  animation-direction: normal, alternate-reverse;
}

.aurora-blob.b3 {
  width: 36vw;
  height: 36vw;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 15%, transparent) 0%, transparent 70%);
  top: 25%;
  right: 16%;
  animation-delay: 0.7s, 1.6s;
  animation-duration: 1.6s, 16s;
}

@keyframes aurBlobShow {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes aurBlobDrift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -24px) scale(1.06); }
  66%  { transform: translate(-18px, 20px) scale(0.96); }
  100% { transform: translate(14px, -10px) scale(1.03); }
}

.aurora-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 clamp(24px, 5vw, 80px);
  will-change: transform;
  backface-visibility: hidden;
}

.aurora-h1 {
  font-family: "Barlow Condensed", ui-sans-serif, sans-serif;
  font-size: clamp(72px, 17vw, 280px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(24px);
  animation: aurTextIn 0.9s cubic-bezier(.2,.7,.2,1) 0.5s forwards;
}

@keyframes aurTextIn {
  to { opacity: 1; transform: translateY(0); }
}

.aurora-ln {
  display: flex;
  align-items: center;
  gap: 0.14em;
  line-height: 0.92;
}

.aurora-ln-accent {
  color: var(--accent);
}

.aurora-frame {
  display: inline-block;
  width: 0.68em;
  height: 0.45em;
  border-radius: 0.06em;
  overflow: hidden;
  vertical-align: middle;
  position: relative;
  margin-left: 0.12em;
  top: -0.02em;
  flex-shrink: 0;
}

.aurora-frame-inner {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 65%, color-mix(in srgb, var(--accent) 70%, transparent) 0%, transparent 50%),
    radial-gradient(circle at 80% 25%, color-mix(in srgb, var(--accent) 50%, transparent) 0%, transparent 45%),
    var(--surface);
}

.aurora-sub {
  font-size: clamp(14px, 1.4vw, 19px);
  color: var(--muted);
  max-width: 580px;
  line-height: 1.65;
  margin: 28px auto 0;
  opacity: 0;
  animation: aurTextIn 0.8s cubic-bezier(.2,.7,.2,1) 0.9s forwards;
}

.aurora-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
  opacity: 0;
  animation: aurTextIn 0.8s cubic-bezier(.2,.7,.2,1) 1.1s forwards;
}

.aurora-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--f-sans, "Archivo");
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.aurora-btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.aurora-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  font-family: var(--f-sans, "Archivo");
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.aurora-btn-ghost:hover { border-color: var(--ink); }

.aurora-footer {
  position: absolute;
  bottom: 36px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 100px);
  z-index: 2;
  opacity: 0;
  animation: aurTextIn 0.8s ease 1.4s forwards;
}

.aurora-since {
  font-family: var(--f-mono, "JetBrains Mono");
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-style: italic;
}

.aurora-scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.aurora-scroll-line {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, var(--border));
  animation: aurScrollAnim 2.4s ease-in-out infinite;
}

@keyframes aurScrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  45%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

@media (max-width: 600px) {
  .aurora-h1 { font-size: clamp(56px, 20vw, 140px); }
  .aurora-footer { bottom: 24px; }
}


:root {
  --ss-item-h: calc(100vh - 140px);
}

:root {
  --ss-nav-h: 72px;
  --ss-item-h: clamp(220px, 36vh, 360px);
}

/* ================================================================
   Cinematic Hero — fullscreen editorial hero (About page)
   ================================================================ */
.ch-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

/* Full-bleed image */
.ch-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transform-origin: center;
  will-change: transform;
}

.ch-overlay-top { display: none; }
.ch-overlay-bot  { display: none; }

/* Film grain */
.ch-grain {
  position: absolute;
  inset: -20%;
  width: 140%;
  height: 140%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: ch-grain-anim 0.55s steps(1) infinite;
}
@keyframes ch-grain-anim {
  0%   { transform: translate(0,0); }
  20%  { transform: translate(-4%,-3%); }
  40%  { transform: translate(3%,-4%); }
  60%  { transform: translate(-3%, 4%); }
  80%  { transform: translate(4%, 3%); }
  100% { transform: translate(0,0); }
}

/* Content wrapper */
.ch-content {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 4vh, 52px) clamp(28px, 5vw, 80px);
  color: #1e1c18;
}

/* Top bar */
.ch-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ch-studio-tag,
.ch-location {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(30,28,24,0.45);
}

/* Main text block */
.ch-main {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vh, 24px);
}
.ch-eyebrow {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(30,28,24,0.45);
}
.ch-headline {
  font-size: clamp(68px, 10.5vw, 172px);
  line-height: 0.9;
  color: var(--ink, #1e1c18);
  margin: 0;
}
.ch-regular {
  font-family: "Barlow Condensed", ui-sans-serif, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-style: normal;
}
.ch-headline em {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.ch-subline {
  font-family: var(--f-sans);
  font-size: clamp(13px, 1.2vw, 17px);
  line-height: 1.65;
  color: rgba(30,28,24,0.52);
  max-width: 440px;
  margin: 0;
}

/* Bottom bar */
.ch-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.ch-scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.ch-scroll-line {
  display: block;
  width: 1px;
  height: 52px;
  background: rgba(77,107,62,0.4);
  transform-origin: top;
  animation: ch-scroll-drop 2.2s ease-in-out infinite;
}
@keyframes ch-scroll-drop {
  0%   { transform: scaleY(0); opacity: 0; }
  30%  { transform: scaleY(1); opacity: 1; }
  70%  { transform: scaleY(1); opacity: 0.5; }
  100% { transform: scaleY(0); opacity: 0; transform-origin: bottom; }
}
.ch-scroll-label {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(30,28,24,0.38);
}
.ch-year {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(30,28,24,0.38);
}

/* Responsive */
@media (max-width: 700px) {
  .ch-headline { font-size: clamp(52px, 14vw, 88px); }
  .ch-location  { display: none; }
  .ch-subline   { font-size: 13px; }
}


/* ================================================================
   Scroll Services — scroll-jacked services showcase
   ================================================================ */
:root {
  --ss-nav-h: 72px;
  --ss-item-h: clamp(220px, 36vh, 360px);
}

.ss-section {
  position: relative;
  height: calc(6 * 100vh);
  background: var(--bg);
  overflow-x: clip;
}

.ss-sticky {
  position: sticky;
  top: var(--ss-nav-h);
  z-index: 2;
  background: var(--bg);
  display: grid;
  grid-template-columns: clamp(180px, 24vw, 340px) 1fr;
  align-items: center;
}

.ss-heading {
  display: flex;
  align-items: center;
  padding: clamp(32px, 4vw, 64px);
  border-right: 1px solid var(--border);
}
.ss-heading h2 {
  font-family: "Barlow Condensed", ui-sans-serif, sans-serif;
  font-size: clamp(36px, 4.8vw, 76px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.88;
  color: var(--ink);
  margin: 0;
}
.ss-heading h2 .it {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.ss-roof {
  display: block;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.72em;
  text-transform: none;
  color: var(--muted);
  letter-spacing: -0.01em;
  margin-top: 8px;
}

.ss-center {
  display: flex;
  align-items: center;
  padding: clamp(24px, 3vw, 48px) clamp(24px, 4vw, 72px);
}

.ss-list {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

.ss-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(6px, 0.9vh, 11px) 0;
  border-bottom: 1px solid var(--border);
  opacity: 0.13;
  transition: opacity 0.5s ease;
}
.ss-item:first-child { border-top: 1px solid var(--border); }
.ss-item.ss-item--active { opacity: 1; }

.ss-item-num {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.ss-item-name {
  font-family: "Barlow Condensed", ui-sans-serif, sans-serif;
  font-size: clamp(56px, 9.5vw, 148px);
  line-height: 0.9;
  color: var(--ink);
  letter-spacing: 0.01em;
  font-weight: 800;
  text-transform: uppercase;
}

.ss-item-sub {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: 4px;
  opacity: 0;
  transition: opacity 0.4s ease 0.1s;
}
.ss-item.ss-item--active .ss-item-sub { opacity: 1; }

@media (max-width: 700px) {
  .ss-section { height: auto; }
  .ss-sticky { position: relative; top: 0; grid-template-columns: 1fr; min-height: unset; }
  .ss-heading { border-right: none; border-bottom: 1px solid var(--border); align-items: flex-start; }
  .ss-center { padding: 24px; }
  .ss-item { opacity: 1; padding: clamp(12px, 3vh, 20px) 0; }
  .ss-item-sub { opacity: 1; }
  .ss-item-name { font-size: clamp(32px, 9vw, 56px); }
}

/* ================================================================
   Map Background — antique illustrated map overlay
   ================================================================ */
.map-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.map-bg svg {
  width: 100%;
  height: 100%;
  display: block;
}
[data-theme="light"] .map-bg {
  opacity: 0.14;
}
[data-theme="dark"] .map-bg {
  opacity: 0.045;
}

/* ================================================================
   Work List (fromanother-style vertical scroll list)
   ================================================================ */
.wl-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.wl-head-label {
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
}

.wl-head-count {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.wl-border-top {
  border-top: 1px solid var(--border);
}

.wl-item {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.wl-item.in {
  opacity: 1;
  transform: translateY(0);
}

.wl-thumb {
  width: 160px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface);
}

.wl-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.wl-item:hover .wl-thumb img {
  transform: scale(1.07);
}

.wl-content {
  flex: 1;
  min-width: 0;
}

.wl-title {
  font-family: "Barlow Condensed", var(--f-h), ui-sans-serif, sans-serif;
  font-size: clamp(26px, 4vw, 72px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--ink);
  transition: color 0.3s var(--ease-out);
}

.wl-item:hover .wl-title {
  color: var(--accent);
}

.wl-cat {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
}

.wl-arrow {
  color: var(--muted-2);
  display: flex;
  align-items: center;
  transition: color 0.3s, transform 0.3s;
  flex-shrink: 0;
}

.wl-item:hover .wl-arrow {
  color: var(--accent);
  transform: translateX(6px);
}

@media (max-width: 700px) {
  .wl-item { grid-template-columns: 100px 1fr auto; gap: 20px; padding: 20px 0; }
  .wl-thumb { width: 100px; height: 64px; }
  .wl-title { font-size: clamp(22px, 5vw, 44px); }
}

@media (max-width: 480px) {
  .wl-item { grid-template-columns: 1fr auto; }
  .wl-thumb { display: none; }
}

/* ================================================================
   GSAP Animation Helpers
   Added by animations.jsx — do not remove.
   ================================================================ */

/* Process section: accent line drawn by GSAP ScrollTrigger scrub */
.gsap-process-line {
  display: block;
  height: 2px;
  background: var(--accent);
  margin-bottom: 40px;
  transform-origin: left center;
  /* scaleX 0→1 driven by GSAP — starts invisible */
  transform: scaleX(0);
  will-change: transform;
  border-radius: 2px;
}

/* GPU-compositing hints for GSAP-animated elements */
.aurora-blob {
  will-change: transform;
}
.aurora-content {
  will-change: transform, opacity;
}
.wl-thumb {
  will-change: clip-path;
}
.wl-thumb img {
  will-change: transform;
}
.svc-stack-item {
  will-change: clip-path;
}
.cta-band {
  will-change: transform;
  transform-origin: center bottom;
}

/* Reduced motion: disable all GSAP-driven transitions */
@media (prefers-reduced-motion: reduce) {
  .gsap-process-line {
    transform: scaleX(1);
  }
  .aurora-blob,
  .aurora-content,
  .wl-thumb,
  .wl-thumb img,
  .svc-stack-item,
  .cta-band {
    will-change: auto;
    animation: none !important;
    transition: none !important;
  }
}

}

/* ================================================================
   VJ Type / Voyage editorial refinements
   Tighter tracking + bolder line-height at display sizes.
   ================================================================ */

/* Page heads: tighter letter-spacing at large sizes, taller clamp */
.page-head h1 {
  letter-spacing: -0.05em;  /* refined from -0.04em */
}

/* Sec-head h2: slightly larger ceiling */
.sec-head h2 {
  font-size: clamp(36px, 5.5vw, 86px);
}



/* Editorial pair: Instrument Serif looks best with generous spacing */
[data-font="editorial"] h1,
[data-font="editorial"] h2,
[data-font="editorial"] .page-head h1 {
  line-height: 0.96;
  letter-spacing: -0.03em;
}


/* =========================================================
   Booking calendar — book.html / page-book.jsx
   ========================================================= */

/* Step indicator */
.book-steps {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-top: 8px;
}
.book-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 0;
  flex: 1;
  position: relative;
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.book-step::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.3s;
}
.book-step.active  { color: var(--ink); }
.book-step.active::after  { background: var(--accent); }
.book-step.done    { color: var(--accent); }
.book-step.done::after    { background: var(--accent); opacity: 0.35; }
.book-step-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.book-step.active .book-step-num,
.book-step.done   .book-step-num {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.book-step-label { font-size: 11px; }
@media (max-width: 540px) { .book-step-label { display: none; } }

/* Duration grid */
.book-dur-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 580px;
}
@media (max-width: 600px) {
  .book-dur-grid { grid-template-columns: 1fr; max-width: 320px; }
}
.book-dur-card {
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 20px 28px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  cursor: pointer;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
  text-align: center;
}
.book-dur-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.book-dur-card.sel {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}
.book-dur-icon { font-size: 24px; margin-bottom: 8px; }
.book-dur-mins {
  font-family: var(--f-h);
  font-size: clamp(40px, 6vw, 56px);
  line-height: 1;
  font-weight: var(--f-h-weight);
}
.book-dur-unit {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0.65; margin-top: 2px;
}
.book-dur-label {
  font-family: var(--f-sans); font-size: 13px;
  margin-top: 10px; opacity: 0.8;
}

/* Date + time layout */
.book-dt-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) {
  .book-dt-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* Calendar widget */
.book-cal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.book-cal-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.book-cal-title {
  font-family: var(--f-sans); font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
}
.book-cal-arrow {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--ink);
  width: 32px; height: 32px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.book-cal-arrow:hover:not(:disabled) {
  border-color: var(--accent); background: var(--accent); color: var(--accent-ink);
}
.book-cal-arrow:disabled { opacity: 0.3; cursor: not-allowed; }
.book-cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px;
}
.book-cal-dow {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
  text-align: center; padding: 4px 0 10px;
}
.book-cal-day {
  background: none; border: none; border-radius: var(--r-sm);
  width: 100%; aspect-ratio: 1;
  cursor: pointer;
  font-family: var(--f-sans); font-size: 13px; color: var(--ink);
  transition: background 0.15s, color 0.15s;
  display: flex; align-items: center; justify-content: center;
}
.book-cal-day:hover:not(.dis) { background: var(--surface-2); }
.book-cal-day.dis  { opacity: 0.28; cursor: not-allowed; }
.book-cal-day.today { font-weight: 700; color: var(--accent); }
.book-cal-day.sel   { background: var(--accent); color: var(--accent-ink); font-weight: 600; border-radius: var(--r-sm); }
.book-cal-note {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
  margin: 14px 0 0; text-align: center;
}

/* Slots panel */
.book-slots-panel { min-height: 280px; }
.book-slots-empty {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  color: var(--muted); font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 40px 0;
}
.book-slots-loading {
  color: var(--muted); font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 20px 0;
}
.book-slots-err {
  color: var(--accent); font-family: var(--f-mono); font-size: 12px; padding: 20px 0;
}
.book-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 10px;
}
.book-slot {
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 13px 8px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em;
  cursor: pointer;
  background: var(--surface); color: var(--ink);
  transition: border-color 0.18s, background 0.18s, color 0.18s, transform 0.15s;
  text-align: center;
}
.book-slot:hover     { border-color: var(--accent); transform: translateY(-1px); }
.book-slot.sel       { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); font-weight: 600; }

/* Step nav bar */
.book-step-nav {
  display: flex; align-items: center; gap: 16px;
  margin-top: 40px; padding-top: 32px;
  border-top: 1px solid var(--border);
}

/* Booking form layout */
.book-form-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .book-form-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* Summary panel */
.book-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  position: sticky; top: 104px;
}
.book-summary-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 20px;
  margin: 0;
}
.book-summary-list dt {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); padding-top: 2px;
}
.book-summary-list dd {
  font-family: var(--f-sans); font-size: 14px; color: var(--ink);
  margin: 0; line-height: 1.5;
}

/* Confirmation */
.book-confirm {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 48px;
  max-width: 640px;
  display: flex; flex-direction: column; gap: 32px;
}
.book-confirm-check {
  display: flex; align-items: center; gap: 20px;
}
.book-confirm-details { display: flex; flex-direction: column; gap: 0; }
.book-confirm-row {
  display: grid; grid-template-columns: 130px 1fr; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.book-confirm-row:first-child { padding-top: 0; }
.book-confirm-row:last-child  { border-bottom: none; padding-bottom: 0; }
.book-confirm-label {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); padding-top: 2px;
}
.book-confirm-val { font-family: var(--f-sans); font-size: 15px; color: var(--ink); }
@media (max-width: 600px) {
  .book-confirm { padding: 28px 20px; }
  .book-confirm-row { grid-template-columns: 1fr; gap: 3px; }
}


/* =========================================================
   Legal pages — legal.html / page-legal.jsx
   ========================================================= */

.legal-tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.legal-tab {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  padding: 16px 0; margin-right: 40px;
  background: none; border: none; cursor: pointer;
  position: relative; transition: color 0.2s;
}
.legal-tab::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 2px; background: transparent; transition: background 0.2s;
}
.legal-tab.active { color: var(--ink); }
.legal-tab.active::after { background: var(--accent); }

.legal-body {
  max-width: 760px;
  padding: 56px 0 80px;
}
.legal-body h2 {
  font-family: var(--f-sans); font-size: 20px; font-weight: 600;
  letter-spacing: -0.01em; margin: 40px 0 12px; color: var(--ink);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p {
  font-family: var(--f-sans); font-size: 15px; line-height: 1.7;
  color: var(--ink-2); margin: 0 0 14px;
}
.legal-body ul {
  margin: 0 0 16px 0; padding-left: 20px;
}
.legal-body ul li {
  font-family: var(--f-sans); font-size: 15px; line-height: 1.7;
  color: var(--ink-2); margin-bottom: 6px;
}
.legal-body a { color: var(--accent); border-bottom: 1px solid currentColor; }
.legal-meta {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
  margin: 0 0 40px; display: flex; gap: 24px; flex-wrap: wrap;
}
.legal-highlight {
  background: var(--surface-2);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-family: var(--f-sans); font-size: 14px; line-height: 1.65;
  color: var(--ink-2);
}
