/* ==========================================================================
   Design Mindscape — Seamless Editorial Luxury System (v5)
   - Zero outlines: borderless merged transparent navigation, flat tonal surfaces
   - Pure teal dot cursor only (no outer outline ring)
   - Full-bleed opening cover -> reversible scroll choreography into nav & bottom Menu orb
   - Automatic dark/light logo switching (logo.webp on dark, uploaded logo-dark.webp on light)
   - Clash Display + Instrument Serif italic + Inter, minimal teal accent (#31ccb5 / #117567)
   ========================================================================== */

:root {
  --ink: #101010;
  --ink-soft: #171719;
  --ink-raised: #222226;
  --ink-line: rgba(244, 243, 235, 0.12);

  --paper: #f4f3eb;
  --paper-soft: #eae8dc;
  --white: #ffffff;
  --paper-line: rgba(16, 16, 16, 0.10);

  --text-light-1: #f4f3eb;
  --text-light-2: #b8b7b0;
  --text-light-3: #86857e;

  --text-dark-1: #101010;
  --text-dark-2: #52524c;
  --text-dark-3: #75746d;

  /* Minimal Teal-Green Brand Accent */
  --teal: #31ccb5;
  --teal-hover: #25b8a2;
  --teal-ink: #071e1b;
  --teal-on-light: #117567;

  --font-display: "Clash Display", "Inter", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  --wrap: 1440px;
  --gutter: 56px;
  --section-py: 120px;
  --header-h: 76px;
  --r-sm: 4px;
  --r-md: 6px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  background: var(--ink);
  color: var(--text-dark-1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text-dark-1);
  overflow-x: clip;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Alternating Full Dark / Full White / Alabaster Grounds */
.band { padding-block: var(--section-py); position: relative; }
.band--ink { background: var(--ink); color: var(--text-light-1); }
.band--white { background: var(--white); color: var(--text-dark-1); }
.band--paper { background: var(--paper); color: var(--text-dark-1); }

/* ==========================================================================
   Pure Teal Dot Cursor ONLY (Zero Outline Ring)
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor .ba-slider,
  body.has-custom-cursor .reel-frame {
    cursor: none !important;
  }
}

.dm-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  margin-top: -5.5px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  color: var(--teal-ink);
  transform: translate3d(-100px, -100px, 0);
  transition: opacity 220ms var(--ease), width 260ms var(--ease), height 260ms var(--ease), margin 260ms var(--ease), border-radius 260ms var(--ease), background-color 220ms var(--ease);
  will-change: transform;
}

.dm-cursor-dot.is-hover {
  width: 22px;
  height: 22px;
  margin-left: -11px;
  margin-top: -11px;
  background: rgba(49, 204, 181, 0.85);
}

.dm-cursor-dot.is-reveal {
  width: 64px;
  height: 28px;
  margin-left: -32px;
  margin-top: -14px;
  border-radius: 999px;
  background: var(--teal);
}

/* Subtle Left-Edge Teal Scroll Dot (No Box, No Outline) */
.scroll-rail {
  position: fixed;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 112px;
  background: rgba(128, 128, 128, 0.20);
  border-radius: 2px;
  z-index: 80;
  pointer-events: none;
}

.scroll-dot {
  position: absolute;
  left: -3px;
  top: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  will-change: transform;
}

/* ==========================================================================
   Typography — Clash Display + Instrument Serif Italic + Inter
   ========================================================================== */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(42px, 5.6vw, 84px);
  line-height: 1.01;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(30px, 3.4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(20px, 1.65vw, 25px);
  line-height: 1.2;
}

.serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark-3);
  margin-bottom: 16px;
}

.band--ink .kicker { color: var(--text-light-3); }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  display: inline-block;
}

.dot--light-bg { background: var(--teal-on-light); }

.lead {
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.55;
  color: var(--text-dark-2);
  max-width: 56ch;
  margin: 20px 0 0;
  font-weight: 400;
}

