@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-600-normal-vietnamese-1.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-600-normal-latin-ext-2.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-600-normal-latin-3.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-700-normal-vietnamese-4.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-700-normal-latin-ext-5.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-700-normal-latin-6.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-800-normal-vietnamese-7.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-800-normal-latin-ext-8.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-800-normal-latin-9.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/be-vietnam-pro-400-normal-vietnamese-4.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/be-vietnam-pro-400-normal-latin-ext-5.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/be-vietnam-pro-400-normal-latin-6.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/be-vietnam-pro-500-normal-vietnamese-7.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/be-vietnam-pro-500-normal-latin-ext-8.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/be-vietnam-pro-500-normal-latin-9.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/be-vietnam-pro-600-normal-vietnamese-10.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/be-vietnam-pro-600-normal-latin-ext-11.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/be-vietnam-pro-600-normal-latin-12.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-500-normal-vietnamese-1.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-500-normal-latin-ext-2.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-500-normal-latin-3.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-700-normal-vietnamese-4.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-700-normal-latin-ext-5.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-700-normal-latin-6.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Stitch Taste Design System: Canvas White + Pure Surface + Zinc-950 + Fresh Market Emerald */
  --surface-canvas: #FAFAF9;
  --surface-paper: #FFFFFF;
  --surface-soft: #F4F4F5;
  --surface-contrast: #18181B;
  --surface-footer: #121214;

  --ink-primary: #18181B;
  --ink-secondary: #52525B;
  --ink-muted: #63636B;
  --ink-on-dark: #FAFAFA;
  --ink-muted-dark: #D4D4D8;
  --ink-subtle-dark: #A1A1AA;

  /* Single Primary Accent (Saturation < 80%) */
  --accent: #0F766E;
  --accent-strong: #115E59;
  --accent-soft: #F0FDFA;
  --accent-border: rgba(15, 118, 110, 0.22);
  --accent-bright: #34D399;

  /* Semantic Danger / Avoidance Only */
  --semantic-rose: #BE123C;
  --semantic-rose-soft: #FFF1F2;

  /* Hairlines & Diffused Elevation */
  --border-whisper: rgba(24, 24, 27, 0.08);
  --border-strong: rgba(24, 24, 27, 0.16);
  --border-dark-whisper: rgba(250, 250, 250, 0.12);

  --shadow-whisper: 0 20px 44px -18px rgba(24, 24, 27, 0.07);
  --shadow-floating: 0 28px 64px -22px rgba(24, 24, 27, 0.12);
  --shadow-lift: 0 24px 52px -18px rgba(24, 24, 27, 0.10);

  --font-display: 'Plus Jakarta Sans', 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  --font-body: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius-2xl: 32px;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  --container-max: 1400px;
  --header-height: 76px;

  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-press: 120ms;
  --dur-fast: 190ms;
  --dur-normal: 300ms;
  --dur-reveal: 280ms;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--surface-canvas);
  color: var(--ink-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.68;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) ease, background-color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}

a:hover {
  color: var(--accent-strong);
}

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

button,
summary,
a {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.028em;
  color: var(--ink-primary);
  line-height: 1.15;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.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;
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 20px;
  z-index: 2000;
  padding: 10px 18px;
  background-color: var(--surface-contrast);
  color: var(--ink-on-dark);
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
}

.skip-link:focus {
  top: 14px;
}

.page-container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 60px);
}

/* =========================================================
   STICKY HEADER (Left-Anchored Logo + Single-Row Left Menu)
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background-color: rgba(250, 250, 249, 0.90);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-whisper);
  transition: background-color var(--dur-fast) ease, box-shadow var(--dur-normal) var(--ease-spring), border-color var(--dur-fast) ease;
}

.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(24, 24, 27, 0.11);
  box-shadow: 0 10px 30px -20px rgba(24, 24, 27, 0.16);
}

.header-frame {
  width: 100%;
  max-width: var(--container-max);
  min-height: var(--header-height);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 60px);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
}

.brand-compartment {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-right: 26px;
  margin-right: 26px;
  border-right: 1px solid var(--border-whisper);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding-block: 6px;
}

.brand-logo {
  height: 30px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  flex: 1 1 auto;
  min-width: 0;
  gap: 20px;
}

.mobile-nav-head {
  display: none;
}

.nav-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li {
  flex-shrink: 0;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
  color: var(--ink-secondary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur-fast) ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 240ms var(--ease-spring);
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--ink-primary);
}

.nav-link.is-active {
  color: var(--accent-strong);
  font-weight: 600;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-end-actions {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 15px;
  background-color: var(--surface-paper);
  color: var(--ink-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-press) ease;
}

.menu-toggle:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.menu-toggle:active {
  transform: scale(0.97);
}

.mobile-backdrop {
  display: none;
}

/* =========================================================
   BUTTONS (Flat Tactile Push, Zero Neon Glow)
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease, transform var(--dur-press) var(--ease-spring);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn-primary {
  background-color: var(--accent);
  color: var(--ink-on-dark);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--accent-strong);
  color: var(--ink-on-dark);
  transform: translateY(-1px);
}

.btn-nav-cta {
  min-height: 42px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background-color: var(--surface-contrast);
  color: var(--ink-on-dark);
  font-size: 0.87rem;
}

.btn-nav-cta:hover,
.btn-nav-cta:focus-visible {
  background-color: var(--accent);
  color: var(--ink-on-dark);
  transform: translateY(-1px);
}

/* =========================================================
   HERO SECTION (Gallery-Airy Masthead + Cinema Visual Stage)
   ========================================================= */
