/* ==========================================================================
   SolarCove — site stylesheet
   Built on the Nocturne design system (assets/css/nocturne.css).
   Every colour, radius, shadow and font comes from a Nocturne token; nothing
   here hard-codes a hex. Sizes and spacing reproduce the approved prototype.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Base
   -------------------------------------------------------------------------- */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  min-height: 100vh;
}

/* The prototype set an explicit margin on essentially every paragraph; reset
   the design system's default and re-apply through .mb-* where it is wanted. */
p {
  margin: 0;
}

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

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

/* Sticky header clearance for in-page anchors (#formats, #faq, #charter …). */
[id] {
  scroll-margin-top: 108px;
}

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


/* --------------------------------------------------------------------------
   2. Layout primitives
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 56px);
  box-sizing: border-box;
}

/* Vertical rhythm. Sections normally carry their space below them, so that
   consecutive sections do not double up. */
.section {
  padding-bottom: clamp(80px, 10vw, 150px);
}
.section--top {
  padding-top: clamp(80px, 10vw, 150px);
}
.section--top-lg {
  padding-top: clamp(80px, 10vw, 160px);
}
.section--bottom-lg {
  padding-bottom: clamp(80px, 10vw, 160px);
}
.section--bottom-sm {
  padding-bottom: clamp(60px, 7vw, 110px);
}
.section--top-spec {
  padding-top: clamp(56px, 7vw, 110px);
}
.section--top-contact {
  padding-top: clamp(64px, 8vw, 130px);
}
.section--bottom-contact {
  padding-bottom: clamp(36px, 4vw, 60px);
}
.section--bottom-spec {
  padding-bottom: clamp(60px, 8vw, 120px);
}
.section--top-about {
  padding-top: clamp(72px, 9vw, 150px);
}
.section--bottom-about {
  padding-bottom: clamp(56px, 7vw, 110px);
}
.section--gap {
  margin-bottom: clamp(80px, 10vw, 150px);
}
.section--gap-about {
  margin-bottom: clamp(72px, 9vw, 140px);
}