.band--ink .lead { color: var(--text-light-2); }
.muted { color: var(--text-dark-2); }
.band--ink .muted { color: var(--text-light-2); }
.dim { color: var(--text-dark-3); }
.band--ink .dim { color: var(--text-light-3); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 13px; }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 56px;
}
.section-header > div { max-width: 720px; }

.ico {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform 280ms var(--ease);
}

/* ==========================================================================
   Rolling Luxury Buttons — Zero Outlines (Solid & Soft Tonal Fills Only)
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  height: 46px;
  padding: 0 22px;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: none;
  overflow: hidden;
  transition: background-color 240ms var(--ease), color 240ms var(--ease), transform 220ms var(--ease);
  white-space: nowrap;
}

.btn--sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn--lg { height: 52px; padding: 0 28px; font-size: 15px; }

.btn-roll {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  height: 1.25em;
  line-height: 1.25em;
  overflow: hidden;
}

.btn-roll span {
  display: block;
  transition: transform 360ms var(--ease);
}

.btn:hover .btn-roll span { transform: translateY(-100%); }
.btn:hover .ico-arrow { transform: translateX(4px); }

.btn--accent { background: var(--teal); color: var(--teal-ink); }
.btn--accent:hover { background: var(--teal-hover); }

.btn--ink { background: var(--ink); color: var(--text-light-1); }
.btn--ink:hover { background: #262629; }

.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--white); }

/* Flat Tonal Secondary Buttons (Zero Outline!) */
.btn--soft-dark { background: var(--paper-soft); color: var(--text-dark-1); }
.btn--soft-dark:hover { background: var(--ink); color: var(--text-light-1); }

.btn--soft-light { background: rgba(244, 243, 235, 0.12); color: var(--text-light-1); }
.btn--soft-light:hover { background: var(--paper); color: var(--ink); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  transition: opacity 200ms var(--ease);
}
.text-link:hover { opacity: 0.68; }
.text-link:hover .ico { transform: translateX(4px); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* ==========================================================================
   Seamless Section-Matched Navigation (Zero Outlines, Zero Shadow)
   - At opening cover top: 100% transparent, larger standalone emblem (46px)
   - On scroll / subpages: solid section-matched background (#101010, #ffffff, or #f4f3eb)
     so logo & CTA never collide with page text, while emblem shrinks to 28px aligned with wordmark
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--ink);
  border: none;
  box-shadow: none;
  color: var(--text-light-1);
  transition: background-color 260ms var(--ease), color 260ms var(--ease);
}

/* 100% transparent over the sunlit opening cover before scrolling — dark emblem + dark Menu over bright sky */
body.has-opening-cover:not(.is-past-cover) .site-header {
  background: transparent;
  color: var(--text-dark-1);
}

body.has-opening-cover:not(.is-past-cover) .site-header .brand-logo-light { opacity: 0; }
body.has-opening-cover:not(.is-past-cover) .site-header .brand-logo-dark { opacity: 1; }

/* Exact section-matched backgrounds once scrolled (or on subpages) — zero bottom line or shadow */
.site-header.on-ink {
  background: var(--ink);
  color: var(--text-light-1);
}

.site-header.on-white {
  background: var(--white);
  color: var(--text-dark-1);
}

.site-header.on-paper {
  background: var(--paper);
  color: var(--text-dark-1);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.brand-logo-wrap {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  transform-origin: left center;
  transition: width 420ms var(--ease), height 420ms var(--ease), transform 420ms var(--ease);
}

/* Larger standalone emblem on the opening cover, shrinking cleanly to 28px aligned with text on scroll */
body.has-opening-cover:not(.is-past-cover) .site-header .brand-logo-wrap {
  width: 46px;
  height: 46px;
}

.brand-logo-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 240ms var(--ease);
}

.brand-logo-dark { opacity: 0; }
.site-header.on-white .brand-logo-light,
.site-header.on-paper .brand-logo-light { opacity: 0; }
.site-header.on-white .brand-logo-dark,
.site-header.on-paper .brand-logo-dark { opacity: 1; }

