/* ==========================================================================
   PARMENAS (parmenas.org): PRODUCTION STYLESHEET (site/assets/css/site.css)
   Owner's Chosen Direction:
   - #4 100vh cinematic opening with overlaid quiet menu (slim solid bar on scroll)
   - #1 Numbered editorial organisation, side notes & Before/After comparison
   - #2 Community warmth, film stills & human compositions
   - #3 Clear grouping of the 7 cooperative areas in one "What it does" menu & calm list
   Palette & Typography: Strictly per BRAND.md (Fraunces + Instrument Sans)
   Accessibility: WCAG 2.2 AA, 360px–1600px zero overflow, prefers-reduced-motion
   ========================================================================== */

@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-latin-500-normal.woff2?v=20261101') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-latin-600-normal.woff2?v=20261101') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --loam: #1F3A2C;
  --wheat: #C2902F;
  --wheat-deep: #755310;
  --linen: #F4EEE2;
  --linen-deep: #EAE0CE;
  --linen-ledger: #EDE5D5;
  --clay: #8C3D1D;
  --olive: #4A5A38;
  --ink: #16201A;

  --rule-hairline: rgba(22, 32, 26, 0.22);
  --rule-bold: #1F3A2C;
  --rule-heavy: #16201A;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--linen);
  color: var(--ink);
  overflow-x: hidden;
}

@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;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.64;
  background-color: var(--linen);
  color: var(--ink);
  overflow-x: hidden;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img, video, svg {
  max-width: 100%;
  height: auto;
}

#signup,
#films,
#what-it-does,
#comparison,
#scenes {
  scroll-margin-top: 5.5rem;
}

/* Subtle SVG Paper Grain Overlay */
.ledger-grain-svg,
.paper-grain-svg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 998;
  opacity: 0.16;
  mix-blend-mode: multiply;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -120px;
  left: 1rem;
  z-index: 10000;
  background: var(--loam);
  color: var(--linen);
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--wheat);
}

.skip-link:focus {
  top: 1rem;
}

/* Visible Focus Indicators (WCAG 2.2 AA) */
:focus-visible {
  outline: 3px solid var(--loam);
  outline-offset: 3px;
}

.dark-ledger :focus-visible,
.surface-dark :focus-visible,
.site-header--hero :focus-visible,
.site-header.is-scrolled :focus-visible,
.site-footer :focus-visible,
.ledger-footer :focus-visible {
  outline-color: var(--wheat);
}

/* ==========================================================================
   TYPOGRAPHY & EDITORIAL TOKENS
   ========================================================================== */

h1, h2, h3, h4, .display-serif {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-kerning: normal;
  font-variation-settings: "opsz" 144, "SOFT" 35;
  margin-top: 0;
  color: var(--loam);
  overflow-wrap: break-word;
}

h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 500;
}

.acct-code,
.overline-stamp {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wheat-deep);
}

.draw-rule {
  height: 2px;
  background: var(--rule-bold);
  transform-origin: left center;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-motion-ok .draw-rule.is-undrawn {
  transform: scaleX(0);
}

.drop-cap::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 4.2rem;
  line-height: 0.84;
  padding-right: 0.7rem;
  padding-top: 0.12rem;
  color: inherit;
  font-weight: 600;
}

/* ==========================================================================
   SITE HEADER & ONE "WHAT IT DOES" DISCLOSURE MENU
   - On Home: Overlaid on the 100vh video hero, becomes a slim solid bar on scroll
   - On Inner Pages: Slim solid bar at the top
   ========================================================================== */

.site-header {
  background: var(--ink);
  color: var(--linen);
  border-bottom: 2px solid var(--wheat);
  padding: 0.65rem clamp(1rem, 3.5vw, 3.5rem);
  position: sticky;
  top: 0;
  z-index: 900;
  transition: background-color 0.22s ease, padding 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.site-header--hero {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(22, 32, 26, 0.95);
  border-bottom: 1px solid rgba(244, 238, 226, 0.22);
  padding: 0.95rem clamp(1rem, 3.5vw, 3.5rem);
}

.site-header.is-scrolled {
  background: rgba(22, 32, 26, 0.97);
  border-bottom: 2px solid var(--wheat);
  padding: 0.5rem clamp(1rem, 3.5vw, 3.5rem);
  box-shadow: 0 6px 20px rgba(22, 32, 26, 0.32);
}

.site-header__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem 1.25rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--linen);
  text-decoration: none;
}

