:root {
  --bg: #f7f6f3;
  --bg-tint: #efeeea;
  --bg-deep: #e6e4dd;
  --surface: #ffffff;
  --ink: #0d0d10;
  --ink-soft: #3a3a42;
  --ink-mute: #6a6a72;
  --line: rgba(13, 13, 16, 0.08);
  --line-strong: rgba(13, 13, 16, 0.18);
  --accent: #d92b27;
  --accent-soft: #fde6e5;
  --accent-deep: #9e1f1c;
  --shadow-1: 0 1px 2px rgba(13, 13, 16, 0.04), 0 12px 32px rgba(13, 13, 16, 0.06);
  --shadow-2: 0 1px 2px rgba(13, 13, 16, 0.05), 0 24px 60px rgba(13, 13, 16, 0.10);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --max: 1280px;
  --max-narrow: 980px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11", "cv02", "kern";
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.05;
  color: var(--ink);
  font-feature-settings: "ss01", "cv11", "kern";
}
h2, h3 { letter-spacing: -0.024em; }
h4 { letter-spacing: -0.015em; }

em {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.01em;
}
h1 em, h2 em, h3 em { white-space: nowrap; }
@media (max-width: 640px) {
  h1 em, h2 em, h3 em { white-space: normal; }
}

a { color: inherit; text-decoration: none; }
button { background: none; border: 0; cursor: pointer; font: inherit; color: inherit; }
img, video { display: block; max-width: 100%; }

/* ---------- BG ORBS / GRID ---------- */
.bg-orbs {
  position: fixed; inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.18;
  animation: drift 24s var(--ease) infinite;
}
.orb-1 {
  top: -15%; left: -10%;
  width: 720px; height: 720px;
  background: radial-gradient(circle at 30% 30%, rgba(217, 43, 39, 0.5), transparent 70%);
  animation-delay: -0s;
}
.orb-2 {
  top: 20%; right: -15%;
  width: 640px; height: 640px;
  background: radial-gradient(circle at 50% 50%, rgba(140, 150, 200, 0.35), transparent 70%);
  animation-delay: -8s;
}
.orb-3 {
  bottom: -10%; left: 30%;
  width: 580px; height: 580px;
  background: radial-gradient(circle at 50% 50%, rgba(244, 180, 175, 0.4), transparent 70%);
  animation-delay: -16s;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.08); }
  66% { transform: translate(-40px, 50px) scale(0.95); }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(13, 13, 16, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 13, 16, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 80%);
}

/* Section banding — alternate cream tones for visual rhythm */
.showcase,
.anatomy,
.faq {
  background: var(--bg-tint);
  position: relative;
}
.cta-band {
  background: var(--bg-deep);
}

/* ---------- TYPOGRAPHY UTILITIES ---------- */
.eyebrow {
  display: none; /* eyebrow subtitles removed across the site per design feedback */
}
.eyebrow-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 250, 247, 0.86);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.logo {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--ink);
}
.logo-mark {
  width: 22px; height: 22px;
  flex-shrink: 0;
}
.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--ink);
  line-height: 1;
  transition: font-size 0.3s var(--ease);
}
.header-inner { transition: padding 0.3s var(--ease); }
.logo-mark { transition: width 0.3s var(--ease), height 0.3s var(--ease); }
/* Condensed state — header shrinks once you start scrolling */
.site-header.is-condensed { background: rgba(250, 250, 247, 0.92); }
.site-header.is-condensed .header-inner { padding: 0.5rem 1.5rem; }
.site-header.is-condensed .logo-mark { width: 18px; height: 18px; }
.site-header.is-condensed .logo-text { font-size: 1.02rem; }

.primary-nav {
  display: flex; gap: 2.25rem;
}
.primary-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
  position: relative;
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.primary-nav a:hover::after { transform: scaleX(1); }

.nav-cta {
  padding: 0.6rem 1.2rem;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }

.menu-toggle {
  display: none;
  width: 38px; height: 38px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.menu-toggle span {
  display: block; height: 1.5px; width: 22px; background: var(--ink);
  margin: 0 auto;
  transition: transform 0.3s var(--ease);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
}
.btn-primary svg { transition: transform 0.3s var(--ease); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 6rem 1.5rem 4rem;
  max-width: var(--max);
  margin: 0 auto;
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 420px);
  gap: 4rem;
  align-items: center;
}
.hero-inner {
  position: relative;
  z-index: 2;
  min-width: 0;
}
.hero-video-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  contain: layout paint;
}
.hero-video {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow-2);
  transform: translateZ(0);
  backface-visibility: hidden;
}
.hero-title {
  font-size: clamp(2.8rem, 8.5vw, 7.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  margin: 1.5rem 0 1.75rem;
  max-width: 14ch;
  contain: layout style;
}
.hero-title .line {
  display: block;
  overflow: hidden;
  padding-right: 0.1em;
}
.hero-title .word {
  display: inline-block;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.hero-title .word-accent {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.hero-title .period { color: var(--ink); }

.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 38ch;
  margin-bottom: 2.25rem;
  line-height: 1.5;
}
.hero-sub em { color: var(--ink); }

.hero-cta {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
}

/* ---------- CLIENTS / MARQUEE ---------- */
.clients {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.clients-label {
  font-family: 'Geist Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-align: center;
  margin-bottom: 1.75rem;
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
  align-items: center;
}
.marquee-track .dot { color: var(--accent); font-weight: 400; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- SECTION HEAD ---------- */
.section-head {
  max-width: var(--max);
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
}
.section-head .eyebrow { margin-bottom: 1.5rem; }
.section-head h2 {
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin-bottom: 1.5rem;
}
.section-head .section-lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 50ch;
  line-height: 1.55;
}

/* ---------- WORK / VIDEO GRID ---------- */
.work { padding: 6rem 0 8rem; }
.work-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.work-card {
  display: flex; flex-direction: column;
  gap: 1rem;
  cursor: pointer;
}
.work-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--bg-tint), var(--accent-soft));
  border: 1px solid var(--line);
}
.work-media video,
.work-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), opacity 0.3s var(--ease);
}
.work-card:hover .work-media video { transform: scale(1.04); }
.work-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 1.25rem;
  background: linear-gradient(180deg, transparent 55%, rgba(13, 13, 16, 0.35));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.work-card:hover .work-overlay { opacity: 1; }