/* Brand wordmark hides at opening cover (scrollY = 0 on home) and glides in aligned on scroll */
.brand-name {
  display: inline-block;
  line-height: 1;
  transform: translateY(1px);
  transition: opacity 400ms var(--ease), transform 440ms var(--ease);
}

body.has-opening-cover:not(.is-past-cover) .site-header .brand-name {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

/* Right-side morphing slot: "• Menu" at top of cover <-> "Get your free sample" once scrolled */
.header-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 196px;
  height: 40px;
}

.nav-top-menu {
  position: absolute;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 4px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: inherit;
  border: none;
  background: transparent;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 380ms var(--ease), transform 440ms var(--ease);
}

body.has-opening-cover:not(.is-past-cover) .nav-top-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-top-cta {
  position: absolute;
  right: 0;
  transition: opacity 400ms var(--ease), transform 460ms var(--ease);
}

body.has-opening-cover:not(.is-past-cover) .nav-top-cta {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.cta-short { display: none; }

/* Floating Bottom-Center Circular Teal Menu Orb (Zero Outline, Reversible Morph!) */
.menu-orb {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) scale(1);
  z-index: 140;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--teal-ink);
  border: none;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  opacity: 1;
  transition: transform 460ms var(--ease), opacity 380ms var(--ease), background-color 220ms var(--ease);
}

/* Hidden at top of opening cover; rises smoothly into place once scrolled (or when drawer opens) */
body.has-opening-cover:not(.is-past-cover) .menu-orb:not(.is-open) {
  opacity: 0;
  transform: translateX(-50%) translateY(42px) scale(0.32);
  pointer-events: none;
}

.menu-orb:hover {
  transform: translateX(-50%) scale(1.06);
  background: var(--teal-hover);
}

.menu-orb.is-open {
  background: var(--white);
  color: var(--ink);
  opacity: 1;
  transform: translateX(-50%) scale(1);
  pointer-events: auto;
}

/* Bottom-Docked Dark Visual-Card Menu Drawer (Zero Outlines) */
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 10, 0.60);
  backdrop-filter: blur(8px);
  z-index: 125;
  opacity: 0;
  visibility: hidden;
  transition: opacity 320ms var(--ease), visibility 320ms;
}
.menu-backdrop.is-open { opacity: 1; visibility: visible; }

.menu-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 130;
  background: var(--ink);
  color: var(--text-light-1);
  padding: 28px 0 124px;
  transform: translateY(105%);
  transition: transform 440ms var(--ease);
}
.menu-dock.is-open { transform: translateY(0); }

.menu-dock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.menu-dock-head span { font-size: 13px; color: var(--text-light-3); }

.menu-rail {
  position: relative;
}

.menu-cards {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
  scroll-behavior: smooth;
  padding: 4px var(--gutter) 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.menu-cards::-webkit-scrollbar { display: none; }

.menu-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 112px;
  z-index: 3;
  pointer-events: none;
  transition: opacity 280ms var(--ease);
}
.menu-fade--left {
  left: 0;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(16, 16, 16, 0.88) 38%, rgba(16, 16, 16, 0) 100%);
}
.menu-fade--right {
  right: 0;
  background: linear-gradient(270deg, var(--ink) 0%, rgba(16, 16, 16, 0.88) 38%, rgba(16, 16, 16, 0) 100%);
}

.menu-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(244, 243, 235, 0.14);
  backdrop-filter: blur(10px);
  color: var(--text-light-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 220ms var(--ease), color 220ms var(--ease), opacity 240ms var(--ease), transform 220ms var(--ease);
}
.menu-arrow:hover {
  background: var(--teal);
  color: var(--teal-ink);
  transform: translateY(-50%) scale(1.06);
}
.menu-arrow--left { left: 16px; }
.menu-arrow--right { right: 16px; }