.brand-lockup__mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  transition: width 0.2s ease, height 0.2s ease;
}

.site-header.is-scrolled .brand-lockup__mark {
  width: 32px;
  height: 32px;
}

.brand-lockup__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-lockup__top-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.brand-lockup__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.38rem;
  letter-spacing: -0.025em;
  color: var(--linen);
  text-decoration: none;
}

.closed-testing-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.14rem 0.48rem;
  background: var(--loam);
  color: var(--linen);
  border: 1px solid var(--wheat);
}

.brand-lockup__maker {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--linen);
}

.brand-lockup__maker a {
  color: var(--linen);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mobile-menu-btn {
  display: none;
  background: rgba(22, 32, 26, 0.9);
  color: var(--linen);
  border: 1.5px solid var(--wheat);
  padding: 0.45rem 0.85rem;
  min-height: 38px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.85rem;
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.25rem 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--linen);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav__list > li > a:hover,
.site-nav__list > li > a[aria-current="page"] {
  color: var(--wheat);
  border-bottom-color: var(--wheat);
}

.site-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.38rem 0.9rem !important;
  background: var(--wheat) !important;
  color: var(--ink) !important;
  border: 1.5px solid var(--wheat) !important;
  font-weight: 700 !important;
}

.site-nav__cta:hover {
  background: var(--linen) !important;
  border-color: var(--linen) !important;
  color: var(--ink) !important;
}

/* "What it does" Disclosure Menu */
.nav-disclosure {
  position: relative;
}

.nav-disclosure__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 36px;
  padding: 0.25rem 0.55rem;
  background: transparent;
  color: var(--linen);
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

.nav-disclosure__btn:hover,
.nav-disclosure__btn[aria-expanded="true"] {
  color: var(--wheat);
  border-bottom-color: var(--wheat);
}

.nav-caret {
  font-size: 0.78rem;
  transition: transform 0.18s ease;
}

.nav-disclosure__btn[aria-expanded="true"] .nav-caret {
  transform: rotate(180deg);
}

.nav-disclosure__panel {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  width: min(360px, 90vw);
  background: var(--ink);
  color: var(--linen);
  border: 2px solid var(--wheat);
  padding: 0.65rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  z-index: 960;
}

.nav-disclosure__panel[hidden] {
  display: none;
}

/* No-JS fallback: open on focus-within or hover when JS hasn't initialized */
html:not(.js-nav-ready) .nav-disclosure:hover .nav-disclosure__panel,
html:not(.js-nav-ready) .nav-disclosure:focus-within .nav-disclosure__panel {
  display: block;
}

.nav-disclosure__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.nav-disclosure__list li a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0.15rem 0.5rem;
  padding: 0.5rem 0.6rem;
  color: var(--linen);
  text-decoration: none;
  border-left: 2px solid transparent;
}

.nav-disclosure__list li a:hover,
.nav-disclosure__list li a[aria-current="page"] {
  background: rgba(244, 238, 226, 0.08);
  border-left-color: var(--wheat);
  color: var(--wheat);
}

.nav-num {
  grid-row: 1 / 3;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--wheat);
  padding-top: 0.05rem;
}

.nav-disclosure__list li a strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--linen);
  display: block;
}

.nav-disclosure__list li a span:not(.nav-num) {
  font-size: 0.78rem;
  color: var(--linen);
  line-height: 1.35;
}

/* Calm Status Bar Under Inner-Page Header */
.testing-notice-bar {
  background: var(--linen-deep);
  border-bottom: 1px solid var(--rule-hairline);
  padding: 0.45rem clamp(1rem, 3.5vw, 3.5rem);
  font-size: 0.84rem;
  color: var(--loam);
}

.testing-notice-bar__inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1rem;
}

.testing-notice-bar a {
  color: var(--loam);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hud-btn {
  background: var(--ink);
  color: var(--linen);
  border: 1.5px solid var(--wheat);
  padding: 0.5rem 0.9rem;
  min-height: 38px;
  min-width: 38px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hud-btn:hover {
  background: var(--loam);
  color: var(--linen);
  border-color: var(--linen);
}

/* ==========================================================================
   CINEMATIC 100VH HERO (#4 COMING-SOON & FULL-SITE OPENING)
   Headline sized so it never overflows at any viewport width (360px–1600px).
   ========================================================================== */

.doc-fullbleed {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: var(--ink);
  color: var(--linen);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-bottom: 3px solid var(--rule-bold);
  padding-top: 5.5rem;
}

.doc-fullbleed__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.doc-fullbleed__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(22, 32, 26, 0.82) 0%,
    rgba(22, 32, 26, 0.48) 44%,
    rgba(22, 32, 26, 0.94) 100%
  );
  z-index: 2;
}