.hero-stage {
  padding: clamp(28px, 3.4vw, 44px) 0 clamp(56px, 7vw, 84px);
}

.hero-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1.46fr) minmax(0, 0.54fr);
  gap: clamp(24px, 3.8vw, 56px);
  align-items: end;
}

.hero-headline-col,
.hero-summary-col {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.live-beacon {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  flex-shrink: 0;
}

.live-beacon::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 3.22vw, 3.12rem);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.032em;
  color: var(--ink-primary);
}

/* Stitch Signature Inline Image Typography */
.inline-type-pill {
  display: inline-block;
  width: 1.72em;
  height: 0.78em;
  margin: 0 0.07em;
  vertical-align: -0.1em;
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: 1.5px solid rgba(24, 24, 27, 0.09);
  box-shadow: 0 10px 24px -10px rgba(24, 24, 27, 0.24);
  background-color: var(--surface-contrast);
}

.inline-type-pill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-summary-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding-bottom: 4px;
}

.hero-lead {
  margin: 0;
  max-width: 40ch;
  font-size: 1.02rem;
  line-height: 1.66;
  color: var(--ink-secondary);
}

.hero-cta-row {
  display: flex;
  align-items: center;
}

/* Cinema Hero Visual Stage (Zero Text Over Photos) */
.hero-gallery-stage {
  margin-top: clamp(28px, 3.5vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.hero-cinema-frame,
.hero-secondary-frame {
  margin: 0;
}

.hero-cinema-media {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-color: var(--surface-contrast);
  box-shadow: var(--shadow-whisper);
}

.hero-cinema-media img,
.hero-secondary-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 680ms var(--ease-spring);
}

.hero-cinema-media:hover img,
.hero-secondary-media:hover img {
  transform: scale(1.03);
}

.hero-side-column {
  display: grid;
  grid-template-rows: minmax(215px, 1fr) auto;
  gap: 18px;
  min-width: 0;
}

.hero-secondary-media {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background-color: var(--surface-contrast);
  box-shadow: var(--shadow-whisper);
}

/* Compact Refined Dark 3-Shift Console */
.shift-console {
  padding: 20px 22px 22px;
  background-color: var(--surface-contrast);
  color: var(--ink-on-dark);
  border-radius: 24px;
}

.shift-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.shift-console-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-subtle-dark);
}

.shift-console-window {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent-bright);
}

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

.shift-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  min-height: 50px;
  padding: 9px 11px;
  background-color: rgba(250, 250, 250, 0.05);
  border: 1px solid rgba(250, 250, 250, 0.10);
  border-radius: var(--radius-md);
  color: var(--ink-on-dark);
  font-family: var(--font-body);
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-press) ease;
}

.shift-btn:hover {
  background-color: rgba(250, 250, 250, 0.10);
  border-color: rgba(52, 211, 153, 0.45);
}

.shift-btn.is-active {
  background-color: rgba(52, 211, 153, 0.13);
  border-color: var(--accent-bright);
}

.shift-time {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent-bright);
  margin-bottom: 2px;
}

.shift-name {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.28;
  color: var(--ink-on-dark);
}

.shift-notes {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--border-dark-whisper);
}

.shift-note {
  display: none;
  font-size: 0.85rem;
  line-height: 1.56;
  color: var(--ink-muted-dark);
  margin: 0;
}

.shift-note.is-active {
  display: block;
}

html:not(.js-ready) .shift-tabs {
  display: none;
}

html:not(.js-ready) .shift-notes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

html:not(.js-ready) .shift-note {
  display: block;
  padding-top: 8px;
  border-top: 1px solid rgba(250, 250, 250, 0.09);
}

html:not(.js-ready) .shift-note:first-child {
  padding-top: 0;
  border-top: 0;
}

/* =========================================================
   ARCHITECTURAL EDITORIAL BANDS & SHARED HEADERS
   ========================================================= */
.editorial-band {
  padding: clamp(68px, 7.5vw, 112px) 0;
  border-top: 1px solid var(--border-whisper);
}

.band-pure {
  background-color: var(--surface-paper);
}

.band-canvas {
  background-color: var(--surface-canvas);
}

.section-header-split {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}

.section-header-main {
  min-width: 0;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header-main h2 {
  font-size: clamp(1.75rem, 2.9vw, 2.65rem);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -0.03em;
}

.section-intro {
  margin: 0;
  font-size: 1rem;
  line-height: 1.68;
  color: var(--ink-secondary);
  max-width: 48ch;
  justify-self: end;
}

/* Clean Unboxed Photography Frames */
.clean-figure {
  margin: 0;
}

.clean-media {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background-color: var(--surface-contrast);
}

.ratio-3-2 {
  aspect-ratio: 3 / 2;
}

.ratio-4-3 {
  aspect-ratio: 4 / 3;
}

.clean-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-spring);
}