.menu-rail.at-start .menu-fade--left,
.menu-rail.at-start .menu-arrow--left,
.menu-rail.at-end .menu-fade--right,
.menu-rail.at-end .menu-arrow--right {
  opacity: 0;
  pointer-events: none;
}

.menu-card {
  flex: 0 0 212px;
  scroll-snap-align: start;
  background: var(--ink-soft);
  border-radius: var(--r-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background-color 200ms var(--ease), transform 280ms var(--ease);
}
.menu-card:hover { background: var(--ink-raised); transform: translateY(-4px); }

.menu-card-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-raised); }
.menu-card-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 440ms var(--ease); }
.menu-card:hover .menu-card-thumb img { transform: scale(1.06); }

.menu-card-body { padding: 12px 14px 14px; }
.menu-card-body strong { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-size: 15px; font-weight: 500; color: var(--text-light-1); }
.menu-card-body span { display: block; font-size: 12px; color: var(--text-light-3); margin-top: 3px; }

/* ==========================================================================
   FULL-BLEED OPENING COVER HERO (100svh — High-Res Visual + Title Morph)
   ========================================================================== */
.opening-cover {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 620px;
  background: var(--ink);
  color: var(--text-light-1);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.opening-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.01);
  transition: transform 800ms var(--ease);
  will-change: transform;
}

.opening-cover-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 16, 16, 0) 0%, rgba(16, 16, 16, 0) 48%, rgba(16, 16, 16, 0.56) 78%, rgba(16, 16, 16, 0.94) 100%);
  pointer-events: none;
}

.opening-cover-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(44px, 7vh, 80px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  will-change: transform, opacity;
}

.opening-title {
  font-family: var(--font-display);
  font-size: clamp(46px, 7.6vw, 118px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--text-light-1);
  transform-origin: left bottom;
  will-change: transform, opacity;
}

.opening-tagline {
  margin: 18px 0 0;
  font-size: clamp(16px, 1.45vw, 22px);
  line-height: 1.45;
  color: rgba(244, 243, 235, 0.84);
  max-width: 52ch;
  font-weight: 400;
}

.opening-scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  color: rgba(244, 243, 235, 0.72);
  flex-shrink: 0;
  padding-bottom: 6px;
}

/* Editorial Split Showcase (Section 2 right beneath the Full-Bleed Cover) */
.hero-editorial {
  background: var(--ink);
  color: var(--text-light-1);
  padding: 112px 0 96px;
  position: relative;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 56px;
  align-items: center;
}

.hero-copy { max-width: 650px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-light-2);
  margin-bottom: 22px;
}

.hero-copy .lead { color: var(--text-light-2); margin-top: 22px; }
.hero-copy .actions { margin-top: 34px; }

.hero-proof-strip {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.hero-proof-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-light-1);
  font-variant-numeric: tabular-nums;
}

.hero-proof-strip span {
  display: block;
  font-size: 12px;
  color: var(--text-light-3);
  margin-top: 2px;
}

/* Pure Borderless Media Frame (No Outline) */
.hero-frame {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink-soft);
}

.hero-caption-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-size: 12px;
  color: var(--text-light-2);
  background: var(--ink-soft);
}

/* ==========================================================================
   Scroll-Driven Word-Illumination Manifesto Band
   ========================================================================== */
.manifesto-band {
  background: var(--ink);
  color: var(--text-light-1);
  padding: 88px 0 116px;
}

.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 56px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 24ch;
  margin: 0;
  font-weight: 500;
}

.manifesto-text .m-word {
  display: inline-block;
  margin-right: 0.24em;
  color: rgba(244, 243, 235, 0.20);
  transition: color 360ms var(--ease);
}

.manifesto-text .m-word.is-lit { color: var(--text-light-1); }
.manifesto-text .m-word.is-accent.is-lit { color: var(--teal); }