.play-btn {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease);
}
.play-btn:hover { transform: scale(1.08); }
.work-body { padding: 0 0.1rem; display: flex; flex-direction: column; gap: 0.3rem; }
.work-tag {
  font-family: 'Geist Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.work-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.work-meta {
  font-size: 0.85rem;
  color: var(--ink-mute);
  font-family: 'Geist Mono', monospace;
}

/* ---------- STATS ---------- */
.stats {
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat {
  display: flex; flex-direction: column; gap: 0.5rem;
}
.stat-num {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-family: 'Geist Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

/* ---------- APPROACH ---------- */
.approach { padding: 8rem 0; }
.steps {
  list-style: none;
  max-width: var(--max-narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  left: calc(1.5rem + 0.5rem);
  top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
  transform: scaleY(var(--progress, 0));
  transform-origin: top;
  transition: none;
}
.steps::after {
  content: '';
  position: absolute;
  left: calc(1.5rem + 0.5rem);
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--ink) 0%, var(--accent) 100%);
  transform: scaleY(var(--progress, 0));
  transform-origin: top;
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2rem 0 2.5rem;
  position: relative;
}
.step-num {
  font-family: 'Geist Mono', monospace;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  padding-top: 0.25rem;
  position: relative;
  z-index: 2;
  background: var(--bg);
  width: fit-content;
  padding-right: 1rem;
}
.step-body h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}
.step-body p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 50ch;
  line-height: 1.6;
}

/* ---------- ABOUT ---------- */
.about { padding: 8rem 0; }
.about-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-copy h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  margin: 1.25rem 0 1.75rem;
  letter-spacing: -0.03em;
}
.about-copy p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1rem;
  max-width: 50ch;
}
.about-pull {
  position: sticky;
  top: 100px;
  padding: 2.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.about-pull blockquote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.quote-mark {
  display: block;
  font-size: 3rem;
  line-height: 0.5;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ---------- CONTACT ---------- */
.contact {
  padding: 8rem 0 6rem;
  position: relative;
}
.contact-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
.contact-head { position: sticky; top: 100px; }
.contact-head h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  margin: 1.25rem 0 1.5rem;
}
.contact-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 36ch;
  margin-bottom: 1.5rem;
}
.calendly-btn {
  margin-bottom: 1.5rem;
  display: inline-flex;
}
.pricing-note {
  font-family: 'Geist Mono', monospace;
  font-size: 0.82rem !important;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 2rem !important;
  max-width: 42ch !important;
  line-height: 1.5;
}
.pricing-note strong {
  color: var(--ink);
  font-weight: 600;
}
.contact-meta {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 1rem;
}
.contact-meta li {
  display: flex; flex-direction: column;
  gap: 0.15rem;
}
.contact-meta span {
  font-family: 'Geist Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}
.contact-meta a {
  font-size: 1.05rem;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}
.contact-meta a:hover { color: var(--accent); }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-1);
}
.field {
  display: flex; flex-direction: column;
  gap: 0.4rem;
  position: relative;
}
.field-full { grid-column: 1 / -1; }
.field label {
  font-family: 'Geist Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.field label .optional {
  color: var(--ink-mute);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.7rem;
}
.field label .req {
  color: var(--accent);
  font-weight: 700;
  margin-left: 0.2em;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}
.field-help {
  font-size: 0.78rem;
  color: var(--ink-mute);
  margin-top: 0.3rem;
  line-height: 1.4;
}
.form-hint {
  font-family: 'Geist Mono', monospace;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 1.5rem;
}
.form-hint .req {
  color: var(--accent);
  font-weight: 700;
  margin-right: 0.3em;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.98rem;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--surface);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; font-family: inherit; }