.clean-media img.crop-upper {
  object-position: center 22%;
}

.clean-figure:hover .clean-media img {
  transform: scale(1.03);
}

.clean-figure figcaption {
  margin-top: 12px;
  font-size: 0.84rem;
  line-height: 1.54;
  color: var(--ink-muted);
  max-width: 58ch;
}

.clean-bullets {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clean-bullets li {
  position: relative;
  padding-left: 16px;
  font-size: 0.94rem;
  line-height: 1.62;
  color: var(--ink-primary);
}

.clean-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--accent);
}

/* =========================================================
   CHAPTER 01: SHIFT HAIRLINE STRIP + ROUTE PLANNER
   ========================================================= */
.shift-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 60px);
}

.shift-strip-item {
  padding-top: 22px;
  border-top: 2px solid var(--border-strong);
  transition: border-color var(--dur-fast) ease;
}

.shift-strip-item.is-featured,
.shift-strip-item:hover {
  border-top-color: var(--accent);
}

.strip-time {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent-strong);
  margin-bottom: 10px;
}

.shift-strip-item h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.shift-strip-item p {
  font-size: 0.93rem;
  line-height: 1.64;
  color: var(--ink-secondary);
}

.chapter1-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
}

.chapter1-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.gallery-duo .clean-media {
  border-radius: var(--radius-lg);
}

.route-planner {
  padding: 26px 28px;
  background-color: var(--surface-canvas);
  border: 1px solid var(--border-whisper);
  border-radius: 24px;
  margin-bottom: 28px;
}

.planner-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-strong);
  margin-bottom: 14px;
}

.route-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  padding: 5px;
  background-color: var(--surface-soft);
  border-radius: 14px;
  margin-bottom: 18px;
}

.route-tab-btn {
  min-height: 40px;
  padding: 8px 8px;
  border-radius: 10px;
  border: 0;
  background-color: transparent;
  color: var(--ink-secondary);
  font-family: var(--font-body);
  font-size: 0.81rem;
  font-weight: 600;
  white-space: nowrap;
  text-align: center;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.route-tab-btn:hover {
  color: var(--ink-primary);
}

.route-tab-btn.is-active {
  background-color: var(--surface-paper);
  color: var(--accent-strong);
  box-shadow: 0 4px 14px -6px rgba(24, 24, 27, 0.16);
}

.route-panel {
  display: none;
}

.route-panel.is-active {
  display: block;
}

.route-panel-heading {
  display: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--ink-primary);
  margin: 0 0 6px;
}

html:not(.js-ready) .route-tabs {
  display: none;
}

html:not(.js-ready) .route-panel {
  display: block;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid var(--border-whisper);
}

html:not(.js-ready) .route-panel#route-panel-0 {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

html:not(.js-ready) .route-panel-heading {
  display: block;
}

.route-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.route-panel p {
  font-size: 0.93rem;
  line-height: 1.66;
  color: var(--ink-secondary);
}

/* Open Hairline Accordion (No Boxed Cards) */
.hairline-accordion {
  border-top: 1px solid var(--border-whisper);
}

.faq-item {
  border-bottom: 1px solid var(--border-whisper);
}

.faq-item summary {
  padding: 18px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.42;
  color: var(--ink-primary);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color var(--dur-fast) ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--accent-strong);
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--accent);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  padding: 0 0 18px;
  font-size: 0.93rem;
  line-height: 1.66;
  color: var(--ink-secondary);
  max-width: 58ch;
}

/* =========================================================
   CHAPTER 02: STITCH ASYMMETRIC BENTO GRID (3-COL + 70/30)
   ========================================================= */
.bento-row-top {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(0, 0.76fr) minmax(0, 0.76fr);
  gap: 20px;
  align-items: stretch;
}

.bento-row-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(0, 0.82fr);
  gap: 20px;
  margin-top: 20px;
  align-items: stretch;
}

.bento-tile {
  background-color: var(--surface-paper);
  border: 1px solid var(--border-whisper);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-whisper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 280ms var(--ease-spring), box-shadow 280ms var(--ease-spring), border-color var(--dur-fast) ease;
}

.bento-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--accent-border);
}

.bento-media {
  width: 100%;
  overflow: hidden;
  background-color: var(--surface-contrast);
}

.bento-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-spring);
}

.bento-tile:hover .bento-media img,
.bento-tile:hover .bento-seafood-media img {
  transform: scale(1.03);
}

.bento-body {
  padding: 28px 30px 30px;
}

.bento-tile--spec {
  padding: 28px;
  justify-content: flex-start;
}

.bento-icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background-color: var(--accent-soft);
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.bento-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 10px;
}

.bento-tile h3 {
  font-size: 1.24rem;
  line-height: 1.25;
  margin-bottom: 12px;
}

.bento-tile p {
  font-size: 0.93rem;
  line-height: 1.66;
  color: var(--ink-secondary);
}

.bento-signals {
  margin: 22px 0 0;
  border-top: 1px solid var(--border-whisper);
}