/* ==========================================================================
   KPI Strip (Full White Ground — Open Serif Numerals + 10-Dot Indicators)
   ========================================================================== */
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 44px; }
.kpi-item { padding-top: 12px; }
.kpi-num { font-family: var(--font-serif); font-style: italic; font-size: clamp(44px, 4.4vw, 68px); line-height: 1.02; color: var(--text-dark-1); font-variant-numeric: tabular-nums; }
.kpi-dots { display: flex; gap: 5px; margin: 16px 0 12px; }
.kpi-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(16, 16, 16, 0.14); }
.kpi-dots i.is-on { background: var(--ink); }
.kpi-dots i.is-accent { background: var(--teal-on-light); }
.kpi-label { font-family: var(--font-display); font-size: 16px; font-weight: 500; color: var(--text-dark-1); }
.kpi-note { font-size: 13px; color: var(--text-dark-3); margin-top: 4px; }

/* ==========================================================================
   4-Card Contact Sheet — Auto-Hover End-to-End (0% -> 100%, Zero Outlines)
   ========================================================================== */
.ba-grid-4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }

.ba-card-lux {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.ba-slider {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  overflow: hidden;
  border-radius: var(--r-sm);
  background: #141416;
  user-select: none;
  touch-action: pan-y;
  --pos: 50%;
}

.ba-slider--43 {
  aspect-ratio: 4 / 3;
}

.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); will-change: clip-path; }
.ba-divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--teal); transform: translateX(-50%); pointer-events: none; z-index: 3; }

.ba-handle {
  position: absolute;
  top: 50%;
  left: var(--pos);
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--teal-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 4;
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}

.ba-slider.is-hovering .ba-handle { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }

.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; z-index: 5; }

.ba-corner {
  position: absolute;
  bottom: 14px;
  padding: 5px 10px;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  background: rgba(16, 16, 16, 0.76);
  color: var(--text-light-1);
  backdrop-filter: blur(8px);
  pointer-events: none;
  z-index: 3;
}
.ba-corner--left { left: 14px; }
.ba-corner--right { right: 14px; background: var(--teal); color: var(--teal-ink); }

.ba-meta { padding: 18px 8px 8px; display: flex; flex-direction: column; gap: 6px; }
.ba-meta-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ba-meta h3 { font-size: 20px; }
.ba-meta p { margin: 0; font-size: 14px; color: var(--text-dark-2); line-height: 1.55; }

/* ==========================================================================
   Dark Cinema Reels (Auto-Play on Hover, Zero Outlines)
   ========================================================================== */
.reels-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.reels-track--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.reel-item { display: flex; flex-direction: column; }

.reel-frame {
  position: relative;
  aspect-ratio: 9 / 15;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink-soft);
}

.reel-frame video { width: 100%; height: 100%; object-fit: cover; }

.reel-hud {
  position: absolute;
  inset: auto 0 0 0;
  padding: 44px 16px 16px;
  background: linear-gradient(to top, rgba(16, 16, 16, 0.84), rgba(16, 16, 16, 0));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.reel-tag { font-size: 12px; color: var(--text-light-2); }
.reel-btns { display: flex; gap: 8px; }

.reel-ctrl {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(16, 16, 16, 0.72);
  color: var(--text-light-1);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background-color 180ms var(--ease), color 180ms var(--ease);
}

.reel-ctrl:hover,
.reel-ctrl[aria-pressed="true"] { background: var(--teal); color: var(--teal-ink); }

.reel-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; }
.reel-caption strong { font-family: var(--font-display); font-size: 16px; font-weight: 500; color: var(--text-light-1); }
.reel-caption span { font-size: 13px; color: var(--text-light-3); }

/* ==========================================================================
   Editorial Spec Table (Clean Hairlines Inside Table Only)
   ========================================================================== */
