/* ============================================================
   JAUNT — COMPONENTS
   Hero variants, sections, buttons, cards, spec tables,
   accordions, media blocks, placeholders, CTA bands, quotes.
   ============================================================ */

/* ---------- TYPOGRAPHY HELPERS ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
}

.eyebrow--on-dark { color: var(--accent-glow); }
.eyebrow--muted   { color: var(--text-dim); }

.section-heading {
  font-family: var(--font-serif);
  font-size: var(--t2);
  line-height: var(--leading-tight);
  font-weight: 400;
  margin-bottom: var(--s5);
}

.section-heading em { font-style: italic; color: var(--accent-deep); }

.section-intro {
  font-size: var(--t5);
  color: var(--text-mid);
  line-height: var(--leading-loose);
  max-width: 56ch;
  margin-bottom: var(--s7);
}

/* ---------- SECTION ---------- */
.section {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
  position: relative;
}

.section--cream  { background: var(--bg-cream); }
.section--warm   { background: var(--bg-warm); }
.section--dark   { background: var(--bg-dark); color: var(--text-on-dark); }
.section--deep   { background: var(--bg-deep); color: var(--text-on-dark); }
.section--tight  { padding-top: var(--s8); padding-bottom: var(--s8); }

.section--dark .section-heading,
.section--deep .section-heading { color: var(--text-on-dark); }

.section--dark .section-heading em,
.section--deep .section-heading em { color: var(--accent-glow); }

.section--dark .section-intro,
.section--deep .section-intro { color: var(--text-on-dark-mid); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-out-soft),
              color var(--dur-base) var(--ease-out-soft),
              border-color var(--dur-base) var(--ease-out-soft),
              transform var(--dur-base) var(--ease-out-soft);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-glow);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(74, 109, 92, 0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--hairline);
}

.btn--ghost:hover {
  border-color: var(--text);
  background: rgba(28, 30, 27, 0.04);
}

.btn--inverse {
  background: #fff;
  color: var(--text);
}

.btn--inverse:hover {
  background: var(--bg-cream);
  transform: translateY(-1px);
}

.btn--text {
  padding: 8px 0;
  background: transparent;
  color: var(--accent-deep);
  border: none;
  border-radius: 0;
  position: relative;
}

.btn--text::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(1);
  transition: transform var(--dur-base) var(--ease-out-soft);
}

.btn--text:hover::after {
  transform-origin: left;
  transform: scaleX(1);
}

.btn--text .arrow {
  transition: transform var(--dur-base) var(--ease-out-soft);
}

.btn--text:hover .arrow {
  transform: translateX(4px);
}

/* ---------- HERO VARIANTS ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

/* Full-bleed video / image hero */
.hero--video,
.hero--still {
  min-height: 100vh;
  color: #fff;
  background: var(--bg-deep);
  padding: var(--s10) 0 var(--s9);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(15, 22, 18, 0.55) 0%,
      rgba(15, 22, 18, 0.20) 30%,
      rgba(15, 22, 18, 0.20) 60%,
      rgba(15, 22, 18, 0.85) 100%);
  pointer-events: none;
}

.hero__noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-glow);
  margin-bottom: var(--s5);
  opacity: 0;
  animation: fadeUp 0.8s 0.2s var(--ease-out-soft) forwards;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: var(--t1);
  font-weight: 400;
  line-height: var(--leading-tight);
  max-width: 18ch;
  margin-bottom: var(--s5);
  color: #fff;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s var(--ease-out-soft) forwards;
}

.hero__title em {
  font-style: italic;
  color: var(--accent-glow);
}

.hero__sub {
  font-size: var(--t5);
  font-weight: 300;
  line-height: var(--leading-loose);
  color: rgba(255, 255, 255, 0.62);
  max-width: 52ch;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s var(--ease-out-soft) forwards;
}

.hero__stats {
  display: flex;
  gap: var(--s8);
  margin-top: var(--s8);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s var(--ease-out-soft) forwards;
}

.hero__stat-value {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  color: #fff;
}

.hero__stat-label {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-top: var(--s2);
}

.hero__scroll {
  position: absolute;
  bottom: var(--s7);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2.4s var(--ease-in-out) infinite;
}

/* Studio (cream backdrop) hero — for vehicle pages */
.hero--studio {
  min-height: 92vh;
  background: var(--bg-cream);
  color: var(--text);
  padding: calc(var(--nav-height) + var(--s9)) 0 var(--s9);
  display: grid;
  align-items: center;
}

.hero--studio .hero__content {
  display: grid;
  gap: var(--s8);
  align-items: center;
}