.bento-signal {
  padding: 13px 0;
  border-bottom: 1px solid var(--border-whisper);
}

.bento-signal dt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.bento-signal dt::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.bento-signal--ok dt {
  color: var(--accent-strong);
}

.bento-signal--ok dt::before {
  background-color: var(--accent);
}

.bento-signal--warn dt {
  color: var(--semantic-rose);
}

.bento-signal--warn dt::before {
  background-color: var(--semantic-rose);
}

.bento-signal dd {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.56;
  color: var(--ink-secondary);
}

.bento-foot-note {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-whisper);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.bento-tile--spec .bento-foot-note {
  border-top: 0;
  padding-top: 16px;
}

.bento-tile--seafood {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: stretch;
}

.bento-seafood-media {
  width: 100%;
  height: 100%;
  min-height: 300px;
  overflow: hidden;
  background-color: var(--surface-contrast);
}

.bento-seafood-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-spring);
}

.bento-seafood-copy {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
}

.bento-tile--visual {
  margin: 0;
}

.bento-tile--visual .bento-media {
  flex: 1 1 auto;
}

.bento-visual-cap {
  padding: 18px 24px 20px;
  font-size: 0.86rem;
  line-height: 1.56;
  color: var(--ink-secondary);
  border-top: 1px solid var(--border-whisper);
}

/* =========================================================
   CHAPTER 03: SWISS 4-COLUMN NUMBERED STRIP + SCALE FEATURE
   ========================================================= */
.steps-horizontal {
  list-style: none;
  margin: 0 0 clamp(44px, 5.5vw, 68px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.step-col {
  padding-top: 22px;
  border-top: 1px solid var(--border-strong);
  transition: border-color var(--dur-fast) ease;
}

.step-col:hover {
  border-top-color: var(--accent);
}

.step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 16px;
}

.step-col h3 {
  font-size: 1.08rem;
  line-height: 1.32;
  margin-bottom: 10px;
}

.step-col p {
  font-size: 0.91rem;
  line-height: 1.64;
  color: var(--ink-secondary);
}

.scale-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(0, 0.64fr);
  gap: 28px;
  align-items: start;
}

.scale-side-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hairline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border-whisper);
}

.hairline-list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--border-whisper);
  font-size: 0.91rem;
  line-height: 1.6;
  color: var(--ink-secondary);
}

/* =========================================================
   CHAPTER 04: 2-COLUMN ZIG-ZAG EDITORIAL GALLERY
   ========================================================= */
.zigzag-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.zigzag-row--reverse {
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  align-items: start;
  margin-top: clamp(52px, 6.5vw, 84px);
  padding-top: clamp(52px, 6.5vw, 84px);
  border-top: 1px solid var(--border-whisper);
}

.zigzag-copy h3 {
  font-size: clamp(1.32rem, 2vw, 1.68rem);
  line-height: 1.24;
  margin-bottom: 14px;
}

.zigzag-copy > p {
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--ink-secondary);
  margin-bottom: 24px;
  max-width: 52ch;
}

.layer-spec-list {
  margin: 0;
  border-top: 1px solid var(--border-whisper);
}

.layer-spec-row {
  display: grid;
  grid-template-columns: minmax(140px, 168px) minmax(0, 1fr);
  gap: 8px 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-whisper);
}

.layer-spec-row dt {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.layer-spec-row dd {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-secondary);
}

.zigzag-collage {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* =========================================================
   CHAPTER 05: ASYMMETRIC MOSAIC + OPEN HAIRLINE PRINCIPLES
   ========================================================= */
.mosaic-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr);
  gap: 24px;
  align-items: start;
  margin-bottom: clamp(44px, 5.5vw, 68px);
}

.mosaic-primary-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mosaic-side-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.editorial-note-bar {
  padding: 4px 0 4px 22px;
  border-left: 2.5px solid var(--accent);
}

.note-bar-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-strong);
  margin-bottom: 8px;
}

.editorial-note-bar p {
  font-size: 0.95rem;
  line-height: 1.68;
  color: var(--ink-secondary);
  max-width: 62ch;
}

.principles-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4.5vw, 60px);
}

.principle-col {
  padding-top: 24px;
  border-top: 2px solid var(--accent);
}

.principle-col--avoid {
  border-top-color: var(--semantic-rose);
}

.principle-col h3 {
  font-size: 1.22rem;
  margin-bottom: 18px;
}

.principle-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.principle-list li {
  padding: 16px 0;
  border-top: 1px solid var(--border-whisper);
}

.principle-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.principle-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.97rem;
  color: var(--ink-primary);
  margin-bottom: 5px;
}

.principle-list span {
  display: block;
  font-size: 0.92rem;
  line-height: 1.64;
  color: var(--ink-secondary);
}

/* =========================================================
   CHAPTER 06: FLOATING FOOD-COST STUDIO + YIELD TABLE
   ========================================================= */
.cost-studio {
  background-color: var(--surface-paper);
  border: 1px solid var(--border-whisper);
  border-radius: var(--radius-2xl);
  padding: clamp(24px, 3.6vw, 44px);
  box-shadow: var(--shadow-floating);
}

.studio-top {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-whisper);
}