.doc-fullbleed__top,
.doc-fullbleed__bottom {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(1.25rem, 3.5vw, 3rem) clamp(1rem, 4vw, 3.5rem);
}

/* Monumental Headline: never overflows even at 360px */
.hero-monument-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.35rem, 9.6vw, 10.5rem);
  line-height: 0.9;
  letter-spacing: -0.038em;
  color: var(--linen);
  margin: 0 0 1.25rem;
  max-width: 100%;
  overflow-wrap: break-word;
}

.hero-monument-title em {
  color: var(--wheat);
  font-style: italic;
  font-weight: 500;
}

.hero-lead-copy {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  max-width: 65ch;
  color: var(--linen);
  margin: 0 0 1.75rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.ledger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.45rem;
  min-height: 48px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--loam);
  color: var(--linen);
  border: 2px solid var(--loam);
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.ledger-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--linen);
}

.ledger-btn--wheat {
  background: var(--wheat);
  color: var(--ink);
  border-color: var(--wheat);
}

.ledger-btn--wheat:hover {
  background: var(--linen);
  color: var(--ink);
  border-color: var(--linen);
}

.ledger-btn--ghost-light {
  background: var(--ink);
  color: var(--linen);
  border-color: var(--linen);
}

.ledger-btn--ghost-light:hover {
  background: var(--linen);
  color: var(--ink);
}

.ledger-btn--outline {
  background: transparent;
  color: var(--loam);
  border-color: var(--loam);
}

.ledger-btn--outline:hover {
  background: var(--linen-deep);
  color: var(--ink);
}

/* ==========================================================================
   EDITORIAL SECTIONS & SIDE NOTES
   ========================================================================== */

.ledger-section,
.page-section {
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1rem, 4vw, 3.5rem);
  border-bottom: 2px solid var(--rule-bold);
}

.section-inner {
  max-width: 1360px;
  margin: 0 auto;
}

.section-header-grid {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: baseline;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

.section-numeral {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 0.92;
  color: var(--wheat-deep);
  font-weight: 600;
  display: block;
}

.section-title {
  font-size: clamp(1.95rem, 4vw, 3.4rem);
  line-height: 1.02;
  margin: 0.3rem 0 0.75rem;
}

.editorial-with-sidenote {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3.25rem);
  align-items: start;
}

.marginalia-col {
  border-top: 2px solid var(--loam);
  padding-top: 0.9rem;
  font-size: 0.86rem;
  line-height: 1.52;
}

.reg-cross {
  display: inline-block;
  font-size: 1.15rem;
  color: var(--wheat-deep);
  margin-bottom: 0.4rem;
}

.marginalia-note {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule-hairline);
}

.marginalia-note strong {
  display: block;
  color: var(--loam);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

/* ==========================================================================
   MEMORABLE MOMENT 2: INTERACTIVE BEFORE / AFTER COMPARISON
   ========================================================================== */

.split-compare {
  border: 2px solid var(--rule-heavy);
  background: var(--linen-deep);
  margin: 2rem 0 0;
  position: relative;
  box-shadow: 6px 6px 0 var(--loam);
}

.split-compare__toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.25rem;
  background: var(--loam);
  color: var(--linen);
  border-bottom: 2px solid var(--rule-heavy);
  font-size: 0.92rem;
}

.split-compare__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.split-preset-btn {
  background: transparent;
  color: var(--linen);
  border: 1px solid rgba(244, 238, 226, 0.5);
  padding: 0.35rem 0.75rem;
  min-height: 34px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.split-preset-btn:hover,
.split-preset-btn.is-active {
  background: var(--wheat);
  color: var(--ink);
  border-color: var(--wheat);
}

.split-compare__stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

@media (min-width: 780px) {
  .js-split-ready .split-compare__stage {
    display: block;
    position: relative;
    min-height: 450px;
    overflow: hidden;
    --split-pct: 50%;
  }

  .js-split-ready .split-pane {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-right: none;
  }

  .js-split-ready .split-pane--after {
    clip-path: inset(0 0 0 var(--split-pct));
  }

  .js-split-ready .split-divider-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--split-pct);
    width: 4px;
    background: var(--wheat);
    z-index: 10;
    transform: translateX(-50%);
    pointer-events: none;
  }

  .js-split-ready .split-divider-medallion {
    position: absolute;
    top: 50%;
    left: var(--split-pct);
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--wheat);
    color: var(--ink);
    border: 2px solid var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 11;
    pointer-events: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  }
}