@media (min-width: 901px) {
  .hero--studio .hero__content {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.hero--studio .hero__copy {
  max-width: 460px;
}

.hero--studio .hero__eyebrow { color: var(--accent); animation: none; opacity: 1; }
.hero--studio .hero__title   {
  color: var(--text);
  animation: none;
  opacity: 1;
  font-size: clamp(40px, 5vw, 72px);
  max-width: none;
}
.hero--studio .hero__sub     { color: var(--text-mid); animation: none; opacity: 1; max-width: none; }

.hero--studio .hero__title em { color: var(--accent-deep); }

.hero--studio .hero__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
}

.hero--studio .hero__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Editorial cream hero — type-led, auto height so the photo below stays in view */
.hero--editorial {
  background: var(--bg-cream);
  color: var(--text);
  padding: calc(var(--nav-height) + var(--s8)) 0 var(--s7);
  text-align: left;
}

.hero--editorial .hero__content { max-width: var(--max-content); }

.hero--editorial .hero__eyebrow { color: var(--accent); animation: none; opacity: 1; }
.hero--editorial .hero__title   {
  color: var(--text);
  animation: none;
  opacity: 1;
  font-size: clamp(40px, 5vw, 72px);
  max-width: 24ch;
}
.hero--editorial .hero__sub     { color: var(--text-mid); animation: none; opacity: 1; max-width: 48ch; }

/* Minimal hero — utility pages */
.hero--minimal {
  background: var(--bg);
  padding: calc(var(--nav-height) + var(--s9)) 0 var(--s8);
  text-align: center;
}

.hero--minimal .hero__content { max-width: 720px; text-align: center; }
.hero--minimal .hero__eyebrow,
.hero--minimal .hero__title,
.hero--minimal .hero__sub {
  margin-left: auto; margin-right: auto;
  color: var(--text);
  animation: none; opacity: 1;
}
.hero--minimal .hero__sub { color: var(--text-mid); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) scaleY(1); }
  50%      { opacity: 0.9; transform: translateX(-50%) scaleY(1.15); }
}

/* ---------- CARDS ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out-soft),
              box-shadow var(--dur-base) var(--ease-out-soft);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

/* Vehicle card (used on hub + cross-sell + flyout) */
.card--vehicle {
  display: block;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.card--vehicle .card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-cream);
  margin-bottom: var(--s4);
}

.card--vehicle .card__media img,
.card--vehicle .card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out-soft);
}

.card--vehicle:hover .card__media img,
.card--vehicle:hover .card__media video {
  transform: scale(1.04);
}

.card--vehicle .card__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: var(--s2);
}

.card--vehicle .card__name {
  font-family: var(--font-serif);
  font-size: 28px;
  margin-bottom: var(--s2);
}

.card--vehicle .card__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mid);
}

/* Story card (Journal listing) */
.card--story {
  display: block;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.card--story .card__media {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-cream);
  margin-bottom: var(--s5);
}

.card--story .card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out-soft);
}

.card--story:hover .card__media img { transform: scale(1.04); }

.card--story .card__kicker {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s3);
}

.card--story .card__headline {
  font-family: var(--font-serif);
  font-size: var(--t4);
  line-height: var(--leading-snug);
  margin-bottom: var(--s3);
}

.card--story .card__excerpt {
  font-size: 15px;
  color: var(--text-mid);
  line-height: var(--leading-body);
  margin-bottom: var(--s4);
}

.card--story .card__meta {
  display: flex;
  gap: var(--s4);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

.card--story.card--feature .card__media { aspect-ratio: 16 / 9; }
.card--story.card--feature .card__headline { font-size: var(--t3); }

/* Spec card (numeric) */
.card--spec {
  background: var(--bg-cream-soft);
  border: 1px solid var(--hairline-light);
  padding: var(--s6);
  border-radius: var(--radius);
  text-align: left;
}

.card--spec .card__value {
  font-family: var(--font-mono);
  font-size: var(--t-mono-stat);
  font-weight: 500;
  color: var(--text);
  margin-bottom: var(--s2);
}

.card--spec .card__label {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- GRIDS ---------- */
.grid {
  display: grid;
  gap: var(--s5);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.grid--vehicles {
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s7) var(--s6);
}

@media (max-width: 1100px) {
  .grid--3, .grid--4, .grid--vehicles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .grid--2, .grid--3, .grid--4, .grid--vehicles { grid-template-columns: 1fr; }
}

/* ---------- FEATURE PAIR (alternating image / text) ---------- */
.feature-pair {
  display: grid;
  gap: var(--s8);
  align-items: center;
  margin-bottom: var(--section-pad-y);
}

@media (min-width: 901px) {
  .feature-pair { grid-template-columns: 1fr 1fr; }
  .feature-pair--image-right { direction: rtl; }
  .feature-pair--image-right > * { direction: ltr; }
}

.feature-pair__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-cream);
}