.studio-top h3 {
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  margin-bottom: 6px;
}

.studio-sub {
  font-size: 0.93rem;
  color: var(--ink-secondary);
  margin: 0;
}

.calc-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

html:not(.js-ready) .calc-presets {
  display: none;
}

.calc-noscript-note {
  margin: 0 0 22px;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  background-color: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-strong);
  font-size: 0.88rem;
  line-height: 1.56;
}

.preset-chip {
  min-height: 40px;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background-color: var(--surface-paper);
  color: var(--ink-primary);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-press) ease;
}

.preset-chip:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.preset-chip:active {
  transform: scale(0.98);
}

.preset-chip.is-active {
  background-color: var(--surface-contrast);
  border-color: var(--surface-contrast);
  color: var(--ink-on-dark);
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(24px, 3.5vw, 44px);
  align-items: stretch;
}

.calc-inputs-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  align-content: start;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.calc-inputs-panel .field-group {
  margin-bottom: 0;
  justify-content: space-between;
}

.field-group--full {
  grid-column: 1 / -1;
}

.field-group label {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--ink-primary);
}

.field-group input,
.field-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background-color: var(--surface-canvas);
  color: var(--ink-primary);
  font-family: var(--font-body);
  font-size: 0.96rem;
  line-height: 1.5;
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.calc-inputs-panel input {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.field-group input:focus,
.field-group textarea:focus {
  background-color: var(--surface-paper);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
  outline: none;
}

.field-group input[aria-invalid="true"],
.field-group textarea[aria-invalid="true"] {
  border-color: var(--semantic-rose);
  background-color: var(--semantic-rose-soft);
}

.calc-error-banner {
  grid-column: 1 / -1;
  display: none;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  background-color: var(--semantic-rose-soft);
  border: 1px solid rgba(190, 18, 60, 0.30);
  color: var(--semantic-rose);
  font-size: 0.86rem;
  font-weight: 600;
  margin: 0;
}

.calc-error-banner.is-visible {
  display: block;
}

/* Sleek Zinc-950 Hairline Readout Panel (No Sub-Box Clutter) */
.calc-result-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 3vw, 34px);
  background-color: var(--surface-contrast);
  color: var(--ink-on-dark);
  border-radius: 24px;
}

.calc-primary-metric {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border-dark-whisper);
}

.calc-metric-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-subtle-dark);
  margin-bottom: 8px;
}

.calc-metric-value {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent-bright);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.calc-metric-note {
  margin: 10px 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink-muted-dark);
}

.calc-breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.calc-stat {
  padding-top: 14px;
  border-top: 1px solid var(--border-dark-whisper);
}

.calc-stat-k {
  display: block;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--ink-subtle-dark);
  margin-bottom: 5px;
}

.calc-stat-v {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.06rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink-on-dark);
}

.calc-stat--highlight .calc-stat-v {
  color: #FBBF24;
}

/* Open Reference Matrix Table */
.table-panel {
  margin-top: 32px;
  background-color: var(--surface-paper);
  border: 1px solid var(--border-whisper);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-whisper);
}

.table-caption-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-whisper);
}

.table-caption-text {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.93rem;
  line-height: 1.48;
  color: var(--ink-primary);
}

.table-scroll-hint {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-strong);
  white-space: nowrap;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background:
    linear-gradient(to right, var(--surface-paper) 20%, rgba(255, 255, 255, 0)),
    linear-gradient(to left, var(--surface-paper) 20%, rgba(255, 255, 255, 0)) 100% 0,
    radial-gradient(farthest-side at 0 50%, rgba(24, 24, 27, 0.14), rgba(24, 24, 27, 0)),
    radial-gradient(farthest-side at 100% 50%, rgba(24, 24, 27, 0.14), rgba(24, 24, 27, 0)) 100% 0;
  background-repeat: no-repeat;
  background-size: 28px 100%, 28px 100%, 14px 100%, 14px 100%;
  background-attachment: local, local, scroll, scroll;
}

.yield-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.yield-table thead th {
  padding: 14px 20px;
  background-color: var(--surface-soft);
  color: var(--ink-primary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-whisper);
}

.yield-table tbody th,
.yield-table tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-whisper);
  vertical-align: middle;
}

.yield-table tbody tr:last-child th,
.yield-table tbody tr:last-child td {
  border-bottom: 0;
}

.yield-table tbody tr:hover {
  background-color: var(--surface-canvas);
}

.yield-table tbody th {
  font-weight: 600;
  color: var(--ink-primary);
}

.yield-table tbody td {
  color: var(--ink-secondary);
}

.num-cell {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent-strong);
  white-space: nowrap;
}

.meter-cell {
  width: 148px;
}

.yield-meter {
  display: block;
  width: 100%;
  height: 7px;
  border-radius: var(--radius-pill);
  background-color: var(--surface-soft);
  overflow: hidden;
}

.yield-meter-fill {
  display: block;
  height: 100%;
  border-radius: var(--radius-pill);
  background-color: var(--accent);
  transform-origin: left center;
  transition: transform 480ms var(--ease-spring);
}