.split-divider-line,
.split-divider-medallion {
  display: none;
}

@media (min-width: 780px) {
  .js-split-ready .split-divider-line,
  .js-split-ready .split-divider-medallion {
    display: flex;
  }
}

.split-pane {
  padding: clamp(1.35rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.split-pane--before {
  background: #E5DAC6;
  color: var(--ink);
  border-right: 2px dashed var(--clay);
}

.split-pane--after {
  background: var(--loam);
  color: var(--linen);
}

.split-pane__inner {
  max-width: 640px;
}

@media (min-width: 780px) {
  .split-pane--after .split-pane__inner {
    margin-left: auto;
  }
}

.split-tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.split-tag--chaos {
  background: var(--clay);
  color: var(--linen);
}

.split-tag--order {
  background: var(--wheat);
  color: var(--ink);
}

.ledger-scrap-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.ledger-scrap-list li {
  padding: 0.65rem 0.9rem;
  border-left: 3px solid var(--clay);
  background: var(--linen);
  color: var(--ink);
  font-size: 0.93rem;
}

.split-pane--after .ledger-scrap-list li {
  border-left-color: var(--wheat);
  background: var(--ink);
  color: var(--linen);
}

.split-compare__scrubber {
  padding: 0.85rem 1.25rem;
  background: var(--linen);
  border-top: 1px solid var(--rule-hairline);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.split-compare__scrubber label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--loam);
}

.split-range-input {
  flex: 1;
  min-width: 180px;
  accent-color: var(--loam);
  height: 28px;
  cursor: ew-resize;
}

/* ==========================================================================
   CALM EDITORIAL LIST OF THE SEVEN AREAS (MERGED SECTION)
   area -> one plain sentence -> "Learn more"
   ========================================================================== */

.areas-editorial-list {
  border-top: 2px solid var(--rule-bold);
  border-bottom: 2px solid var(--rule-bold);
  margin: 2rem 0 0;
  background: var(--linen-ledger);
}

.area-row {
  display: grid;
  grid-template-columns: 52px minmax(190px, 260px) minmax(0, 1fr) auto;
  gap: 0.75rem 1.5rem;
  align-items: baseline;
  padding: 1.2rem 1.25rem;
  border-bottom: 1px solid var(--rule-hairline);
}

.area-row:last-child {
  border-bottom: none;
}

.area-row__num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--wheat-deep);
}

.area-row__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
  color: var(--loam);
}

.area-row__title a {
  color: inherit;
  text-decoration: none;
}

.area-row__title a:hover {
  text-decoration: underline;
}

.area-row__desc {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink);
}

.area-row__link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--loam);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.area-row__link:hover {
  color: var(--ink);
}

/* ==========================================================================
   COMMUNITY WARMTH: PHOTO FRAMES & ROLES INSIDE FEATURE PAGES
   ========================================================================== */

.warmth-spread {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
  margin-bottom: 2.25rem;
}

.photo-frame {
  margin: 0;
  background: var(--linen-deep);
  border: 2px solid var(--rule-heavy);
  padding: 0.95rem;
  box-shadow: 6px 6px 0 var(--loam);
}

.photo-frame img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--rule-hairline);
}

.photo-frame figcaption {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--loam);
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.role-card {
  background: var(--linen-ledger);
  border-top: 4px solid var(--loam);
  border-right: 1px solid var(--rule-hairline);
  border-bottom: 1px solid var(--rule-hairline);
  border-left: 1px solid var(--rule-hairline);
  padding: 1.35rem;
}

.role-card__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--wheat-deep);
  display: block;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.role-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.role-card ul {
  margin: 0.65rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.94rem;
}

.role-card li {
  margin-bottom: 0.35rem;
}

/* ==========================================================================
   MEMORABLE MOMENT 3: STACKED DOCUMENTARY SCENES (No Pinned Scroll)
   ========================================================================== */