.feature-pair__media img,
.feature-pair__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-pair__copy {
  padding: 0 var(--s4);
  max-width: 44ch;
}

.feature-pair__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s4);
}

.feature-pair__heading {
  font-family: var(--font-serif);
  font-size: var(--t3);
  font-weight: 400;
  line-height: var(--leading-tight);
  margin-bottom: var(--s4);
}

.feature-pair__body {
  font-size: 17px;
  color: var(--text-mid);
  line-height: var(--leading-loose);
}

.feature-pair__body p + p { margin-top: var(--s4); }

/* ---------- VIDEO BAND (full-bleed punctuation) ---------- */
.video-band {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 420px;
  max-height: 760px;
  overflow: hidden;
  background: var(--bg-deep);
}

.video-band video,
.video-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-band__caption {
  position: absolute;
  bottom: var(--s8);
  left: 0; right: 0;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 32px);
  line-height: var(--leading-snug);
  color: rgba(255, 255, 255, 0.92);
  max-width: 22ch;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

/* ---------- SPEC TABLE ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
}

.spec-table tr {
  border-top: 1px solid var(--hairline);
}

.spec-table tr:last-child {
  border-bottom: 1px solid var(--hairline);
}

.spec-table th,
.spec-table td {
  padding: var(--s4) var(--s2);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
}

.spec-table th {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  width: 40%;
}

.spec-table td {
  font-family: var(--font-mono);
  color: var(--text);
}

/* ---------- ACCORDION ---------- */
.accordion {
  border-top: 1px solid var(--hairline);
}

.accordion__item {
  border-bottom: 1px solid var(--hairline);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  padding: var(--s5) 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-serif);
  font-size: var(--t4);
  font-weight: 400;
  color: var(--text);
  transition: color var(--dur-base) var(--ease-out-soft);
}

.accordion__trigger:hover { color: var(--accent-deep); }

.accordion__icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  position: relative;
  transition: transform var(--dur-base) var(--ease-out-soft);
}

.accordion__icon::before,
.accordion__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--text);
  transition: transform var(--dur-base) var(--ease-out-soft);
}

.accordion__icon::before { width: 14px; height: 1px; transform: translate(-50%, -50%); }
.accordion__icon::after  { width: 1px; height: 14px; transform: translate(-50%, -50%); }

.accordion__item.is-open .accordion__icon::after { transform: translate(-50%, -50%) scaleY(0); }

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-base) var(--ease-out-soft);
}

.accordion__item.is-open .accordion__panel { max-height: 800px; }

.accordion__body {
  padding: 0 0 var(--s6);
  font-size: 16px;
  color: var(--text-mid);
  line-height: var(--leading-loose);
  max-width: 64ch;
}

/* ---------- MEDIA BLOCK + PLACEHOLDERS ---------- */
.media-block {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-cream);
}

.media-block--full {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.media-block--studio {
  background: var(--bg-cream);
  aspect-ratio: 16 / 11;
}

.media-block--studio img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.media-block img,
.media-block video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-block__caption {
  margin-top: var(--s3);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

/* The intentional placeholder — designed empty state */
.media-placeholder {
  position: relative;
  background: var(--bg-cream);
  border: 1.5px dashed rgba(74, 109, 92, 0.35);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--s4);
  padding: var(--s8) var(--s7);
  min-height: 280px;
  text-align: center;
}

.media-placeholder--studio  { aspect-ratio: 16 / 11; }
.media-placeholder--video   { aspect-ratio: 16 / 9; }
.media-placeholder--square  { aspect-ratio: 1 / 1; }
.media-placeholder--portrait { aspect-ratio: 3 / 4; }

.media-placeholder__icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(74, 109, 92, 0.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}

.media-placeholder__icon svg { width: 18px; height: 18px; }

.media-placeholder__kind {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.media-placeholder__label {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--text);
  max-width: 32ch;
  line-height: var(--leading-snug);
}

.media-placeholder__note {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-mid);
  max-width: 44ch;
  line-height: var(--leading-body);
}

/* Variant for dark sections */
.media-placeholder--dark {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(107, 155, 128, 0.4);
}

.media-placeholder--dark .media-placeholder__label { color: var(--text-on-dark); }
.media-placeholder--dark .media-placeholder__note  { color: var(--text-on-dark-mid); }
.media-placeholder--dark .media-placeholder__kind  { color: var(--accent-glow); }
.media-placeholder--dark .media-placeholder__icon  { border-color: rgba(107, 155, 128, 0.5); color: var(--accent-glow); }