.meter-76 { width: 76%; }
.meter-82 { width: 82%; }
.meter-70 { width: 70%; }
.meter-91 { width: 91%; }
.meter-67 { width: 67%; }
.meter-85 { width: 85%; }

html.js-ready .reveal-on-scroll:not(.is-visible) .yield-meter-fill {
  transform: scaleX(0.12);
}

html.js-ready .reveal-on-scroll.is-visible .yield-meter-fill {
  transform: scaleX(1);
}

.cost-closing-split {
  margin-top: clamp(44px, 5.5vw, 68px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}

.cost-closing-copy h3 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  margin-bottom: 12px;
}

.cost-closing-copy p {
  font-size: 0.96rem;
  line-height: 1.68;
  color: var(--ink-secondary);
  max-width: 54ch;
}

.regulatory-strip {
  margin-top: clamp(44px, 5vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--border-whisper);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 48px;
}

.regulatory-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-strong);
  margin-bottom: 8px;
}

.regulatory-col p {
  font-size: 0.9rem;
  line-height: 1.64;
  color: var(--ink-secondary);
}

/* =========================================================
   COOPERATION LEDGER BAND (CLEAN ARCHITECTURAL COLLAPSIBLE)
   ========================================================= */
.coop-band {
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--border-whisper);
}

.coop-ledger {
  background-color: var(--surface-canvas);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  overflow: hidden;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-normal) ease;
}

.coop-ledger[open] {
  background-color: var(--surface-paper);
  box-shadow: var(--shadow-whisper);
}

.coop-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  list-style: none;
  transition: background-color var(--dur-fast) ease;
}

.coop-summary::-webkit-details-marker {
  display: none;
}

.coop-summary:hover {
  background-color: var(--surface-paper);
}

.coop-summary-left {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.coop-summary-tag {
  flex-shrink: 0;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background-color: var(--accent-soft);
  color: var(--accent-strong);
  border: 1px solid var(--accent-border);
}

.coop-summary-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.38;
  color: var(--ink-primary);
  margin-bottom: 3px;
}

.coop-summary-sub {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.coop-summary-cue {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background-color: var(--surface-paper);
  color: var(--ink-primary);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
}

.coop-summary-cue::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1;
}

.coop-ledger[open] .coop-summary-cue::after {
  content: "-";
}

.coop-ledger[open] .coop-summary {
  border-bottom: 1px solid var(--border-whisper);
}

.ledger-form {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 36px;
  padding: 28px 32px 32px;
}

.ledger-col-left {
  padding-right: 32px;
  border-right: 1px solid var(--border-whisper);
}

.ledger-intro {
  font-size: 0.93rem;
  line-height: 1.66;
  color: var(--ink-secondary);
  margin-bottom: 20px;
}

.field-help {
  font-size: 0.81rem;
  line-height: 1.48;
  color: var(--ink-muted);
  margin: 0;
}

.field-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.field-error {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--semantic-rose);
  margin: 0;
  min-height: 1.2em;
}

.char-counter {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.ledger-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.ledger-disclosure {
  flex: 1 1 240px;
  font-size: 0.82rem;
  line-height: 1.54;
  color: var(--ink-muted);
  margin: 0;
}

/* =========================================================
   PARTNERS DIRECTORY (ARCHITECTURAL FILTERABLE INDEX)
   ========================================================= */
.partner-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

html:not(.js-ready) .partner-filters {
  display: none;
}

.filter-pill {
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background-color: var(--surface-paper);
  color: var(--ink-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}

.filter-pill:hover {
  border-color: var(--accent);
  color: var(--ink-primary);
}

.filter-pill.is-active {
  background-color: var(--surface-contrast);
  border-color: var(--surface-contrast);
  color: var(--ink-on-dark);
}

.partner-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
}

.partner-row {
  padding: 28px 0;
  border-top: 1px solid var(--border-whisper);
  transition: opacity var(--dur-fast) ease;
}

.partner-row.is-hidden {
  display: none;
}

.partner-row--span {
  grid-column: 1 / -1;
}

.partner-row-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.partner-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
}

.partner-cat {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.partner-row h3 {
  font-size: 1.08rem;
  line-height: 1.38;
  margin-bottom: 10px;
}

.partner-row p {
  font-size: 0.92rem;
  line-height: 1.68;
  color: var(--ink-secondary);
  max-width: 64ch;
  margin-bottom: 10px;
}

.partner-row--span p {
  max-width: 96ch;
}

.partner-row p:last-child {
  margin-bottom: 0;
}

.partner-backlink {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.partner-backlink:hover,
.partner-backlink:focus-visible {
  color: var(--accent);
}

/* =========================================================
   FOOTER (CLEAN CREDIT BAND + MINIMAL CHARCOAL BASE)
   ========================================================= */
.site-footer {
  margin-top: 0;
}

.footer-tool-band {
  background-color: var(--surface-soft);
  border-top: 1px solid var(--border-whisper);
  padding: 40px 0;
}

.footer-tool-inner {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  gap: 20px 48px;
  align-items: start;
}

.footer-tool-title-col h2 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.footer-tool-sub {
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--ink-secondary);
}

.footer-tool-copy-col p {
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--ink-primary);
}