.spec-list { border-top: 1px solid var(--paper-line); }
.spec-row {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) auto;
  gap: 24px 44px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--paper-line);
  transition: padding-left 280ms var(--ease);
}
.spec-row:hover { padding-left: 8px; }
.spec-row--2col { grid-template-columns: 280px minmax(0, 1fr); }
.spec-key { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--text-dark-1); }
.spec-val { font-size: 16px; line-height: 1.58; color: var(--text-dark-2); max-width: 60ch; margin: 0; }
.spec-meta { font-family: var(--font-display); font-size: 14px; font-weight: 500; color: var(--text-dark-1); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Storefronts Gallery — 4 Top + 3 Centered Identical Cards (Zero Outlines)
   ========================================================================== */
.storefronts-top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.storefronts-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
}
.storefronts-bottom .case-card {
  flex: 0 0 calc((100% - 72px) / 4);
  max-width: calc((100% - 72px) / 4);
}

.case-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 10px;
  transition: transform 360ms var(--ease);
}
.case-card:hover { transform: translateY(-4px); }

.case-img { aspect-ratio: 4 / 5; border-radius: var(--r-sm); overflow: hidden; background: var(--paper-soft); }
.case-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; transition: transform 520ms var(--ease); }
.case-card:hover .case-img img { transform: scale(1.04); }

.case-info { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 6px 6px; }
.case-info h3 { font-size: 19px; }
.case-sub { font-size: 13px; color: var(--text-dark-3); margin-top: 2px; }
.cases-grid-sub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* ==========================================================================
   Rate Card & Studio Volume Calculator (Flat Tonal Surfaces, Zero Outlines)
   ========================================================================== */
.sample-strip {
  background: var(--ink);
  color: var(--text-light-1);
  border-radius: var(--r-md);
  padding: 36px 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.sample-strip h3 { font-size: 26px; margin-bottom: 6px; }
.sample-strip p { margin: 0; color: var(--text-light-2); max-width: 60ch; font-size: 15px; }

.rate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.rate-card {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.rate-card--dark { background: var(--ink); color: var(--text-light-1); }
.rate-card--dark .rate-desc, .rate-card--dark .rate-row span { color: var(--text-light-2); }
.rate-card--dark .rate-rows, .rate-card--dark .rate-row { border-color: var(--ink-line); }

.rate-price { font-family: var(--font-serif); font-style: italic; font-size: 48px; line-height: 1; margin-top: 12px; font-variant-numeric: tabular-nums; }
.rate-price small { font-family: var(--font-body); font-style: normal; font-size: 14px; color: var(--text-dark-3); }
.rate-card--dark .rate-price small { color: var(--text-light-3); }
.rate-desc { margin: 12px 0 0; font-size: 14px; color: var(--text-dark-2); line-height: 1.55; }
.rate-rows { margin-top: 20px; border-top: 1px solid var(--paper-line); }
.rate-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--paper-line); font-size: 14px; font-variant-numeric: tabular-nums; }
.rate-row strong { font-weight: 600; }

.estimator {
  margin-top: 24px;
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: center;
}

.est-control { margin-top: 24px; }
.est-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; gap: 12px; }
.est-head label { font-family: var(--font-display); font-size: 15px; font-weight: 500; }
.est-val { font-family: var(--font-mono); font-size: 14px; color: var(--teal-on-light); font-weight: 500; }
input[type="range"].studio-range { width: 100%; accent-color: var(--ink); cursor: pointer; }
.est-ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-dark-3); margin-top: 6px; }

.est-box { background: var(--white); border-radius: var(--r-sm); padding: 28px; }
.est-total { font-family: var(--font-serif); font-style: italic; font-size: 54px; line-height: 1.05; margin: 8px 0 4px; font-variant-numeric: tabular-nums; }
.est-note { font-size: 13px; color: var(--teal-on-light); font-weight: 500; margin-bottom: 18px; }
.est-lines { border-top: 1px solid var(--paper-line); padding-top: 14px; margin-bottom: 20px; display: grid; gap: 8px; font-size: 14px; font-variant-numeric: tabular-nums; }
.est-lines div { display: flex; justify-content: space-between; color: var(--text-dark-2); }
.est-lines strong { color: var(--text-dark-1); font-weight: 600; }

/* ==========================================================================
   Reviews, FAQ, Forms, Gallery, Compare Table, Blog & Footer
   ========================================================================== */