/* ---------- QUOTE BAND ---------- */
.quote-band {
  background: var(--bg-dark);
  color: #fff;
  padding: var(--s10) 0;
  position: relative;
  overflow: hidden;
}

.quote-band::before {
  content: '\201C';
  position: absolute;
  top: -40px;
  left: var(--gutter);
  font-family: var(--font-serif);
  font-size: 320px;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
}

.quote-band__inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.quote-band__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(22px, 2.8vw, 36px);
  line-height: var(--leading-snug);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: var(--s5);
}

.quote-band__attr {
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.42);
}

/* ---------- METRIC STRIP ---------- */
.metric-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  background: var(--border-light);
  gap: 1px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: var(--s7) 0;
}

.metric-strip__item {
  background: var(--bg-card);
  padding: var(--s6);
}

.metric-strip__value {
  font-family: var(--font-mono);
  font-size: var(--t-mono-stat);
  font-weight: 500;
  color: var(--text);
  line-height: 1;
}

.metric-strip__label {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: var(--s3);
}

.metric-strip__note {
  font-size: 13px;
  color: var(--text-mid);
  margin-top: var(--s2);
  line-height: var(--leading-body);
}

/* ---------- PROOF STRIP ---------- */
.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s7);
  align-items: center;
  padding: var(--s6) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.proof-strip__item {
  display: flex;
  align-items: baseline;
  gap: var(--s3);
}

.proof-strip__num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 500;
  color: var(--accent-deep);
}

.proof-strip__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-dim);
}

/* ---------- TAG ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tag--green { background: var(--accent-light); color: var(--accent-deep); }
.tag--amber { background: var(--amber-light); color: var(--amber); }
.tag--blue  { background: var(--blue-light); color: var(--blue); }
.tag--dark  { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.78); }

/* ---------- CTA BAND ---------- */
.cta-band {
  background: var(--bg-dark);
  color: #fff;
  padding: var(--section-pad-y) 0;
  text-align: center;
}

.cta-band__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.cta-band__heading {
  font-family: var(--font-serif);
  font-size: var(--t2);
  font-weight: 400;
  line-height: var(--leading-tight);
  color: #fff;
  margin-bottom: var(--s5);
}

.cta-band__heading em { font-style: italic; color: var(--accent-glow); }

.cta-band__sub {
  font-size: var(--t5);
  color: rgba(255, 255, 255, 0.56);
  line-height: var(--leading-loose);
  max-width: 48ch;
  margin: 0 auto var(--s6);
}

/* ---------- VEHICLE SCROLL ROW ---------- */
.vehicle-row {
  margin-top: var(--s7);
}

.vehicle-row__track {
  display: grid;
  grid-template-columns: repeat(6, minmax(280px, 1fr));
  gap: var(--s5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--s5);
  -webkit-overflow-scrolling: touch;
}

.vehicle-row__track::-webkit-scrollbar { height: 4px; }
.vehicle-row__track::-webkit-scrollbar-track { background: var(--border-light); }
.vehicle-row__track::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

.vehicle-row .card--vehicle { scroll-snap-align: start; }

@media (min-width: 1100px) {
  .vehicle-row__track { overflow: visible; padding-bottom: 0; }
}

/* ============================================================
   VEHICLE LAYOUT — sticky side TOC + content
   ============================================================ */
.vehicle-layout {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: var(--s10) var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s8);
}

@media (min-width: 1100px) {
  .vehicle-layout { grid-template-columns: 200px 1fr; gap: var(--s9); }
}

.vehicle-toc {
  display: none;
}

@media (min-width: 1100px) {
  .vehicle-toc {
    display: block;
    position: sticky;
    top: calc(var(--nav-height) + var(--s7));
    align-self: start;
    padding-right: var(--s4);
    max-height: calc(100vh - var(--nav-height) - var(--s9));
    overflow-y: auto;
  }
}

.vehicle-toc__title {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: var(--s5);
  padding-bottom: var(--s4);
  border-bottom: 1px solid var(--hairline);
}

.vehicle-toc__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.vehicle-toc__link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 4px 0 4px var(--s4);
  border-left: 1px solid var(--hairline);
  display: block;
  transition: color var(--dur-base) var(--ease-out-soft),
              border-left-color var(--dur-base) var(--ease-out-soft);
}

.vehicle-toc__link:hover {
  color: var(--text);
  border-left-color: var(--text);
}

.vehicle-toc__link.is-active {
  color: var(--accent-deep);
  border-left-color: var(--accent);
}

.vehicle-content > section + section {
  margin-top: var(--s10);
}

/* When system-rows live inside vehicle-content, drop their max-width and gutter
   because the parent already applies them. */