/* Two- and three-track editorial splits. Both collapse to one column early,
   as in the prototype (auto-fit + a min track). */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.split--center {
  align-items: center;
}
.split--end {
  align-items: end;
}
.split--tight {
  gap: clamp(32px, 5vw, 80px);
}
.split--narrow {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.split--wide-gap {
  gap: clamp(32px, 4vw, 72px);
}
.split--gap-56 {
  gap: clamp(28px, 3.4vw, 56px);
}
.split--gap-64 {
  gap: clamp(32px, 4vw, 64px);
}
.split__major {
  grid-column: span 2;
  min-width: 300px;
}
.split__major--sm {
  grid-column: span 2;
  min-width: 280px;
}

/* Hairline grids: a 1px divider showing through the gaps between opaque
   cells. Cells paint the page ground unless a modifier says otherwise. */
.hairline {
  display: grid;
  gap: 1px;
  background: var(--color-divider);
}
.hairline > * {
  background: var(--color-bg);
}
.hairline--surface > * {
  background: var(--color-surface);
}
.hairline--section > * {
  background: var(--color-section);
}
/* On the saturated ground the neutral divider token disappears, so the rule
   is drawn from the text colour instead. */
.hairline--on-section {
  background: color-mix(in srgb, var(--color-text) 16%, transparent);
}
.hairline--stack {
  display: flex;
  flex-direction: column;
}
.hairline--150 {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.hairline--160 {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.hairline--190 {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.hairline--200 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.hairline--220 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.hairline--240 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.hairline--250 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.hairline--280 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.hairline--300 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.hairline--110 {
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}

/* Card grids without the hairline. */
.grid {
  display: grid;
  gap: clamp(20px, 2.4vw, 32px);
}
.grid--240 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.grid--250 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.grid--260 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.grid--280 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.grid--300 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.grid--gap-lg {
  gap: clamp(28px, 3.4vw, 56px);
}
.grid--gap-md {
  gap: clamp(24px, 3vw, 44px);
}
.grid--gap-sm {
  gap: clamp(14px, 1.6vw, 22px);
}
.grid--gap-48 {
  gap: clamp(24px, 3vw, 48px);
}
.grid--gap-36 {
  gap: clamp(20px, 2.4vw, 36px);
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.row--between {
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.row--baseline {
  align-items: flex-end;
  gap: 24px;
}
.row--center {
  align-items: center;
}

/* Nocturne's signature: freestanding rules fade out at their ends. */
.rule-top {
  background-image: linear-gradient(
    to right,
    var(--color-divider),
    var(--color-divider) calc(100% - 48px),
    transparent
  );
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100% 1px;
}
.rule-top--40 {
  background-image: linear-gradient(
    to right,
    var(--color-divider),
    var(--color-divider) calc(100% - 40px),
    transparent
  );
}

/* --------------------------------------------------------------------------
   3. Type
   -------------------------------------------------------------------------- */

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 var(--eyebrow-mb, 20px);
}
.eyebrow--wide {
  letter-spacing: 0.24em;
}
.eyebrow--on-section {
  color: var(--color-accent-300);
}
.eyebrow--mb22 {
  --eyebrow-mb: 22px;
}
.eyebrow--mb24 {
  --eyebrow-mb: 24px;
}
.eyebrow--mb26 {
  --eyebrow-mb: 26px;
}
.eyebrow--mb18 {
  --eyebrow-mb: 18px;
}

/* Display and section headings. Weight stays at the system's 500 — hierarchy
   here is size and space, never boldness. */
.h-hero {
  font-size: clamp(40px, 6.4vw, 88px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0;
}
.h-page {
  font-size: clamp(36px, 5.4vw, 76px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin: 0;
}
.h-page--exp {
  font-size: clamp(36px, 5.4vw, 74px);
  line-height: 1.04;
}
.h-page--about {
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.05;
}
.h-page--contact {
  font-size: clamp(32px, 4.6vw, 66px);
  line-height: 1.05;
}
.h-lg {
  font-size: clamp(30px, 3.8vw, 54px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
}
.h-md {
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
}
.h-sm {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
}
.h-sm--about {
  font-size: clamp(26px, 3.2vw, 46px);
}
.h-cta {
  font-size: clamp(32px, 4.6vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0;
}
.h-cta--home {
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.04;
}
.h-brochure {
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
}
.h-block {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0;
}
.h-quiet {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Statement type — the manifesto and the vision/mission pull quotes. */
.statement {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(21px, 2.5vw, 34px);
  line-height: 1.42;
  letter-spacing: -0.02em;
  margin: 0;
}
.statement--sm {
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.5;
}
.statement--band {
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.4;
}
.statement--chapter {
  font-size: clamp(30px, 4.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

/* Sub-headings inside blocks. Size and tracking are composed rather than
   fixed, because the prototype tunes them per block. Where no .ls-* is
   applied the design system's own -0.015em stands. */
.h-block-head {
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
}
.fs-26 { font-size: 26px; }
.fs-24 { font-size: 24px; }
.fs-23 { font-size: 23px; }
.fs-22 { font-size: 22px; }
.fs-18 { font-size: 18px; }
.fs-17 { font-size: 17px; }
.fs-16 { font-size: 16px; }
.ls-01 { letter-spacing: -0.01em; }
.ls-02 { letter-spacing: -0.02em; }
.ls-025 { letter-spacing: -0.025em; }

/* Placeholder name in the reserved team grid — heading face at body size. */
.name-15 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  margin: 0;
}

.stat__value {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 6px;
}
.stat__value--fleet {
  font-size: clamp(22px, 2.2vw, 30px);
  margin-bottom: 8px;
}
.stat__value--share {
  font-size: clamp(26px, 2.6vw, 38px);
  margin-bottom: 8px;
  transition: opacity 0.4s ease;
}
.stat__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
}

/* Small uppercase labels. */
.label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0;
}
.label--tight {
  letter-spacing: 0.14em;
}
.label--xs {
  font-size: 10px;
  letter-spacing: 0.2em;
}

.num {
  font-size: 11px;
  letter-spacing: 0.2em;
  margin: 0;
  color: var(--color-accent);
}
.num--on-section {
  color: var(--color-accent-300);
}

/* Body copy sizes, exactly as tuned in the prototype. */
.t-lede {
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.75;
}
.t-lede--about {
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.78;
}
.t-lede--page {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.75;
}
.t-lede--contact {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.78;
}
.t-17 {
  font-size: 17px;
  line-height: 1.6;
}
.t-16 {
  font-size: 16px;
  line-height: 1.8;
}
.t-16--tight {
  line-height: 1.65;
}
.t-155 {
  font-size: 15.5px;
  line-height: 1.8;
}
.t-15 {
  font-size: 15px;
  line-height: 1.8;
}
.t-15--tight {
  line-height: 1.6;
}
.t-145 {
  font-size: 14.5px;
  line-height: 1.8;
}
.t-14 {
  font-size: 14px;
  line-height: 1.8;
}
.t-14--78 {
  line-height: 1.78;
}
.t-14--75 {
  line-height: 1.75;
}
.t-135 {
  font-size: 13.5px;
  line-height: 1.78;
}
.t-135--7 {
  line-height: 1.7;
}
.t-135--75 {
  line-height: 1.75;
}
.t-13 {
  font-size: 13px;
  line-height: 1.75;
}
.t-125 {
  font-size: 12.5px;
  line-height: 1.7;
}
.t-12 {
  font-size: 12px;
  line-height: 1.7;
}
.t-11 {
  font-size: 11px;
  line-height: 1.7;
}
/* Sizes that keep the design system's own 1.55 leading. */
.t-13n {
  font-size: 13px;
}
.t-12n {
  font-size: 12px;
}

/* Text tone — one step of the text colour's alpha per class. */
.tx-80 { color: color-mix(in srgb, var(--color-text) 80%, transparent); }
.tx-78 { color: color-mix(in srgb, var(--color-text) 78%, transparent); }
.tx-74 { color: color-mix(in srgb, var(--color-text) 74%, transparent); }
.tx-72 { color: color-mix(in srgb, var(--color-text) 72%, transparent); }
.tx-70 { color: color-mix(in srgb, var(--color-text) 70%, transparent); }
.tx-68 { color: color-mix(in srgb, var(--color-text) 68%, transparent); }
.tx-66 { color: color-mix(in srgb, var(--color-text) 66%, transparent); }
.tx-64 { color: color-mix(in srgb, var(--color-text) 64%, transparent); }
.tx-62 { color: color-mix(in srgb, var(--color-text) 62%, transparent); }
.tx-60 { color: color-mix(in srgb, var(--color-text) 60%, transparent); }
.tx-58 { color: color-mix(in srgb, var(--color-text) 58%, transparent); }
.tx-55 { color: color-mix(in srgb, var(--color-text) 55%, transparent); }
.tx-52 { color: color-mix(in srgb, var(--color-text) 52%, transparent); }
.tx-50 { color: color-mix(in srgb, var(--color-text) 50%, transparent); }
.tx-48 { color: color-mix(in srgb, var(--color-text) 48%, transparent); }
.tx-45 { color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.tx-42 { color: color-mix(in srgb, var(--color-text) 42%, transparent); }
.tx-40 { color: color-mix(in srgb, var(--color-text) 40%, transparent); }
.tx-38 { color: color-mix(in srgb, var(--color-text) 38%, transparent); }
.tx-32 { color: color-mix(in srgb, var(--color-text) 32%, transparent); }
.tx-26 { color: color-mix(in srgb, var(--color-text) 26%, transparent); }
.tx-accent { color: var(--color-accent); }
.tx-accent-300 { color: var(--color-accent-300); }

/* Measure. */
.mw-16ch { max-width: 16ch; }
.mw-17ch { max-width: 17ch; }
.mw-18ch { max-width: 18ch; }
.mw-20ch { max-width: 20ch; }
.mw-22ch { max-width: 22ch; }
.mw-24ch { max-width: 24ch; }
.mw-26ch { max-width: 26ch; }
.mw-34ch { max-width: 34ch; }
.mw-36ch { max-width: 36ch; }
.mw-44ch { max-width: 44ch; }
.mw-48ch { max-width: 48ch; }
.mw-50ch { max-width: 50ch; }
.mw-52ch { max-width: 52ch; }
.mw-54ch { max-width: 54ch; }
.mw-56ch { max-width: 56ch; }
.mw-58ch { max-width: 58ch; }
.mw-60ch { max-width: 60ch; }
.mw-90ch { max-width: 90ch; }
.mw-96ch { max-width: 96ch; }

/* Spacing utilities. */
.mb-4 { margin-bottom: 4px; }
.mb-8 { margin-bottom: 8px; }
.mb-10 { margin-bottom: 10px; }
.mb-12 { margin-bottom: 12px; }
.mb-14 { margin-bottom: 14px; }
.mb-16 { margin-bottom: 16px; }
.mb-18 { margin-bottom: 18px; }
.mb-20 { margin-bottom: 20px; }
.mb-22 { margin-bottom: 22px; }
.mb-24 { margin-bottom: 24px; }
.mb-26 { margin-bottom: 26px; }
.mb-28 { margin-bottom: 28px; }
.mb-head { margin-bottom: clamp(40px, 5vw, 64px); }
.mb-head-lg { margin-bottom: clamp(40px, 5vw, 68px); }
.mb-head-sm { margin-bottom: clamp(36px, 4vw, 60px); }
.mb-head-xs { margin-bottom: clamp(32px, 4vw, 52px); }
.mb-head-md { margin-bottom: clamp(36px, 4vw, 56px); }
.mb-block { margin-bottom: clamp(40px, 5vw, 72px); }

.mt-6 { margin-top: 6px; }
.mt-14 { margin-top: 14px; }
.mt-18 { margin-top: 18px; }
.mt-20 { margin-top: 20px; }
.mt-22 { margin-top: 22px; }
.mt-24 { margin-top: 24px; }
.mt-26 { margin-top: 26px; }
.mt-28 { margin-top: 28px; }
.mt-30 { margin-top: 30px; }
.mt-32 { margin-top: 32px; }
.mt-34 { margin-top: 34px; }
.mt-36 { margin-top: 36px; }
.mt-38 { margin-top: 38px; }
.mt-40 { margin-top: 40px; }
.mt-space-4 { margin-top: var(--space-4); }
.mt-space-6 { margin-top: var(--space-6); }
.mt-space-8 { margin-top: var(--space-8); }
.mt-head-md { margin-top: clamp(36px, 4vw, 56px); }
.mt-head-lg { margin-top: clamp(40px, 5vw, 72px); }
.mt-block { margin-top: clamp(48px, 6vw, 88px); }
.mt-band { margin-top: clamp(32px, 4vw, 56px); }

/* --------------------------------------------------------------------------
   4. Media
   -------------------------------------------------------------------------- */

/* A framed photograph: fixed aspect, rounded, cropped. */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--4x5 { aspect-ratio: 4 / 5; }
.media--3x4 { aspect-ratio: 3 / 4; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--5x4 { aspect-ratio: 5 / 4; }
.media--16x9 { aspect-ratio: 16 / 9; }

/* A photograph filling an absolutely positioned parallax layer. The layer is
   always over-sized, so the image simply fills it. */
.fill-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Scrims. The page ground is washed back over the image so text stays legible
   and the photograph dissolves into the section below it. */
.scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.scrim--hero {
  background: linear-gradient(
    to top,
    var(--color-bg) 4%,
    color-mix(in srgb, var(--color-bg) 82%, transparent) 34%,
    color-mix(in srgb, var(--color-bg) 30%, transparent) 74%,
    color-mix(in srgb, var(--color-bg) 55%, transparent)
  );
}
.scrim--hero-side {
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--color-bg) 78%, transparent),
    color-mix(in srgb, var(--color-bg) 20%, transparent) 55%,
    transparent
  );
}
.scrim--page-hero {
  background: linear-gradient(
    to top,
    var(--color-bg) 3%,
    color-mix(in srgb, var(--color-bg) 78%, transparent) 38%,
    color-mix(in srgb, var(--color-bg) 34%, transparent)
  );
}
.scrim--page-hero-deep {
  background: linear-gradient(
    to top,
    var(--color-bg) 3%,
    color-mix(in srgb, var(--color-bg) 76%, transparent) 34%,
    color-mix(in srgb, var(--color-bg) 26%, transparent)
  );
}
.scrim--page-hero-own {
  background: linear-gradient(
    to top,
    var(--color-bg) 3%,
    color-mix(in srgb, var(--color-bg) 74%, transparent) 36%,
    color-mix(in srgb, var(--color-bg) 28%, transparent)
  );
}
.scrim--band {
  background: linear-gradient(
    to top,
    var(--color-bg),
    color-mix(in srgb, var(--color-bg) 45%, transparent) 45%,
    color-mix(in srgb, var(--color-bg) 20%, transparent)
  );
}
.scrim--band-deep {
  background: linear-gradient(
    to top,
    var(--color-bg),
    color-mix(in srgb, var(--color-bg) 40%, transparent) 50%,
    transparent
  );
}
.scrim--band-both {
  background:
    linear-gradient(to top, var(--color-bg), transparent 55%),
    linear-gradient(to bottom, var(--color-bg), transparent 40%);
}
.scrim--chapter {
  background: linear-gradient(
    to bottom,
    var(--color-bg),
    color-mix(in srgb, var(--color-bg) 42%, transparent) 22%,
    color-mix(in srgb, var(--color-bg) 42%, transparent) 78%,
    var(--color-bg)
  );
}
.scrim--tile {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--color-bg) 92%, transparent),
    transparent 58%
  );
}

/* Full-bleed drifting image band. */
.band {
  position: relative;
  overflow: hidden;
}
.band__frame {
  position: relative;
  overflow: hidden;
  height: clamp(420px, 58vw, 700px);
}
.band__frame--md {
  height: clamp(380px, 52vw, 620px);
}
.band__frame--sm {
  height: clamp(320px, 44vw, 560px);
}
/* The drifting layer is over-sized so the translate never exposes an edge. */
.band__layer {
  position: absolute;
  inset: -9% 0;
}
.band__caption {
  position: absolute;
  inset: auto 0 0;
  padding: 0 clamp(18px, 4vw, 56px) clamp(36px, 4vw, 56px);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   5. Motion
   -------------------------------------------------------------------------- */

/* Scroll reveal. The initial state is only applied when scripting is on, so
   the page stays fully readable without JavaScript. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 1.05s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}
.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@keyframes scroll-cue {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translateY(16px);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
}

.site-nav {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
  row-gap: 10px;
  align-items: center;
  gap: clamp(18px, 2.6vw, 38px);
  padding: 16px clamp(18px, 4vw, 56px);
  background: color-mix(in srgb, var(--color-bg) 82%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: color-mix(in srgb, var(--color-text) 72%, transparent);
  background-image: linear-gradient(
    to right,
    transparent,
    var(--color-divider) 48px,
    var(--color-divider) calc(100% - 48px),
    transparent
  );
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 1px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--color-text);
  margin-right: auto;
}
.brand svg {
  display: block;
  flex: none;
}
.brand__word {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.26em;
}
.brand:hover {
  color: var(--color-text);
}

.site-nav__link {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.3s ease;
  color: color-mix(in srgb, var(--color-text) 72%, transparent);
}
.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  color: var(--color-accent);
}

/* Decorative language switch — FR/ES are not yet translated. */
.lang {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: clamp(6px, 1.4vw, 18px);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: color-mix(in srgb, var(--color-text) 40%, transparent);
}
.lang__current {
  color: var(--color-text);
}
.lang__sep {
  opacity: 0.4;
}
/* The other two locales are links; they must not pick up the design system's
   default anchor colour. */
.lang__opt {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
.lang__opt:hover,
.lang__opt:focus-visible {
  color: color-mix(in srgb, var(--color-text) 80%, transparent);
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-nav__actions .btn {
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 9px 15px;
  border-radius: var(--radius-md);
  white-space: nowrap;
}
.site-nav__actions .btn-primary {
  padding: 9px 16px;
}

/* --------------------------------------------------------------------------
   7. Footer
   -------------------------------------------------------------------------- */

.footer {
  width: 100%;
  box-sizing: border-box;
  padding: clamp(56px, 7vw, 100px) clamp(18px, 4vw, 56px) 40px;
  background: var(--color-bg);
  background-image: linear-gradient(
    to right,
    transparent,
    var(--color-divider) 48px,
    var(--color-divider) calc(100% - 48px),
    transparent
  );
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100% 1px;
}
.footer__grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(32px, 4vw, 64px);
}
.footer__brand {
  grid-column: span 2;
  min-width: 240px;
}
.footer__mark {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
}
.footer__place {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer__heading {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 16px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer__link {
  font-size: 14px;
  text-decoration: none;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
  transition: color 0.3s ease;
}
.footer__link:hover {
  color: var(--color-text);
}
.footer__rule {
  margin: 0 0 24px;
}
.footer__base {
  max-width: 1240px;
  margin: clamp(48px, 6vw, 80px) auto 0;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  align-items: center;
  margin-top: 22px;
}
.footer__copy {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: color-mix(in srgb, var(--color-text) 34%, transparent);
  margin: 0;
  margin-right: auto;
}
.footer__legal-link {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: color-mix(in srgb, var(--color-text) 40%, transparent);
  transition: color 0.3s ease;
}
.footer__legal-link:hover {
  color: var(--color-text);
}

/* --------------------------------------------------------------------------
   8. Buttons — sizing on top of the design system's variants
   -------------------------------------------------------------------------- */

.btn--lg {
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 14px 26px;
  white-space: nowrap;
}
.btn--md {
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 13px 24px;
  white-space: nowrap;
}
.btn--sm {
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 13px 22px;
  white-space: nowrap;
}
.btn--xs {
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 12px 20px;
  white-space: nowrap;
}
.btn--link {
  font-size: 13px;
  letter-spacing: 0.06em;
}
.btn--inline {
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 14px 8px;
  white-space: nowrap;
}
.btn--start {
  align-self: flex-start;
}
.btn--brochure {
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 13px 20px;
}
.btn--own-alt {
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 14px 22px;
  white-space: nowrap;
}
/* The primary action sitting on the saturated section ground needs a lighter
   step of the accent ramp to stay legible. */
.btn--on-section {
  color: var(--color-accent-200);
  border-color: var(--color-accent-300);
}

/* --------------------------------------------------------------------------
   9. Hero — home
   -------------------------------------------------------------------------- */

/* The scene is two and a bit viewports tall; the sticky child stays put while
   parallax.js drives the image, the copy and the scroll cue off it. */
.hero {
  position: relative;
  height: min(210vh, 2000px);
}
.hero__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__layer {
  position: absolute;
  inset: -6% 0;
  z-index: 0;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 56px) clamp(56px, 7vw, 96px);
  box-sizing: border-box;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-top: clamp(44px, 5vw, 72px);
  padding-top: 22px;
}
.hero__meta span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
}
.hero__cue {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 4vw, 56px);
  bottom: clamp(56px, 7vw, 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero__cue-label {
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 45%, transparent);
}
.hero__cue-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--color-accent), transparent);
  animation: scroll-cue 2.6s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero__cue-line {
    animation: none;
  }
}

/* Inner-page heroes: a single screen, image drifting behind the title. */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  min-height: min(72vh, 760px);
}
.page-hero--tall {
  min-height: min(84vh, 860px);
}
.page-hero--own {
  min-height: min(82vh, 840px);
}
.page-hero__layer {
  position: absolute;
  inset: -8% 0;
  z-index: 0;
}
.page-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 56px) clamp(48px, 6vw, 84px);
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   10. Chapter scene — home
   -------------------------------------------------------------------------- */

/* Three statements cross-fade over one pinned aerial across three screens. */
.chapter {
  position: relative;
  height: min(300vh, 3000px);
}
.chapter__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 520px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.chapter__layer {
  position: absolute;
  inset: -5% 0;
  z-index: 0;
}
.chapter__lines {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  max-width: 1240px;
  padding: 0 clamp(18px, 4vw, 56px);
  box-sizing: border-box;
}
.chapter__line {
  grid-area: 1 / 1;
}
.chapter__line .eyebrow {
  --eyebrow-mb: 22px;
}

/* --------------------------------------------------------------------------
   11. Shared section grounds
   -------------------------------------------------------------------------- */

/* The one saturated field on the page — Nocturne's "presence" ground. */
.section-ground {
  background: var(--color-section);
  background-image: radial-gradient(
    120% 90% at 12% 0%,
    var(--color-section-glow),
    transparent 62%
  );
  padding: clamp(72px, 9vw, 140px) clamp(18px, 4vw, 56px);
}
.section-ground--right {
  background-image: radial-gradient(
    120% 90% at 88% 0%,
    var(--color-section-glow),
    transparent 62%
  );
}
.ground-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.surface-ground {
  background: var(--color-surface);
  padding: clamp(64px, 8vw, 120px) clamp(18px, 4vw, 56px);
}
.surface-ground--lg {
  padding: clamp(72px, 9vw, 140px) clamp(18px, 4vw, 56px);
}

/* Closing call to action: an accent bloom rising out of one corner. */
.cta {
  position: relative;
  overflow: hidden;
}
.cta__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    80% 120% at 78% 110%,
    var(--color-accent-900),
    transparent 70%
  );
}
.cta__glow--left {
  background: radial-gradient(
    80% 120% at 20% 110%,
    var(--color-accent-900),
    transparent 70%
  );
}
.cta__glow--left-near {
  background: radial-gradient(
    80% 120% at 22% 110%,
    var(--color-accent-900),
    transparent 70%
  );
}
.cta__glow--right {
  background: radial-gradient(
    80% 120% at 80% 110%,
    var(--color-accent-900),
    transparent 70%
  );
}
.cta__body {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(80px, 10vw, 160px) clamp(18px, 4vw, 56px);
  box-sizing: border-box;
}
.cta__body--sm {
  padding: clamp(72px, 9vw, 140px) clamp(18px, 4vw, 56px);
}