.field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%235a5a62' stroke-width='1.5'><path d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-foot {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  margin-top: 0.5rem;
}
.form-msg {
  font-size: 0.88rem;
  color: var(--ink-soft);
  min-height: 1.2em;
  font-family: 'Geist Mono', monospace;
}
.form-msg.is-error { color: #c4422a; }
.form-msg.is-success { color: var(--accent-deep); }
#submitBtn[disabled] { opacity: 0.55; cursor: progress; }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(13, 13, 16, 0.92);
  backdrop-filter: blur(16px);
  display: none;
  align-items: center; justify-content: center;
  padding: 2rem;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.lightbox.is-open {
  display: flex;
  opacity: 1;
}
.lightbox-frame {
  position: relative;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox-frame video {
  width: 100%; height: 100%;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  transition: background 0.2s var(--ease);
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }

/* ---------- FOOTER ---------- */
.site-footer {
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand .logo-text { font-size: 1.1rem; }
.footer-tag {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--ink-soft);
  margin-top: 0.75rem;
  font-size: 1rem;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-cols h4 {
  font-family: 'Geist Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1rem;
}
.footer-cols a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}
.footer-cols a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.5rem 0;
  display: flex; justify-content: space-between;
  font-family: 'Geist Mono', monospace;
  font-size: 0.78rem;
  color: var(--ink-mute);
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* Word reveal for hero title */
.hero-title .word {
  opacity: 0;
  transform: translateY(0.4em);
  display: inline-block;
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
}
.hero-title.is-ready .word { opacity: 1; transform: translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .hero { padding: 4rem 1.5rem 3rem; min-height: auto; grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-video-wrap { align-items: flex-start; order: 2; }
  .hero-video { max-width: 280px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-pull { position: static; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-head { position: static; }
  .contact-form { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .primary-nav, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { padding: 0.75rem 1.25rem; }
  .hero { padding: 3rem 1.25rem 2rem; }
  .hero-video { max-width: 240px; }
  .hero-title { font-size: 3.2rem; }
  .hero-sub { font-size: 1rem; }
  .hero-cta .btn { padding: 0.85rem 1.25rem; font-size: 0.9rem; }
  .clients { padding: 3rem 0; }
  .marquee-track { font-size: 1.2rem; }
  .work, .about, .approach, .contact { padding: 4rem 0; }
  .section-head { margin-bottom: 2.5rem; padding: 0 1.25rem; }
  .work-grid { padding: 0 1.25rem; gap: 1rem; }
  .work-grid { grid-template-columns: 1fr; }
  .stats { padding: 3rem 1.25rem; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .step { grid-template-columns: 60px 1fr; gap: 1rem; padding: 1.5rem 0 1.75rem; }
  .steps::before, .steps::after { left: calc(1.5rem + 0.25rem); }
  .about-inner, .contact-inner { padding: 0 1.25rem; }
  .contact-form { padding: 1.5rem; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; padding-top: 1.25rem; }
  .lightbox { padding: 1rem; }
  .lightbox-close { top: 0.75rem; right: 0.75rem; }
}

/* Mobile nav open */
.primary-nav.open {
  position: absolute; top: 100%; left: 0; right: 0;
  display: flex !important;
  flex-direction: column;
  gap: 0;
  padding: 1rem 1.25rem 1.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.primary-nav.open a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.primary-nav.open a:last-child { border-bottom: 0; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   ENTRY SPLASH — fast logo zoom-in that "enters" the page (~1.2s)
   ============================================================ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: grid;
  place-items: center;
  pointer-events: none;
  overflow: hidden;
  animation: splash-fade 0.35s ease-in 0.85s forwards;
  will-change: opacity, visibility;
}
.splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transform-origin: center;
  animation: splash-zoom 1.2s cubic-bezier(0.4, 0, 0.7, 1) forwards;
  will-change: transform, opacity;
}
.splash-mark {
  width: clamp(100px, 14vw, 150px);
  height: auto;
  flex-shrink: 0;
  display: block;
}
.splash-word {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 0.25rem;
}
.splash-loader { display: none; } /* legacy element — no longer used */

@keyframes splash-zoom {
  0%   { transform: scale(0.35); opacity: 0; }
  20%  { opacity: 1; }
  60%  { transform: scale(1); }
  100% { transform: scale(14); opacity: 0; }
}
@keyframes splash-fade {
  to { opacity: 0; visibility: hidden; }
}
.splash.is-hidden { display: none; }
/* When the user has already seen the splash this session, skip it entirely */
.splash-skip .splash { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .splash { animation-duration: 0.01ms; animation-delay: 0ms; }
  .splash-inner { animation: none; transform: none; opacity: 1; }
}

/* ============================================================
   STAGGER + FOCUS + SKIP
   ============================================================ */
.reveal {
  transition-delay: calc(var(--stagger, 0) * 80ms);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  background: var(--ink);
  color: var(--bg);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
details:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}


/* ============================================================
   PROOF BAR
   ============================================================ */
.proof-bar {
  padding: 3rem 1.5rem;
  position: relative;
}
.proof-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-stat {
  display: flex; flex-direction: column; gap: 0.25rem;
}
.proof-num {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.proof-label {
  font-family: 'Geist Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

/* ============================================================
   LIGHT GLASS ANATOMY (SCROLLYTELLING)
   ============================================================ */
.anatomy {
  position: relative;
  margin-top: 2rem;
  /* note: removed overflow:hidden — it broke position:sticky on the right panel */
}
.anatomy-shell {
  position: relative;
  z-index: 2;
}
.anatomy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem 1.5rem 8rem;
}
.anatomy-text { padding-right: 2rem; }
.anatomy-text h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.035em;
  margin: 1.5rem 0 1.5rem;
}
.anatomy-text h2 em {
  color: var(--accent);
  font-style: italic;
  font-family: 'Fraunces', serif;
  font-weight: 300;
}
.anatomy-lede {
  color: var(--ink-soft);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 42ch;
}
.anatomy-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.anatomy-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  opacity: 0.5;
  transition: opacity 0.4s var(--ease);
}
.anatomy-step.is-active { opacity: 1; }
.anatomy-step:last-child { border-bottom: 1px solid var(--line); }
.anatomy-num {
  font-family: 'Geist Mono', monospace;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  padding-top: 0.3rem;
}
.anatomy-step h3 {
  color: var(--ink);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.anatomy-step p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* Sticky glass visual panel */
.anatomy-visual {
  position: sticky;
  top: 8rem;
  height: 80vh;
  max-height: 720px;
  display: flex; align-items: center;
}
.anatomy-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  box-shadow: var(--shadow-2);
}
.anatomy-panel {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 3rem;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
  background: linear-gradient(135deg, rgba(255, 195, 168, 0.15), rgba(196, 178, 255, 0.10), rgba(170, 232, 210, 0.10));
}
.anatomy-frame[data-stage="0"] .anatomy-panel-1,
.anatomy-frame[data-stage="1"] .anatomy-panel-2,
.anatomy-frame[data-stage="2"] .anatomy-panel-3,
.anatomy-frame[data-stage="3"] .anatomy-panel-4 {
  opacity: 1;
  transform: scale(1);
}
.frame-label {
  font-family: 'Geist Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  position: absolute;
  top: 1.5rem; left: 1.5rem;
}
.frame-cap {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}
/* Phase image — fills the panel, sits behind label + cap */
.frame-art {
  width: 88%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  border-radius: var(--radius-sm);
  display: block;
  margin: 0 auto;
}

/* Graphics — light theme (legacy, kept for backwards compat) */
.frame-graphic {
  width: 60%; max-width: 280px;
  aspect-ratio: 1 / 1;
  position: relative;
}
.frame-graphic-discover {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.frame-graphic-discover span {
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), rgba(255, 195, 168, 0.4));
  border: 1px solid var(--line-strong);
  animation: pulse 2.4s var(--ease) infinite;
}
.frame-graphic-discover span:nth-child(2) { animation-delay: 0.3s; }
.frame-graphic-discover span:nth-child(3) { animation-delay: 0.6s; }
.frame-graphic-discover span:nth-child(4) { animation-delay: 0.9s; }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
}
.frame-graphic-create {
  border-radius: 16px;
  background:
    repeating-linear-gradient(45deg, rgba(13, 13, 16, 0.06) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, var(--accent-soft), rgba(255, 195, 168, 0.35));
  border: 1px solid var(--line-strong);
}
.frame-graphic-distribute {
  display: flex;
  align-items: center; justify-content: space-around;
}
.frame-graphic-distribute i {
  width: 14%; height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-soft));
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  animation: bob 3s var(--ease) infinite;
  opacity: 0.85;
}
.frame-graphic-distribute i:nth-child(2) { animation-delay: 0.2s; }
.frame-graphic-distribute i:nth-child(3) { animation-delay: 0.4s; }
.frame-graphic-distribute i:nth-child(4) { animation-delay: 0.6s; }
.frame-graphic-distribute i:nth-child(5) { animation-delay: 0.8s; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8%); }
}
.frame-graphic-measure {
  display: flex; align-items: flex-end; gap: 12px;
  height: 60%;
}
.frame-graphic-measure b {
  flex: 1;
  height: var(--h, 40%);
  background: linear-gradient(180deg, var(--accent), var(--accent-soft));
  border-radius: 8px 8px 2px 2px;
  border: 1px solid var(--line-strong);
  transition: height 0.6s var(--ease);
}