.vehicle-content .system-rows .system-row {
  max-width: none;
  padding: 0;
}

/* ============================================================
   PHOTO REVEAL — full-bleed centerpiece for vehicle imagery
   The image bleeds to the viewport edges. No constraint.
   ============================================================ */
.photo-reveal {
  background: var(--bg-cream);
  padding: 0;
  text-align: center;
  position: relative;
}

.photo-reveal__image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
}

/* Variant for raw images without a baked-in gradient: fade bottom into next-section cream */
.photo-reveal--blend-down {
  position: relative;
}
.photo-reveal--blend-down::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 25%;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-cream) 100%);
  pointer-events: none;
}
.photo-reveal--blend-down.photo-reveal--blend-warm::after {
  background: linear-gradient(to bottom, transparent 0%, var(--bg-warm) 100%);
}

/* Same trick at the top for incoming sections */
.photo-reveal--blend-up::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 25%;
  background: linear-gradient(to top, transparent 0%, var(--bg-cream) 100%);
  pointer-events: none;
}

.photo-reveal__caption {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: var(--s5);
}

.photo-reveal__line {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(28px, 4vw, 56px);
  line-height: var(--leading-snug);
  color: var(--accent-deep);
  max-width: 22ch;
  margin: var(--s6) auto 0;
}

/* ============================================================
   MANIFESTO BAND — single big italic sentence, full-bleed
   ============================================================ */
.manifesto-band {
  padding: var(--s10) var(--gutter);
  text-align: center;
  background: var(--bg);
}

.manifesto-band--dark  { background: var(--bg-dark); color: var(--text-on-dark); }
.manifesto-band--cream { background: var(--bg-cream); }

.manifesto-band__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(36px, 5vw, 72px);
  line-height: var(--leading-tight);
  max-width: 22ch;
  margin: 0 auto;
  font-weight: 400;
}

.manifesto-band__text em { font-style: italic; color: var(--accent-deep); }
.manifesto-band--dark .manifesto-band__text em { color: var(--accent-glow); }

.manifesto-band__attr {
  display: block;
  margin-top: var(--s5);
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.manifesto-band--dark .manifesto-band__attr { color: var(--text-on-dark-dim); }

/* ============================================================
   SYSTEM SPREAD — full-bleed cinematic, alternating bg colours,
   big imagery, tight 4-word headlines + 1 line. R2 / Luce rhythm.
   ============================================================ */
.system-spread {
  width: 100%;
  display: grid;
  align-items: center;
  padding: clamp(96px, 14vw, 200px) 0;
  position: relative;
  overflow: hidden;
}

.system-spread--cream  { background: var(--bg-cream); color: var(--text); }
.system-spread--warm   { background: var(--bg-warm); color: var(--text); }
.system-spread--dark   { background: var(--bg-dark); color: var(--text-on-dark); }
.system-spread--deep   { background: var(--bg-deep); color: var(--text-on-dark); }
.system-spread--accent { background: var(--accent); color: #fff; }

.system-spread__inner {
  display: grid;
  gap: var(--s8);
  align-items: center;
  width: 100%;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (min-width: 901px) {
  .system-spread__inner {
    grid-template-columns: 1.3fr 0.9fr;
    gap: var(--s9);
  }
  .system-spread--reverse .system-spread__inner {
    grid-template-columns: 0.9fr 1.3fr;
  }
  .system-spread--reverse .system-spread__media { order: 2; }
}

.system-spread__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.06);
}

.system-spread--dark .system-spread__media,
.system-spread--deep .system-spread__media,
.system-spread--accent .system-spread__media {
  background: rgba(255, 255, 255, 0.04);
}

.system-spread__media img,
.system-spread__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out-soft);
}

.system-spread.is-visible .system-spread__media img,
.system-spread.is-visible .system-spread__media video {
  transform: scale(1.04);
}

.system-spread__copy {
  max-width: 36ch;
}

.system-spread__num {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s4);
}

.system-spread--dark .system-spread__num,
.system-spread--deep .system-spread__num { color: var(--accent-glow); }

.system-spread--accent .system-spread__num { color: rgba(255,255,255,0.8); }

.system-spread__heading {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin-bottom: var(--s5);
  max-width: 14ch;
}

.system-spread__heading em { font-style: italic; color: var(--accent-deep); }
.system-spread--dark .system-spread__heading em,
.system-spread--deep .system-spread__heading em { color: var(--accent-glow); }
.system-spread--accent .system-spread__heading em { color: rgba(255,255,255,0.78); }

.system-spread__line {
  font-size: 18px;
  line-height: var(--leading-loose);
  color: var(--text-mid);
  max-width: 32ch;
  margin-bottom: var(--s5);
}