/* --------------------------------------------------------------------------
   12. Blocks
   -------------------------------------------------------------------------- */

/* Numbered differentiator column, ruled at the top. */
.pillar {
  padding-top: 26px;
}
.pillar__num {
  margin-bottom: 18px;
}

/* Ruled principle column (shorter rule inset). */
.principle {
  padding-top: 22px;
}

/* Hairline cell padding scales. */
.cell {
  padding: clamp(26px, 3vw, 40px) clamp(22px, 2.4vw, 36px);
}
.cell--sm {
  padding: 22px 20px;
}
.cell--md {
  padding: clamp(24px, 2.8vw, 36px) clamp(20px, 2.2vw, 30px);
}
.cell--lg {
  padding: clamp(24px, 2.8vw, 38px) clamp(20px, 2.2vw, 30px);
}
.cell--stat {
  padding: 24px 20px;
}
.cell--share {
  padding: 26px 22px;
}
.cell--format {
  padding: clamp(28px, 3vw, 44px) clamp(24px, 2.6vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* The "something not listed?" cell centres its copy against the format cells
   beside it, which are top-aligned. */
.cell--format-cta {
  justify-content: center;
}
.cell--journey {
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cell--flush {
  padding: 22px 4px;
}
.cell--flush-lg {
  padding: 20px 4px;
}
.cell--person {
  padding: 22px 18px;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}

/* Experience tiles on the home page — image with copy laid into its foot. */
.tile {
  text-decoration: none;
  color: inherit;
  display: block;
}
.tile__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.tile__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tile__copy {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  pointer-events: none;
}

/* The fleet block: the copy climbs back over the foot of its image band. */
.fleet-block__body {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 56px);
  margin-top: clamp(-140px, -11vw, -70px);
  box-sizing: border-box;
}

/* Service cards. */
.service-card {
  padding: clamp(24px, 3vw, 40px);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.span-row-2 {
  grid-row: span 2;
}

/* Timeline of the day. */
.timeline__step {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: clamp(16px, 2vw, 32px);
  padding: 24px 0;
}
.timeline__time {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  margin: 0;
  padding-top: 3px;
}

/* Ownership teaser list on the saturated ground. The separators are drawn as
   borders rather than as gaps over a tinted parent, so the section's radial
   glow keeps showing through the column. */
.teaser-list {
  display: flex;
  flex-direction: column;
}
.teaser-list > div + div {
  border-top: 1px solid color-mix(in srgb, var(--color-text) 14%, transparent);
}
.teaser__note {
  margin: 14px 4px 0;
}

/* Reserved testimonial block — an accent mark rather than a filled quote. */
.reserved-quote {
  border-left: 1px solid var(--color-accent);
  padding: 6px 0 6px 22px;
}
.logo-slot {
  height: 64px;
  display: grid;
  place-items: center;
  font-size: 10px;
  letter-spacing: 0.16em;
}

/* FAQ. */
.faq__item {
  padding: 22px 0;
}
.faq__q {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
}
.faq__q::-webkit-details-marker {
  display: none;
}
.faq__sign {
  color: var(--color-accent);
  font-size: 14px;
  flex: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq__item[open] .faq__sign {
  transform: rotate(45deg);
}
.faq__a {
  font-size: 14px;
  line-height: 1.8;
  color: color-mix(in srgb, var(--color-text) 64%, transparent);
  margin: 14px 0 0;
  max-width: 62ch;
}
@media (prefers-reduced-motion: reduce) {
  .faq__sign {
    transition: none;
  }
}

/* Fleet roadmap rows. */
.roadmap__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: baseline;
  padding: 22px 4px;
}
.roadmap__name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  flex: 1;
  min-width: 180px;
}

/* Deck plans go through the design system's .lighten wrapper. */
.plan {
  width: 100%;
  border-radius: var(--radius-md);
}
.plan-caption {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   13. Forms
   -------------------------------------------------------------------------- */

.form-card {
  min-width: 300px;
  padding: clamp(26px, 3vw, 40px);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.field-grid {
  display: grid;
  gap: var(--space-6);
}
.field-grid--190 {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: var(--space-4);
}
.field-grid--200 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.field-grid--210 {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
select.input {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 16px) calc(50% + 1px),
    calc(100% - 11px) calc(50% + 1px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 30px;
}
.consent {
  position: relative;
  align-items: flex-start;
  font-size: 12.5px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
}
/* The design system collapses .radio inputs to 0×0. That is fine for a
   decorative radio, but a *required* checkbox collapsed to nothing is not
   focusable, so the browser refuses to submit and shows no message at all —
   the user clicks and nothing happens. Give it real dimensions behind the
   dot: still invisible, still click-through, but reportValidity() can now
   anchor its bubble to it. */
.consent input[type="checkbox"] {
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  opacity: 0;
  pointer-events: none;
}
.consent .dot {
  margin-top: 2px;
}
/* The checkbox reuses the radio dot; square it off so it does not read as a
   radio button. */
.consent .dot {
  border-radius: var(--radius-sm);
}
.seg--wrap {
  flex-wrap: wrap;
  overflow: visible;
}
.seg--tabs {
  margin-bottom: clamp(28px, 3vw, 44px);
}
.seg-opt--nowrap {
  white-space: nowrap;
}
.seg-opt--tab {
  padding: 11px 18px;
  font-size: 13px;
  white-space: nowrap;
}
[hidden] {
  display: none !important;
}
.mb-form {
  margin-bottom: clamp(24px, 3vw, 36px);
}
.form-note {
  font-size: 11px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--color-text) 40%, transparent);
  margin: 16px 0 0;
  max-width: 62ch;
}

/* Submission feedback. This is a mono-accent system with no error colour to
   draw on, so the failed state is marked structurally — a rule and
   full-strength text — rather than with an invented red. */
.form-status {
  font-size: 13.5px;
  line-height: 1.7;
  margin: 18px 0 0;
  max-width: 62ch;
}
.form-status--ok {
  color: var(--color-accent-300);
}
.form-status--error {
  color: var(--color-text);
  border-left: 1px solid var(--color-neutral-400);
  padding-left: 14px;
}

/* Honeypot: off-screen rather than display:none, so a bot still fills it. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-aside {
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 40px);
}
.contact-card {
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.contact-card__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-card__value {
  font-size: 15px;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   14. Legal pages
   -------------------------------------------------------------------------- */

.legal {
  max-width: 74ch;
}
.legal h2 {
  font-size: clamp(19px, 1.9vw, 24px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: clamp(40px, 5vw, 60px) 0 14px;
  padding-top: 26px;
  background-image: linear-gradient(
    to right,
    var(--color-divider),
    var(--color-divider) calc(100% - 48px),
    transparent
  );
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100% 1px;
}
.legal h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 26px 0 8px;
}
.legal p {
  font-size: 15px;
  line-height: 1.85;
  color: color-mix(in srgb, var(--color-text) 68%, transparent);
  margin: 0 0 14px;
}
.legal ul {
  margin: 0 0 14px;
  padding-left: 20px;
}
.legal li {
  font-size: 15px;
  line-height: 1.85;
  color: color-mix(in srgb, var(--color-text) 68%, transparent);
  margin-bottom: 7px;
}
.legal li::marker {
  color: var(--color-accent);
}
.legal a {
  color: var(--color-accent-300);
  text-decoration: underline;
}

/* Facts only SolarCove can supply. Deliberately loud: these pages must not go
   live with any of them still showing. */
.todo {
  background: var(--color-accent-800);
  color: var(--color-accent-100);
  padding: 1px 7px;
  border-radius: var(--radius-sm);
  font-size: 0.92em;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.draft-notice {
  margin: 0 0 clamp(32px, 4vw, 48px);
  padding: 18px 22px;
  border-left: 2px solid var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 8%, transparent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.draft-notice p {
  font-size: 13.5px;
  line-height: 1.75;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
  margin: 0;
}
.legal__updated {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 42%, transparent);
  margin: 0 0 clamp(28px, 3vw, 40px);
}

/* --------------------------------------------------------------------------
   15. Utility odds and ends
   -------------------------------------------------------------------------- */

.stack-16 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.overflow-x {
  overflow-x: auto;
}
.table--formats {
  min-width: 720px;
}
.table--compare {
  min-width: 760px;
}
.table--compare thead tr > *:first-child {
  width: 26%;
}
.table__row-head {
  font-family: var(--font-heading);
}
.table__col-ours {
  color: var(--color-accent);
}
.flex-1 {
  flex: 1;
}
.span-2 {
  grid-column: span 2;
}
.min-260 {
  min-width: 260px;
}
.min-300 {
  min-width: 300px;
}
.baseline-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.seg-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: clamp(28px, 3vw, 44px);
}