.anatomy-progress {
  position: absolute;
  top: 50%; right: -2rem;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 0.75rem;
}
.anatomy-progress span {
  display: block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.anatomy-frame[data-stage="0"] ~ .anatomy-progress span[data-dot="0"],
.anatomy-frame[data-stage="1"] ~ .anatomy-progress span[data-dot="1"],
.anatomy-frame[data-stage="2"] ~ .anatomy-progress span[data-dot="2"],
.anatomy-frame[data-stage="3"] ~ .anatomy-progress span[data-dot="3"] {
  background: var(--accent);
  transform: scale(1.4);
}

/* ============================================================
   SHOWCASE / FEATURED VIDEO
   ============================================================ */
.showcase {
  padding: 5rem 1.5rem 6rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.showcase-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.showcase-frame,
.showcase-cta {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.showcase-head .eyebrow { margin-bottom: 1rem; }
.showcase-head h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.035em;
  font-weight: 600;
}
.showcase-head h2 em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.showcase-frame {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.showcase-glass {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 195, 168, 0.25), rgba(196, 178, 255, 0.18), rgba(170, 232, 210, 0.18));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 8px;
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
}
.showcase-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  background: var(--ink);
}
.showcase-sound,
.showcase-expand {
  position: absolute;
  bottom: 1.5rem;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 3;
}
.showcase-sound { right: 4.5rem; }
.showcase-expand { right: 1.5rem; }
.showcase-sound:hover,
.showcase-expand:hover {
  background: var(--ink);
  color: var(--bg);
  transform: scale(1.05);
}
.showcase-sound .icon-sound { display: none; }
.showcase-sound.is-on .icon-muted { display: none; }
.showcase-sound.is-on .icon-sound { display: block; }
.showcase-cta {
  margin-top: 3rem;
  display: flex; flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.showcase-cta p {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--ink-soft);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.showcase-sub {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-top: 1.25rem;
  max-width: 58ch;
  margin-left: auto; margin-right: auto;
  line-height: 1.6;
}

/* ============================================================
   AURORA BUTTON — animated colourful orbs behind a CTA
   ============================================================ */
.btn-aurora {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.btn-aurora .aurora-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  overflow: hidden;
  filter: blur(14px) saturate(140%);
  opacity: 0.95;
  pointer-events: none;
}
.btn-aurora .aurora-orb {
  position: absolute;
  width: 160%;
  height: 160%;
  border-radius: 50%;
  mix-blend-mode: screen;
  opacity: 0.9;
  will-change: transform;
}
.btn-aurora .aurora-orb-1 {
  background: radial-gradient(circle, #ff4f4a 0%, rgba(255, 79, 74, 0) 60%);
  top: -50%; left: -40%;
  animation: aurora-drift-1 7s ease-in-out infinite;
}
.btn-aurora .aurora-orb-2 {
  background: radial-gradient(circle, #d92b27 0%, rgba(217, 43, 39, 0) 60%);
  top: -40%; right: -50%;
  animation: aurora-drift-2 9s ease-in-out infinite;
}
.btn-aurora .aurora-orb-3 {
  background: radial-gradient(circle, #ff8c7a 0%, rgba(255, 140, 122, 0) 60%);
  bottom: -50%; left: -30%;
  animation: aurora-drift-3 11s ease-in-out infinite;
}
.btn-aurora .aurora-orb-4 {
  background: radial-gradient(circle, #5e7adc 0%, rgba(94, 122, 220, 0) 60%);
  bottom: -50%; right: -40%;
  animation: aurora-drift-4 8s ease-in-out infinite;
}
@keyframes aurora-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40%, 20%) scale(1.15); }
  66% { transform: translate(-10%, 40%) scale(0.9); }
}
@keyframes aurora-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30%, 30%) scale(0.9); }
  66% { transform: translate(20%, 50%) scale(1.2); }
}
@keyframes aurora-drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30%, -20%) scale(1.1); }
  66% { transform: translate(50%, -40%) scale(0.95); }
}
@keyframes aurora-drift-4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40%, -30%) scale(1.2); }
  66% { transform: translate(-20%, -50%) scale(0.9); }
}
.btn-aurora .aurora-content {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--bg);
  text-shadow: 0 1px 8px rgba(13, 13, 16, 0.45);
}
.btn-aurora {
  background: rgba(13, 13, 16, 0.78) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: var(--bg);
}
.btn-aurora:hover {
  background: rgba(13, 13, 16, 0.6) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 13, 16, 0.18), 0 0 32px rgba(107, 77, 255, 0.18);
}
.btn-aurora:hover svg { transform: translateX(3px); }
.nav-cta.btn-aurora {
  padding: 0.6rem 1.4rem;
}
.btn-aurora.btn-primary {
  padding: 0.95rem 1.6rem;
}
/* Springy press + a soft highlight that tracks the cursor */
.btn-aurora { transition: transform 0.25s var(--ease), background 0.3s var(--ease), box-shadow 0.4s var(--ease); }
.btn-aurora:active { transform: translateY(0) scale(0.96); transition-duration: 0.09s; }
.btn-aurora::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(140px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.28), transparent 62%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.btn-aurora:hover::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .btn-aurora .aurora-orb { animation: none !important; }
}

/* ============================================================
   CAPABILITIES CLOUD
   ============================================================ */
.capabilities {
  padding: 6rem 0 7rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* Marquee strip — auto-scrolling chip row */
.capability-marquee {
  overflow: hidden;
  margin: 0 0 0.85rem;
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.capability-marquee:last-of-type { margin-bottom: 0; }
.capability-marquee-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: capability-scroll 42s linear infinite;
  will-change: transform;
}
.capability-marquee:hover .capability-marquee-track {
  animation-play-state: paused;
}
.capability-marquee-reverse .capability-marquee-track {
  animation-direction: reverse;
  animation-duration: 48s;
}
.capability-marquee-track span {
  flex-shrink: 0;
  padding: 0.7rem 1.2rem;
  font-family: 'Geist Mono', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.capability-marquee-track span:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
@keyframes capability-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .capability-marquee-track { animation: none; }
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
@media (max-width: 640px) {
  .capabilities { padding: 4rem 0 5rem; }
  .capability-marquee-track { animation-duration: 32s; }
  .capability-marquee-reverse .capability-marquee-track { animation-duration: 36s; }
  .capability-marquee-track span { padding: 0.6rem 0.95rem; font-size: 0.78rem; }
}

/* ============================================================
   AUTO-SCROLL VIDEO REEL (marquee)
   ============================================================ */
.reel-slider {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.reel-slider.is-dragging,
.reel-slider.is-dragging .reel-slide {
  cursor: grabbing;
}
.reel-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  padding: 0.5rem 0.75rem;
  will-change: transform;
}

.reel-slide {
  flex: 0 0 auto;
  width: clamp(240px, 22vw, 320px);
  display: flex; flex-direction: column;
  gap: 0.75rem;
  cursor: pointer;
  transition: transform 0.35s var(--ease);
}
.reel-slide:hover { transform: translateY(-4px); }
.reel-slide:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: var(--radius);
}
.reel-media {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--bg-tint), var(--accent-soft));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.reel-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.reel-slide:hover .reel-media video { transform: scale(1.04); }
.reel-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 1rem;
  background: linear-gradient(180deg, transparent 60%, rgba(13, 13, 16, 0.4));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.reel-slide:hover .reel-overlay,