.system-spread--dark .system-spread__line,
.system-spread--deep .system-spread__line { color: var(--text-on-dark-mid); }
.system-spread--accent .system-spread__line { color: rgba(255,255,255,0.78); }

.system-spread__stat {
  display: inline-flex;
  gap: var(--s3);
  align-items: baseline;
  padding-top: var(--s4);
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

.system-spread--dark .system-spread__stat,
.system-spread--deep .system-spread__stat {
  border-top-color: rgba(255, 255, 255, 0.08);
  color: var(--text-on-dark-dim);
}
.system-spread--accent .system-spread__stat {
  border-top-color: rgba(255, 255, 255, 0.18);
  color: rgba(255,255,255,0.7);
}

.system-spread__stat-value {
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
}

.system-spread--dark .system-spread__stat-value,
.system-spread--deep .system-spread__stat-value,
.system-spread--accent .system-spread__stat-value { color: #fff; }

/* ============================================================
   FLOATING JUMP-TO-SPECS BUTTON
   ============================================================ */
.jump-specs {
  position: fixed;
  bottom: var(--s5);
  right: var(--s5);
  z-index: 50;
  padding: 12px 18px;
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  box-shadow: var(--shadow-deep);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out-soft),
              transform var(--dur-base) var(--ease-out-soft),
              background var(--dur-base) var(--ease-out-soft);
}

.jump-specs.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.jump-specs:hover { background: var(--accent); }

.jump-specs svg { width: 14px; height: 14px; }

@media (max-width: 720px) {
  .jump-specs { bottom: var(--s4); right: var(--s4); padding: 10px 14px; font-size: 10px; }
}

/* ============================================================
   SYSTEM ROW — large landscape image + tight caption block
   The Rivian-style alternative to repeating feature-pair
   ============================================================ */
.system-rows {
  display: grid;
  gap: var(--s10);
}

.system-row {
  display: grid;
  gap: var(--s5);
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (min-width: 901px) {
  .system-row { grid-template-columns: 5fr 3fr; gap: var(--s8); align-items: end; }
  .system-row--reverse { grid-template-columns: 3fr 5fr; }
  .system-row--reverse .system-row__media { order: 2; }
}

.system-row__media {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-cream);
}

.system-row__media img,
.system-row__media video {
  width: 100%; height: 100%; object-fit: cover;
}

.system-row__copy {
  padding-bottom: var(--s2);
}

.system-row__num {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s3);
}

.system-row__heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 400;
  line-height: var(--leading-tight);
  margin-bottom: var(--s5);
  max-width: 16ch;
}

.system-row__heading em { font-style: italic; color: var(--accent-deep); }

.system-row__points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  border-left: 1px solid var(--accent-light);
  padding-left: var(--s5);
}

.system-row__points li {
  font-size: 16px;
  color: var(--text-mid);
  line-height: var(--leading-snug);
}

.system-row__points strong {
  font-weight: 600;
  color: var(--text);
}

/* ============================================================
   TEXT-ANIM — Rivian-style word-by-word fade reveal.
   JS at /assets/js/text-anim.js wraps each word in .text-anim__word.
   ============================================================ */
.text-anim__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em);
  transition: opacity 0.7s cubic-bezier(0.2, 0.65, 0.3, 1),
              transform 0.7s cubic-bezier(0.2, 0.65, 0.3, 1);
  transition-delay: 0s;
  will-change: opacity, transform;
}

.text-anim.is-revealed .text-anim__word {
  opacity: 1;
  transform: translateY(0);
}