.quotes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.quote-card { background: var(--paper); border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.quote-text { margin: 0; font-size: 15px; line-height: 1.62; color: var(--text-dark-1); }
.quote-foot { padding-top: 16px; border-top: 1px solid var(--paper-line); }
.quote-foot strong { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 500; }
.quote-foot span { font-size: 13px; color: var(--text-dark-3); }

.faq-layout { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 64px; align-items: start; }
.faq-aside { position: sticky; top: 96px; }
.faq-stack { border-top: 1px solid var(--paper-line); }
.faq-row { border-bottom: 1px solid var(--paper-line); }
.faq-row summary { list-style: none; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--font-display); font-size: 18px; font-weight: 500; }
.faq-row summary::-webkit-details-marker { display: none; }
.faq-plus { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-dark-3); transition: transform 240ms var(--ease); }
.faq-row[open] .faq-plus { transform: rotate(45deg); color: var(--teal-on-light); }
.faq-ans { padding: 0 36px 24px 0; font-size: 15px; line-height: 1.62; color: var(--text-dark-2); }

.page-hero { padding: 112px 0 64px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--text-dark-3); margin-bottom: 24px; }
.band--ink .breadcrumb { color: var(--text-light-3); }

.form-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.form-panel { background: var(--white); border-radius: var(--r-md); padding: 36px; }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; color: var(--text-dark-1); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--r-sm);
  border: none; background: var(--paper);
  color: var(--text-dark-1); font: inherit; font-size: 14px;
  transition: background-color 180ms var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--paper-soft); }
.field textarea { min-height: 120px; resize: vertical; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: var(--r-sm); font-size: 14px; }
.form-status.is-success { display: block; background: #e9f7f4; color: #0e4a41; }
.form-status.is-error { display: block; background: #fdf0f0; color: #842029; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card-plain { background: var(--white); border-radius: var(--r-md); padding: 28px; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gallery-figure { margin: 0; background: var(--white); border-radius: var(--r-md); padding: 10px; transition: transform 360ms var(--ease); }
.gallery-figure:hover { transform: translateY(-3px); }
.gallery-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 16%; border-radius: var(--r-sm); background: var(--paper-soft); }
.gallery-figure--wide img { aspect-ratio: 16 / 10; }
.gallery-figure figcaption { margin-top: 12px; padding: 0 4px 4px; font-size: 13px; color: var(--text-dark-2); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.gallery-cat-tag { font-family: var(--font-mono); font-size: 11px; color: var(--text-dark-3); flex-shrink: 0; }

.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-tab { height: 38px; padding: 0 16px; border-radius: var(--r-sm); background: var(--paper-soft); font-family: var(--font-display); font-size: 14px; color: var(--text-dark-2); transition: background-color 180ms var(--ease), color 180ms var(--ease); }
.filter-tab.is-active, .filter-tab:hover { background: var(--ink); color: var(--text-light-1); }

.compare-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--r-md); overflow: hidden; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--paper-line); font-size: 14px; }
.compare-table th { font-family: var(--font-display); font-weight: 500; background: var(--paper-soft); }
.compare-table .col-dm { color: var(--teal-on-light); font-weight: 600; }

.prose { max-width: 720px; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 44px 0 14px; }
.prose p, .prose li { font-size: 16px; line-height: 1.72; color: var(--text-dark-2); }
.prose ul { padding-left: 20px; }

/* Full Dark Closing Footer (Zero Outlines) */
.site-footer { background: var(--ink); color: var(--text-light-1); padding: 104px 0 124px; }
.footer-statement { font-family: var(--font-serif); font-style: italic; font-size: clamp(42px, 5.6vw, 80px); line-height: 1.03; letter-spacing: -0.02em; max-width: 16ch; margin-bottom: 40px; }
.footer-ctas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 72px; }