.reel-slide:focus-visible .reel-overlay { opacity: 1; }
.reel-cap { padding: 0 0.25rem; }
.reel-tag {
  font-family: 'Geist Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

@media (max-width: 640px) {
  .reel-slide { width: 70vw; }
}

/* (channel section removed in phase 3 revamp) */

/* ============================================================
   WHY WE'RE DIFFERENT
   ============================================================ */
.why {
  padding: 7rem 0 8rem;
  position: relative;
}
.why-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 1.25rem;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.4s var(--ease);
}
.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at var(--mx, 50%) var(--my, 0%), var(--accent-soft) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.why-card > * { position: relative; z-index: 1; }
.why-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: var(--shadow-1);
}
.why-card:hover::before { opacity: 1; }
.why-num {
  font-family: 'Geist Mono', monospace;
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  display: inline-block;
  margin-bottom: 1.25rem;
}
.why-card h3 {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  line-height: 1.15;
}
.why-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}
.why-card p strong {
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 960px) {
  .why { padding: 5rem 0 6rem; }
  .why-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* ============================================================
   PRESS STRIP
   ============================================================ */
.press {
  padding: 4rem 1.5rem 5rem;
  border-bottom: 1px solid var(--line);
}
.press-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}
.press-label {
  font-family: 'Geist Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.press-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2rem;
}
.press-list li {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.press-list em { color: var(--accent); font-style: normal; }

/* ============================================================
   TEAM
   ============================================================ */
.team { padding: 8rem 0; }
.team-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.4s var(--ease);
}
.team-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-1);
}
.team-photo {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-tint), var(--accent-soft));
  border: 1px solid var(--line);
  margin-bottom: 1.5rem;
  display: grid; place-items: center;
  position: relative;
}
.team-photo::before {
  content: attr(data-initials);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.6rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.team-card h3 {
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.35rem;
}
.team-role {
  display: block;
  font-family: 'Geist Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.team-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 6rem 0 8rem; }
.faq-list {
  max-width: var(--max-narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.75rem 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative;
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.3s var(--ease), background 0.2s var(--ease);
}
.faq-icon::before {
  top: 50%; left: 0;
  width: 18px; height: 1.5px;
  transform: translateY(-50%);
}
.faq-icon::after {
  left: 50%; top: 0;
  width: 1.5px; height: 18px;
  transform: translateX(-50%);
}
.faq-item[open] .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-item summary:hover .faq-icon::before,
.faq-item summary:hover .faq-icon::after { background: var(--accent); }
.faq-body {
  padding: 0 0 1.75rem;
  max-width: 60ch;
}
.faq-body p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  padding: 6rem 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-band-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex; align-items: end; justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.cta-band h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  max-width: 20ch;
}
.cta-band h2 em {
  font-style: italic;
  font-family: 'Fraunces', serif;
  font-weight: 300;
  color: var(--accent);
}
.cta-band-cta {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
}

/* ============================================================
   FOOTER ADDITIONS
   ============================================================ */
.footer-social {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
}
.footer-social a {
  font-family: 'Geist Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.footer-social a:hover {
  color: var(--bg);
  background: var(--ink);
  border-color: var(--ink);
}
.form-consent {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  color: var(--ink-mute);
  margin-top: 0.5rem;
}
.form-consent a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.form-consent a:hover { color: var(--accent); }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 1.25rem; right: 1.25rem; bottom: 1.25rem;
  z-index: 90;
  display: flex; justify-content: center;
  pointer-events: none;
}
.cookie-banner.is-visible { pointer-events: auto; }
.cookie-inner {
  background: rgba(13, 13, 16, 0.96);
  color: var(--bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius);
  padding: 1.1rem 1.5rem;
  box-shadow: 0 12px 40px rgba(13, 13, 16, 0.25);
  max-width: 720px;
  display: flex; align-items: center; gap: 1.5rem;
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.cookie-banner.is-visible .cookie-inner {
  transform: translateY(0);
  opacity: 1;
}
.cookie-inner p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(250, 250, 247, 0.85);
  flex: 1;
}
.cookie-inner strong { color: var(--bg); font-weight: 500; }
.cookie-inner a { color: #c2ff3a; text-decoration: underline; text-underline-offset: 3px; }
.cookie-dismiss {
  padding: 0.65rem 1.1rem;
  background: var(--bg);
  color: var(--ink);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.cookie-dismiss:hover {
  background: #c2ff3a;
  transform: translateY(-1px);
}

/* ============================================================
   LEGAL PAGES + 404
   ============================================================ */
.legal-body { background: var(--bg); }
.legal-main {
  padding: 4rem 1.5rem 6rem;
  position: relative;
  z-index: 1;
}
.legal-page {
  max-width: 740px;
  margin: 0 auto;
}
.legal-head {
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2rem;
}
.back-link {
  font-family: 'Geist Mono', monospace;
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1.5rem;
  transition: color 0.2s var(--ease);
}
.back-link:hover { color: var(--accent); }
.guide-howlink {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: 'Geist Mono', monospace; font-size: 0.76rem;
  letter-spacing: 0.05em; text-transform: uppercase; font-weight: 500;
  color: var(--accent); background: transparent;
  padding: 0.48rem 0.95rem; border-radius: 999px;
  border: 1px solid rgba(217,43,39,0.32);
  text-decoration: none; margin-top: 0.2rem;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.guide-howlink:hover { background: rgba(217,43,39,0.07); border-color: var(--accent); }
.legal-page h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: -0.035em;
  margin-bottom: 0.75rem;
}
.last-updated {
  font-family: 'Geist Mono', monospace;
  font-size: 0.85rem;
  color: var(--ink-mute);
}
.legal-page h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 0.75rem;
  letter-spacing: -0.02em;
}
.legal-page h3 {
  font-size: 1.1rem;
  margin: 1.75rem 0 0.5rem;
  letter-spacing: -0.015em;
}
.legal-page p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  max-width: 70ch;
}
.legal-page p strong { color: var(--ink); font-weight: 600; }
.legal-page ul {
  margin: 0.75rem 0 1.25rem 1.25rem;
  color: var(--ink-soft);
}
.legal-page ul li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
  font-size: 1rem;
}
.legal-page a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}
.legal-page a:hover { color: var(--accent-deep); }
.legal-disclaimer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem !important;
  color: var(--ink-mute) !important;
}