.tool-backlink {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tool-backlink:hover,
.tool-backlink:focus-visible {
  color: var(--accent);
}

.footer-dark-base {
  background-color: var(--surface-footer);
  color: var(--ink-on-dark);
  padding: 52px 0 30px;
}

.footer-base-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(170px, 0.75fr));
  gap: 32px 44px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--border-dark-whisper);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 700;
  color: var(--ink-on-dark);
  margin-bottom: 12px;
}

.footer-brand-desc {
  font-size: 0.91rem;
  line-height: 1.66;
  color: var(--ink-muted-dark);
  max-width: 52ch;
  margin-bottom: 14px;
}

.footer-contact-meta {
  font-size: 0.87rem;
  color: var(--ink-subtle-dark);
}

.footer-contact-meta a {
  color: var(--accent-bright);
  font-weight: 600;
}

.footer-nav-col h3 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-on-dark);
  margin-bottom: 16px;
}

.footer-nav-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-col a {
  color: var(--ink-muted-dark);
  font-size: 0.91rem;
  text-decoration: none;
}

.footer-nav-col a:hover,
.footer-nav-col a:focus-visible {
  color: var(--ink-on-dark);
  text-decoration: underline;
}

.footer-legal-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  font-size: 0.85rem;
  color: var(--ink-subtle-dark);
}

.copyright {
  margin: 0;
}

.back-top-link {
  color: var(--accent-bright);
  font-weight: 600;
  text-decoration: none;
}

.back-top-link:hover,
.back-top-link:focus-visible {
  color: var(--ink-on-dark);
  text-decoration: underline;
}

/* =========================================================
   HARDWARE-ACCELERATED MICRO-MOTION (TRANSFORM & OPACITY ONLY)
   ========================================================= */
@keyframes eyebrow-beacon-pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.72;
  }
  100% {
    transform: scale(1.75);
    opacity: 0;
  }
}

@keyframes subtle-float {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -3px, 0);
  }
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .live-beacon::after {
    animation: eyebrow-beacon-pulse 2.4s var(--ease-spring) infinite;
  }

  .bento-icon-badge svg {
    animation: subtle-float 3.8s ease-in-out infinite;
  }

  .hero-masthead > *,
  .hero-gallery-stage > * {
    animation: hero-enter 540ms var(--ease-spring) both;
  }

  .hero-masthead > *:nth-child(2) {
    animation-delay: 80ms;
  }

  .hero-gallery-stage > *:nth-child(1) {
    animation-delay: 120ms;
  }

  .hero-gallery-stage > *:nth-child(2) {
    animation-delay: 170ms;
  }

  html.js-ready .reveal-on-scroll {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    transition: opacity var(--dur-reveal) var(--ease-spring), transform var(--dur-reveal) var(--ease-spring);
  }

  html.js-ready .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  html.js-ready .reveal-on-scroll.is-visible.is-instant {
    transition: none;
  }
}

.reveal-on-scroll {
  opacity: 1;
  transform: none;
}

/* =========================================================
   RESPONSIVE BREAKPOINTS (1120px, 960px, 768px, 600px, 340px)
   ========================================================= */
@media (max-width: 1120px) {
  .brand-compartment {
    padding-right: 18px;
    margin-right: 18px;
  }

  .nav-list {
    gap: 18px;
  }

  .nav-link {
    font-size: 0.89rem;
  }

  .btn-nav-cta {
    padding: 8px 15px;
    font-size: 0.84rem;
  }

  .bento-row-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento-tile--lead {
    grid-column: 1 / -1;
  }

  .steps-horizontal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
  }
}