.scenarios-band {
  background: var(--ink);
  color: var(--linen);
  padding: clamp(3.25rem, 6vw, 5.5rem) clamp(1rem, 4vw, 3.5rem);
  border-bottom: 3px solid var(--wheat);
}

.scenarios-stack {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.scenario-scene {
  background: var(--loam);
  border: 1.5px solid rgba(194, 144, 47, 0.7);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.scenario-scene__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border: 1px solid rgba(244, 238, 226, 0.3);
  overflow: hidden;
}

.scenario-scene__media video,
.scenario-scene__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.scenario-scene__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--linen);
  border-bottom: 1px solid rgba(244, 238, 226, 0.22);
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
}

.scenario-scene h3 {
  color: var(--linen);
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  margin-bottom: 0.6rem;
}

.scenario-scene p {
  color: var(--linen);
  margin: 0 0 0.9rem;
}

.scenario-scene__ledger {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(244, 238, 226, 0.22);
  font-size: 0.84rem;
  color: var(--linen);
  font-weight: 600;
}

/* ==========================================================================
   STORY OF THE NAME & MARK ANIMATION
   ========================================================================== */

.story-band {
  background: var(--loam);
  color: var(--linen);
  padding: clamp(3.5rem, 6.5vw, 6rem) clamp(1rem, 4vw, 3.5rem);
  border-bottom: 3px double var(--wheat);
}

.story-spread {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}

.story-prose p {
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.5vw, 1.38rem);
  line-height: 1.58;
  margin-bottom: 1.2rem;
  color: var(--linen);
}

.story-prose p.story-highlight {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  color: var(--linen);
  font-weight: 600;
  font-style: italic;
  border-left: 3px solid var(--wheat);
  padding-left: 1.15rem;
  margin: 1.65rem 0;
}

.story-aside-box {
  background: var(--ink);
  border: 1.5px solid var(--wheat);
  padding: 1.5rem;
}

.specimen-mark-svg .segment,
.specimen-mark-svg .centre {
  opacity: 1;
  transform-origin: 100px 100px;
  transition: opacity 0.28s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-motion-ok .specimen-mark-svg.is-drawing .segment,
.js-motion-ok .specimen-mark-svg.is-drawing .centre {
  opacity: 0;
  transform: scale(0.84);
}

.js-motion-ok .specimen-mark-svg.is-drawn .seg-1 { transition-delay: 0.05s; }
.js-motion-ok .specimen-mark-svg.is-drawn .seg-2 { transition-delay: 0.22s; }
.js-motion-ok .specimen-mark-svg.is-drawn .seg-3 { transition-delay: 0.39s; }
.js-motion-ok .specimen-mark-svg.is-drawn .seg-4 { transition-delay: 0.56s; }
.js-motion-ok .specimen-mark-svg.is-drawn .seg-5 { transition-delay: 0.73s; }
.js-motion-ok .specimen-mark-svg.is-drawn .seg-6 { transition-delay: 0.90s; }
.js-motion-ok .specimen-mark-svg.is-drawn .seg-7 { transition-delay: 1.07s; }
.js-motion-ok .specimen-mark-svg.is-drawn .centre { transition-delay: 1.25s; }

/* ==========================================================================
   YOUTUBE-NOCOOKIE CLICK-TO-LOAD FACADES
   ========================================================================== */

.films-ledger-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  margin-top: 1.75rem;
}

.film-ledger-box {
  border: 2px solid var(--rule-bold);
  background: var(--linen-ledger);
  padding: 1.15rem;
  box-shadow: 5px 5px 0 var(--loam);
}

.film-facade {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  overflow: hidden;
  border: 1px solid var(--rule-bold);
}

.film-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.film-facade__btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(22, 32, 26, 0.88);
  background-image: linear-gradient(180deg, rgba(22, 32, 26, 0.35) 0%, rgba(22, 32, 26, 0.92) 100%);
  color: var(--linen);
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1.25rem;
  cursor: pointer;
  text-align: left;
}

.film-facade__pill {
  background: var(--wheat);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.55rem 1rem;
  margin-bottom: 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.film-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   PRACTICAL SPECS & FAQ LIST
   ========================================================================== */

.practical-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  border-top: 2px solid var(--rule-bold);
  border-bottom: 2px solid var(--rule-bold);
  padding: 2rem 0;
  margin-top: 1.5rem;
}