/* /faq standalone page */
.faq-page {
  padding: 5rem 1.5rem 6rem;
  max-width: 920px;
  margin: 0 auto;
}
.faq-page-head {
  margin-bottom: 3rem;
}
.faq-page-head h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 1.25rem 0 1.5rem;
}
.faq-page-head h1 em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.faq-page-lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.6;
}
.faq-page-lede a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-page .faq-list {
  padding: 0;
}
@media (max-width: 640px) {
  .faq-page { padding: 3rem 1.25rem 4rem; }
}

/* /contact standalone page */
.contact-page {
  padding: 5rem 1.5rem 6rem;
  max-width: 920px;
  margin: 0 auto;
}
.contact-page-inner {
  display: grid;
  gap: 3rem;
}
.contact-page-head h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 1.25rem 0 1.25rem;
}
.contact-page-head h1 em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.contact-page-lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 50ch;
  line-height: 1.55;
  margin-bottom: 2rem;
}
.contact-page-meta {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2.5rem !important;
}
.contact-form-full {
  grid-template-columns: 1fr 1fr;
  padding: 2.5rem;
}
@media (max-width: 640px) {
  .contact-page { padding: 3rem 1.25rem 4rem; }
  .contact-form-full { grid-template-columns: 1fr; padding: 1.5rem; }
  .contact-page-meta { flex-direction: column; gap: 1rem !important; }
}

/* 404 */
.not-found {
  min-height: calc(100vh - 80px);
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 1.5rem;
}
.not-found-inner {
  max-width: 640px;
  text-align: left;
}
.not-found h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: -0.04em;
  margin: 1.5rem 0 1.5rem;
}
.not-found h1 em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}
.not-found p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 42ch;
  margin-bottom: 2rem;
}
.not-found-cta {
  display: flex; gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.not-found-links {
  list-style: none;
  display: flex; flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.not-found-links a {
  font-family: 'Geist Mono', monospace;
  font-size: 0.85rem;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}
.not-found-links a:hover { color: var(--accent); }

/* ============================================================
   RESPONSIVE FOR NEW SECTIONS
   ============================================================ */
@media (max-width: 960px) {
  .proof-inner { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .anatomy-inner { grid-template-columns: 1fr; gap: 2.5rem; padding: 5rem 1.5rem; }
  .anatomy-visual { position: static; height: 70vh; max-height: 520px; }
  .anatomy-text { padding-right: 0; }
  .anatomy-progress { right: auto; top: auto; bottom: -1.5rem; left: 50%; transform: translateX(-50%); flex-direction: row; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .proof-inner { grid-template-columns: 1fr 1fr; gap: 1.25rem; padding: 1rem 0; }
  .anatomy-inner { padding: 3.5rem 1.25rem; gap: 2rem; }
  .anatomy-visual { height: 50vh; }
  .anatomy-step { grid-template-columns: 50px 1fr; gap: 1rem; }
  .press { padding: 3rem 1.25rem 3.5rem; }
  .press-list { gap: 0.75rem 1.25rem; }
  .team { padding: 4rem 0; }
  .team-grid { grid-template-columns: 1fr; padding: 0 1.25rem; gap: 1rem; }
  .faq { padding: 3rem 0 4rem; }
  .faq-list { padding: 0 1.25rem; }
  .faq-item summary { font-size: 1rem; padding: 1.25rem 0; gap: 1rem; }
  .cta-band { padding: 4rem 1.25rem; }
  .cookie-banner { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; }
  .cookie-inner { padding: 1rem; flex-direction: column; gap: 1rem; align-items: flex-start; }
  .legal-main { padding: 2.5rem 1.25rem 4rem; }
  .legal-page h1 { font-size: 2rem; }
  .legal-page h2 { font-size: 1.3rem; margin-top: 2rem; }
}

/* ============================================================
   HEART THE DISH — rating badges + guide + blog
   ============================================================ */
.heart-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  white-space: nowrap;
}
.heart-badge .hb-hearts {
  display: inline-flex;
  align-items: center;
  gap: 0.14rem;
  line-height: 0;
}
.heart-badge .hb-hearts img.tier-ico {
  width: 1.45rem;
  height: 1.45rem;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

/* Holographic tiers (Radiant Heart, Heart of Hearts): red base + a LIVE
   animated foil + shine, masked to the heart shape (var(--m)). Dynamic,
   not a baked image — red stays the base color. */
.heart-badge .hb-hearts .tier-holo {
  position: relative;
  display: inline-block;
  width: 1.45rem;
  height: 1.45rem;
  flex: 0 0 auto;
  isolation: isolate;
}
.tier-holo .th-base { width: 100%; height: 100%; object-fit: contain; display: block; }
/* Heart of Hearts: the heart IS the masked gradient (no red base, no red edge). */
.tier-holo--full .th-base { display: none; }
.tier-holo .th-foil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask-image: var(--m); mask-image: var(--m);
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  /* Heart of Hearts default — opaque red↔purple holographic, seamless scroll
     (horizontal cyclic, repeats, one-tile pan: no seam, no hard reset). */
  background-image: linear-gradient(90deg,
    #d92b27 0%, #e23b6e 18%, #c4318f 36%, #8a3fd6 54%,
    #6d2bb0 72%, #b52f6a 86%, #d92b27 100%);
  background-size: 200% 100%;
  background-repeat: repeat;
  animation: th-foil 4s linear infinite;
}
/* Radiant Heart — restored: red heart with a gentle iridescent sheen */
.tier-holo--soft .th-foil {
  background-image: linear-gradient(90deg,
    #ff4d8d 0%, #ff9a3d 16%, #f5e84b 33%, #3fe0a6 50%,
    #2bb6ff 66%, #9a5cff 83%, #ff4d8d 100%);
  mix-blend-mode: overlay;
  opacity: 0.5;
}
/* Heart of Hearts — full red↔purple holographic + occasional twinkle stars */
.tier-holo--full .th-foil { filter: saturate(1.15) contrast(1.05); }
.tier-holo--full::before,
.tier-holo--full::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
  background: #ffd23f;
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
  opacity: 0;
  transform: scale(0);
  filter: drop-shadow(0 0 1.5px rgba(255, 210, 63, 0.9));
}
.tier-holo--full::before { width: 34%; height: 34%; top: 3%; right: 5%; animation: twinkle 3.6s ease-in-out infinite; }
.tier-holo--full::after  { width: 24%; height: 24%; bottom: 11%; left: 7%; animation: twinkle 3.6s ease-in-out infinite 1.9s; }
@keyframes th-foil {
  from { background-position: 0% 50%; }
  to   { background-position: 200% 50%; }
}
@keyframes twinkle {
  0%, 66%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  80%           { opacity: 1; transform: scale(1) rotate(20deg); }
}
@media (prefers-reduced-motion: reduce) {
  .tier-holo .th-foil { animation: none; }
  .tier-holo--full::before, .tier-holo--full::after { animation: none; opacity: 0; }
}

/* ---------- "How the Guide works" — live tier showcase ---------- */
.tier-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  margin: 1.6rem 0 1.1rem;
}
.tier-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: transform 0.3s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s var(--ease);
  animation: tcIn 0.55s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 60ms);
}
.tier-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--ink); }
.tier-showcase .tc-ico {
  flex: 0 0 auto;
  width: 6rem; height: 6rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.tier-showcase .tier-ico { width: 4.5rem; height: 4.5rem; object-fit: contain; display: block; }
.tier-showcase .tier-ico.tier-holo { position: relative; display: inline-block; isolation: isolate; }
.tier-showcase .tier-holo .th-base { width: 100%; height: 100%; object-fit: contain; display: block; }
.tier-showcase .tier-holo--full .th-base { display: none; }
.tc-body { display: flex; flex-direction: column; gap: 0.22rem; min-width: 0; }
.tc-name {
  font-family: 'Geist Mono', monospace;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink);
}
.tc-blurb {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 1.02rem; line-height: 1.3; color: var(--accent);
}
.tc-rep { font-size: 0.82rem; line-height: 1.45; color: var(--ink-soft); }
.tier-note { color: var(--ink-mute); font-size: 0.86rem; line-height: 1.55; margin-top: 0.4rem; }
@keyframes tcIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tier-card { animation: none; } }