/* Sequential delay for first ~24 words. After that we just snap them. */
.text-anim.is-revealed .text-anim__word:nth-child(1)  { transition-delay: 0.00s; }
.text-anim.is-revealed .text-anim__word:nth-child(2)  { transition-delay: 0.04s; }
.text-anim.is-revealed .text-anim__word:nth-child(3)  { transition-delay: 0.08s; }
.text-anim.is-revealed .text-anim__word:nth-child(4)  { transition-delay: 0.12s; }
.text-anim.is-revealed .text-anim__word:nth-child(5)  { transition-delay: 0.16s; }
.text-anim.is-revealed .text-anim__word:nth-child(6)  { transition-delay: 0.20s; }
.text-anim.is-revealed .text-anim__word:nth-child(7)  { transition-delay: 0.24s; }
.text-anim.is-revealed .text-anim__word:nth-child(8)  { transition-delay: 0.28s; }
.text-anim.is-revealed .text-anim__word:nth-child(9)  { transition-delay: 0.32s; }
.text-anim.is-revealed .text-anim__word:nth-child(10) { transition-delay: 0.36s; }
.text-anim.is-revealed .text-anim__word:nth-child(11) { transition-delay: 0.40s; }
.text-anim.is-revealed .text-anim__word:nth-child(12) { transition-delay: 0.44s; }
.text-anim.is-revealed .text-anim__word:nth-child(13) { transition-delay: 0.48s; }
.text-anim.is-revealed .text-anim__word:nth-child(14) { transition-delay: 0.52s; }
.text-anim.is-revealed .text-anim__word:nth-child(15) { transition-delay: 0.56s; }
.text-anim.is-revealed .text-anim__word:nth-child(16) { transition-delay: 0.60s; }
.text-anim.is-revealed .text-anim__word:nth-child(17) { transition-delay: 0.64s; }
.text-anim.is-revealed .text-anim__word:nth-child(18) { transition-delay: 0.68s; }
.text-anim.is-revealed .text-anim__word:nth-child(19) { transition-delay: 0.72s; }
.text-anim.is-revealed .text-anim__word:nth-child(20) { transition-delay: 0.76s; }
.text-anim.is-revealed .text-anim__word:nth-child(n+21) { transition-delay: 0.80s; }

@media (prefers-reduced-motion: reduce) {
  .text-anim__word { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   STAT-PAIR — Rivian-style number + benefit context block.
   Used in groups of 3 across full-width sections.
   ============================================================ */
.stat-pair-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s7);
  padding: var(--s10) var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}

.stat-pair-row--two   { grid-template-columns: repeat(2, 1fr); }
.stat-pair-row--four  { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .stat-pair-row,
  .stat-pair-row--two,
  .stat-pair-row--four { grid-template-columns: 1fr; gap: var(--s7); }
}

.stat-pair {
  border-top: 1px solid currentColor;
  padding-top: var(--s4);
  opacity: 0.92;
}

.stat-pair__value {
  font-family: var(--font-mono);
  font-size: clamp(56px, 8vw, 112px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
  display: block;
}

.stat-pair__value sup,
.stat-pair__value .unit {
  font-size: 0.42em;
  letter-spacing: 0;
  font-weight: 400;
  vertical-align: top;
  display: inline-block;
  margin-left: 0.08em;
  margin-top: 0.4em;
}

.stat-pair__title {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: var(--s4);
  display: block;
}

.stat-pair__body {
  font-size: 15px;
  color: var(--text-mid);
  line-height: var(--leading-loose);
  margin-top: var(--s3);
  max-width: 28ch;
}

.stat-pair-row--on-dark { color: #fff; background: var(--bg-dark); }
.stat-pair-row--on-dark .stat-pair { border-top-color: rgba(255,255,255,0.18); }
.stat-pair-row--on-dark .stat-pair__title { color: var(--accent-glow); }
.stat-pair-row--on-dark .stat-pair__body  { color: var(--text-on-dark-mid); }

/* ============================================================
   PHOTO-EPIC — Rivian-style full-bleed image that lives between
   sections. No overlay copy. Just the image, breathing.
   ============================================================ */
.photo-epic {
  position: relative;
  width: 100%;
  display: block;
  background: var(--bg-cream);
}

.photo-epic--dark { background: #0d0e0c; }

.photo-epic__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100vh;
  object-fit: cover;
  object-position: center;
}

.photo-epic--tall .photo-epic__image { max-height: 120vh; }

.photo-epic__caption {
  position: absolute;
  bottom: var(--s5);
  left: var(--s5);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: var(--s2) var(--s4);
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  border-radius: 999px;
}

/* ============================================================
   PHOTO-EPIC-PAIR — two full-bleed images side by side at large sizes.
   Used to tell a story in two shots (workshop -> road, detail -> wide).
   ============================================================ */
.photo-epic-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--bg-cream);
}

@media (max-width: 720px) {
  .photo-epic-pair { grid-template-columns: 1fr; }
}

.photo-epic-pair img {
  width: 100%;
  height: 100%;
  min-height: 60vh;
  object-fit: cover;
  display: block;
}

/* ============================================================
   PHOTO-PILLARS — three vertical images with a one-line caption,
   in the Rivian "three pillars" rhythm.
   ============================================================ */
.photo-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: var(--bg-cream);
}

@media (max-width: 900px) {
  .photo-pillars { grid-template-columns: 1fr; }
}

.photo-pillars__item {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-cream);
}

.photo-pillars__item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.photo-pillars__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--s7) var(--s5) var(--s5);
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: var(--leading-snug);
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
}

.photo-pillars__caption em { font-style: italic; color: var(--accent-glow); }