@media (max-width: 960px) {
  .header-frame {
    min-height: 64px;
  }

  .brand-compartment {
    border-right: 0;
    padding-right: 0;
    margin-right: 0;
  }

  .brand-logo {
    height: 27px;
  }

  html.js-ready .menu-toggle {
    display: inline-flex;
  }

  html.js-ready .mobile-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1100;
    background-color: rgba(24, 24, 27, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 220ms ease;
  }

  html.js-ready .mobile-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  html:not(.js-ready) .site-header {
    position: static;
  }

  html:not(.js-ready) .header-frame {
    flex-wrap: wrap;
    padding-block: 12px;
    gap: 12px;
  }

  html:not(.js-ready) .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  html:not(.js-ready) .nav-list {
    flex-wrap: wrap;
    gap: 6px 14px;
  }

  html.js-ready .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 88vw);
    min-height: 100dvh;
    z-index: 1200;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 20px 24px 28px;
    background-color: var(--surface-paper);
    border-left: 1px solid var(--border-whisper);
    box-shadow: var(--shadow-floating);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    clip-path: inset(0 0 0 100%);
    transition: clip-path 260ms var(--ease-drawer), opacity 220ms ease, visibility 0s linear 260ms;
  }

  html.js-ready .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    clip-path: inset(0 0 0 0);
    transition: clip-path 260ms var(--ease-drawer), opacity 220ms ease, visibility 0s linear 0s;
  }

  html.js-ready .mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-whisper);
  }

  html.js-ready .mobile-nav-brand {
    font-family: var(--font-display);
    font-size: 1.06rem;
    font-weight: 700;
    color: var(--ink-primary);
  }

  html.js-ready .mobile-nav-close {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    background-color: var(--surface-canvas);
    color: var(--ink-primary);
  }

  html.js-ready .site-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    counter-reset: mobile-nav;
    margin-bottom: 24px;
  }

  html.js-ready .site-nav .nav-list li {
    counter-increment: mobile-nav;
    border-bottom: 1px solid var(--border-whisper);
  }

  html.js-ready .site-nav .nav-link {
    width: 100%;
    min-height: 56px;
    padding: 14px 4px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink-primary);
    gap: 14px;
  }

  html.js-ready .site-nav .nav-link::before {
    content: "0" counter(mobile-nav);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
  }

  html.js-ready .site-nav .nav-link::after {
    display: none;
  }

  html.js-ready .nav-end-actions {
    width: 100%;
    margin-left: 0;
    margin-top: auto;
    padding-top: 16px;
  }

  html.js-ready .btn-nav-cta {
    width: 100%;
    min-height: 48px;
    border-radius: var(--radius-md);
    font-size: 0.94rem;
  }

  .hero-masthead,
  .hero-gallery-stage,
  .section-header-split,
  .shift-strip,
  .chapter1-grid,
  .bento-row-bottom,
  .bento-tile--seafood,
  .scale-showcase-grid,
  .zigzag-row,
  .zigzag-row--reverse,
  .mosaic-grid,
  .principles-split,
  .studio-grid,
  .cost-closing-split,
  .regulatory-strip,
  .ledger-form,
  .partner-index-grid,
  .footer-tool-inner,
  .footer-base-grid {
    grid-template-columns: 1fr;
  }

  .section-intro {
    justify-self: start;
  }

  .hero-cinema-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .hero-side-column {
    grid-template-rows: auto auto;
  }

  .hero-secondary-media {
    aspect-ratio: 16 / 10;
  }

  .ledger-col-left {
    padding-right: 0;
    border-right: 0;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-whisper);
  }
}

@media (max-width: 768px) {
  .inline-type-pill {
    display: none;
  }

  .bento-row-top,
  .steps-horizontal,
  .gallery-duo {
    grid-template-columns: 1fr;
  }

  .bento-seafood-media {
    min-height: 220px;
    aspect-ratio: 4 / 3;
  }

  .table-scroll-hint {
    display: inline-block;
  }

  .calc-inputs-panel {
    grid-template-columns: 1fr;
  }

  .layer-spec-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 600px) {
  .hero-stage {
    padding: 24px 0 44px;
  }

  .hero-eyebrow {
    font-size: 0.68rem;
    gap: 11px;
    margin-bottom: 14px;
  }

  .hero-title {
    font-size: 1.92rem;
    line-height: 1.15;
  }

  .hero-cta-row {
    width: 100%;
  }

  .hero-cta-row .btn {
    width: 100%;
  }

  .shift-tabs {
    grid-template-columns: 1fr;
  }

  .route-tabs {
    grid-template-columns: 1fr;
  }

  .route-planner {
    padding: 20px 18px;
  }

  .bento-body,
  .bento-tile--spec,
  .bento-seafood-copy {
    padding: 22px 20px;
  }

  .cost-studio {
    padding: 20px 18px;
    border-radius: 24px;
  }

  .calc-presets {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .preset-chip {
    padding: 8px 10px;
    font-size: 0.78rem;
    line-height: 1.3;
    text-align: center;
  }

  .calc-result-panel {
    padding: 22px 20px;
  }

  .calc-metric-note {
    font-size: 0.8rem;
  }

  .calc-breakdown {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .coop-summary {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
  }

  .coop-summary-left {
    flex-direction: column;
    gap: 8px;
  }

  .ledger-form {
    padding: 20px 18px 24px;
  }

  .ledger-submit-row .btn {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .brand-logo {
    height: 24px;
  }

  .hero-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.05em;
  }

  .calc-metric-note {
    font-size: 0.74rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html.js-ready .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }

  html.js-ready .reveal-on-scroll .yield-meter-fill {
    transform: scaleX(1) !important;
  }
}

@media print {
  body {
    background-color: #FFFFFF;
    color: #18181B;
    font-size: 11pt;
  }

  .site-header,
  .hero-cta-row,
  .coop-band,
  .shift-tabs,
  .route-tabs,
  .calc-presets,
  .partner-filters,
  .table-scroll-hint,
  .back-top-link {
    display: none !important;
  }

  .hero-masthead,
  .hero-gallery-stage,
  .section-header-split,
  .shift-strip,
  .chapter1-grid,
  .bento-row-top,
  .bento-row-bottom,
  .steps-horizontal,
  .scale-showcase-grid,
  .zigzag-row,
  .mosaic-grid,
  .studio-grid {
    grid-template-columns: 1fr !important;
  }

  .shift-note,
  .route-panel,
  .route-panel-heading,
  .partner-row.is-hidden {
    display: block !important;
  }

  .bento-tile,
  .cost-studio,
  .table-panel {
    break-inside: avoid;
    box-shadow: none !important;
  }

  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}