/* Small flat image markers on the map */
.leaflet-div-icon.tier-pin-wrap {
  background: transparent !important;
  border: 0 !important;
}
.tier-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background: #fffefb;
  border: 1px solid rgba(13, 13, 16, 0.14);
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(13, 13, 16, 0.22);
}
.tier-pin img { display: block; object-fit: contain; }
/* Radiant Heart / Heart of Hearts map pins: same live foil + sparkle as badges */
.tier-pin .tier-holo { position: relative; display: inline-block; isolation: isolate; }
.tier-pin .tier-holo .th-base { width: 100%; height: 100%; object-fit: contain; display: block; }
.heart-badge .hb-label {
  color: var(--ink);
  text-transform: uppercase;
  font-family: 'Geist Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
}

/* ---------- GUIDE INDEX ---------- */
.guide-main { max-width: var(--max); margin: 0 auto; padding: 6rem 1.5rem 7rem; }
.guide-head { margin-bottom: 2.5rem; }
.guide-head h1 {
  font-size: clamp(1.3rem, 5.2vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0.75rem 0 1rem;
  white-space: nowrap;
}
.guide-head h1 em { font-family: 'Fraunces', serif; font-style: italic; font-weight: 300; color: var(--accent); }
.guide-head p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.55; max-width: 46ch; }
.guide-legend {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.1rem 1.25rem;
}
.guide-legend .lg-item { display: flex; align-items: center; gap: 0.9rem; }
.guide-legend .lg-item .heart-badge { flex: 0 0 auto; }
.guide-legend .lg-meaning {
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.4;
}
.guide-map {
  width: 100%; height: 460px;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--bg-tint, var(--surface));
  transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.guide-map-wrap { position: relative; margin-bottom: 1.75rem; }