.practical-spec h3 {
  font-size: 1.35rem;
  margin: 0.35rem 0 0.5rem;
}

.faq-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.faq-item {
  background: var(--linen-ledger);
  border: 1.5px solid var(--rule-bold);
  padding: 1.35rem 1.5rem;
}

.faq-item h2,
.faq-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--loam);
}

.faq-item p {
  margin: 0;
}

/* ==========================================================================
   FEATURE PAGES (QUIETER EDITORIAL SYSTEM)
   ========================================================================== */

.breadcrumb-nav {
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.breadcrumb-list li + li::before {
  content: "/";
  margin-right: 0.45rem;
  color: var(--wheat-deep);
}

.breadcrumb-list a {
  color: var(--loam);
  font-weight: 600;
}

.feature-lead-answer {
  font-size: clamp(1.15rem, 1.5vw, 1.38rem);
  line-height: 1.58;
  color: var(--loam);
  font-weight: 500;
  max-width: 68ch;
  border-left: 4px solid var(--wheat);
  padding-left: 1.15rem;
  margin: 1.25rem 0 2rem;
}

.feature-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-hairline);
}

.feature-subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.4rem 0.85rem;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--loam);
  background: var(--linen-ledger);
  border: 1.5px solid var(--rule-bold);
}

.feature-subnav a:hover,
.feature-subnav a[aria-current="page"] {
  background: var(--loam);
  color: var(--linen);
}

/* ==========================================================================
   EARLY-ACCESS FORM (WCAG 2.2 AA)
   ========================================================================== */

.ledger-form-sheet {
  max-width: 840px;
  border: 2px solid var(--rule-bold);
  background: var(--linen-ledger);
  padding: clamp(1.35rem, 3.5vw, 2.75rem);
  box-shadow: 6px 6px 0 var(--loam);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--loam);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
  min-height: 46px;
  border: 1.5px solid var(--rule-bold);
  background: var(--linen);
  color: var(--ink);
  border-radius: 0;
  width: 100%;
}

.form-field textarea {
  min-height: 115px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #4A5A4F;
  opacity: 1;
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--clay);
  border-width: 2px;
}

.field-error {
  color: var(--clay);
  font-size: 0.84rem;
  font-weight: 600;
  min-height: 1.2em;
}

.hp-offscreen {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.consent-row input[type="checkbox"] {
  width: 24px;
  height: 24px;
  min-height: 24px;
  accent-color: var(--loam);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.form-status {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--linen);
  border-left: 4px solid var(--loam);
  font-weight: 700;
}

.form-status.is-error {
  border-left-color: var(--clay);
  color: var(--clay);
}

.form-status:empty {
  display: none;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */

.ledger-footer,
.site-footer {
  background: var(--ink);
  color: var(--linen);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 3.5rem);
  border-top: 3px solid var(--wheat);
}

.site-footer__inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.site-footer a,
.ledger-footer a {
  color: var(--wheat);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer a:hover,
.ledger-footer a:hover {
  color: var(--linen);
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
  font-size: 0.92rem;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (360px to 1600px, Zero Horizontal Overflow)
   ========================================================================== */

@media (max-width: 1024px) {
  .warmth-spread,
  .story-spread,
  .editorial-with-sidenote,
  .scenario-scene {
    grid-template-columns: 1fr;
  }

  .area-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.35rem 0.75rem;
  }

  .area-row__desc,
  .area-row__link {
    grid-column: 2 / -1;
  }
}

@media (max-width: 820px) {
  .js-nav-ready .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 970;
  }

  .js-nav-ready .site-nav {
    display: none;
  }

  .js-nav-ready .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    position: fixed;
    inset: 0;
    background: var(--ink);
    color: var(--linen);
    z-index: 960;
    padding: 5.25rem 1.25rem 2rem;
    overflow-y: auto;
  }

  .js-nav-ready .site-nav.is-open .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .js-nav-ready .site-nav.is-open .nav-disclosure__panel {
    position: static;
    width: 100%;
    box-shadow: none;
    margin-top: 0.35rem;
    border-width: 1px;
  }
}

@media (max-width: 780px) {
  .section-header-grid,
  .split-compare__stage,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .split-pane--before {
    border-right: none;
    border-bottom: 2px dashed var(--clay);
  }
}