.footer-cta-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 26px; border-radius: var(--r-sm);
  font-family: var(--font-display); font-size: 16px; font-weight: 500;
  transition: background-color 200ms var(--ease);
}
.footer-cta-bar--primary { background: var(--paper); color: var(--ink); }
.footer-cta-bar--primary:hover { background: var(--white); }
.footer-cta-bar--secondary { background: var(--ink-soft); color: var(--text-light-1); }
.footer-cta-bar--secondary:hover { background: var(--ink-raised); }

.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 48px; border-top: 1px solid var(--ink-line); margin-bottom: 48px; }
.footer-cols h4 { font-size: 13px; font-weight: 500; color: var(--text-light-3); margin-bottom: 16px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-cols a { font-size: 14px; color: var(--text-light-2); transition: color 160ms var(--ease); }
.footer-cols a:hover { color: var(--teal); }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--ink-line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--text-light-3); }

/* Choreographed Reveals */
.js-ready [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 680ms var(--ease), transform 680ms var(--ease); }
.js-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .js-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
  .dm-cursor-dot, .scroll-rail { display: none !important; }
}

/* ==========================================================================
   TABLET (768px – 1099px)
   ========================================================================== */
@media (max-width: 1099px) {
  :root { --gutter: 32px; --section-py: 88px; --header-h: 68px; }
  .scroll-rail { display: none; }
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: 100%; }
  .hero-media { max-width: 540px; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ba-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .reels-track, .reels-track--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .storefronts-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .storefronts-bottom .case-card { flex: 0 0 calc((100% - 24px) / 2); max-width: calc((100% - 24px) / 2); }
  .rate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rate-grid > :last-child { grid-column: 1 / -1; }
  .estimator, .form-layout, .faq-layout { grid-template-columns: 1fr; gap: 36px; }
  .faq-aside { position: static; }
  .spec-row { grid-template-columns: 210px minmax(0, 1fr); }
  .spec-meta { grid-column: 2; }
  .quotes-grid, .gallery-grid, .cases-grid-sub, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   MOBILE (<= 767px)
   ========================================================================== */
@media (max-width: 767px) {
  :root { --gutter: 20px; --section-py: 64px; --header-h: 64px; }
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }

  .brand { gap: 8px; }
  .brand-logo-wrap { width: 26px; height: 26px; }
  body.has-opening-cover:not(.is-past-cover) .site-header .brand-logo-wrap { width: 38px; height: 38px; }
  .brand-name { font-size: 14px; }
  .cta-full { display: none; }
  .cta-short { display: inline; }
  .header-right { min-width: 120px; }
  .nav-top-cta.btn--sm { height: 34px; padding: 0 12px; font-size: 12px; }

  .opening-cover-content { flex-direction: column; align-items: flex-start; gap: 18px; }
  .opening-title { font-size: clamp(40px, 12vw, 62px); }

  .menu-orb { width: 66px; height: 66px; bottom: 18px; font-size: 13px; }
  .menu-card { flex: 0 0 180px; }

  .hero-editorial { padding: 64px 0 56px; }
  .hero-proof-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .hero-proof-strip strong { font-size: 17px; }
  .manifesto-band { padding: 56px 0 68px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }

  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .kpi-num { font-size: 38px; }

  .reels-track, .reels-track--4 {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 14px; padding-bottom: 8px;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch;
  }
  .reels-track .reel-item, .reels-track--4 .reel-item { flex: 0 0 76vw; max-width: 300px; scroll-snap-align: start; }

  .ba-grid-4, .storefronts-top, .cases-grid-sub, .rate-grid,
  .quotes-grid, .gallery-grid, .grid-2, .grid-3, .form-fields,
  .footer-ctas, .footer-cols { grid-template-columns: 1fr; }
  .storefronts-bottom .case-card { flex: 0 0 100%; max-width: 100%; }

  .rate-grid > :last-child { grid-column: auto; }
  .spec-row, .spec-row--2col { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .spec-meta { grid-column: auto; margin-top: 4px; }
  .sample-strip, .rate-card, .estimator, .est-box, .form-panel { padding: 20px; }
  .site-footer { padding: 72px 0 110px; }
}