.guide-map-wrap.is-expanded .guide-map { height: clamp(520px, 82vh, 900px); }
.guide-map-toggle {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 1200;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center; padding: 0;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink); cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.guide-map-toggle:hover { background: var(--ink); color: var(--surface); transform: translateY(-1px); }
.guide-map-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.guide-map-toggle .gmt-ico { display: block; }
.guide-map-toggle .gmt-ico--collapse,
.guide-map-wrap.is-expanded .guide-map-toggle .gmt-ico--expand { display: none; }
.guide-map-wrap.is-expanded .guide-map-toggle .gmt-ico--collapse { display: block; }
@media (prefers-reduced-motion: reduce) {
  .guide-map { transition: none; }
}
.guide-map-fallback {
  display: flex; align-items: center; justify-content: center;
  height: 100%; color: var(--ink-mute); font-size: 0.9rem; text-align: center; padding: 1rem;
}
.guide-toolbar { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.75rem; }
.guide-toolbar select,
.guide-toolbar input {
  font: inherit; font-size: 0.9rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: var(--surface); color: var(--ink); cursor: pointer;
}
.guide-toolbar input { cursor: text; min-width: 11rem; }
.guide-toolbar input::placeholder { color: var(--ink-mute); }
.guide-toolbar input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.rcard {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s var(--ease);
}
.rcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); border-color: var(--ink); }
.rcard-media { position: relative; aspect-ratio: 4 / 3; background: var(--ink); overflow: hidden; }
.rcard-media video, .rcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rcard-badge { position: absolute; top: 0.75rem; left: 0.75rem; }
.rcard-body { padding: 1.1rem 1.15rem 1.25rem; }
.rcard-body h3 { font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: 0.3rem; }
.rcard-meta { color: var(--ink-mute); font-family: 'Geist Mono', monospace; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
.guide-empty { color: var(--ink-mute); padding: 3rem 0; text-align: center; }
.guide-more { display: flex; justify-content: center; margin: 2.5rem 0 0.5rem; }
.guide-more-btn {
  font-family: 'Geist Mono', monospace; font-size: 0.8rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.85rem 1.7rem; cursor: pointer;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.guide-more-btn span { color: var(--ink-mute); text-transform: none; letter-spacing: 0; margin-left: 0.35rem; }
.guide-more-btn:hover { transform: translateY(-2px); border-color: var(--ink); background: var(--bg-tint); }

/* ---------- RESTAURANT DETAIL ---------- */
.guide-detail { max-width: var(--max); margin: 0 auto; padding: 4rem 1.5rem 7rem; }
.guide-detail-inner { max-width: 1000px; margin: 0 auto; }
.rd-hero { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 2.5rem; margin: 1.5rem 0 2.5rem; align-items: start; }
.rd-video { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-2); background: var(--ink); }
.rd-video video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; }
.rd-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-2); background: var(--ink); }
.rd-media video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; }
.rd-media--ig { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; display: flex; justify-content: center; }
.rd-ig-frame { width: 100%; max-width: 400px; aspect-ratio: 1 / 1.66; border: 0; display: block; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-2); }
.rd-shot { position: relative; width: 100%; background-color: var(--surface); overflow: hidden; }
.rd-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd-hero-shot { aspect-ratio: 4 / 5; }
.rd-shot--empty { background: linear-gradient(135deg, var(--surface), #ece9e2); }
.rd-shot--empty::after { content: ""; position: absolute; inset: 0; background: url('/logo-the-dish-mark.png') center / 54px no-repeat; opacity: 0.1; }
.rd-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.85rem; margin: 0 0 2rem; }
.rd-gallery .rd-shot { aspect-ratio: 4 / 3; border-radius: var(--radius); border: 1px solid var(--line); }
.rd-unique { background: var(--accent-soft, #fde6e5); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.85rem 1rem; font-size: 0.98rem; line-height: 1.5; color: var(--ink-soft); margin: 0 0 1rem; }
.rd-unique-k { display: block; font-family: 'Geist Mono', monospace; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--accent); margin-bottom: 0.3rem; }
.rd-head h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -0.025em; margin: 0.85rem 0 0.4rem; }
.rd-meta { color: var(--ink-mute); font-family: 'Geist Mono', monospace; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.rd-blurb { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.6; margin-bottom: 1.5rem; }
.rd-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.rd-map { margin: 0 0 2rem; }
.rd-map iframe { width: 100%; height: 360px; border: 1px solid var(--line); border-radius: var(--radius); display: block; }
.rd-map .rd-leaflet { width: 100%; height: 360px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.rd-address { color: var(--ink-mute); font-size: 0.9rem; margin-top: 0.75rem; }
.rd-cta { border-top: 1px solid var(--line); padding-top: 1.5rem; color: var(--ink-soft); }
.rd-cta a { color: var(--accent); font-weight: 600; }

/* ---------- BLOG ---------- */
.blog-main { max-width: var(--max); margin: 0 auto; padding: 6rem 1.5rem 7rem; }
.blog-head { max-width: 46ch; margin-bottom: 2.5rem; }
.blog-head h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); letter-spacing: -0.03em; margin: 0.75rem 0 1rem; }
.blog-head h1 em { font-family: 'Fraunces', serif; font-style: italic; font-weight: 300; color: var(--accent); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.bcard {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 1.5rem 1.6rem 1.75rem;
  text-decoration: none; color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s var(--ease);
}
.bcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); border-color: var(--ink); }
.bcard time { color: var(--ink-mute); font-family: 'Geist Mono', monospace; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
.bcard h3 { font-size: 1.3rem; letter-spacing: -0.02em; margin: 0.6rem 0 0.5rem; }
.bcard p { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.55; }

@media (max-width: 860px) {
  .rd-hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .rd-video { max-width: 320px; }
  .rd-media { max-width: 360px; }
}
@media (max-width: 640px) {
  .guide-main, .blog-main { padding: 4rem 1.25rem 5rem; }
  .guide-detail { padding: 3rem 1.25rem 5rem; }
  .guide-map { height: 320px; }
  .guide-map-wrap.is-expanded .guide-map { height: clamp(420px, 78vh, 640px); }
}

/* Result count + Leaflet theming to match the brand */
.guide-count {
  color: var(--ink-mute);
  font-family: 'Geist Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin: 0 0 1.25rem;
}
.leaflet-container { font-family: inherit; background: var(--surface); }
.leaflet-bar {
  border: none !important;
  box-shadow: var(--shadow-1) !important;
  border-radius: var(--radius) !important;
  overflow: hidden;
}
.leaflet-bar a, .leaflet-control-zoom a {
  background: var(--bg) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}
.leaflet-bar a:hover, .leaflet-control-zoom a:hover { background: var(--surface) !important; }
.leaflet-control-attribution {
  background: rgba(250, 250, 247, 0.82) !important;
  color: var(--ink-mute) !important;
  font-size: 0.62rem !important;
}
.leaflet-control-attribution a { color: var(--ink-soft) !important; }
.leaflet-popup-content-wrapper {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-2) !important;
}
.leaflet-popup-content { margin: 0.85rem 1rem !important; }
.leaflet-popup-tip { box-shadow: var(--shadow-1) !important; }

/* Filters on top, minimized rating key */
.guide-toolbar { margin-bottom: 0.85rem; }
.guide-subbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0 0 1.25rem;
}
.guide-subbar .guide-count { margin: 0; }
.guide-legend-wrap { position: relative; }
.guide-legend-wrap > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink-soft);
  font-family: 'Geist Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  user-select: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.guide-legend-wrap > summary:hover { color: var(--ink); border-color: var(--ink); }
.guide-legend-wrap > summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.guide-legend-wrap > summary::-webkit-details-marker { display: none; }
.guide-legend-wrap > summary::after {
  content: '';
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 0.2s var(--ease);
}
.guide-legend-wrap[open] > summary { color: var(--ink); border-color: var(--ink); }
.guide-legend-wrap[open] > summary::after { transform: rotate(-135deg) translate(-1px, -1px); }

/* Open key floats above the map as a frosted-glass card (Apple-style):
   translucent + backdrop blur, so it never pushes the map down or hides. */
.guide-legend-card { display: none; }
.guide-legend-wrap[open] .guide-legend-card {
  display: block;
  position: absolute;
  right: 0;
  top: calc(100% + 0.7rem);
  z-index: 1200;
  width: min(600px, 92vw);
  padding: 0.5rem;
  border-radius: 22px;
  background: rgba(247, 246, 243, 0.55);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 18px 50px rgba(13, 13, 16, 0.22);
}
@media (max-width: 640px) {
  .guide-legend-wrap[open] .guide-legend-card { right: auto; left: 0; width: 92vw; }
}