/* ============================================================
   LIGHTBOX — site-wide image viewer.
   JS at /assets/js/lightbox.js auto-binds to gallery image classes
   and adds .is-lightbox to bound images for the zoom-in cursor.
   ============================================================ */
img.is-lightbox { cursor: zoom-in; }

html.lightbox-locked,
html.lightbox-locked body { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(13, 14, 12, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: none;
  opacity: 0;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 5vw, 64px);
  transition: opacity 0.35s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.lightbox.is-open {
  display: flex;
  opacity: 1;
}

.lightbox__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s4);
  max-width: 100%;
  max-height: 100%;
}

.lightbox__image {
  display: block;
  max-width: min(92vw, 1600px);
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.4s cubic-bezier(0.2, 0.65, 0.3, 1) 0.05s,
              transform 0.5s cubic-bezier(0.2, 0.65, 0.3, 1) 0.05s;
}

.lightbox.is-open .lightbox__image {
  opacity: 1;
  transform: scale(1);
}

.lightbox__caption {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  max-width: 60ch;
  padding: 0 var(--s5);
  line-height: var(--leading-loose);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
}

.lightbox__close { top: 24px; right: 24px; }

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

.lightbox__nav:hover { transform: translateY(-50%) scale(1.05); }

@media (max-width: 720px) {
  .lightbox__close,
  .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__close { top: 12px; right: 12px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__caption { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox,
  .lightbox__image { transition: none; }
  .lightbox.is-open .lightbox__image { transform: none; }
}

/* ============================================================
   BIG STAT BLOCK — single big mono numeral, full focus
   ============================================================ */
.big-stat {
  text-align: center;
  padding: var(--s10) var(--gutter);
}

.big-stat__value {
  font-family: var(--font-mono);
  font-size: clamp(96px, 18vw, 256px);
  font-weight: 500;
  line-height: 0.9;
  color: var(--text);
  letter-spacing: -0.02em;
}

.big-stat--dark { background: var(--bg-dark); }
.big-stat--dark .big-stat__value { color: #fff; }
.big-stat--dark .big-stat__label { color: var(--text-on-dark-mid); }

.big-stat__label {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-top: var(--s5);
  max-width: 36ch;
  margin-left: auto; margin-right: auto;
  line-height: var(--leading-loose);
}

/* ============================================================
   WHAT CHANGES / WHAT STAYS — paired columns, terse
   ============================================================ */
.compare-pair {
  display: grid;
  gap: var(--s7);
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (min-width: 901px) { .compare-pair { grid-template-columns: 1fr 1fr; } }

.compare-pair__col {
  padding: var(--s7);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

.compare-pair__col--accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.compare-pair__title {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: var(--s5);
}

.compare-pair__col--accent .compare-pair__title { color: rgba(255, 255, 255, 0.7); }

.compare-pair__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.compare-pair__list li {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: var(--leading-snug);
}

.compare-pair__col--accent .compare-pair__list li { color: #fff; }

/* ---------- VIDEO EMBED PLACEHOLDER (social: IG/TikTok/YouTube) ---------- */
.video-embed {
  position: relative;
  background: var(--bg-deep);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  max-width: 360px;
  display: flex;
  align-items: flex-end;
  color: var(--text-on-dark);
}

.video-embed--landscape { aspect-ratio: 16 / 9; max-width: 640px; }
.video-embed--square    { aspect-ratio: 1 / 1; max-width: 480px; }

.video-embed__poster {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.video-embed__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.0) 30%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}

.video-embed__inner {
  position: relative;
  z-index: 2;
  padding: var(--s5);
  width: 100%;
}

.video-embed__platform {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--s3);
  display: flex;
  align-items: center;
  gap: var(--s2);
}

.video-embed__title {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: var(--leading-snug);
  color: #fff;
  margin-bottom: var(--s3);
}

.video-embed__cta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-glow);
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
}

.video-embed__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex; align-items: center; justify-content: center;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  transition: background var(--dur-base) var(--ease-out-soft);
}

.video-embed:hover .video-embed__play { background: rgba(255, 255, 255, 0.22); }

.video-embed__play svg {
  width: 24px; height: 24px;
  fill: #fff;
  margin-left: 3px;
}

/* Strip of vertical embeds */
.video-embed-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s4);
  margin-top: var(--s7);
}

/* ---------- REVEAL UTILITY ----------
   The .reveal-ready class is added to <html> by reveal.js as soon as it
   loads. Until then, .reveal elements stay fully visible — so if JS is
   slow, blocked, or the IntersectionObserver fails, content still shows.
   ---------------------------------------- */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-reveal) var(--ease-out-soft),
              transform var(--dur-reveal) var(--ease-out-soft);
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
.reveal[data-delay="5"] { transition-delay: 400ms; }
