﻿/* ==========================================================================
   SILVARIS â€” single cohesive design system
   One product. Teal + coral + ivory. No mismatched styles.
   ========================================================================== */
:root {
  --teal: #123F3A;
  --teal-mid: #2F6B67;
  --teal-deep: #0B2522;
  --coral: #C24B42;
  --coral-deep: #9E3B34;
  --coral-soft: #D46A63;
  --coral-wash: rgba(194, 75, 66, 0.09);
  --ink: #1C1B1F;
  --charcoal: #333238;
  --muted: rgba(28, 27, 31, 0.62);
  --ivory: #F7F4EE;
  --cream: #EFE9E2;
  --line: rgba(28, 27, 31, 0.1);
  --line-light: rgba(247, 244, 238, 0.14);
  --white: #FFFFFF;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Outfit', system-ui, sans-serif;

  --max: 1140px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --header-h: 4.75rem;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --section: clamp(4.5rem, 10vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; border: 0; background: none; }
button { cursor: pointer; }
ul { list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

/* ---------- Premium animated icons ---------- */
.sil-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 1em;
  height: 1em;
  line-height: 0;
  flex-shrink: 0;
  color: inherit;
  vertical-align: middle;
}
.sil-icon__svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.sil-icon__stroke {
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-dashoffset 0.9s var(--ease), opacity 0.4s;
}
.sil-icon__fill,
.sil-icon__glow {
  transform-origin: center;
  transition: opacity 0.4s, transform 0.5s var(--ease);
}
.sil-icon__dot,
.sil-icon__spark {
  transform-origin: center;
}
/* Draw-in when revealed */
.sil-icon.is-drawn .sil-icon__stroke {
  animation: icon-draw 0.95s var(--ease) both;
}
.sil-icon.is-drawn .sil-icon__fill,
.sil-icon.is-drawn .sil-icon__glow {
  animation: icon-fill-in 0.7s var(--ease) 0.15s both;
}
.sil-icon.is-drawn .sil-icon__dot {
  animation: icon-dot-pop 0.55s var(--ease) 0.45s both;
}
.sil-icon.is-drawn .sil-icon__spark {
  animation: icon-spark 0.7s var(--ease) 0.35s both;
}
.sil-icon.is-drawn .sil-icon__check {
  animation: icon-check-draw 0.55s var(--ease) 0.35s both;
}
@keyframes icon-draw {
  from { stroke-dasharray: 120; stroke-dashoffset: 120; opacity: 0.35; }
  to { stroke-dasharray: 120; stroke-dashoffset: 0; opacity: 1; }
}
@keyframes icon-fill-in {
  from { opacity: 0; transform: scale(0.86); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes icon-dot-pop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.35); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes icon-spark {
  0% { transform: scale(0) rotate(-20deg); opacity: 0; }
  60% { transform: scale(1.2) rotate(8deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
@keyframes icon-check-draw {
  from { stroke-dasharray: 40; stroke-dashoffset: 40; }
  to { stroke-dasharray: 40; stroke-dashoffset: 0; }
}
@keyframes icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes icon-ring-pulse {
  0% { box-shadow: 0 0 0 0 rgba(194, 75, 66, 0.35); }
  70% { box-shadow: 0 0 0 12px rgba(194, 75, 66, 0); }
  100% { box-shadow: 0 0 0 0 rgba(194, 75, 66, 0); }
}
@keyframes icon-wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-8deg); }
  75% { transform: rotate(8deg); }
}
@keyframes icon-spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes icon-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

/* Icon shells used around site */
.trust-strip__icon,
.pillar-card__icon,
.spec-card__icon,
.steps-list__icon,
.story-band__point-icon,
.checklist__icon,
.history-era__icon,
.history-fact__icon,
.history-card__icon,
.history-cta__icon,
.history-sticky__icon,
.history-tidbit__label .sil-icon {
  width: 2.4rem;
  height: 2.4rem;
}
.checklist__icon { width: 1.25rem; height: 1.25rem; }
.history-fact__icon { width: 1.85rem; height: 1.85rem; }
.trust-strip__icon .sil-icon,
.pillar-card__icon .sil-icon,
.spec-card__icon .sil-icon,
.steps-list__icon .sil-icon,
.story-band__point-icon .sil-icon,
.history-era__icon .sil-icon,
.history-card__icon .sil-icon,
.history-cta__icon .sil-icon,
.history-sticky__icon .sil-icon {
  width: 100%;
  height: 100%;
}
.checklist__icon .sil-icon,
.history-fact__icon .sil-icon,
.history-tidbit__label .sil-icon {
  width: 100%;
  height: 100%;
}

/* Shell styling + hover motion */
.pillar-card__icon,
.spec-card__icon,
.steps-list__icon,
.history-era__icon,
.history-card__icon,
.history-cta__icon {
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(194, 75, 66, 0.14), transparent 55%),
    var(--cream);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.35s, background 0.3s;
}
.pillar-card:hover .pillar-card__icon,
.spec-card:hover .spec-card__icon,
.steps-list li:hover .steps-list__icon,
.history-card:hover .history-card__icon {
  transform: translateY(-3px) scale(1.06);
  border-color: rgba(194, 75, 66, 0.4);
  box-shadow: 0 10px 24px rgba(194, 75, 66, 0.12);
  animation: icon-ring-pulse 1.4s ease-out;
}
.pillar-card:hover .sil-icon--lab .sil-icon__svg,
.spec-card:hover .sil-icon--lab .sil-icon__svg {
  animation: icon-spin-slow 6s linear infinite;
}

/* ========== Refined mono icons (site-wide) â€” no candy colours ========== */
.icon-tile,
.icon-tile--coral,
.icon-tile--teal,
.icon-tile--gold,
.icon-tile--mint {
  position: relative;
  display: grid !important;
  place-items: center;
  width: 3.15rem !important;
  height: 3.15rem !important;
  border-radius: 50% !important;
  border: 1px solid rgba(18, 63, 58, 0.14) !important;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95), transparent 52%),
    linear-gradient(165deg, #ffffff 0%, #f3efe8 100%) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 22px rgba(11, 37, 34, 0.07) !important;
  transition: transform 0.4s var(--ease), box-shadow 0.35s, border-color 0.3s, background 0.3s !important;
  overflow: hidden;
  color: var(--teal-deep) !important;
}
.icon-tile::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1px solid rgba(18, 63, 58, 0.06);
  pointer-events: none;
}
.icon-tile .sil-icon {
  position: relative;
  z-index: 1;
  width: 1.45rem !important;
  height: 1.45rem !important;
  color: var(--teal-deep) !important;
}
.icon-tile .sil-icon__stroke { stroke: currentColor; }
.icon-tile .sil-icon__fill,
.icon-tile .sil-icon__glow { fill: currentColor; opacity: 0.1; }
.icon-tile .sil-icon__dot,
.icon-tile .sil-icon__spark { fill: var(--coral); }
.icon-tile--sm {
  width: 2.35rem !important;
  height: 2.35rem !important;
}
.icon-tile--sm .sil-icon {
  width: 1.15rem !important;
  height: 1.15rem !important;
}
/* Dark surfaces */
.section--dark .icon-tile,
.trust-strip--fun .icon-tile,
.history-hero .icon-tile,
.mnav .icon-tile,
.contact-hero .icon-tile {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.1), transparent 55%),
    rgba(247, 244, 238, 0.08) !important;
  border-color: rgba(247, 244, 238, 0.18) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18) !important;
  color: #f0e8e0 !important;
}
.section--dark .icon-tile .sil-icon,
.trust-strip--fun .icon-tile .sil-icon,
.history-hero .icon-tile .sil-icon {
  color: #f0e8e0 !important;
}
.section--dark .icon-tile .sil-icon__dot,
.section--dark .icon-tile .sil-icon__spark,
.trust-strip--fun .icon-tile .sil-icon__dot,
.trust-strip--fun .icon-tile .sil-icon__spark,
.history-hero .icon-tile .sil-icon__dot,
.history-hero .icon-tile .sil-icon__spark {
  fill: #f0b4ae;
}

.trust-strip__item:hover .icon-tile,
.pillar-card:hover .icon-tile,
.spec-card:hover .icon-tile,
.steps-list li:hover .icon-tile,
.story-band__points li:hover .icon-tile,
.product-assurances__item:hover .icon-tile,
.faq-item--fun:hover .icon-tile,
.history-fact:hover .icon-tile {
  transform: translateY(-3px) scale(1.05) !important;
  border-color: rgba(194, 75, 66, 0.4) !important;
  box-shadow:
    0 12px 28px rgba(194, 75, 66, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
}
.trust-strip__item:hover .icon-tile .sil-icon,
.pillar-card:hover .icon-tile .sil-icon,
.spec-card:hover .icon-tile .sil-icon {
  color: var(--coral) !important;
}

/* Trust strip fun cards */
.trust-strip--fun {
  background: linear-gradient(180deg, #0b2522 0%, #123f3a 100%);
  border-bottom: 0;
}
.trust-strip--fun .trust-strip__inner {
  gap: 0.75rem;
  padding: 1.35rem 0;
}
@media (min-width: 900px) {
  .trust-strip--fun .trust-strip__inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
  }
}
.trust-strip--fun .trust-strip__item {
  border: 1px solid rgba(247, 244, 238, 0.1) !important;
  border-radius: 1.1rem;
  background: rgba(247, 244, 238, 0.05);
  padding: 1rem 1rem;
  gap: 0.85rem;
  transition: background 0.3s, transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}
.trust-strip--fun .trust-strip__item:hover {
  background: rgba(247, 244, 238, 0.1);
  border-color: rgba(240, 180, 170, 0.35) !important;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}
.trust-strip--fun .trust-strip__item strong {
  color: #fff;
}
.trust-strip--fun .trust-strip__item span {
  color: rgba(247, 244, 238, 0.62);
}

/* Section fun polish */
.section--fun .section-head--fun .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.section--fun .section-head--fun .eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(194, 75, 66, 0.15);
  animation: icon-breathe 2s ease-in-out infinite;
}
.pillar-card--fun,
.spec-card--fun {
  border-radius: 1.15rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.7) 0%, rgba(247, 244, 238, 0.4) 100%);
  box-shadow: 0 8px 28px rgba(11, 37, 34, 0.04);
  transition: transform 0.4s var(--ease), box-shadow 0.35s, border-color 0.3s;
}
.pillar-card--fun:hover,
.spec-card--fun:hover {
  transform: translateY(-6px);
  border-color: rgba(194, 75, 66, 0.28);
  box-shadow: 0 18px 40px rgba(11, 37, 34, 0.1);
}
.steps-list--fun li {
  border-radius: 1.15rem;
  border: 1px solid rgba(247, 244, 238, 0.12);
  background: rgba(247, 244, 238, 0.04);
  padding: 1.25rem 1.15rem;
  transition: transform 0.35s var(--ease), background 0.3s, border-color 0.3s;
}
.steps-list--fun li:hover {
  transform: translateY(-4px);
  background: rgba(247, 244, 238, 0.08);
  border-color: rgba(240, 180, 170, 0.3);
}
.product-assurances--fun .product-assurances__item {
  border-radius: 1rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.product-assurances--fun .product-assurances__item:hover {
  transform: translateY(-2px);
}
.checklist--fun li {
  gap: 0.75rem;
}

/* Section dividers */
.sil-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.15rem 0;
  overflow: hidden;
  pointer-events: none;
  line-height: 0;
}
.sil-divider--wave {
  padding: 0;
  margin: -1px 0;
}
.sil-divider__svg {
  display: block;
  width: 100%;
  height: 36px;
}
.sil-divider__wave--a {
  fill: rgba(194, 75, 66, 0.12);
}
.sil-divider__wave--b {
  fill: rgba(47, 107, 103, 0.14);
  animation: divider-wave 6s ease-in-out infinite alternate;
}
@keyframes divider-wave {
  from { transform: translateX(0); }
  to { transform: translateX(-2%); }
}
.sil-divider--dots {
  padding: 1.35rem var(--gutter);
  gap: 0.55rem;
}
.sil-divider__line {
  width: min(18vw, 5.5rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194, 75, 66, 0.45), transparent);
}
.sil-divider__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(194, 75, 66, 0.12);
  animation: icon-breathe 2.2s ease-in-out infinite;
}
.sil-divider__dot:nth-child(3) {
  background: #2f6b67;
  box-shadow: 0 0 0 4px rgba(47, 107, 103, 0.14);
  animation-delay: 0.25s;
}
.sil-divider__dot:nth-child(4) {
  background: #e0a040;
  box-shadow: 0 0 0 4px rgba(224, 160, 64, 0.16);
  animation-delay: 0.5s;
}
.sil-divider--droplets {
  padding: 1.1rem var(--gutter);
  gap: 0.85rem;
  background: linear-gradient(180deg, transparent, rgba(194, 75, 66, 0.04), transparent);
}
.sil-divider__drop {
  width: 14px;
  height: 18px;
  background: linear-gradient(180deg, #ff8a70, #c24b42);
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  opacity: 0.75;
  animation: icon-float 3.5s ease-in-out infinite;
  box-shadow: 0 6px 12px rgba(194, 75, 66, 0.2);
}
.sil-divider__drop--sm {
  width: 10px;
  height: 13px;
  opacity: 0.55;
  animation-delay: 0.4s;
  background: linear-gradient(180deg, #7eebcf, #2f6b67);
}
.sil-divider__drop--lg {
  width: 16px;
  height: 21px;
  animation-delay: 0.8s;
  background: linear-gradient(180deg, #ffd080, #c24b42);
}
.sil-divider--zigzag {
  padding: 0.85rem var(--gutter);
}
.sil-divider--zigzag .sil-divider__svg {
  width: min(100%, 220px);
  height: 14px;
}
.sil-divider__zig {
  fill: none;
  stroke: url(#none);
  stroke: #c24b42;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.65;
}
.sil-divider--spark {
  padding: 1.15rem var(--gutter);
  gap: 0.75rem;
}
.sil-divider__word {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  line-height: 1;
  opacity: 0.85;
}
.sil-divider__spark {
  color: var(--coral);
  font-size: 0.85rem;
  line-height: 1;
  animation: icon-breathe 2.5s ease-in-out infinite;
  opacity: 0.8;
}
.section--dark + .sil-divider--wave .sil-divider__wave--a {
  fill: rgba(247, 244, 238, 0.08);
}
.section--dark + .sil-divider--wave .sil-divider__wave--b {
  fill: rgba(194, 75, 66, 0.18);
}

/* ========== Homepage fun pass 2 ========== */
/* Product media */
.media-frame--fun {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(11, 37, 34, 0.12);
}
.media-frame--fun .media-frame__glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 60% 40%, rgba(194, 75, 66, 0.18), transparent 55%);
  pointer-events: none;
  z-index: 0;
  animation: icon-breathe 4s ease-in-out infinite;
}
.media-frame--fun img {
  position: relative;
  z-index: 1;
}
.product-badge--pulse {
  z-index: 2;
  border-radius: 999px;
  background: linear-gradient(135deg, #2f6b67, #1a4a45);
  box-shadow: 0 0 0 0 rgba(47, 107, 103, 0.4);
  animation: product-badge-pulse 2.4s ease-in-out infinite;
}
@keyframes product-badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47, 107, 103, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(47, 107, 103, 0); }
}
.product-layout--fun .product-layout__thumbs button {
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.product-layout--fun .product-layout__thumbs button:hover,
.product-layout--fun .product-layout__thumbs button.is-active {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(194, 75, 66, 0.15);
}

/* ---------- Homepage FAQ (v2 â€” clean accordion) ---------- */
.home-faq {
  position: relative;
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(194, 75, 66, 0.05), transparent 60%),
    radial-gradient(ellipse 40% 35% at 0% 100%, rgba(47, 107, 103, 0.06), transparent 55%),
    var(--cream, #f7f4ee);
}
.home-faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 3rem;
  align-items: start;
}
@media (min-width: 900px) {
  .home-faq__grid {
    grid-template-columns: minmax(15rem, 0.9fr) minmax(0, 1.25fr);
    gap: 3rem 4rem;
  }
}
.home-faq__intro {
  max-width: 28rem;
}
@media (min-width: 900px) {
  .home-faq__intro {
    position: sticky;
    top: 6rem;
  }
}
.home-faq__intro h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
  line-height: 1.12;
  color: var(--teal-deep, #0b2522);
  letter-spacing: -0.02em;
}
.home-faq__intro .lede {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}
.home-faq__cta {
  margin-bottom: 0.85rem;
}
.home-faq__note {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 28ch;
}

.home-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}

.home-faq__item {
  border: 1px solid rgba(18, 63, 58, 0.1);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(11, 37, 34, 0.04);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.home-faq__item:hover {
  border-color: rgba(194, 75, 66, 0.22);
  box-shadow: 0 12px 30px rgba(11, 37, 34, 0.07);
}
.home-faq__item.is-open {
  border-color: rgba(194, 75, 66, 0.35);
  box-shadow: 0 14px 36px rgba(194, 75, 66, 0.1);
}

.home-faq__q {
  display: grid !important;
  grid-template-columns: 2.5rem minmax(0, 1fr) 2.25rem;
  align-items: center;
  column-gap: 0.85rem;
  width: 100% !important;
  min-height: 4.35rem;
  margin: 0;
  padding: 1rem 1.1rem !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left !important;
  font-family: var(--font-sans) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--ink, #1c1b1f) !important;
  cursor: pointer;
  line-height: 1.35 !important;
}
.home-faq__q:hover,
.home-faq__q:focus-visible {
  color: var(--teal-deep, #0b2522) !important;
  outline: none;
}
.home-faq__q:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(194, 75, 66, 0.35) !important;
}

.home-faq__num {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--teal-deep, #0b2522);
  background: linear-gradient(145deg, rgba(240, 180, 174, 0.45), rgba(18, 63, 58, 0.08));
  flex-shrink: 0;
}
.home-faq__item.is-open .home-faq__num {
  background: linear-gradient(145deg, #c24b42, #a83f38);
  color: #fff;
}

.home-faq__question {
  min-width: 0;
}

.home-faq__toggle {
  position: relative;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(18, 63, 58, 0.06);
  flex-shrink: 0;
  transition: background 0.2s, transform 0.25s;
}
.home-faq__toggle::before,
.home-faq__toggle::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--coral, #c24b42);
  border-radius: 1px;
  transform: translate(-50%, -50%);
}
.home-faq__toggle::before {
  width: 11px;
  height: 1.5px;
}
.home-faq__toggle::after {
  width: 1.5px;
  height: 11px;
  transition: transform 0.25s, opacity 0.2s;
}
.home-faq__item.is-open .home-faq__toggle {
  background: var(--coral, #c24b42);
  transform: rotate(0deg);
}
.home-faq__item.is-open .home-faq__toggle::before,
.home-faq__item.is-open .home-faq__toggle::after {
  background: #fff;
}
.home-faq__item.is-open .home-faq__toggle::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

.home-faq__a {
  padding: 0 1.15rem 1.15rem 1.15rem;
  padding-left: calc(1.15rem + 2.5rem + 0.85rem);
}
.home-faq__a[hidden] {
  display: none !important;
}
.home-faq__a p {
  margin: 0;
  padding: 0.15rem 0 0;
  max-width: 52ch;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted, #6b655c);
  border-top: 1px solid rgba(18, 63, 58, 0.08);
  padding-top: 0.9rem;
}

@media (max-width: 560px) {
  .home-faq__q {
    grid-template-columns: 2.25rem minmax(0, 1fr) 2rem;
    column-gap: 0.65rem;
    padding: 0.9rem !important;
    min-height: 4rem;
    font-size: 0.95rem !important;
  }
  .home-faq__num {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.65rem;
    font-size: 0.68rem;
  }
  .home-faq__toggle {
    width: 2rem;
    height: 2rem;
  }
  .home-faq__a {
    padding-left: calc(0.9rem + 2.25rem + 0.65rem);
    padding-right: 0.9rem;
    padding-bottom: 1rem;
  }
}

/* Legacy fun FAQ (if still rendered elsewhere) â€” keep usable */
.faq-list--fun {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-top: 0;
}

/* Home CTA fun */
.home-cta--fun {
  position: relative;
  overflow: hidden;
}
.home-cta--fun .home-cta__panel {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(247, 244, 238, 0.12);
  background:
    radial-gradient(ellipse 60% 80% at 15% 50%, rgba(194, 75, 66, 0.22) 0%, transparent 55%),
    linear-gradient(135deg, #0b2522 0%, #123f3a 50%, #0a1f1c 100%);
  color: var(--ivory);
  box-shadow: 0 28px 60px rgba(11, 37, 34, 0.25);
}
.home-cta__glow {
  position: absolute;
  right: -10%;
  top: -20%;
  width: 55%;
  height: 80%;
  background: radial-gradient(circle, rgba(194, 75, 66, 0.25) 0%, transparent 65%);
  pointer-events: none;
  animation: icon-breathe 5s ease-in-out infinite;
}
.home-cta--fun .home-cta__media {
  position: relative;
  z-index: 1;
}
.home-cta--fun .home-cta__media img {
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
  animation: icon-float 5s ease-in-out infinite;
}
.home-cta__ring {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: 70%;
  height: 18%;
  transform: translateX(-50%);
  border: 1px solid rgba(247, 244, 238, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(194, 75, 66, 0.15);
  animation: hero-radar 3.5s ease-out infinite;
}
.home-cta--fun .home-cta__copy {
  position: relative;
  z-index: 1;
}
.home-cta--fun .home-cta__copy .eyebrow {
  color: #f0b4ae;
}
.home-cta--fun .home-cta__copy h2 {
  color: #fff;
}
.home-cta--fun .home-cta__copy .lede {
  color: rgba(247, 244, 238, 0.75);
}
.home-cta--fun .home-cta__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.75rem 0 1rem;
}
.home-cta--fun .home-cta__meta span {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffe4e0;
  background: rgba(194, 75, 66, 0.22);
  border: 1px solid rgba(194, 75, 66, 0.3);
}
.home-cta--fun .home-cta__meta span:nth-child(2) {
  color: #c8fff0;
  background: rgba(47, 107, 103, 0.35);
  border-color: rgba(80, 180, 160, 0.3);
}
.home-cta--fun .home-cta__meta span:nth-child(3) {
  color: #ffe8c8;
  background: rgba(255, 180, 80, 0.15);
  border-color: rgba(255, 180, 100, 0.28);
}
.home-cta__buy {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(194, 75, 66, 0.4);
}
.home-cta--fun .btn--outline {
  border-color: rgba(247, 244, 238, 0.35);
  color: var(--ivory);
}
.home-cta--fun .btn--outline:hover {
  background: #fff;
  color: var(--teal-deep);
  border-color: #fff;
}

/* Journal fun cards */
.posts--fun {
  gap: 1.25rem;
}
.post--fun {
  border-radius: 1.15rem;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.85rem;
  box-shadow: 0 8px 24px rgba(11, 37, 34, 0.05);
  transition: transform 0.4s var(--ease), box-shadow 0.35s, border-color 0.3s;
}
.post--fun:hover {
  transform: translateY(-6px);
  border-color: rgba(194, 75, 66, 0.28);
  box-shadow: 0 20px 40px rgba(11, 37, 34, 0.1);
}
.post--fun .post__media {
  position: relative;
  border-radius: 0.85rem;
  overflow: hidden;
  margin-bottom: 0.9rem;
}
.post--fun .post__media img {
  transition: transform 0.55s var(--ease);
}
.post--fun:hover .post__media img {
  transform: scale(1.05);
}
.post__badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 1;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, #c24b42, #d46a63);
  box-shadow: 0 6px 14px rgba(194, 75, 66, 0.35);
}
.post--fun .post__more {
  color: var(--coral);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.post--fun .post__more:hover {
  color: var(--coral-deep);
}

/* Subtle section background texture for fun sections */
.section--fun.section--cream {
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(194, 75, 66, 0.05), transparent 60%),
    radial-gradient(ellipse 40% 35% at 0% 100%, rgba(47, 107, 103, 0.06), transparent 55%),
    var(--cream);
}
.section--fun:not(.section--cream):not(.section--dark) {
  background:
    radial-gradient(ellipse 45% 40% at 0% 0%, rgba(194, 75, 66, 0.04), transparent 55%),
    var(--ivory);
}
.pillar-card:hover .sil-icon--spark .sil-icon__svg,
.steps-list li:hover .sil-icon--spark .sil-icon__svg,
.history-tidbit:hover .sil-icon--spark .sil-icon__svg {
  animation: icon-breathe 1.2s ease-in-out infinite;
}
.steps-list li:hover .sil-icon--shake .sil-icon__svg,
.pillar-card:hover .sil-icon--vessel .sil-icon__svg {
  animation: icon-wiggle 0.55s var(--ease);
}
.history-era.is-active .history-era__icon {
  animation: icon-ring-pulse 1.6s ease-out infinite;
  border-color: rgba(194, 75, 66, 0.45);
  color: var(--coral);
}
.history-era.is-active .history-era__icon .sil-icon {
  animation: icon-float 2.4s ease-in-out infinite;
}
.history-era__icon.is-pop {
  animation: sticky-pop 0.5s var(--ease), icon-ring-pulse 1.4s ease-out 0.3s;
}
.history-era.is-active .history-fact__icon .sil-icon {
  animation: icon-breathe 2s ease-in-out infinite;
}
.history-float .sil-icon {
  width: 2.75rem;
  height: 2.75rem;
  color: inherit;
}
.history-float .sil-icon__svg {
  animation: icon-float 5s ease-in-out infinite;
}
.section--dark .steps-list__icon,
.section--dark .steps-list__icon .sil-icon {
  color: #f0b4ae;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(247, 244, 238, 0.12);
}
.trust-strip__icon {
  width: 2rem;
  height: 2rem;
  color: #f0b4ae;
}
.trust-strip__item:hover .sil-icon__svg {
  animation: icon-breathe 1s ease-in-out infinite;
}

/* ---------- Shared ---------- */
.wrap {
  width: min(100% - var(--gutter) * 2, var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.9rem;
}
.eyebrow--light { color: #e8a8a2; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(2.85rem, 7vw, 4.75rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 400; }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 34em;
  font-weight: 300;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.3s var(--ease), color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(194, 75, 66, 0.22);
}
.btn--primary:hover {
  background: var(--coral-deep);
  box-shadow: 0 14px 32px rgba(194, 75, 66, 0.32);
}
.btn--ghost {
  border: 1px solid rgba(247, 244, 238, 0.4);
  color: var(--ivory);
  background: rgba(255,255,255,0.04);
}
.btn--ghost:hover {
  background: var(--white);
  color: var(--teal);
  border-color: var(--white);
}
.btn--outline {
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
}
.btn--outline:hover {
  background: var(--charcoal);
  color: var(--white);
}
.btn--block { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Top bar ---------- */
.bar {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #9e3b34 0%, #c24b42 40%, #d46a63 55%, #c24b42 70%, #9e3b34 100%);
  background-size: 200% 100%;
  animation: bar-shimmer 8s linear infinite;
  color: var(--white);
  text-align: center;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.55rem var(--gutter);
}
@keyframes bar-shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ---------- Header v2 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(247, 244, 238, 0.88);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-bottom: 1px solid rgba(28, 27, 31, 0.07);
  display: flex;
  align-items: center;
  transition: box-shadow 0.35s var(--ease), background 0.35s, border-color 0.35s;
}
.header--v2 {
  isolation: isolate;
}
.header__glow {
  position: absolute;
  inset: auto 0 -1px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194, 75, 66, 0.55), rgba(47, 107, 103, 0.4), transparent);
  opacity: 0.7;
  pointer-events: none;
}
.header.is-scrolled {
  background: rgba(247, 244, 238, 0.96);
  box-shadow: 0 10px 36px rgba(11, 37, 34, 0.08);
  border-bottom-color: transparent;
}
.header__inner {
  position: relative;
  z-index: 1;
  width: min(100% - var(--gutter) * 2, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 2.6vw, 2.05rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
  transition: transform 0.3s var(--ease);
}
.brand:hover {
  color: var(--ink);
  transform: translateY(-1px);
}
.brand--light { color: var(--ivory); }
.brand--light:hover { color: var(--ivory); }
/* Wordmark: red S + uppercase rest */
.brand__mark {
  display: inline;
  text-transform: uppercase;
  letter-spacing: inherit;
}
.brand__s {
  color: var(--coral);
  font-weight: 500;
  transition: color 0.25s, text-shadow 0.3s;
}
.brand:hover .brand__s {
  color: #e85a4f;
  text-shadow: 0 0 18px rgba(194, 75, 66, 0.35);
}
.brand--light .brand__s {
  color: #f06a5f;
}
.brand--light:hover .brand__s {
  color: #ff7a6e;
}

/* Desktop pill tray nav */
.nav-desktop {
  display: none;
  margin-left: auto;
  margin-right: 0.85rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
}
.nav-desktop__tray {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.28rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(28, 27, 31, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 24px rgba(11, 37, 34, 0.05);
}
.nav-desktop a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(28, 27, 31, 0.68);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.25s, background 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}
.nav-desktop a .nav-chevron {
  display: none;
}
.nav-desktop a:hover {
  color: var(--teal-deep);
  background: rgba(18, 63, 58, 0.06);
  transform: translateY(-1px);
}
.nav-desktop a.is-active {
  color: #fff;
  background: linear-gradient(135deg, #c24b42 0%, #d46a63 100%);
  box-shadow: 0 6px 16px rgba(194, 75, 66, 0.28);
}
.nav-desktop a.is-active:hover {
  color: #fff;
  background: linear-gradient(135deg, #b0433b 0%, #c24b42 100%);
}
/* Kill old underline style from motion block */
.nav-desktop a::after {
  display: none !important;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.header__buy {
  position: relative;
  overflow: hidden;
  display: none;
  min-height: 2.65rem;
  padding: 0 1.25rem;
  white-space: nowrap;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(194, 75, 66, 0.28);
}
.header__buy-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.28) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: header-buy-shine 4s ease-in-out 1s infinite;
  pointer-events: none;
}
@keyframes header-buy-shine {
  0%, 70%, 100% { transform: translateX(-120%); }
  85% { transform: translateX(120%); }
}
@media (min-width: 640px) {
  .header__buy { display: inline-flex; }
}
.header__account {
  display: none;
}
@media (min-width: 480px) {
  .header__account { display: grid; }
}
.brand--logo .custom-logo-link,
.brand--logo img.custom-logo {
  display: block;
  max-height: 42px;
  width: auto;
}
@media (min-width: 900px) {
  .brand--logo img.custom-logo { max-height: 48px; }
}

.icon-btn {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(28, 27, 31, 0.1);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  position: relative;
  border-radius: 999px;
  transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.icon-btn:hover {
  border-color: rgba(194, 75, 66, 0.45);
  color: var(--coral);
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(194, 75, 66, 0.12);
}
.icon-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(247, 244, 238, 0.18);
  color: var(--ivory);
}
.icon-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(247, 244, 238, 0.35);
  box-shadow: none;
}
.cart-n {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #c24b42, #e06a55);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 600;
  display: grid;
  place-items: center;
  border: 2px solid var(--ivory);
  box-shadow: 0 2px 8px rgba(194, 75, 66, 0.35);
}
.cart-n:empty,
.cart-n[data-n="0"] { display: none; }

.burger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.7rem;
  padding: 0 0.75rem 0 0.9rem;
  border: 1px solid rgba(28, 27, 31, 0.1);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: var(--ink);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.burger__label {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.burger__lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 1.05rem;
}
@media (min-width: 1024px) {
  .burger { display: none; }
}
@media (max-width: 420px) {
  .burger__label { display: none; }
  .burger { width: 2.7rem; padding: 0; justify-content: center; }
}
.burger i {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.2s;
}
.burger[aria-expanded="true"] {
  border-color: rgba(194, 75, 66, 0.4);
  background: var(--coral-wash);
}
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Mobile menu â€” cinematic teal panel */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.mnav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mnav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 14, 13, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.mnav__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 28rem);
  height: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(194, 75, 66, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 0% 100%, rgba(47, 107, 103, 0.35) 0%, transparent 50%),
    linear-gradient(165deg, #0b2522 0%, #0f332e 45%, #081c1a 100%);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.mnav.is-open .mnav__panel {
  transform: none;
}
.mnav__glow {
  position: absolute;
  right: -20%;
  top: 20%;
  width: 70%;
  height: 50%;
  background: radial-gradient(circle, rgba(194, 75, 66, 0.2) 0%, transparent 70%);
  pointer-events: none;
  animation: mnav-glow 6s ease-in-out infinite;
}
@keyframes mnav-glow {
  0%, 100% { opacity: 0.55; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.08); }
}
.mnav__top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid rgba(247, 244, 238, 0.1);
}
.mnav__eyebrow {
  position: relative;
  z-index: 1;
  margin: 1.25rem 1.4rem 0.35rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f0b4ae;
}
.mnav__list {
  position: relative;
  z-index: 1;
  flex: 1;
  overflow: auto;
  padding: 0.35rem 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.mnav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.88);
  opacity: 0;
  transform: translateX(18px);
  transition: color 0.25s, background 0.25s, border-color 0.25s, opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.mnav__list a .nav-chevron,
.mnav__list a > i {
  color: rgba(247, 244, 238, 0.35);
  font-style: normal;
  font-size: 1rem;
  transition: transform 0.25s, color 0.25s;
}
.mnav.is-open .mnav__list a {
  opacity: 1;
  transform: none;
}
.mnav.is-open .mnav__list a:nth-child(1) { transition-delay: 0.05s; }
.mnav.is-open .mnav__list a:nth-child(2) { transition-delay: 0.09s; }
.mnav.is-open .mnav__list a:nth-child(3) { transition-delay: 0.13s; }
.mnav.is-open .mnav__list a:nth-child(4) { transition-delay: 0.17s; }
.mnav.is-open .mnav__list a:nth-child(5) { transition-delay: 0.21s; }
.mnav.is-open .mnav__list a:nth-child(6) { transition-delay: 0.25s; }
.mnav.is-open .mnav__list a:nth-child(7) { transition-delay: 0.29s; }
.mnav.is-open .mnav__list a:nth-child(8) { transition-delay: 0.33s; }
.mnav__list a:hover,
.mnav__list a.is-active {
  color: #fff;
  background: rgba(247, 244, 238, 0.08);
  border-color: rgba(247, 244, 238, 0.12);
}
.mnav__list a.is-active {
  background: linear-gradient(135deg, rgba(194, 75, 66, 0.35), rgba(194, 75, 66, 0.12));
  border-color: rgba(194, 75, 66, 0.35);
}
.mnav__list a:hover .nav-chevron,
.mnav__list a:hover > i,
.mnav__list a.is-active .nav-chevron,
.mnav__list a.is-active > i {
  color: #f0b4ae;
  transform: translateX(3px);
}
.mnav__chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1.4rem 1rem;
}
.mnav__chips span {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffe4e0;
  background: rgba(194, 75, 66, 0.18);
  border: 1px solid rgba(194, 75, 66, 0.28);
}
.mnav__chips span:nth-child(2) {
  color: #c8fff0;
  background: rgba(47, 107, 103, 0.28);
  border-color: rgba(80, 180, 160, 0.28);
}
.mnav__chips span:nth-child(3) {
  color: #ffe8c8;
  background: rgba(255, 170, 80, 0.12);
  border-color: rgba(255, 180, 100, 0.25);
}
.mnav__chips span:nth-child(4) {
  color: #e0f0ff;
  background: rgba(100, 140, 200, 0.15);
  border-color: rgba(120, 160, 220, 0.25);
}
.mnav__foot {
  position: relative;
  z-index: 1;
  padding: 1.15rem 1.4rem max(1.5rem, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(247, 244, 238, 0.1);
  background: rgba(0, 0, 0, 0.15);
}
.mnav__buy {
  border-radius: 999px;
  min-height: 3.2rem;
  box-shadow: 0 12px 32px rgba(194, 75, 66, 0.35);
}
.mnav__tagline {
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.5);
}

/* ---------- Editorial price (sale-safe) ---------- */
.sil-price {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.65rem;
  font-family: var(--font-serif);
  font-style: normal;
  line-height: 1;
  text-decoration: none;
}
.sil-price del {
  font-size: 0.58em;
  color: var(--muted);
  text-decoration: line-through;
  opacity: 0.85;
}
.sil-price ins {
  text-decoration: none;
  color: inherit;
}
.hero .sil-price { color: var(--white); }
.hero .sil-price del { color: rgba(247, 244, 238, 0.55); }
.sticky-buy .sil-price { color: var(--coral); font-size: 1.15rem; }
.sticky-buy .sil-price del { font-size: 0.72em; color: var(--muted); }
.product-layout__price .sil-price { color: var(--coral); }

/* ---------- HERO â€” full-out single product ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: #061412;
  color: var(--ivory);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  will-change: transform;
  transition: transform 0.5s var(--ease);
}
/* Full-bleed banner art (your finished design) */
.hero--banner .hero__media {
  inset: 0;
  background: #0a1614;
  z-index: 0;
}
.hero--banner .hero__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Product owns the frame â€” bottle large, right-center */
  object-position: 68% 42%;
  image-rendering: auto;
  animation: hero-art-drift 20s ease-in-out infinite alternate;
  transform-origin: 70% 45%;
  will-change: transform;
}
@keyframes hero-art-drift {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to   { transform: scale(1.07) translate3d(-1.4%, -0.7%, 0); }
}
@media (min-width: 1100px) {
  .hero--banner .hero__media > img {
    object-position: 64% 40%;
  }
}
@media (min-width: 1400px) {
  .hero--banner .hero__media > img {
    object-position: 60% 38%;
  }
}

/* ---- Playful colour + motion overlays ---- */
.hero--playful .hero__fx {
  z-index: 1;
}
.hero__wash {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(4px);
}
.hero__wash--coral {
  right: -2%;
  top: 12%;
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  /* Softer red â€” accents, doesn't cook the bottle */
  background: radial-gradient(circle,
    rgba(230, 100, 85, 0.22) 0%,
    rgba(194, 75, 66, 0.1) 42%,
    transparent 72%);
  animation: hero-wash-coral 7.5s ease-in-out infinite;
}
.hero__wash--teal {
  left: -12%;
  bottom: -8%;
  width: min(55vw, 560px);
  height: min(55vw, 560px);
  background: radial-gradient(circle,
    rgba(60, 180, 160, 0.32) 0%,
    rgba(20, 90, 80, 0.14) 45%,
    transparent 70%);
  animation: hero-wash-teal 8s ease-in-out infinite;
}
.hero__wash--gold {
  right: 28%;
  top: -8%;
  width: min(36vw, 340px);
  height: min(36vw, 340px);
  background: radial-gradient(circle,
    rgba(255, 200, 120, 0.16) 0%,
    transparent 68%);
  animation: hero-wash-gold 7s ease-in-out 1s infinite;
}
.hero__aurora {
  position: absolute;
  inset: -10% -5%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(194, 75, 66, 0.05) 28%,
    rgba(60, 160, 140, 0.12) 48%,
    rgba(255, 180, 120, 0.06) 62%,
    transparent 80%
  );
  background-size: 200% 200%;
  animation: hero-aurora 14s ease-in-out infinite;
  mix-blend-mode: soft-light;
  pointer-events: none;
  opacity: 0.7;
}
.hero--playful .hero__spark {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(255, 180, 150, 0.95) 40%, transparent 72%);
  box-shadow: 0 0 14px 3px rgba(255, 100, 80, 0.55);
  animation: hero-spark-pop 3.8s ease-in-out infinite;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}
.hero__spark--1 { top: 22%; right: 22%; animation-delay: 0.2s; }
.hero__spark--2 { top: 38%; right: 12%; width: 5px; height: 5px; animation-delay: 1.1s; animation-duration: 4.4s; }
.hero__spark--3 { top: 52%; right: 30%; width: 4px; height: 4px; animation-delay: 2s; }
.hero__spark--4 { top: 28%; right: 38%; width: 6px; height: 6px; animation-delay: 0.7s; animation-duration: 5s;
  background: radial-gradient(circle, #fff 0%, rgba(120, 220, 200, 0.9) 45%, transparent 72%);
  box-shadow: 0 0 12px 2px rgba(80, 200, 170, 0.45);
}
.hero__spark--5 { top: 62%; right: 18%; width: 5px; height: 5px; animation-delay: 2.6s;
  background: radial-gradient(circle, #fff 0%, rgba(255, 210, 120, 0.95) 40%, transparent 72%);
  box-shadow: 0 0 12px 2px rgba(255, 180, 80, 0.4);
}
.hero--playful .hero__particle {
  background: rgba(255, 230, 210, 0.75);
  box-shadow: 0 0 10px rgba(255, 100, 80, 0.45);
}
.hero--playful .hero__particle:nth-child(3n) {
  background: rgba(160, 240, 220, 0.7);
  box-shadow: 0 0 10px rgba(60, 180, 150, 0.4);
}
.hero--playful .hero__particle:nth-child(4n) {
  background: rgba(255, 200, 120, 0.7);
  box-shadow: 0 0 10px rgba(255, 160, 60, 0.35);
}

@keyframes hero-wash-coral {
  0%, 100% { opacity: 0.4; transform: scale(0.94) translate(0, 0); }
  50%      { opacity: 0.75; transform: scale(1.08) translate(-2%, 2%); }
}
@keyframes hero-wash-teal {
  0%, 100% { opacity: 0.45; transform: scale(1) translate(0, 0); }
  50%      { opacity: 0.9; transform: scale(1.15) translate(4%, -3%); }
}
@keyframes hero-wash-gold {
  0%, 100% { opacity: 0.35; transform: scale(0.9); }
  50%      { opacity: 0.8; transform: scale(1.2); }
}
@keyframes hero-aurora {
  0%   { background-position: 0% 40%; opacity: 0.55; }
  50%  { background-position: 100% 60%; opacity: 0.95; }
  100% { background-position: 0% 40%; opacity: 0.55; }
}
@keyframes hero-spark-pop {
  0%, 100% { opacity: 0; transform: scale(0.3) translateY(0); }
  15%      { opacity: 1; transform: scale(1.35) translateY(-3px); }
  40%      { opacity: 0.75; transform: scale(0.95) translateY(-10px); }
  70%      { opacity: 0; transform: scale(0.2) translateY(-20px); }
}

.hero--banner .hero__shade--banner {
  z-index: 1;
  /* Lighter wash â€” product stays the star */
  background:
    linear-gradient(
      100deg,
      rgba(4, 14, 13, 0.82) 0%,
      rgba(4, 14, 13, 0.45) 22%,
      rgba(4, 14, 13, 0.08) 42%,
      transparent 55%
    ),
    linear-gradient(to top, rgba(4, 14, 13, 0.25) 0%, transparent 26%);
}
.hero--banner .hero__frame {
  padding: clamp(5rem, 10vh, 7rem) 0 clamp(2.5rem, 5vh, 4rem);
}
.hero--banner .hero__body {
  position: relative;
  max-width: min(34rem, 100%);
  background:
    linear-gradient(145deg, rgba(10, 32, 28, 0.68) 0%, rgba(6, 18, 16, 0.38) 100%);
  border: 1px solid transparent;
  background-clip: padding-box;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.07) inset,
    0 0 48px rgba(194, 75, 66, 0.06);
  animation: hero-card-glow 6s ease-in-out infinite;
}
.hero--banner .hero__body::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 140, 110, 0.55) 0%,
    rgba(247, 244, 238, 0.12) 35%,
    rgba(80, 200, 170, 0.4) 70%,
    rgba(255, 180, 100, 0.35) 100%
  );
  background-size: 220% 220%;
  animation: hero-border-shift 7s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}
.hero--banner .hero__body > * {
  position: relative;
  z-index: 1;
}
@keyframes hero-card-glow {
  0%, 100% { box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.06) inset, 0 0 36px rgba(194, 75, 66, 0.06); }
  50%      { box-shadow: 0 28px 72px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 0 56px rgba(194, 75, 66, 0.18); }
}
@keyframes hero-border-shift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Colourful chips + kicker */
.hero--playful .hero__kicker {
  color: #ffb4a8;
}
.hero--playful .hero__kicker-dot {
  background: #ff6b55;
  box-shadow: 0 0 0 4px rgba(255, 100, 80, 0.25);
}
.hero--playful .hero__chips li {
  border-color: transparent;
  background: linear-gradient(135deg, rgba(194, 75, 66, 0.28), rgba(40, 120, 110, 0.22));
  box-shadow: inset 0 0 0 1px rgba(255, 180, 160, 0.25);
  color: #ffe8e0;
}
.hero--playful .hero__chips li:nth-child(2) {
  background: linear-gradient(135deg, rgba(40, 140, 120, 0.32), rgba(194, 75, 66, 0.18));
  color: #d8fff4;
}
.hero--playful .hero__chips li:nth-child(3) {
  background: linear-gradient(135deg, rgba(255, 170, 80, 0.22), rgba(194, 75, 66, 0.22));
  color: #ffe8c8;
}
.hero--playful .hero__chips li:nth-child(4) {
  background: linear-gradient(135deg, rgba(120, 160, 220, 0.22), rgba(40, 120, 110, 0.25));
  color: #e0f0ff;
}
.hero--playful.is-lively .hero__chips li {
  animation: hero-chip-bob 3.2s ease-in-out infinite;
}
.hero--playful.is-lively .hero__chips li:nth-child(2) { animation-delay: 0.2s; }
.hero--playful.is-lively .hero__chips li:nth-child(3) { animation-delay: 0.4s; }
.hero--playful.is-lively .hero__chips li:nth-child(4) { animation-delay: 0.6s; }
@keyframes hero-chip-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
.hero--playful .hero__cta {
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(194, 75, 66, 0.42), 0 0 24px rgba(255, 100, 80, 0.15);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.hero--playful .hero__cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 44px rgba(194, 75, 66, 0.55), 0 0 36px rgba(255, 120, 90, 0.28);
}
.hero__cta-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: hero-cta-shine 3.8s ease-in-out 1.5s infinite;
  pointer-events: none;
}
.hero__cta-label { position: relative; z-index: 1; }
@keyframes hero-cta-shine {
  0%, 65%, 100% { transform: translateX(-120%); }
  80% { transform: translateX(120%); }
}

/* ========== FULL FUN PACK ========== */
.hero--max .hero__spotlight {
  position: absolute;
  width: min(48vw, 520px);
  height: min(48vw, 520px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 200, 160, 0.14) 0%, transparent 68%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  mix-blend-mode: soft-light;
  z-index: 1;
}
.hero--max.is-lively .hero__spotlight { opacity: 1; }

/* Morphing colour blobs */
.hero__blob {
  position: absolute;
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  filter: blur(40px);
  mix-blend-mode: screen;
  opacity: 0.35;
  pointer-events: none;
  animation: hero-blob-morph 12s ease-in-out infinite;
}
.hero__blob--1 {
  right: 8%;
  top: 18%;
  width: min(38vw, 380px);
  height: min(38vw, 380px);
  background: rgba(255, 120, 90, 0.35);
}
.hero__blob--2 {
  right: 22%;
  bottom: 12%;
  width: min(32vw, 300px);
  height: min(32vw, 300px);
  background: rgba(60, 200, 170, 0.28);
  animation-delay: -4s;
  animation-duration: 14s;
}
.hero__blob--3 {
  left: 30%;
  top: 8%;
  width: min(28vw, 260px);
  height: min(28vw, 260px);
  background: rgba(255, 190, 100, 0.2);
  animation-delay: -7s;
  animation-duration: 16s;
}
@keyframes hero-blob-morph {
  0%, 100% {
    border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  33% {
    border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%;
    transform: translate(3%, -4%) scale(1.08) rotate(8deg);
  }
  66% {
    border-radius: 45% 55% 60% 40% / 55% 45% 55% 45%;
    transform: translate(-4%, 3%) scale(0.94) rotate(-6deg);
  }
}

/* Orbit rings around product zone */
.hero__orbit {
  position: absolute;
  right: 4%;
  top: 50%;
  width: min(52vw, 560px);
  height: min(72vh, 680px);
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}
.hero__orbit-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(247, 244, 238, 0.1);
  animation: hero-orbit-spin 28s linear infinite;
}
.hero__orbit-ring--a {
  border-color: rgba(255, 140, 110, 0.22);
  box-shadow: 0 0 30px rgba(194, 75, 66, 0.08);
}
.hero__orbit-ring--b {
  inset: 18%;
  border-color: rgba(80, 200, 170, 0.2);
  border-style: dashed;
  animation-duration: 40s;
  animation-direction: reverse;
}
.hero__orbit-ring--c {
  inset: 28%;
  border-color: rgba(255, 200, 120, 0.16);
  animation-duration: 22s;
}
.hero__orbit-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px;
  border-radius: 50%;
  background: #ff8a70;
  box-shadow: 0 0 12px rgba(255, 120, 90, 0.8);
  animation: hero-orbit-dot 12s linear infinite;
}
.hero__orbit-dot--1 { --orbit-r: 42%; animation-duration: 11s; }
.hero__orbit-dot--2 {
  --orbit-r: 34%;
  background: #5ed4bc;
  box-shadow: 0 0 12px rgba(80, 200, 170, 0.8);
  animation-duration: 16s;
  animation-direction: reverse;
}
.hero__orbit-dot--3 {
  --orbit-r: 28%;
  background: #ffc878;
  box-shadow: 0 0 12px rgba(255, 190, 100, 0.75);
  animation-duration: 9s;
  width: 6px; height: 6px; margin: -3px;
}
.hero__orbit-dot--4 {
  --orbit-r: 38%;
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
  animation-duration: 14s;
  animation-direction: reverse;
  width: 5px; height: 5px; margin: -2.5px;
}
@keyframes hero-orbit-spin {
  to { transform: rotate(360deg); }
}
@keyframes hero-orbit-dot {
  from { transform: rotate(0deg) translateX(var(--orbit-r)) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(var(--orbit-r)) rotate(-360deg); }
}

/* Radar pulses under product */
.hero__pulse {
  position: absolute;
  right: 18%;
  bottom: 10%;
  width: min(28vw, 280px);
  height: min(8vw, 70px);
  border-radius: 50%;
  border: 1.5px solid rgba(255, 140, 110, 0.35);
  transform: translateX(30%);
  animation: hero-radar 3.2s ease-out infinite;
  pointer-events: none;
  opacity: 0;
}
.hero__pulse--2 { animation-delay: 1.05s; border-color: rgba(80, 200, 170, 0.3); }
.hero__pulse--3 { animation-delay: 2.1s; border-color: rgba(255, 200, 120, 0.28); }
@keyframes hero-radar {
  0%   { opacity: 0.7; transform: translateX(30%) scale(0.55); }
  70%  { opacity: 0.15; }
  100% { opacity: 0; transform: translateX(30%) scale(1.45); }
}

/* Floating product badges */
.hero__float-badge {
  position: absolute;
  z-index: 2;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(12, 36, 32, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  animation: hero-float-badge 5s ease-in-out infinite;
  pointer-events: none;
  white-space: nowrap;
}
.hero__float-badge--1 {
  right: 8%;
  top: 22%;
  color: #ffd0c4;
  border-color: rgba(255, 140, 110, 0.35);
  animation-delay: 0s;
}
.hero__float-badge--2 {
  right: 28%;
  top: 58%;
  color: #c8fff0;
  border-color: rgba(80, 200, 170, 0.35);
  animation-delay: 0.8s;
  animation-duration: 6s;
}
.hero__float-badge--3 {
  right: 4%;
  bottom: 28%;
  color: #ffe8b8;
  border-color: rgba(255, 200, 120, 0.35);
  animation-delay: 1.4s;
  animation-duration: 5.5s;
}
.hero__float-badge--4 {
  right: 32%;
  top: 18%;
  color: #ffd98a;
  font-size: 0.85rem;
  letter-spacing: 0;
  padding: 0.4rem 0.65rem;
  animation-delay: 0.4s;
  animation-duration: 4.5s;
}
@keyframes hero-float-badge {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-12px) rotate(2deg); }
}

/* Brand droplet shapes floating */
.hero__drop {
  position: absolute;
  width: 18px;
  height: 24px;
  background: linear-gradient(180deg, #ff8a70 0%, #c24b42 100%);
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  clip-path: path('M12 0C12 0 0 14 0 18a12 12 0 0024 0C24 14 12 0 12 0z');
  opacity: 0.55;
  filter: drop-shadow(0 4px 10px rgba(194, 75, 66, 0.4));
  animation: hero-drop-float 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.hero__drop--1 { right: 16%; top: 30%; width: 16px; height: 22px; }
.hero__drop--2 {
  right: 36%;
  top: 48%;
  width: 12px;
  height: 16px;
  opacity: 0.4;
  animation-delay: 1.5s;
  animation-duration: 8.5s;
  background: linear-gradient(180deg, #7eebcf 0%, #2f6b67 100%);
}
.hero__drop--3 {
  right: 10%;
  top: 55%;
  width: 10px;
  height: 14px;
  opacity: 0.35;
  animation-delay: 2.8s;
  background: linear-gradient(180deg, #ffd080 0%, #c24b42 100%);
}
@keyframes hero-drop-float {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-18px) rotate(8deg); }
}

/* Extra sparks */
.hero__spark--6 {
  top: 44%;
  right: 42%;
  width: 5px;
  height: 5px;
  animation-delay: 1.8s;
  background: radial-gradient(circle, #fff 0%, rgba(120, 220, 200, 0.9) 40%, transparent 72%);
}
.hero__spark--7 {
  top: 70%;
  right: 26%;
  width: 6px;
  height: 6px;
  animation-delay: 3.2s;
  background: radial-gradient(circle, #fff 0%, rgba(255, 180, 100, 0.95) 40%, transparent 72%);
}

/* Bubbles rising */
.hero__bubbles { position: absolute; inset: 0; pointer-events: none; }
.hero__bubble {
  position: absolute;
  bottom: -5%;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.35), rgba(255,255,255,0.02) 55%, transparent 70%);
  animation: hero-bubble-rise linear infinite;
  opacity: 0;
}
@keyframes hero-bubble-rise {
  0%   { opacity: 0; transform: translate3d(0, 0, 0) scale(0.6); }
  12%  { opacity: 0.7; }
  85%  { opacity: 0.25; }
  100% { opacity: 0; transform: translate3d(var(--bx, 10px), -105vh, 0) scale(1.1); }
}

/* Scrolling ticker */
.hero__ticker {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  padding: 0.55rem 0;
  background: linear-gradient(90deg, rgba(194, 75, 66, 0.55), rgba(20, 80, 72, 0.65), rgba(194, 75, 66, 0.55));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero__ticker-track {
  display: flex;
  gap: 1.1rem;
  width: max-content;
  animation: hero-ticker 28s linear infinite;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}
.hero__ticker-track span:nth-child(odd) { color: #ffe4dc; }
@keyframes hero-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Live badge */
.hero__live {
  margin-left: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: #9ff0d8;
  background: rgba(40, 140, 120, 0.28);
  border: 1px solid rgba(100, 220, 190, 0.35);
  animation: hero-live-pulse 2s ease-in-out infinite;
}
@keyframes hero-live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(100, 220, 190, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(100, 220, 190, 0); }
}

/* Tilt card */
.hero__body[data-hero-tilt] {
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
  will-change: transform;
}
.hero--max .hero__scroll {
  bottom: 3rem;
}
.hero--max .hero__frame {
  padding-bottom: clamp(3.5rem, 8vh, 5.5rem);
}

/* Title shimmer stronger */
.hero--max h1 em {
  background: linear-gradient(110deg, #f4c7c1 0%, #fff 35%, #7eebcf 55%, #ffc878 75%, #f4c7c1 100%);
  background-size: 280% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero--max.is-lively h1 em {
  animation: hero-title-shimmer 4s ease-in-out infinite;
}

/* Magnetic secondary button pop */
.hero--max .hero__cta-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(126, 235, 207, 0.5);
  color: #fff;
  box-shadow: 0 8px 24px rgba(60, 180, 150, 0.2);
}

@media (max-width: 820px) {
  .hero__orbit { opacity: 0.45; right: 50%; transform: translate(50%, -60%); width: min(90vw, 360px); height: min(50vh, 360px); top: 28%; }
  .hero__float-badge--1 { right: 6%; top: 12%; }
  .hero__float-badge--2 { right: auto; left: 6%; top: 36%; }
  .hero__float-badge--3 { right: 8%; bottom: auto; top: 42%; }
  .hero__float-badge--4 { right: 18%; top: 8%; }
  .hero__pulse { right: 50%; bottom: 48%; transform: translateX(50%); }
  .hero__blob { opacity: 0.22; }
  .hero__ticker { padding: 0.45rem 0; }
  .hero--max .hero__scroll { display: none; }
}
/* Customizer / non-banner full-bleed */
.hero:not(.hero--layered):not(.hero--banner) .hero__media {
  inset: -2%;
}
.hero:not(.hero--layered):not(.hero--banner) .hero__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
  transform: scale(1.04);
  animation: hero-kenburns 28s ease-in-out infinite alternate;
}

/* ---- Scene (layered) ---- */
.hero__scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__scene-base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 80% at 12% 20%, rgba(26, 78, 72, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 88% 70%, rgba(12, 40, 36, 0.8) 0%, transparent 50%),
    linear-gradient(145deg, #071a18 0%, #0a2824 38%, #051210 100%);
}
.hero__scene-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}
.hero__scene-orb--coral {
  right: 8%;
  top: 18%;
  width: min(58vw, 620px);
  height: min(58vw, 620px);
  background: radial-gradient(circle, rgba(220, 95, 85, 0.55) 0%, rgba(194, 75, 66, 0.22) 40%, transparent 70%);
  animation: hero-orb-pulse 7s ease-in-out infinite;
  mix-blend-mode: screen;
}
.hero__scene-orb--teal {
  left: -8%;
  bottom: 10%;
  width: min(50vw, 480px);
  height: min(50vw, 480px);
  background: radial-gradient(circle, rgba(47, 107, 103, 0.35) 0%, transparent 70%);
  animation: hero-orb-pulse 9s ease-in-out 1s infinite reverse;
}
.hero__scene-orb--warm {
  right: 22%;
  top: 8%;
  width: min(30vw, 280px);
  height: min(30vw, 280px);
  background: radial-gradient(circle, rgba(255, 190, 170, 0.2) 0%, transparent 70%);
  filter: blur(20px);
  animation: hero-orb-pulse 6s ease-in-out 0.5s infinite;
}
.hero__scene-beam {
  position: absolute;
  right: 12%;
  top: -10%;
  width: min(40vw, 380px);
  height: 120%;
  background: linear-gradient(
    180deg,
    rgba(255, 220, 200, 0.07) 0%,
    rgba(194, 75, 66, 0.06) 40%,
    transparent 75%
  );
  transform: rotate(12deg);
  filter: blur(18px);
  opacity: 0.8;
  animation: hero-beam 10s ease-in-out infinite alternate;
}
.hero__scene-floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background:
    linear-gradient(to top, rgba(2, 8, 10, 0.92) 0%, rgba(2, 8, 10, 0.35) 55%, transparent 100%),
    radial-gradient(ellipse 70% 80% at 72% 0%, rgba(194, 75, 66, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero__scene-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 75% at 50% 45%, transparent 35%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}
.hero__scene-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* ---- Bottle stage ---- */
.hero__stage {
  position: absolute;
  right: clamp(0%, 2vw, 4%);
  top: 50%;
  transform: translateY(-48%);
  width: min(48vw, 560px);
  height: min(86vh, 820px);
  display: grid;
  place-items: center;
  z-index: 1;
  pointer-events: none;
}
.hero__halo {
  position: absolute;
  width: 92%;
  height: 70%;
  top: 12%;
  left: 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 75, 66, 0.42) 0%, rgba(194, 75, 66, 0.1) 45%, transparent 70%);
  filter: blur(8px);
  animation: hero-halo 6s ease-in-out infinite;
  mix-blend-mode: screen;
}
.hero__ring {
  position: absolute;
  bottom: 11%;
  width: 58%;
  height: 8%;
  border-radius: 50%;
  border: 1px solid rgba(247, 244, 238, 0.12);
  box-shadow:
    0 0 40px rgba(194, 75, 66, 0.25),
    inset 0 0 24px rgba(194, 75, 66, 0.12);
  animation: hero-ring 5s ease-in-out infinite;
}
.hero__pedestal {
  position: absolute;
  bottom: 8%;
  width: 52%;
  height: 5%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.55) 0%, transparent 70%);
  filter: blur(6px);
}
.hero__bottle {
  position: relative;
  z-index: 2;
  width: auto;
  height: min(78vh, 700px);
  max-width: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.5));
  animation: hero-bottle-float 8s ease-in-out infinite;
  will-change: transform;
}
.hero__shine {
  position: absolute;
  inset: 8% 18% 18% 18%;
  z-index: 3;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.08) 48%,
    rgba(255, 255, 255, 0.14) 50%,
    rgba(255, 255, 255, 0.05) 52%,
    transparent 60%
  );
  mix-blend-mode: soft-light;
  animation: hero-glass-shine 7s ease-in-out 1.5s infinite;
  pointer-events: none;
  border-radius: 40% 40% 30% 30%;
  opacity: 0;
}

/* ---- FX / particles ---- */
.hero__fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.hero__particles { position: absolute; inset: 0; }
.hero__particle {
  position: absolute;
  bottom: -6%;
  border-radius: 50%;
  background: rgba(247, 244, 238, 0.65);
  box-shadow: 0 0 10px rgba(194, 75, 66, 0.4);
  animation: hero-float-up linear infinite;
  opacity: 0;
  pointer-events: none;
}

/* ---- Shade for text ---- */
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      100deg,
      rgba(4, 14, 13, 0.92) 0%,
      rgba(4, 14, 13, 0.78) 24%,
      rgba(4, 14, 13, 0.28) 48%,
      transparent 64%
    ),
    linear-gradient(to top, rgba(4, 14, 13, 0.35) 0%, transparent 32%);
  animation: shade-in 1.1s var(--ease) both;
}
.hero__shade--layered {
  background:
    linear-gradient(
      100deg,
      rgba(4, 14, 13, 0.9) 0%,
      rgba(4, 14, 13, 0.72) 22%,
      rgba(4, 14, 13, 0.2) 46%,
      transparent 60%
    ),
    linear-gradient(to top, rgba(4, 14, 13, 0.28) 0%, transparent 30%);
}

/* ---- Content frame ---- */
.hero__frame {
  position: relative;
  z-index: 2;
  width: min(100% - var(--gutter) * 2, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: clamp(5.5rem, 12vh, 7.5rem) 0 clamp(3rem, 6vh, 4.5rem);
}
.hero__body {
  position: relative;
  max-width: 36rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(247, 244, 238, 0.06) 0%, rgba(247, 244, 238, 0.02) 100%);
  border: 1px solid rgba(247, 244, 238, 0.1);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero__body::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.4rem;
  bottom: 1.4rem;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--coral) 0%, rgba(194, 75, 66, 0.15) 100%);
}
.hero__body > * {
  opacity: 0;
  transform: translateY(22px);
  animation: rise-in 0.95s var(--ease) forwards;
}
.hero__body > *:nth-child(1) { animation-delay: 0.12s; }
.hero__body > *:nth-child(2) { animation-delay: 0.26s; }
.hero__body > *:nth-child(3) { animation-delay: 0.4s; }
.hero__body > *:nth-child(4) { animation-delay: 0.52s; }
.hero__body > *:nth-child(5) { animation-delay: 0.64s; }
/* Was missing — without this, hero copy stays opacity:0 forever */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__body > * {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f0b4ae;
}
.hero__kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(194, 75, 66, 0.2);
  animation: hero-dot 2.2s ease-in-out infinite;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
  max-width: 11ch;
  font-size: clamp(2.75rem, 6.8vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
}
.hero h1 em {
  font-style: italic;
  color: #f4c7c1;
  display: inline;
  background: linear-gradient(120deg, #f4c7c1 0%, #fff 45%, #e89a92 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero.is-lively h1 em {
  animation: hero-title-shimmer 5s ease-in-out infinite;
}
.hero__lede {
  color: rgba(247, 244, 238, 0.78);
  margin-bottom: 1.6rem;
  max-width: 34ch;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.65;
}
.hero__btns {
  gap: 0.85rem;
}
.hero__cta {
  min-height: 3.1rem;
  padding-inline: 1.5rem;
  box-shadow: 0 10px 28px rgba(194, 75, 66, 0.35);
}
.hero__cta-secondary {
  border-color: rgba(247, 244, 238, 0.28);
  color: var(--ivory);
  background: rgba(247, 244, 238, 0.04);
}
.hero__cta-secondary:hover {
  border-color: rgba(247, 244, 238, 0.5);
  background: rgba(247, 244, 238, 0.1);
  color: #fff;
}
.hero__foot {
  margin-top: 1.65rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(247, 244, 238, 0.12);
}
.hero__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.85rem;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.05rem);
  color: var(--white);
  line-height: 1;
}
.hero__price > span:not(.sil-price) {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.5);
}
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
  list-style: none;
}
.hero__chips li {
  padding: 0.42rem 0.8rem;
  border: 1px solid rgba(194, 75, 66, 0.38);
  background: rgba(194, 75, 66, 0.12);
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffe4e0;
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.hero__chips li:hover {
  background: rgba(194, 75, 66, 0.24);
  border-color: rgba(194, 75, 66, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(194, 75, 66, 0.22);
}

/* Scroll cue */
.hero__scroll {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(247, 244, 238, 0.55);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.hero__scroll:hover { color: #f0b4ae; }
.hero__scroll i {
  display: block;
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, rgba(194, 75, 66, 0.9), transparent);
  animation: hero-scroll-line 1.8s ease-in-out infinite;
}

/* Motion keyframes */
@keyframes hero-bottle-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -12px, 0); }
}
@keyframes hero-orb-pulse {
  0%, 100% { opacity: 0.65; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes hero-halo {
  0%, 100% { opacity: 0.7; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.05); }
}
@keyframes hero-ring {
  0%, 100% { opacity: 0.55; transform: scaleX(1); }
  50% { opacity: 0.95; transform: scaleX(1.06); }
}
@keyframes hero-beam {
  from { opacity: 0.45; }
  to { opacity: 0.85; }
}
@keyframes hero-glass-shine {
  0%, 100% { opacity: 0; transform: translateX(-20%); }
  20% { opacity: 0.7; }
  45% { opacity: 0; transform: translateX(40%); }
}
@keyframes hero-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(194, 75, 66, 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(194, 75, 66, 0.08); }
}
@keyframes hero-title-shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
@keyframes hero-scroll-line {
  0% { transform: scaleY(0.35); transform-origin: top; opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0.35); transform-origin: bottom; opacity: 0.3; }
}
@keyframes hero-float-up {
  0%   { opacity: 0; transform: translate3d(0, 0, 0) scale(0.6); }
  12%  { opacity: 0.65; }
  80%  { opacity: 0.3; }
  100% { opacity: 0; transform: translate3d(var(--drift, 12px), -110vh, 0) scale(1); }
}

/* Desktop: more room for bottle */
@media (min-width: 960px) {
  .hero--layered .hero__frame {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
  .hero--layered .hero__body {
    max-width: 38rem;
  }
  .hero--layered .hero__stage {
    right: 4%;
    width: min(46vw, 580px);
  }
}

/* Mobile */
@media (max-width: 820px) {
  .hero {
    min-height: min(100svh, 900px);
    align-items: flex-end;
  }
  .hero--banner .hero__media > img {
    object-position: 72% 22%;
    animation: none;
    transform: none;
  }
  .hero--banner .hero__shade--banner {
    background: linear-gradient(
      to top,
      rgba(4, 14, 13, 0.96) 0%,
      rgba(4, 14, 13, 0.72) 34%,
      rgba(4, 14, 13, 0.22) 55%,
      rgba(4, 14, 13, 0.05) 100%
    );
  }
  .hero__wash--coral {
    width: min(80vw, 380px);
    height: min(80vw, 380px);
    opacity: 0.7;
  }
  .hero:not(.hero--layered):not(.hero--banner) .hero__media > img {
    object-position: 70% 18%;
  }
  .hero__stage {
    right: 50%;
    top: 10%;
    transform: translateX(50%);
    width: min(78vw, 340px);
    height: min(48vh, 420px);
  }
  .hero__bottle {
    height: min(44vh, 380px);
    animation-name: hero-bottle-float;
  }
  .hero__shade,
  .hero__shade--layered {
    background: linear-gradient(
      to top,
      rgba(4, 14, 13, 0.97) 0%,
      rgba(4, 14, 13, 0.82) 38%,
      rgba(4, 14, 13, 0.35) 62%,
      rgba(4, 14, 13, 0.12) 100%
    );
  }
  .hero__frame {
    padding: 0 0 max(1.5rem, env(safe-area-inset-bottom));
    width: min(100% - var(--gutter) * 2, var(--max));
  }
  .hero__body {
    max-width: none;
    padding: 1.25rem 1.15rem 1.35rem;
    border-radius: 16px;
  }
  .hero__body::before {
    top: 1rem;
    bottom: 1rem;
  }
  .hero h1 {
    max-width: 12ch;
    font-size: clamp(2.2rem, 9vw, 2.85rem);
  }
  .hero__scroll {
    display: none;
  }
  .hero__scene-orb--coral {
    right: 10%;
    top: 6%;
    width: min(90vw, 420px);
    height: min(90vw, 420px);
  }
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--teal);
  color: rgba(247, 244, 238, 0.72);
  border-bottom: 1px solid rgba(247, 244, 238, 0.08);
}
.trust-strip__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (min-width: 900px) {
  .trust-strip__inner { grid-template-columns: repeat(4, 1fr); }
}
.trust-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem 1rem;
  border-bottom: 1px solid rgba(247, 244, 238, 0.1);
  border-right: 1px solid rgba(247, 244, 238, 0.1);
  transition: background 0.3s;
}
.trust-strip__item:hover { background: rgba(255, 255, 255, 0.04); }
.trust-strip__item:nth-child(2n) { border-right: 0; }
@media (min-width: 900px) {
  .trust-strip__item {
    border-bottom: 0;
    border-right: 1px solid rgba(247, 244, 238, 0.1);
    padding: 1.35rem 1.25rem;
  }
  .trust-strip__item:nth-child(2n) { border-right: 1px solid rgba(247, 244, 238, 0.1); }
  .trust-strip__item:last-child { border-right: 0; }
}
.trust-strip__icon {
  width: 1.65rem;
  height: 1.65rem;
  flex-shrink: 0;
  color: #e8a8a2;
  margin-top: 0.15rem;
}
.trust-strip__icon svg { width: 100%; height: 100%; }
.trust-strip__item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.25rem;
}
.trust-strip__item span {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(247, 244, 238, 0.55);
}

/* ---------- Story band ---------- */
.story-band {
  background: var(--ivory);
}
.story-band__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .story-band__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}
.story-band__media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream);
  aspect-ratio: 5 / 4;
  box-shadow: 0 20px 50px rgba(28, 27, 31, 0.07);
}
.story-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.story-band__media:hover img { transform: scale(1.03); }
.story-band__copy h2 {
  margin-bottom: 1rem;
  max-width: 14ch;
}
.story-band__copy .lede {
  margin-bottom: 1.75rem;
}
.story-band__points {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.85rem;
  padding-top: 0.25rem;
}
.story-band__media { position: relative; }
.story-band__tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  padding: 0.45rem 0.75rem;
  background: rgba(7, 22, 20, 0.82);
  color: var(--ivory);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.story-band__points li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.story-band__points li:last-child { border-bottom: 0; }
.story-band__point-icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  color: var(--coral);
  margin-top: 0.1rem;
}
.story-band__point-icon svg { width: 100%; height: 100%; }
.story-band__points strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.15rem;
}
.story-band__points span {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}
.btn--ghost-dark {
  border: 1px solid var(--line);
  color: var(--charcoal);
  background: transparent;
}
.btn--ghost-dark:hover {
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: var(--white);
}

/* Media frames for product section */
.media-frame {
  position: relative;
  background: #f3eee6;
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 40px rgba(28, 27, 31, 0.06);
}
.media-frame--square { aspect-ratio: 1; }
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease);
}
.product-layout__media:hover .media-frame img { transform: scale(1.03); }
.product-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  padding: 0.4rem 0.7rem;
  background: var(--teal);
  color: var(--ivory);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.product-layout__img-note {
  margin-top: 0.65rem;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------- Sections ---------- */
.section {
  padding: var(--section) 0;
}
.section--cream { background: var(--cream); }
.section--dark {
  background: var(--teal);
  color: rgba(247, 244, 238, 0.75);
}
.section--dark h2,
.section--dark h3 { color: var(--white); }

.section-head {
  max-width: 32rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-head--row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  max-width: none;
}
.section-head--light .lede,
.lede--light { color: rgba(247, 244, 238, 0.7); }
.section-head h2 { margin-bottom: 0.75rem; }

/* ---------- Product buy layout ---------- */
.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (min-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}
.product-layout__media .img-note {
  position: static;
  display: inline-block;
  margin-top: 0.75rem;
  background: transparent;
  border: 0;
  padding: 0;
}
.product-layout__thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
}
.product-layout__thumbs button {
  width: 4rem;
  height: 4rem;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  opacity: 0.75;
  transition: opacity 0.2s, border-color 0.2s;
}
.product-layout__thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-layout__thumbs button:hover,
.product-layout__thumbs button.is-active {
  opacity: 1;
  border-color: var(--coral);
}
.product-layout__buy {
  padding: 0.25rem 0;
}
@media (min-width: 900px) {
  .product-layout__buy {
    padding: 0.5rem 0 0.5rem 0.5rem;
    border-left: 3px solid var(--coral);
    padding-left: 2rem;
  }
}
.product-layout__buy h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 0.35rem;
}
.product-layout__sku {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1.1rem;
}
.product-layout__buy .lede,
.product-layout__desc { margin-bottom: 1.5rem; }
.product-layout__desc p { margin: 0; }
.product-layout__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem 0.85rem;
  margin-bottom: 1.35rem;
}
.product-layout__price .price {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--coral);
  line-height: 1;
}
.product-layout__price s {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--muted);
}
.product-layout__price .price-note {
  width: 100%;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}
.product-layout__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.product-layout__cta {
  flex: 1;
  min-width: 10rem;
}
.product-layout__more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.15rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-mid);
  transition: color 0.25s, gap 0.25s;
}
.product-layout__more:hover {
  color: var(--coral);
  gap: 0.7rem;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}
.checklist li::before { display: none; }
.checklist__icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  color: var(--coral);
  margin-top: 0.15rem;
}
.checklist__icon svg { width: 100%; height: 100%; }
.product-assurances {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 520px) {
  .product-assurances { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
}
.product-assurances__item {
  padding: 0.75rem 0.85rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.product-assurances__item:hover {
  transform: translateY(-2px);
  border-color: rgba(194, 75, 66, 0.3);
}
.product-assurances__icon {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--coral);
  margin-bottom: 0.45rem;
}
.product-assurances__icon .sil-icon { width: 100%; height: 100%; }
.product-assurances__item:hover .sil-icon__svg {
  animation: icon-breathe 1s ease-in-out infinite;
}
.product-assurances__item strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.25rem;
}
.product-assurances__item span {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ---------- Pillars ---------- */
.pillars__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 700px) {
  .pillars__grid { grid-template-columns: 1fr 1fr; gap: 1.15rem; }
}
@media (min-width: 1000px) {
  .pillars__grid { grid-template-columns: repeat(4, 1fr); }
}
.pillar-card {
  position: relative;
  padding: 1.5rem 1.25rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.3s;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(28, 27, 31, 0.07);
  border-color: rgba(194, 75, 66, 0.3);
}
.pillar-card__icon {
  width: 2.35rem;
  height: 2.35rem;
  color: var(--coral);
  margin-bottom: 1rem;
  display: block;
}
.pillar-card__icon svg { width: 100%; height: 100%; }
.pillar-card__n {
  position: absolute;
  top: 1.25rem;
  right: 1.15rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.pillar-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}
.pillar-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Home mid-page CTA */
.home-cta { padding-top: calc(var(--section) * 0.85); }
.home-cta__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(194, 75, 66, 0.1), transparent 55%),
    var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(28, 27, 31, 0.06);
}
@media (min-width: 800px) {
  .home-cta__panel {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2rem;
    padding: 1.5rem 2rem 1.5rem 1.5rem;
  }
}
.home-cta__media {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  max-width: 280px;
}
@media (min-width: 800px) {
  .home-cta__media { max-width: none; }
}
.home-cta__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-cta__copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 0.35rem;
}
.home-cta__meta {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.85rem;
}
.home-cta__copy .lede { margin-bottom: 1.25rem; }
.how-note {
  margin-top: 2rem;
  font-size: 0.82rem;
  color: rgba(247, 244, 238, 0.55);
  max-width: 36rem;
  line-height: 1.55;
}
.post__more {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  transition: gap 0.25s, color 0.25s;
}
.post__more:hover { color: var(--coral-deep); }
.spec-card__icon {
  width: 1.75rem;
  height: 1.75rem;
  display: block;
  color: var(--coral);
  margin-bottom: 0.85rem;
}
.spec-card__icon svg { width: 100%; height: 100%; }
.steps-list__icon {
  width: 1.85rem;
  height: 1.85rem;
  display: block;
  color: #e8a39c;
  margin-bottom: 0.85rem;
}
.steps-list__icon svg { width: 100%; height: 100%; }

.price {
  font-family: var(--font-serif);
  font-size: 2.15rem;
  color: var(--coral);
  line-height: 1;
}
.qty {
  display: inline-flex;
  border: 1px solid var(--line);
  background: var(--white);
}
.qty button {
  width: 2.7rem;
  height: 2.7rem;
  font-size: 1.1rem;
}
.qty button:hover { background: var(--cream); }
.qty input {
  width: 2.7rem;
  height: 2.7rem;
  text-align: center;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-weight: 500;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

.checklist {
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}
.checklist li {
  display: flex;
  gap: 0.7rem;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.checklist li::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--coral);
  flex-shrink: 0;
}

/* Spec cards */
.spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 640px) {
  .spec-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .spec-grid { grid-template-columns: repeat(4, 1fr); }
}
.spec-card {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) {
  .spec-card {
    padding: 1.85rem 1.5rem 1.85rem 0;
    border-right: 1px solid var(--line);
  }
  .spec-card:nth-child(2n) {
    border-right: 0;
    padding-right: 0;
    padding-left: 1.5rem;
  }
}
@media (min-width: 1000px) {
  .spec-card {
    border-bottom: 0;
    border-right: 1px solid var(--line);
    padding: 2rem 1.5rem 2rem 0;
  }
  .spec-card:nth-child(2n) { padding-left: 0; }
  .spec-card:not(:first-child) { padding-left: 1.5rem; }
  .spec-card:last-child { border-right: 0; padding-right: 0; }
}
.spec-card__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.75rem;
}
.spec-card h3 { margin-bottom: 0.45rem; }
.spec-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* How steps */
.steps-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(247, 244, 238, 0.14);
  counter-reset: none;
}
@media (min-width: 800px) {
  .steps-list { grid-template-columns: repeat(3, 1fr); }
}
.steps-list li {
  padding: 1.85rem 0;
  border-bottom: 1px solid rgba(247, 244, 238, 0.12);
}
@media (min-width: 800px) {
  .steps-list li {
    padding: 2rem 1.75rem 2rem 0;
    border-bottom: 0;
    border-right: 1px solid rgba(247, 244, 238, 0.12);
  }
  .steps-list li:not(:first-child) { padding-left: 1.75rem; }
  .steps-list li:last-child { border-right: 0; padding-right: 0; }
}
.steps-list__n {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: #e8a39c;
  margin-bottom: 0.9rem;
}
.steps-list h3 { margin-bottom: 0.5rem; }
.steps-list p {
  font-size: 0.95rem;
  color: rgba(247, 244, 238, 0.68);
  line-height: 1.6;
}

/* Sticky mobile buy */
.sticky-buy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem var(--gutter);
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: rgba(247, 244, 238, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 28px rgba(28, 27, 31, 0.08);
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s var(--ease), opacity 0.35s;
}
.sticky-buy.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.sticky-buy__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.sticky-buy__text strong {
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-buy__text span {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--coral);
}
.sticky-buy .btn {
  flex-shrink: 0;
  min-height: 2.75rem;
}
@media (min-width: 900px) {
  .sticky-buy { display: none !important; }
}
body.has-sticky-buy { padding-bottom: 5.5rem; }
@media (min-width: 900px) {
  body.has-sticky-buy { padding-bottom: 0; }
}

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 850px) {
  .faq-layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
    align-items: start;
  }
}
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink);
}
.faq-item button i {
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.faq-item button i::before,
.faq-item button i::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--coral);
  transform: translate(-50%, -50%);
}
.faq-item button i::before { width: 9px; height: 1px; }
.faq-item button i::after { width: 1px; height: 9px; transition: transform 0.25s; }
.faq-item.is-open button i {
  background: var(--coral);
  border-color: var(--coral);
}
.faq-item.is-open button i::before,
.faq-item.is-open button i::after { background: var(--white); }
.faq-item.is-open button i::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-item .a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}
.faq-item.is-open .a { grid-template-rows: 1fr; }
.faq-item .a > div { overflow: hidden; }
.faq-item .a p {
  padding: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 48ch;
}

/* ---------- Journal v3 (sj-*) ---------- */
.sj-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f0b4ae;
}
.sj-kicker--dark { color: var(--coral, #c24b42); }

.sj-archive { padding: 0 0 4rem; background: var(--ivory, #faf8f4); }
.sj-hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2.25rem, 5vw, 3.25rem);
  color: #f7f4ee;
  overflow: hidden;
  background: #0b2522;
}
.sj-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(194, 75, 66, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(47, 107, 103, 0.35), transparent 50%),
    linear-gradient(165deg, #0b2522 0%, #123f3a 55%, #0a1f1c 100%);
  pointer-events: none;
}
.sj-hero__inner { position: relative; z-index: 1; max-width: 40rem; }
.sj-hero .silvaris-breadcrumbs,
.sj-hero .silvaris-breadcrumbs a { color: rgba(247, 244, 238, 0.7); }
.sj-hero .silvaris-breadcrumbs .breadcrumb_last { color: #f7f4ee; }
.sj-hero__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
}
.sj-hero__lede {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(247, 244, 238, 0.72);
  max-width: 36rem;
}

.sj-archive__body { padding-top: 2rem; }

.sj-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
}
.sj-filters__chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(18, 63, 58, 0.12);
  background: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3d3a35;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.sj-filters__chip:hover {
  border-color: rgba(194, 75, 66, 0.4);
  color: var(--coral);
}
.sj-filters__chip.is-active {
  background: #0b2522;
  border-color: #0b2522;
  color: #fff;
}

.sj-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}
@media (min-width: 700px) {
  .sj-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 1040px) {
  .sj-grid { grid-template-columns: repeat(3, 1fr); gap: 1.65rem; }
}

.sj-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(18, 63, 58, 0.1);
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(11, 37, 34, 0.05);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  margin: 0;
}
.sj-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(11, 37, 34, 0.1);
  border-color: rgba(194, 75, 66, 0.25);
}
.sj-card__media {
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #ebe6df;
}
.sj-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.sj-card:hover .sj-card__media img { transform: scale(1.04); }
.sj-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.2rem 1.25rem 1.35rem;
  gap: 0.45rem;
}
.sj-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a847c;
}
.sj-card__cat {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(18, 63, 58, 0.07);
  color: #0b2522;
  font-weight: 600;
}
.sj-card__title {
  margin: 0.15rem 0;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #0b2522;
}
.sj-card__title a {
  color: inherit;
  text-decoration: none;
}
.sj-card__title a:hover { color: var(--coral); }
.sj-card__excerpt {
  margin: 0;
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #6b655c;
}
.sj-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  text-decoration: none;
}
.sj-card__more:hover { gap: 0.55rem; }

/* Featured card spans full width */
.sj-card--feature {
  grid-column: 1 / -1;
}
@media (min-width: 860px) {
  .sj-card--feature {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 20rem;
  }
  .sj-card--feature .sj-card__media {
    aspect-ratio: auto;
    min-height: 100%;
    height: 100%;
  }
  .sj-card--feature .sj-card__body {
    padding: 2rem 2.1rem;
    justify-content: center;
  }
  .sj-card--feature .sj-card__title {
    font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  }
  .sj-card--feature .sj-card__excerpt {
    font-size: 1.02rem;
    max-width: 38ch;
  }
}

.sj-pagination {
  display: flex;
  justify-content: center;
  padding: 2rem 0 0.5rem;
}
.sj-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
}
.sj-pagination a,
.sj-pagination span {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(18, 63, 58, 0.12);
  background: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3d3a35;
  text-decoration: none;
}
.sj-pagination .current {
  background: #0b2522;
  border-color: #0b2522;
  color: #fff;
}

.sj-empty { padding: 2rem 0; color: #6b655c; }

.sj-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 1.75rem;
  margin-top: 2.5rem;
  padding: 1.5rem 1.6rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(18, 63, 58, 0.1);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(194, 75, 66, 0.1), transparent 55%),
    #fff;
  box-shadow: 0 14px 36px rgba(11, 37, 34, 0.06);
}
.sj-cta h2 {
  margin: 0.2rem 0 0.4rem;
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 3vw, 1.95rem);
  font-weight: 500;
  color: #0b2522;
}
.sj-cta p { margin: 0; color: #6b655c; max-width: 34rem; line-height: 1.5; }

/* ---- Single article ---- */
.sj-single { background: var(--ivory, #faf8f4); padding-bottom: 3rem; }
.sj-article { margin: 0; }

.sj-article__hero {
  position: relative;
  padding: clamp(2rem, 5vw, 3.25rem) 0 2.5rem;
  color: #f7f4ee;
  overflow: hidden;
  background: #0b2522;
}
.sj-article__hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 90% 10%, rgba(194, 75, 66, 0.25), transparent 55%),
    linear-gradient(165deg, #0b2522 0%, #123f3a 60%, #0a1f1c 100%);
  pointer-events: none;
}
.sj-article__hero-inner {
  position: relative;
  z-index: 1;
  max-width: 44rem;
}
.sj-article__hero .silvaris-breadcrumbs,
.sj-article__hero .silvaris-breadcrumbs a { color: rgba(247, 244, 238, 0.65); }
.sj-article__hero .breadcrumb_last { color: #f7f4ee; }

.sj-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0.85rem 0 1rem;
}
.sj-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(247, 244, 238, 0.12);
  border: 1px solid rgba(247, 244, 238, 0.16);
  color: #f7f4ee;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}
.sj-pill:hover { background: rgba(247, 244, 238, 0.2); color: #fff; }
.sj-pill--ghost {
  background: transparent;
  border-color: rgba(240, 180, 174, 0.45);
  color: #f0b4ae;
}
.sj-article__meta-text {
  font-size: 0.82rem;
  color: rgba(247, 244, 238, 0.65);
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.sj-article__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}
.sj-article__lede {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.55;
  color: rgba(247, 244, 238, 0.75);
  max-width: 38rem;
}

.sj-article__shell {
  padding-top: 0;
  margin-top: -1.5rem;
  position: relative;
  z-index: 2;
}
.sj-article__figure {
  margin: 0 auto 2rem;
  max-width: 52rem;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(18, 63, 58, 0.1);
  box-shadow: 0 20px 50px rgba(11, 37, 34, 0.14);
  aspect-ratio: 16 / 10;
}
.sj-article__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sj-article__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 72rem;
  margin: 0 auto;
}
@media (min-width: 980px) {
  .sj-article__grid {
    grid-template-columns: minmax(0, 1fr) 17.5rem;
    gap: 2.75rem;
  }
}

.sj-article__content.entry-content {
  max-width: 40rem;
  margin: 0;
  padding: 0 0 0.5rem;
  font-size: 1.08rem;
  line-height: 1.85;
  color: #2c2a26;
  background: transparent;
}
.sj-article__content.entry-content > *:first-child { margin-top: 0; }
.sj-article__content.entry-content p { margin: 0 0 1.2rem; }
.sj-article__content.entry-content h2,
.sj-article__content.entry-content h3 {
  margin: 2.1rem 0 0.75rem;
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: #0b2522;
  letter-spacing: -0.01em;
}
.sj-article__content.entry-content h2 { font-size: 1.65rem; }
.sj-article__content.entry-content h3 { font-size: 1.3rem; }
.sj-article__content.entry-content ul,
.sj-article__content.entry-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}
.sj-article__content.entry-content ul { list-style: disc; }
.sj-article__content.entry-content ol { list-style: decimal; }
.sj-article__content.entry-content li { margin: 0.4rem 0; padding-left: 0.15rem; }
.sj-article__content.entry-content a {
  color: var(--coral);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sj-article__content.entry-content strong { color: #0b2522; }
.sj-article__content.entry-content .journal-note {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--coral);
  border-radius: 0 0.75rem 0.75rem 0;
  background: rgba(194, 75, 66, 0.06);
  font-size: 0.95rem;
  line-height: 1.55;
  color: #5c574f;
}
.sj-article__content.entry-content .journal-cta {
  margin: 1.75rem 0;
  padding: 1.1rem 1.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(18, 63, 58, 0.1);
  background: #fff;
  box-shadow: 0 8px 24px rgba(11, 37, 34, 0.05);
}
.sj-article__disclaimer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(18, 63, 58, 0.1);
  font-size: 0.84rem;
  line-height: 1.5;
  color: #8a847c;
}

.sj-article__rail {
  display: grid;
  gap: 1rem;
}
@media (min-width: 980px) {
  .sj-article__rail {
    position: sticky;
    top: calc(var(--header-h, 72px) + 1.25rem);
  }
}
.sj-rail {
  padding: 1.15rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(18, 63, 58, 0.1);
  background: #fff;
  box-shadow: 0 12px 32px rgba(11, 37, 34, 0.06);
}
.sj-rail--soft {
  background: #f4f0e9;
  box-shadow: none;
}
.sj-rail__img {
  display: block;
  margin: -0.15rem -0.15rem 0.9rem;
  border-radius: 0.9rem;
  overflow: hidden;
  background: #ebe6df;
  aspect-ratio: 1;
}
.sj-rail__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sj-rail__name {
  margin: 0.25rem 0 0.3rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: #0b2522;
  line-height: 1.2;
}
.sj-rail__spec {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: #6b655c;
}
.sj-rail__btn { width: 100%; }
.sj-rail__links {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}
.sj-rail__links li {
  margin: 0;
  border-bottom: 1px solid rgba(18, 63, 58, 0.08);
}
.sj-rail__links li:last-child { border-bottom: 0; }
.sj-rail__links a {
  display: block;
  padding: 0.65rem 0;
  color: #0b2522;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.sj-rail__links a:hover { color: var(--coral); }

.sj-related {
  margin: 3rem 0 0;
  padding: 2.25rem 0 0;
  border-top: 1px solid rgba(18, 63, 58, 0.1);
}
.sj-related__head { margin-bottom: 1.15rem; }
.sj-related__head h2 {
  margin: 0.2rem 0 0;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: #0b2522;
}
.sj-related__grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .sj-related__grid { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
}
.sj-related__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(18, 63, 58, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.sj-related__card:hover {
  border-color: rgba(194, 75, 66, 0.3);
  box-shadow: 0 12px 28px rgba(11, 37, 34, 0.08);
  transform: translateY(-2px);
}
.sj-related__media {
  display: block;
  aspect-ratio: 16/11;
  background: #ebe6df;
  overflow: hidden;
}
.sj-related__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sj-related__date {
  display: block;
  padding: 0.85rem 1rem 0.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a847c;
}
.sj-related__title {
  display: block;
  padding: 0 1rem 1.05rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.25;
  color: #0b2522;
}

.sj-article__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(18, 63, 58, 0.1);
  max-width: 40rem;
}

/* Homepage journal strip (front-page) still uses .post — keep usable */
.posts .post {
  background: #fff;
  border: 1px solid rgba(18, 63, 58, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.posts .post__media {
  display: block;
  aspect-ratio: 16/11;
  overflow: hidden;
  background: #ebe6df;
}
.posts .post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.posts .post__body { padding: 1.15rem 1.2rem 1.3rem; flex: 1; display: flex; flex-direction: column; }
.posts .post__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0.35rem 0 0.5rem;
  line-height: 1.2;
}
.posts .post__excerpt { color: #6b655c; font-size: 0.95rem; flex: 1; margin: 0 0 0.85rem; }
.posts .post__more {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
}

.page-default__inner { max-width: 42rem; padding: 1rem 0 4rem; }
.page-default__content { margin-top: 0.5rem; }

/* Keep generic entry-content readable on other pages */
.entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2c2a26;
}
.entry-content p { margin-bottom: 1.1rem; }
.entry-content h2,
.entry-content h3 {
  margin: 1.85rem 0 0.7rem;
  font-family: var(--font-serif);
  font-weight: 500;
  color: #0b2522;
}
.entry-content ul,
.entry-content ol {
  margin: 0 0 1.1rem 1.2rem;
}
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content a { color: var(--coral); }
/* ---------- History (interactive) ---------- */
.history-page { padding: 0; overflow-x: clip; }

.history-hero {
  position: relative;
  min-height: min(82svh, 760px);
  display: grid;
  place-items: end start;
  padding: clamp(4rem, 12vw, 7rem) 0 3.5rem;
  background: var(--teal-deep);
  color: var(--ivory);
  overflow: hidden;
}
.history-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(194, 75, 66, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(47, 107, 103, 0.45), transparent 50%),
    linear-gradient(160deg, #0b2522 0%, #123f3a 45%, #1a4f49 100%);
  animation: history-glow 12s ease-in-out infinite alternate;
}
@keyframes history-glow {
  from { filter: saturate(1); transform: scale(1); }
  to { filter: saturate(1.08); transform: scale(1.03); }
}
.history-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  pointer-events: none;
}
.history-orb--1 {
  width: 280px; height: 280px; top: 8%; right: 12%;
  background: rgba(194, 75, 66, 0.35);
  animation: orb-drift 14s ease-in-out infinite alternate;
}
.history-orb--2 {
  width: 220px; height: 220px; bottom: 12%; left: 8%;
  background: rgba(47, 107, 103, 0.5);
  animation: orb-drift 11s ease-in-out infinite alternate-reverse;
}
.history-orb--3 {
  width: 160px; height: 160px; top: 40%; left: 40%;
  background: rgba(247, 244, 238, 0.08);
  animation: orb-drift 9s ease-in-out infinite alternate;
}
@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(24px, -18px) scale(1.12); }
}
.history-float {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 2.75rem;
  height: 2.75rem;
  color: rgba(247, 244, 238, 0.28);
  animation: float-icon 6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  pointer-events: none;
}
.history-float svg { width: 100%; height: 100%; }
@keyframes float-icon {
  0%, 100% { transform: translateY(0) rotate(-4deg); opacity: 0.22; }
  50% { transform: translateY(-12px) rotate(4deg); opacity: 0.4; }
}
.history-hero__inner { position: relative; z-index: 1; max-width: 42rem; }
.history-hero h1 {
  color: var(--ivory);
  margin-bottom: 1rem;
}
.history-hero .lede { color: rgba(247, 244, 238, 0.78); margin-bottom: 1.5rem; }
.history-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  max-width: 28rem;
}
.history-hero__stat {
  padding: 0.85rem 0.75rem;
  border: 1px solid rgba(247, 244, 238, 0.14);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border-radius: 12px;
}
.history-hero__stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 400;
  color: #f0b4ae;
  line-height: 1.1;
  margin-bottom: 0.2rem;
}
.history-hero__stat span {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: rgba(247, 244, 238, 0.55);
  line-height: 1.3;
}
.history-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.history-hero .btn--outline {
  border-color: rgba(247, 244, 238, 0.45);
  color: var(--ivory);
}
.history-hero .btn--outline:hover {
  background: var(--ivory);
  color: var(--teal);
  border-color: var(--ivory);
}
.history-hero__scroll {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.55);
}
.history-hero__scroll i {
  display: block;
  width: 1px;
  height: 2.25rem;
  background: linear-gradient(to bottom, rgba(247,244,238,0.55), transparent);
  animation: scroll-line 1.6s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { opacity: 0.35; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

.history-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 120;
  background: transparent;
  pointer-events: none;
}
.history-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--coral), #e8a39c, var(--teal-mid));
  box-shadow: 0 0 12px rgba(194, 75, 66, 0.45);
  transition: width 0.1s linear;
}

.history-nav-strip {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: rgba(247, 244, 238, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 0 0.7rem;
  box-shadow: 0 8px 24px rgba(28, 27, 31, 0.04);
}
.history-nav-strip__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
}
.history-nav-strip__hint {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.history-nav-strip__live {
  color: var(--coral);
  font-weight: 500;
}
.history-nav-strip__pct {
  font-variant-numeric: tabular-nums;
  color: var(--teal-mid);
}
.history-nav-strip__inner {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0.15rem;
  scroll-behavior: smooth;
}
.history-nav-strip__inner::-webkit-scrollbar { display: none; }
.history-chip {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.75rem 0.45rem 0.45rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 2px;
  transition: border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
  text-align: left;
  position: relative;
}
.history-chip:hover {
  border-color: var(--coral);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(28, 27, 31, 0.06);
}
.history-chip.is-active {
  border-color: var(--coral);
  background: var(--coral-wash);
  box-shadow: 0 0 0 1px rgba(194, 75, 66, 0.2);
}
.history-chip__thumb {
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: var(--cream);
}
.history-chip__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.history-chip.is-active .history-chip__thumb img { transform: scale(1.08); }
.history-chip__icon {
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  border-radius: 2px;
  flex-shrink: 0;
  color: var(--teal);
  background: var(--cream);
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s;
}
.history-chip__icon svg { width: 1.25rem; height: 1.25rem; }
.history-chip__icon--coral { color: var(--coral); }
.history-chip.is-active .history-chip__icon {
  background: var(--coral);
  color: var(--white);
  transform: scale(1.06) rotate(-3deg);
}
.history-chip__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.history-chip__year {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
}
.history-chip__era {
  font-size: 0.78rem;
  color: var(--ink);
  white-space: nowrap;
}
.history-chip__n {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-left: 0.15rem;
  opacity: 0.7;
}

.history-timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 3rem 0 4rem;
}
@media (min-width: 900px) {
  .history-timeline {
    grid-template-columns: 12rem 1fr;
    gap: 2rem;
    padding-top: 4rem;
  }
}
.history-timeline__rail {
  display: none;
}
@media (min-width: 900px) {
  .history-timeline__rail {
    display: block;
    position: absolute;
    left: calc(12rem + 2rem + 0.35rem);
    top: 4rem;
    bottom: 4rem;
    width: 2px;
    background: var(--line);
    border-radius: 2px;
    overflow: hidden;
  }
  .history-timeline__fill {
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, var(--coral), var(--teal-mid), var(--coral-soft));
    transition: height 0.15s linear;
    box-shadow: 0 0 12px rgba(194, 75, 66, 0.35);
  }
}

.history-sticky {
  display: none;
}
@media (min-width: 900px) {
  .history-sticky {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 6.5rem);
    align-self: start;
    padding: 1.15rem 1rem 1.15rem 0;
  }
}
.history-sticky__thumb {
  width: 5.5rem;
  height: 5.5rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  box-shadow: 0 10px 24px rgba(28, 27, 31, 0.08);
}
.history-sticky__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), opacity 0.35s;
}
.history-sticky.is-pulse .history-sticky__thumb img {
  animation: sticky-img 0.55s var(--ease);
}
@keyframes sticky-img {
  0% { transform: scale(1.12); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}
.history-sticky__icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  color: var(--coral);
  background: var(--coral-wash);
  border: 1px solid rgba(194, 75, 66, 0.2);
  border-radius: 10px;
  transition: transform 0.4s var(--ease);
}
.history-sticky__icon svg { width: 1.45rem; height: 1.45rem; }
.history-sticky.is-pulse .history-sticky__icon {
  animation: sticky-pop 0.45s var(--ease);
}
@keyframes sticky-pop {
  0% { transform: scale(0.88) rotate(-6deg); }
  60% { transform: scale(1.08) rotate(3deg); }
  100% { transform: scale(1) rotate(0); }
}
.history-sticky__label {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.history-sticky__year {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--coral);
  line-height: 1.15;
  margin-bottom: 0.25rem;
  transition: opacity 0.3s;
}
.history-sticky__era {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.history-sticky__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}
.history-sticky__step {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.history-sticky__step.is-on {
  background: var(--coral);
  transform: scale(1.2);
  box-shadow: 0 0 0 4px var(--coral-wash);
}
.history-sticky__tip {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
  max-width: 10rem;
}

.history-eras { position: relative; }
.history-era {
  position: relative;
  padding: 0 0 2.75rem 1.5rem;
  border-left: 2px solid var(--line);
  margin-left: 0.35rem;
}
@media (min-width: 900px) {
  .history-era {
    padding-left: 2.25rem;
    margin-left: 0;
    border-left: 0;
    padding-bottom: 3.5rem;
  }
}
.history-era__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 52rem;
}
@media (min-width: 820px) {
  .history-era__layout {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1.5rem;
    align-items: start;
  }
  .history-era--flip .history-era__visual { order: 2; }
  .history-era--flip .history-era__card { order: 1; }
}
.history-era__visual {
  margin: 0;
  position: sticky;
  top: calc(var(--header-h) + 6.5rem);
}
.history-era__visual-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  border: 1px solid var(--line);
  background: var(--cream);
  box-shadow: 0 16px 40px rgba(28, 27, 31, 0.07);
}
.history-era__visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.2s var(--ease), filter 0.5s;
  will-change: transform;
}
.history-era.is-active .history-era__visual-frame img {
  animation: era-ken 12s ease-in-out infinite alternate;
  filter: saturate(1.05);
}
@keyframes era-ken {
  from { transform: scale(1.06) translate(0, 0); }
  to { transform: scale(1.14) translate(-1.5%, -1%); }
}
.history-era__visual-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(7, 22, 20, 0.35) 0%, transparent 42%),
    linear-gradient(135deg, rgba(194, 75, 66, 0.12), transparent 50%);
  opacity: 0.85;
  transition: opacity 0.4s;
}
.history-era.is-active .history-era__visual-glow { opacity: 1; }
.history-era__caption {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.55rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.history-era__card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.25rem, 3vw, 1.85rem);
  box-shadow: 0 10px 30px rgba(28, 27, 31, 0.03);
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.45s var(--ease);
}
.history-era.is-active .history-era__card {
  border-color: rgba(194, 75, 66, 0.35);
  box-shadow: 0 18px 48px rgba(28, 27, 31, 0.08);
  transform: translateY(-2px);
}
.history-era__region {
  font-size: 0.78rem;
  color: var(--teal-mid);
  margin: 0.35rem 0 0.55rem;
  letter-spacing: 0.02em;
}
.history-era__body--2 {
  margin-top: -0.35rem;
  margin-bottom: 1.15rem;
}
.history-era__quote {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--teal-mid);
  background: linear-gradient(90deg, rgba(18, 63, 58, 0.06), transparent);
}
.history-era__quote p {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.4;
  margin: 0;
}
.history-era__milestones {
  margin-bottom: 1.25rem;
  max-width: 36rem;
  padding: 1rem 1.1rem;
  background: var(--ivory);
  border: 1px solid var(--line);
}
.history-era__milestones-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.65rem;
}
.history-era__milestones ol {
  list-style: none;
  counter-reset: mile;
  display: grid;
  gap: 0.45rem;
}
.history-era__milestones li {
  counter-increment: mile;
  display: flex;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--charcoal);
  line-height: 1.45;
}
.history-era__milestones li::before {
  content: counter(mile, decimal-leading-zero);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--coral);
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.history-era.is-active .history-era__dot {
  background: var(--coral);
  box-shadow: 0 0 0 6px var(--coral-wash);
  transform: scale(1.2);
}
.history-era.is-active .history-era__dot-pulse {
  animation: dot-pulse 1.6s ease-out infinite;
}
.history-era__dot {
  position: absolute;
  left: -0.42rem;
  top: 1.6rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--coral);
  transition: background 0.35s, box-shadow 0.35s, transform 0.35s;
  z-index: 2;
}
.history-era__dot-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(194, 75, 66, 0.45);
  opacity: 0;
}
@keyframes dot-pulse {
  0% { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(1.8); opacity: 0; }
}
@media (min-width: 900px) {
  .history-era__dot { left: -0.2rem; top: 1.75rem; }
}
.history-era__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.history-era__icon {
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  color: var(--teal);
  background:
    radial-gradient(circle at 30% 30%, rgba(194, 75, 66, 0.12), transparent 60%),
    var(--cream);
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), color 0.3s, border-color 0.3s;
}
.history-era__icon svg { width: 2rem; height: 2rem; }
.history-era.is-active .history-era__icon {
  color: var(--coral);
  border-color: rgba(194, 75, 66, 0.35);
  transform: scale(1.06) rotate(-4deg);
}
.history-era--coral .history-era__icon { color: var(--coral); }
.history-era__index {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.history-era__year {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.35rem;
}
.history-era__tag {
  display: inline-block;
  margin-left: 0.65rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.history-era h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  margin: 0.35rem 0 0.9rem;
}
.history-era__body {
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 1.15rem;
  line-height: 1.75;
}
.history-era__stat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.85rem;
  margin-bottom: 1.25rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(120deg, var(--teal) 0%, #1a524c 100%);
  color: var(--ivory);
  max-width: 36rem;
}
.history-era__stat-value {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  color: var(--white);
  line-height: 1;
}
.history-era__stat-label {
  font-size: 0.82rem;
  color: rgba(247, 244, 238, 0.7);
}
.history-era__facts {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
  max-width: 36rem;
}
.history-fact {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--charcoal);
  cursor: default;
  transition: border-color 0.25s, transform 0.3s var(--ease), background 0.25s, box-shadow 0.25s;
}
.history-fact:hover,
.history-fact:focus-visible,
.history-fact.is-pop {
  border-color: rgba(194, 75, 66, 0.4);
  background: #fff;
  transform: translateX(4px);
  box-shadow: 0 8px 20px rgba(28, 27, 31, 0.05);
  outline: none;
}
.history-fact.is-pop {
  animation: fact-pop 0.45s var(--ease);
}
@keyframes fact-pop {
  0% { transform: scale(0.98); }
  50% { transform: scale(1.02) translateX(4px); }
  100% { transform: scale(1) translateX(4px); }
}
.history-fact__icon {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  color: var(--coral);
  margin-top: 0.05rem;
}
.history-fact__icon svg { width: 100%; height: 100%; }
.history-fact__text { line-height: 1.45; }

.history-tidbit {
  max-width: 36rem;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--coral);
  background: linear-gradient(90deg, var(--coral-wash), transparent);
}
.history-tidbit__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.4rem;
}
.history-tidbit__label svg {
  width: 0.95rem;
  height: 0.95rem;
}
.history-tidbit p {
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.6;
  margin: 0;
}

.history-era__more {
  border-top: 1px solid var(--line);
  max-width: 36rem;
}
.history-era__more summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  user-select: none;
}
.history-era__more summary::-webkit-details-marker { display: none; }
.history-era__more-close { display: none; }
.history-era__more[open] .history-era__more-open { display: none; }
.history-era__more[open] .history-era__more-close { display: inline; }
.history-era__more summary i {
  width: 1.35rem;
  height: 1.35rem;
  border: 1px solid rgba(194, 75, 66, 0.35);
  border-radius: 50%;
  position: relative;
  margin-left: auto;
  transition: background 0.25s, transform 0.3s;
}
.history-era__more summary i::before,
.history-era__more summary i::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--coral);
  transform: translate(-50%, -50%);
}
.history-era__more summary i::before { width: 8px; height: 1px; }
.history-era__more summary i::after { width: 1px; height: 8px; transition: transform 0.25s; }
.history-era__more[open] summary i {
  background: var(--coral);
  transform: rotate(90deg);
}
.history-era__more[open] summary i::before,
.history-era__more[open] summary i::after { background: var(--white); }
.history-era__more[open] summary i::after { transform: translate(-50%, -50%) scaleY(0); }
.history-era__more-body {
  padding: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  animation: more-open 0.35s var(--ease);
}
@keyframes more-open {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.history-era__more-note {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
  padding-top: 0.75rem;
  border-top: 1px dashed var(--line);
}

/* Source intro cards */
.history-sources { padding-bottom: clamp(2rem, 4vw, 3rem); }
.history-sources__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 800px) {
  .history-sources__grid { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
}
.history-source-card {
  padding: 1.35rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.3s;
}
.history-source-card:hover {
  transform: translateY(-3px);
  border-color: rgba(194, 75, 66, 0.3);
  box-shadow: 0 14px 32px rgba(28, 27, 31, 0.07);
}
.history-source-card__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--coral);
  margin-bottom: 0.85rem;
}
.history-source-card__icon .sil-icon { width: 100%; height: 100%; }
.history-source-card h3 { margin-bottom: 0.45rem; font-size: 1.25rem; }
.history-source-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.6; }

.history-keyfacts__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 700px) {
  .history-keyfacts__grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
}
@media (min-width: 1000px) {
  .history-keyfacts__grid { grid-template-columns: repeat(4, 1fr); }
}
.history-keyfact {
  padding: 1.35rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--coral);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.history-keyfact:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(28, 27, 31, 0.07);
}
.history-keyfact__n {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--coral);
  margin-bottom: 0.55rem;
}
.history-keyfact h3 { margin-bottom: 0.45rem; font-size: 1.2rem; }
.history-keyfact p { font-size: 0.9rem; color: var(--muted); line-height: 1.55; }

/* Visual journey strip */
.history-journey {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.history-journey__track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 700px) {
  .history-journey__track { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
@media (min-width: 1100px) {
  .history-journey__track { grid-template-columns: repeat(6, 1fr); }
}
.history-journey__card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  text-align: left;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.3s;
  animation: journey-in 0.7s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 0.07s);
}
@keyframes journey-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.history-journey__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(28, 27, 31, 0.1);
  border-color: rgba(194, 75, 66, 0.35);
}
.history-journey__card.is-active {
  border-color: var(--coral);
  box-shadow: 0 0 0 1px rgba(194, 75, 66, 0.25), 0 14px 32px rgba(28, 27, 31, 0.08);
}
.history-journey__img {
  display: block;
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--cream);
}
.history-journey__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.history-journey__card:hover .history-journey__img img,
.history-journey__card.is-active .history-journey__img img {
  transform: scale(1.07);
}
.history-journey__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 22, 20, 0.72) 0%, transparent 55%);
}
.history-journey__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 0.75rem 0.8rem;
  color: var(--ivory);
  display: grid;
  gap: 0.15rem;
}
.history-journey__n {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: #e8a8a2;
}
.history-journey__year {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.15;
}
.history-journey__era {
  font-size: 0.72rem;
  opacity: 0.8;
}

/* Atmosphere gallery */
.history-gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (min-width: 800px) {
  .history-gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
.history-gallery__item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream);
  aspect-ratio: 4 / 3;
}
.history-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.history-gallery__item:hover img { transform: scale(1.06); }
.history-gallery__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.8rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory);
  background: linear-gradient(to top, rgba(7, 22, 20, 0.8), transparent);
}

.history-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.history-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(247, 244, 238, 0.45);
  animation: particle-rise linear infinite;
  opacity: 0;
}
@keyframes particle-rise {
  0% { transform: translateY(20px) scale(0.6); opacity: 0; }
  15% { opacity: 0.7; }
  100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

.history-cta__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  max-width: 56rem;
  margin-inline: auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(28, 27, 31, 0.06);
}
@media (min-width: 800px) {
  .history-cta__panel {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2rem;
  }
}
.history-cta__img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream);
  max-width: 280px;
}
@media (min-width: 800px) {
  .history-cta__img { max-width: none; }
}
.history-cta__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.history-cta__inner { text-align: left; max-width: none; margin: 0; }
.history-cta__inner .lede { margin-inline: 0; }
.history-cta__inner .btns { justify-content: flex-start; }
.history-cta__inner .history-disclaimer { margin-inline: 0; text-align: left; }
.history-quiz__score {
  margin-top: 1.5rem;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--teal);
  animation: more-open 0.4s var(--ease);
}

/* Quiz */
.history-quiz__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 800px) {
  .history-quiz__grid { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
}
.history-q {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.35rem 1.15rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.history-q.is-solved {
  border-color: rgba(47, 107, 103, 0.4);
  box-shadow: 0 12px 28px rgba(18, 63, 58, 0.06);
}
.history-q__q {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.35;
}
.history-q__opts {
  display: grid;
  gap: 0.45rem;
}
.history-q__opts button {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--ivory);
  font-size: 0.88rem;
  line-height: 1.4;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.history-q__opts button:hover:not(:disabled) {
  border-color: var(--coral);
  transform: translateY(-1px);
}
.history-q__opts button.is-correct {
  border-color: var(--teal-mid);
  background: rgba(47, 107, 103, 0.1);
  color: var(--teal);
}
.history-q__opts button.is-wrong {
  border-color: rgba(194, 75, 66, 0.45);
  background: var(--coral-wash);
  animation: shake 0.4s var(--ease);
}
.history-q__opts button:disabled { cursor: default; opacity: 0.85; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
.history-q__feedback {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: var(--teal-mid);
  animation: more-open 0.35s var(--ease);
}
.history-q__feedback--no { color: var(--coral-deep); }

.history-compare__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 800px) {
  .history-compare__grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
.history-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem 1.25rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.history-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(28, 27, 31, 0.08);
}
.history-card--accent {
  border-color: rgba(194, 75, 66, 0.35);
  background: linear-gradient(160deg, #fff 0%, #fdf6f5 100%);
}
.history-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  color: var(--coral);
  margin-bottom: 0.85rem;
}
.history-card__icon svg { width: 1.75rem; height: 1.75rem; }
.history-card__k {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.65rem;
}
.history-card h3 { margin-bottom: 0.55rem; }
.history-card p { color: var(--muted); font-size: 0.95rem; }

.history-cta__inner {
  max-width: 36rem;
  text-align: center;
  margin-inline: auto;
}
.history-cta__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  color: var(--coral);
  background: var(--coral-wash);
  border: 1px solid rgba(194, 75, 66, 0.2);
}
.history-cta__icon svg { width: 1.85rem; height: 1.85rem; }
.history-cta .lede { margin-inline: auto; margin-bottom: 1.5rem; }
.history-cta .btns { justify-content: center; }
.history-disclaimer {
  margin-top: 1.75rem;
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 32rem;
  margin-inline: auto;
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  .history-orb,
  .history-float,
  .history-hero__bg,
  .history-era__dot-pulse,
  .history-sticky.is-pulse .history-sticky__icon,
  .history-particle,
  .history-journey__card,
  .history-era.is-active .history-era__visual-frame img,
  .sil-icon.is-drawn .sil-icon__stroke,
  .sil-icon.is-drawn .sil-icon__fill,
  .sil-icon.is-drawn .sil-icon__glow,
  .sil-icon.is-drawn .sil-icon__dot,
  .sil-icon.is-drawn .sil-icon__spark,
  .sil-icon.is-drawn .sil-icon__check,
  .history-era.is-active .history-era__icon,
  .history-era.is-active .history-era__icon .sil-icon,
  .pillar-card:hover .sil-icon__svg,
  .spec-card:hover .sil-icon__svg {
    animation: none !important;
  }
  .history-era__visual-frame img {
    transform: none !important;
  }
  .sil-icon.is-drawn .sil-icon__stroke,
  .sil-icon.is-drawn .sil-icon__fill {
    opacity: 1;
  }
}

/* ---------- Colloidal Silver landing page ---------- */
.cs-landing { overflow-x: clip; }
.cs-section {
  padding: var(--section) 0;
}
.cs-section--cream { background: var(--cream); }
.cs-section--dark {
  background: var(--teal);
  color: rgba(247, 244, 238, 0.78);
}
.cs-section--dark h2,
.cs-section--dark h3 { color: var(--white); }
.cs-section__head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.cs-section__head--light .lede { color: rgba(247, 244, 238, 0.7); }
.cs-section__head h2 { margin-bottom: 0.75rem; }

/* Hero */
.cs-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, rgba(194, 75, 66, 0.08), transparent 55%),
    var(--ivory);
  border-bottom: 1px solid var(--line);
}
.cs-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .cs-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}
.cs-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.25rem);
  margin-bottom: 1rem;
  max-width: 12ch;
}
.cs-hero__lede {
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  color: var(--muted);
  max-width: 38em;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.cs-hero__bullets {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}
.cs-hero__bullets li {
  display: flex;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--charcoal);
}
.cs-hero__bullets li::before {
  content: '';
  width: 7px;
  height: 7px;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: var(--coral);
  flex-shrink: 0;
}
.cs-hero__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 420px;
  margin-inline: auto;
  background: var(--cream);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(28, 27, 31, 0.1);
}
.cs-hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cs-hero__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.5rem 0.85rem;
  background: rgba(7, 22, 20, 0.88);
  color: var(--ivory);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Trust */
.cs-trust {
  background: var(--teal);
  color: rgba(247, 244, 238, 0.7);
  border-bottom: 1px solid rgba(247, 244, 238, 0.08);
}
.cs-trust__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 900px) {
  .cs-trust__grid { grid-template-columns: repeat(4, 1fr); }
}
.cs-trust__item {
  padding: 1.25rem 1rem;
  border-right: 1px solid rgba(247, 244, 238, 0.1);
  border-bottom: 1px solid rgba(247, 244, 238, 0.1);
  transition: background 0.3s;
}
.cs-trust__item:hover { background: rgba(255, 255, 255, 0.04); }
.cs-trust__item:nth-child(2n) { border-right: 0; }
@media (min-width: 900px) {
  .cs-trust__item { border-bottom: 0; padding: 1.4rem 1.25rem; }
  .cs-trust__item:nth-child(2n) { border-right: 1px solid rgba(247, 244, 238, 0.1); }
  .cs-trust__item:last-child { border-right: 0; }
}
.cs-trust__icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: #f0b4ae;
  margin-bottom: 0.55rem;
}
.cs-trust__icon .sil-icon { width: 100%; height: 100%; }
.cs-trust__item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.cs-trust__item span { font-size: 0.78rem; }

/* Product panel */
.cs-product__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 22px 55px rgba(28, 27, 31, 0.07);
}
@media (min-width: 900px) {
  .cs-product__panel {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
  }
}
.cs-product__media {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
}
.cs-product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cs-product__price {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--coral);
  margin: 0.5rem 0 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
}
.cs-product__price span {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.cs-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 1.5rem 0 1.75rem;
}
.cs-specs > div {
  padding: 0.75rem 0.85rem;
  background: var(--ivory);
  border: 1px solid var(--line);
}
.cs-specs dt {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.25rem;
}
.cs-specs dd {
  font-size: 0.95rem;
  color: var(--ink);
}

/* Cards */
.cs-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 700px) {
  .cs-cards { grid-template-columns: 1fr 1fr; gap: 1.15rem; }
}
@media (min-width: 1000px) {
  .cs-cards { grid-template-columns: repeat(4, 1fr); }
}
.cs-card {
  padding: 1.4rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.3s;
}
.cs-card:hover {
  transform: translateY(-4px);
  border-color: rgba(194, 75, 66, 0.3);
  box-shadow: 0 16px 40px rgba(28, 27, 31, 0.08);
}
.cs-cards--dark .cs-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(247, 244, 238, 0.12);
  color: rgba(247, 244, 238, 0.78);
}
.cs-cards--dark .cs-card h3 { color: var(--white); }
.cs-card__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  color: var(--coral);
  border-radius: 50%;
  background: var(--coral-wash);
  border: 1px solid rgba(194, 75, 66, 0.2);
}
.cs-cards--dark .cs-card__icon {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(247, 244, 238, 0.12);
  color: #f0b4ae;
}
.cs-card__icon .sil-icon { width: 70%; height: 70%; }
.cs-card h3 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.cs-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.6; }
.cs-cards--dark .cs-card p { color: rgba(247, 244, 238, 0.65); }

/* Split */
.cs-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .cs-split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
  .cs-split--flip .cs-split__media { order: 2; }
  .cs-split--flip .cs-split__copy { order: 1; }
}
.cs-split__media {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream);
  aspect-ratio: 5 / 4;
  box-shadow: 0 18px 45px rgba(28, 27, 31, 0.07);
}
.cs-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cs-split__copy p {
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.75;
  max-width: 40em;
}
.cs-check {
  display: grid;
  gap: 0.5rem;
  margin: 1.25rem 0 1.5rem;
}
.cs-check li {
  display: flex;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--charcoal);
}
.cs-check li::before {
  content: '';
  width: 7px;
  height: 7px;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: var(--coral);
  flex-shrink: 0;
}

/* Compare */
.cs-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 800px) {
  .cs-compare { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
}
.cs-compare__card {
  padding: 1.5rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.cs-compare__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(28, 27, 31, 0.07);
}
.cs-compare__card--accent {
  border-color: rgba(194, 75, 66, 0.35);
  background: linear-gradient(160deg, #fff 0%, #fdf6f5 100%);
}
.cs-compare__k {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.65rem;
}
.cs-compare__card h3 { margin-bottom: 0.55rem; }
.cs-compare__card p { font-size: 0.92rem; color: var(--muted); line-height: 1.6; }

/* PPM visual */
.cs-ppm-visual {
  display: grid;
  gap: 0.75rem;
  height: 100%;
  min-height: 280px;
}
.cs-ppm-visual--photo {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--teal);
  min-height: 320px;
  padding: 1rem;
  display: grid;
  align-items: end;
}
.cs-ppm-visual__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.cs-ppm-visual__stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.55rem;
}
.cs-ppm-visual__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.3s, border-color 0.3s;
}
.cs-ppm-visual--photo .cs-ppm-visual__item {
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(6px);
  padding: 0.85rem 1rem;
}
.cs-ppm-visual__item.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--ivory);
  transform: scale(1.02);
}
.cs-ppm-visual--photo .cs-ppm-visual__item.is-active {
  background: rgba(7, 22, 20, 0.9);
  border-color: rgba(240, 180, 174, 0.45);
}
.cs-ppm-visual__item strong {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--coral);
}
.cs-ppm-visual--photo .cs-ppm-visual__item strong { font-size: 1.85rem; }
.cs-ppm-visual__item.is-active strong { color: #f0b4ae; }
.cs-ppm-visual__item span {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0.25rem 0 0.45rem;
}
.cs-ppm-visual__item em {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
}
.cs-ppm-visual__item.is-active em { color: rgba(247, 244, 238, 0.65); }

/* Detail grid */
.cs-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 700px) {
  .cs-detail-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .cs-detail-grid { grid-template-columns: repeat(4, 1fr); }
}
.cs-detail {
  padding: 1.4rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--coral);
  transition: transform 0.3s var(--ease);
}
.cs-detail:hover { transform: translateY(-3px); }
.cs-detail__icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--coral);
  margin-bottom: 0.85rem;
}
.cs-detail__icon .sil-icon { width: 100%; height: 100%; }
.cs-detail h3 { margin-bottom: 0.45rem; font-size: 1.15rem; }
.cs-detail p { font-size: 0.9rem; color: var(--muted); line-height: 1.55; }

/* Steps */
.cs-steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 800px) {
  .cs-steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
.cs-steps li {
  position: relative;
  padding: 1.5rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), border-color 0.3s;
}
.cs-steps li:hover {
  transform: translateY(-3px);
  border-color: rgba(194, 75, 66, 0.35);
}
.cs-steps__n {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--coral);
  margin-bottom: 0.75rem;
}
.cs-steps__icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  color: var(--coral);
  margin-bottom: 0.85rem;
}
.cs-steps__icon .sil-icon { width: 100%; height: 100%; }
.cs-steps h3 { margin-bottom: 0.45rem; }
.cs-steps p { font-size: 0.92rem; color: var(--muted); line-height: 1.55; }

/* Safety */
.cs-safety {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--coral);
}
@media (min-width: 800px) {
  .cs-safety { grid-template-columns: 1fr 1fr; align-items: start; gap: 2.5rem; }
}
.cs-safety__list {
  display: grid;
  gap: 0.65rem;
}
.cs-safety__list li {
  display: flex;
  gap: 0.7rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--charcoal);
}
.cs-safety__list li::before {
  content: '';
  width: 7px;
  height: 7px;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: var(--teal-mid);
  flex-shrink: 0;
}

/* Learn */
.cs-learn {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 800px) {
  .cs-learn { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
}
.cs-learn__card {
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream);
  aspect-ratio: 4 / 3;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.cs-learn__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(28, 27, 31, 0.1);
}
.cs-learn__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.cs-learn__card:hover img { transform: scale(1.05); }
.cs-learn__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.15rem 1.1rem;
  background: linear-gradient(to top, rgba(7, 22, 20, 0.9), transparent);
  color: var(--ivory);
  display: grid;
  gap: 0.2rem;
}
.cs-learn__meta .eyebrow { color: #f0b4ae; margin-bottom: 0.2rem; }
.cs-learn__meta strong {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
}
.cs-learn__meta em {
  font-style: normal;
  font-size: 0.8rem;
  opacity: 0.75;
}

/* How made / process */
.cs-made-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 900px) {
  .cs-made-intro {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: start;
  }
}
.cs-made-intro__text h3 {
  margin: 0.5rem 0 0.85rem;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}
.cs-made-intro__text p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
  max-width: 42em;
}
.cs-made-pillars {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}
.cs-made-pillars li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.85rem;
  row-gap: 0.15rem;
  padding: 1rem 1.05rem;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.cs-made-pillars li:hover {
  transform: translateY(-2px);
  border-color: rgba(194, 75, 66, 0.3);
}
.cs-made-pillars__icon {
  grid-row: 1 / span 2;
  width: 2.1rem;
  height: 2.1rem;
  color: var(--coral);
  align-self: center;
}
.cs-made-pillars__icon .sil-icon { width: 100%; height: 100%; }
.cs-made-pillars strong {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
}
.cs-made-pillars span {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  grid-column: 2;
}

.cs-process {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  counter-reset: none;
}
.cs-process__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  padding: 1.35rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--coral);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.cs-process__step:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(28, 27, 31, 0.07);
}
.cs-process__n {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--coral);
  line-height: 1;
  padding-top: 0.15rem;
}
.cs-process__body h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}
.cs-process__body p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0.85rem;
  max-width: 52em;
}
.cs-process__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
}
.cs-process__tags li {
  padding: 0.35rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(18, 63, 58, 0.07);
  border: 1px solid rgba(18, 63, 58, 0.12);
}

.cs-made-note {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  background: var(--teal);
  color: rgba(247, 244, 238, 0.78);
  border: 1px solid rgba(194, 75, 66, 0.2);
}
@media (min-width: 900px) {
  .cs-made-note {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: center;
  }
}
.cs-made-note h3 {
  color: var(--white);
  margin: 0.4rem 0 0.75rem;
}
.cs-made-note p {
  line-height: 1.7;
  max-width: 40em;
}
.cs-made-note__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.cs-made-note__stats > div {
  padding: 0.9rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(247, 244, 238, 0.12);
}
.cs-made-note__stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 400;
  color: #f0b4ae;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.cs-made-note__stats span {
  font-size: 0.78rem;
  color: rgba(247, 244, 238, 0.55);
  line-height: 1.35;
}

/* Final CTA */
.cs-final__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 22px 55px rgba(28, 27, 31, 0.07);
}
@media (min-width: 800px) {
  .cs-final__panel {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 2rem;
  }
}
.cs-final__img {
  aspect-ratio: 4 / 5;
  max-width: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream);
}
.cs-final__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cs-disclaimer {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 42em;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  padding: 1rem var(--gutter) 1.15rem;
  background: rgba(247, 244, 238, 0.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 40px rgba(28, 27, 31, 0.1);
  backdrop-filter: blur(12px);
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner__inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner__text {
  flex: 1 1 16rem;
  max-width: 40rem;
}
.cookie-banner__text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.cookie-banner__text p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.cookie-banner__text a {
  color: var(--coral);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cookie-banner__btn {
  min-height: 2.65rem;
  padding: 0 1.15rem;
  font-size: 0.68rem;
}
.footer-cookie-btn {
  display: block;
  margin-top: 0.35rem;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
  opacity: 0.85;
}
.footer-cookie-btn:hover {
  color: #f0b4ae;
  opacity: 1;
}

/* Newsletter popup (rate-limited) */
.nl-popup {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.nl-popup[hidden] { display: none !important; }
.nl-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 14, 13, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.nl-popup__card {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  padding: 1.75rem 1.5rem 1.35rem;
  border-radius: 1.25rem;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(194, 75, 66, 0.12), transparent 55%),
    #fff;
  border: 1px solid var(--line);
  box-shadow: 0 28px 60px rgba(11, 37, 34, 0.22);
  animation: nl-pop 0.45s var(--ease) both;
}
@keyframes nl-pop {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.nl-popup__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.nl-popup__close:hover { color: var(--coral); }
.nl-popup__card .eyebrow {
  color: var(--coral);
  margin-bottom: 0.4rem;
}
.nl-popup__card h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 0.55rem;
  color: var(--ink);
}
.nl-popup__lede {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 1.15rem;
}
.nl-popup__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.nl-popup__row input[type="email"] {
  flex: 1 1 12rem;
  min-height: 3rem;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ivory);
  font: inherit;
}
.nl-popup__row .btn {
  border-radius: 999px;
  min-height: 3rem;
}
.nl-popup__note {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}
.nl-popup__note a { color: var(--coral); }
.nl-popup__later {
  display: block;
  width: 100%;
  margin-top: 0.85rem;
  padding: 0.5rem;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}
.nl-popup__later:hover { color: var(--coral); }
body.silvaris-nl-open,
body.silvaris-cookie-open {
  overflow: hidden;
}

/* ---------- Alignment + footer polish ---------- */
.icon-tile {
  flex-shrink: 0 !important;
}
.trust-strip--fun .trust-strip__item {
  display: flex;
  align-items: center;
  min-height: 100%;
}
.trust-strip--fun .trust-strip__item > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.trust-strip--fun .trust-strip__inner {
  align-items: stretch;
}
.pillar-card--fun,
.spec-card--fun {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 1.35rem 1.25rem 1.45rem;
  box-sizing: border-box;
}
.pillar-card--fun .pillar-card__icon,
.spec-card--fun .spec-card__icon {
  margin-bottom: 0.85rem;
}
.pillars__grid,
.spec-grid {
  align-items: stretch;
}
.story-band__point-icon.icon-tile {
  margin-top: 0 !important;
}
.story-band__points li {
  align-items: center;
}
.steps-list--fun {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .steps-list--fun {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}
.steps-list--fun li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  margin: 0;
  list-style: none;
}
.steps-list--fun .steps-list__icon {
  margin-bottom: 0.85rem;
}
.steps-list--fun .steps-list__n {
  margin-bottom: 0.35rem;
}
.product-assurances--fun .product-assurances__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 1rem;
}
.product-assurances--fun .product-assurances__icon.icon-tile {
  width: 2.75rem !important;
  height: 2.75rem !important;
  margin-bottom: 0.65rem;
}
.product-assurances--fun .product-assurances__icon.icon-tile .sil-icon {
  width: 1.35rem !important;
  height: 1.35rem !important;
}
.checklist--fun li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.checklist--fun .checklist__icon {
  margin-top: 0;
}
.section-head {
  max-width: 40rem;
}
.section-head--row {
  max-width: none;
  align-items: flex-end;
}
/* FAQ fun button/icon alignment handled above */

/* Footer v2 */
.footer--v2 {
  position: relative;
  overflow: hidden;
}
.footer--v2::before {
  content: '';
  position: absolute;
  right: -10%;
  top: -20%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(194, 75, 66, 0.16) 0%, transparent 65%);
  pointer-events: none;
}
.footer--v2 .footer__top,
.footer--v2 .footer__bottom,
.footer--v2 .footer__legal {
  position: relative;
  z-index: 1;
}
.footer__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.15rem;
}
.footer__chips span {
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffe4e0;
  background: rgba(194, 75, 66, 0.18);
  border: 1px solid rgba(194, 75, 66, 0.28);
}
.footer__chips span:nth-child(2) {
  color: #c8fff0;
  background: rgba(47, 107, 103, 0.28);
  border-color: rgba(80, 180, 160, 0.28);
}
.footer__chips span:nth-child(3) {
  color: #ffe8c8;
  background: rgba(255, 170, 80, 0.12);
  border-color: rgba(255, 180, 100, 0.25);
}
.footer__chips span:nth-child(4) {
  color: #e0f0ff;
  background: rgba(100, 140, 200, 0.12);
  border-color: rgba(120, 160, 220, 0.22);
}
.footer__cta {
  border-radius: 999px;
}
.footer__col a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.footer .nav-chevron {
  display: none !important;
}
.footer__social-empty {
  font-size: 0.72rem;
  opacity: 0.45;
  letter-spacing: 0.06em;
}
.footer__legal {
  padding: 0 0 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.15rem;
}
.footer__legal p {
  margin: 0;
  max-width: 62em;
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(247, 244, 238, 0.42);
}
.footer-cookie-btn {
  color: rgba(247, 244, 238, 0.58);
  padding: 0.32rem 0;
  font-size: 0.92rem;
}
.footer--v2 .footer__bottom {
  margin-top: 0;
}

/* Cookie banner polish */
.cookie-banner {
  border-top: 1px solid rgba(194, 75, 66, 0.2);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -16px 48px rgba(11, 37, 34, 0.12);
}
.cookie-banner__btn {
  border-radius: 999px;
}

/* Legal pages */
.page-default__content h2 {
  margin-top: 2rem;
}
.page-default__content h3 {
  margin-top: 1.35rem;
}

/* ---------- Yoast breadcrumbs ---------- */
.silvaris-breadcrumbs,
.pdp .silvaris-breadcrumbs {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.silvaris-breadcrumbs a {
  color: var(--coral);
  text-decoration: none;
}
.silvaris-breadcrumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.silvaris-breadcrumbs .breadcrumb_last,
.silvaris-breadcrumbs span[aria-current="page"] {
  color: var(--muted);
}
.history-hero .silvaris-breadcrumbs {
  color: rgba(247, 244, 238, 0.65);
  margin-bottom: 0.85rem;
}
.history-hero .silvaris-breadcrumbs a {
  color: #e8a8a2;
}
.history-hero .silvaris-breadcrumbs .breadcrumb_last {
  color: rgba(247, 244, 238, 0.75);
}

/* Yoast FAQ / how-to blocks if used in content */
.schema-faq-section,
.wp-block-yoast-faq-block {
  border-top: 1px solid var(--line);
  margin: 1.5rem 0;
}
.schema-faq-question,
.wp-block-yoast-faq-block .schema-faq-question {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin: 1rem 0 0.35rem;
  color: var(--ink);
}
.schema-faq-answer {
  color: var(--muted);
  margin-bottom: 1rem;
}

/* Page enter */
body.silvaris-animate main {
  animation: page-in 0.55s var(--ease) both;
}
@keyframes page-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* Header link active underline already in nav-desktop a::after */
.page__hero {
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.page__hero h1 { margin: 0.5rem 0 0.75rem; }

/* ==========================================================================
   Polish v2.4 â€” responsive + auth shell + menu refinements
   ========================================================================== */

/* Safe areas / mobile overflow */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; }
img, video, svg { max-width: 100%; height: auto; }
.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }

/* Header polish on small screens */
@media (max-width: 380px) {
  .header__buy { display: none !important; }
  .bar { font-size: 0.62rem; letter-spacing: 0.06em; }
}
@media (max-width: 639px) {
  .header__inner { gap: 0.5rem; }
}
/* Keep sticky header clear of mobile browser chrome */
@supports (height: 100dvh) {
  .mnav__panel { height: 100dvh; }
}

/* Mobile nav full-bleed on very small */
@media (max-width: 420px) {
  .mnav__panel { width: 100%; }
}

/* CS hero mobile */
@media (max-width: 899px) {
  .cs-hero__frame { max-width: min(100%, 360px); }
  .cs-hero h1 { max-width: none; }
  .cs-hero .btns { flex-wrap: wrap; }
  .cs-hero .btns .btn { flex: 1 1 auto; min-width: min(100%, 10rem); }
}
@media (max-width: 520px) {
  .cs-trust__grid { grid-template-columns: 1fr; }
  .cs-trust__item { border-right: 0 !important; }
  .cs-specs { grid-template-columns: 1fr; }
  .cs-learn { grid-template-columns: 1fr !important; }
  .cs-cards { grid-template-columns: 1fr !important; }
}

/* Homepage product layout */
@media (max-width: 899px) {
  .product-layout { gap: 1.75rem; }
  .hero__body { padding-bottom: max(2rem, env(safe-area-inset-bottom)); }
}
@media (max-width: 480px) {
  .trust-strip__inner { grid-template-columns: 1fr 1fr; }
  .pillars__grid { grid-template-columns: 1fr; }
  .steps-list { grid-template-columns: 1fr; }
  .home-cta__panel { grid-template-columns: 1fr; text-align: left; }
  .sticky-buy {
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  }
}

/* Footer CTA button size */
.footer .btn {
  min-height: 2.75rem;
  padding-inline: 1.25rem;
  font-size: 0.7rem;
}

/* Account pages shell (shared with Woo CSS) */
body.woocommerce-account #main,
body.woocommerce-account .page-default {
  background:
    radial-gradient(ellipse 50% 40% at 0% 0%, rgba(11, 92, 90, 0.07), transparent 55%),
    radial-gradient(ellipse 40% 35% at 100% 10%, rgba(194, 75, 66, 0.06), transparent 50%),
    var(--ivory);
}
body.woocommerce-account .page-default__inner {
  max-width: 52rem;
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}
body.woocommerce-account:not(.logged-in) .page-default__inner {
  max-width: 44rem;
}


/* ========== Contact page ========== */
.contact-page { overflow-x: clip; }
.contact-hero {
  position: relative;
  padding: clamp(4rem, 10vw, 6rem) 0 3rem;
  background: var(--teal-deep);
  color: var(--ivory);
  overflow: hidden;
}
.contact-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.contact-hero__orb {
  position: absolute; border-radius: 50%; filter: blur(48px); opacity: 0.55;
}
.contact-hero__orb--1 {
  width: min(50vw, 420px); height: min(50vw, 420px);
  right: -5%; top: -10%;
  background: rgba(194, 75, 66, 0.4);
  animation: icon-breathe 7s ease-in-out infinite;
}
.contact-hero__orb--2 {
  width: min(40vw, 320px); height: min(40vw, 320px);
  left: -8%; bottom: -15%;
  background: rgba(47, 107, 103, 0.5);
}
.contact-hero__glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 70% 30%, rgba(194,75,66,0.18), transparent 55%);
}
.contact-hero__inner { position: relative; z-index: 1; max-width: 40rem; }
.contact-hero h1 { color: #fff; margin: 0.35rem 0 0.85rem; font-size: clamp(2.4rem, 5vw, 3.6rem); }
.contact-hero .lede { color: rgba(247,244,238,0.78); margin-bottom: 1.25rem; }
.contact-hero .eyebrow { color: #f0b4ae; }
.contact-hero__chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.contact-hero__chips span {
  padding: 0.35rem 0.75rem; border-radius: 999px; font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #ffe4e0; background: rgba(194,75,66,0.2); border: 1px solid rgba(194,75,66,0.3);
}
.contact-hero__chips span:nth-child(2) { color: #c8fff0; background: rgba(47,107,103,0.3); border-color: rgba(80,180,160,0.3); }
.contact-hero__chips span:nth-child(3) { color: #ffe8c8; background: rgba(255,180,80,0.12); border-color: rgba(255,180,100,0.25); }
.contact-hero__chips span:nth-child(4) { color: #e0f0ff; background: rgba(100,140,200,0.12); border-color: rgba(120,160,220,0.22); }

.contact-body { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.contact-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 0.95fr 1.05fr; gap: 2.5rem 3rem; }
}
.contact-info { display: grid; gap: 1rem; }
.contact-info__card {
  display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem;
  padding: 1.15rem 1.2rem; border-radius: 1.15rem;
  border: 1px solid var(--line); background: #fff;
  box-shadow: 0 8px 24px rgba(11,37,34,0.05);
  transition: transform 0.35s var(--ease), box-shadow 0.3s;
}
.contact-info__card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(11,37,34,0.1); }
.contact-info__card .icon-tile { grid-row: 1 / span 2; align-self: center; }
.contact-info__card h2 {
  font-family: var(--font-serif); font-size: 1.25rem; font-weight: 400;
  margin: 0; grid-column: 2;
}
.contact-info__card p { margin: 0; grid-column: 2; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.contact-info__cta { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 0.35rem; }

.contact-form-panel {
  padding: 1.75rem 1.5rem; border-radius: 1.35rem;
  border: 1px solid var(--line); background: #fff;
  box-shadow: 0 20px 48px rgba(11,37,34,0.08);
}
.contact-form-panel h2 { margin: 0.25rem 0 1.15rem; font-size: clamp(1.6rem, 3vw, 2rem); }
.contact-form__row { margin-bottom: 0.95rem; }
.contact-form__row label {
  display: block; margin-bottom: 0.35rem;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.contact-form__row input,
.contact-form__row select,
.contact-form__row textarea {
  width: 100%; min-height: 3rem; padding: 0.7rem 1rem;
  border: 1px solid var(--line); border-radius: 0.75rem;
  background: var(--ivory); font: inherit; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form__row textarea { min-height: 9rem; resize: vertical; }
.contact-form__row input:focus,
.contact-form__row select:focus,
.contact-form__row textarea:focus {
  outline: none; border-color: rgba(194,75,66,0.45);
  box-shadow: 0 0 0 3px rgba(194,75,66,0.12);
}
.contact-form__submit { border-radius: 999px; margin-top: 0.35rem; }
.contact-form__note { margin: 0.85rem 0 0; font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
.contact-form__honeypot {
  position: absolute; left: -9999px; height: 0; overflow: hidden;
}
.contact-form__error {
  padding: 0.75rem 1rem; margin-bottom: 1rem; border-radius: 0.75rem;
  background: rgba(194,75,66,0.1); color: var(--coral-deep); font-size: 0.9rem;
}
.contact-form__success { text-align: center; padding: 1.5rem 0.5rem; }
.contact-form__success .icon-tile { margin: 0 auto 1rem; }
.contact-form__success h2 { margin-bottom: 0.5rem; }
.contact-form__success p { color: var(--muted); margin-bottom: 1.25rem; }

/* ========== History page v2 â€” premium ========== */
.history-page--v2 .history-hero--v2 {
  min-height: min(92svh, 880px);
  place-items: end start;
  padding-bottom: 4.5rem;
}
.history-page--v2 .history-hero__bg {
  background:
    radial-gradient(ellipse 75% 65% at 85% 15%, rgba(194, 75, 66, 0.38), transparent 52%),
    radial-gradient(ellipse 55% 55% at 8% 85%, rgba(47, 107, 103, 0.55), transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(255, 180, 120, 0.06), transparent 60%),
    linear-gradient(155deg, #061412 0%, #0b2522 35%, #123f3a 70%, #0a1f1c 100%);
}
.history-page--v2 .history-hero__beam {
  position: absolute; right: 10%; top: -20%; width: 35%; height: 120%;
  background: linear-gradient(180deg, rgba(255,200,170,0.1), transparent 70%);
  transform: rotate(14deg); filter: blur(20px); pointer-events: none;
  animation: hero-beam 10s ease-in-out infinite alternate;
}
.history-page--v2 .history-hero__grid {
  position: absolute; inset: 0; opacity: 0.07; pointer-events: none;
  background-image:
    linear-gradient(rgba(247,244,238,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,244,238,0.5) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 75%);
}
.history-page--v2 .history-hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.25rem);
  line-height: 1.05;
  max-width: 14ch;
  text-shadow: 0 8px 40px rgba(0,0,0,0.25);
}
.history-page--v2 .history-hero__stat {
  border-radius: 1rem;
  background: rgba(255,255,255,0.08);
  border-color: rgba(247,244,238,0.16);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
  transition: transform 0.35s var(--ease), background 0.3s;
}
.history-page--v2 .history-hero__stat:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.12);
}
.history-page--v2 .history-hero__actions .btn--primary {
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(194,75,66,0.4);
}
.history-page--v2 .history-hero__actions .btn--outline { border-radius: 999px; }
.history-page--v2 .history-float--tile {
  width: auto; height: auto; color: inherit; opacity: 1;
}
.history-page--v2 .history-float--tile .icon-tile {
  width: 3rem !important; height: 3rem !important;
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
  opacity: 0.9;
}
.history-page--v2 .history-hero__ticker {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  overflow: hidden; padding: 0.55rem 0;
  background: linear-gradient(90deg, rgba(194,75,66,0.5), rgba(20,80,72,0.6), rgba(194,75,66,0.5));
  border-top: 1px solid rgba(255,255,255,0.1);
}
.history-page--v2 .history-hero__ticker-track {
  display: flex; gap: 0.85rem; width: max-content;
  animation: hero-ticker 40s linear infinite;
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.88); white-space: nowrap;
}
.history-page--v2 .history-hero__ticker-dot { opacity: 0.45; }

.history-page--v2 .history-source-card {
  padding: 1.35rem 1.25rem; border-radius: 1.2rem;
  border: 1px solid var(--line); background: #fff;
  box-shadow: 0 10px 28px rgba(11,37,34,0.05);
  transition: transform 0.4s var(--ease), box-shadow 0.35s;
}
.history-page--v2 .history-source-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(11,37,34,0.1);
}
.history-page--v2 .history-source-card__icon {
  display: grid; place-items: center; margin-bottom: 0.85rem;
  width: auto; height: auto; background: none; border: 0;
}
.history-page--v2 .history-source-card h3 {
  font-family: var(--font-serif); font-weight: 400; font-size: 1.35rem; margin-bottom: 0.4rem;
}

.history-page--v2 .history-journey__card {
  border-radius: 1.1rem; overflow: hidden;
  box-shadow: 0 12px 32px rgba(11,37,34,0.12);
  transition: transform 0.4s var(--ease), box-shadow 0.35s;
}
.history-page--v2 .history-journey__card:hover,
.history-page--v2 .history-journey__card.is-active {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 44px rgba(194,75,66,0.18);
}
.history-page--v2 .history-journey__card.is-active {
  outline: 2px solid rgba(194,75,66,0.55);
  outline-offset: 2px;
}

.history-page--v2 .history-chip {
  border-radius: 999px; padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  border: 1px solid var(--line); background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.history-page--v2 .history-chip.is-active {
  border-color: rgba(194,75,66,0.45);
  box-shadow: 0 8px 20px rgba(194,75,66,0.15);
  background: linear-gradient(135deg, #fff, #fff5f2);
}
.history-page--v2 .history-chip__thumb {
  border-radius: 50%; overflow: hidden;
}

.history-page--v2 .history-era__card {
  border-radius: 1.35rem;
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px rgba(11,37,34,0.08);
  background: #fff;
}
.history-page--v2 .history-era__visual-frame {
  border-radius: 1.25rem; overflow: hidden;
  box-shadow: 0 20px 50px rgba(11,37,34,0.15);
}
.history-page--v2 .history-era__icon.icon-tile {
  width: 3.15rem !important; height: 3.15rem !important;
}
.history-page--v2 .history-fact {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 0.75rem; border-radius: 0.85rem;
  border: 1px solid var(--line); background: var(--ivory);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.history-page--v2 .history-fact:hover {
  transform: translateX(4px);
  border-color: rgba(194,75,66,0.3);
  box-shadow: 0 8px 20px rgba(11,37,34,0.06);
}
.history-page--v2 .history-fact__icon.icon-tile {
  width: 2.35rem !important; height: 2.35rem !important;
  border-radius: 0.7rem !important;
  flex-shrink: 0;
}
.history-page--v2 .history-fact__icon.icon-tile .sil-icon {
  width: 1.15rem !important; height: 1.15rem !important;
}
.history-page--v2 .history-era__quote {
  border-left: 3px solid var(--coral);
  background: linear-gradient(90deg, rgba(194,75,66,0.08), transparent);
  border-radius: 0 0.75rem 0.75rem 0;
  padding: 1rem 1.15rem;
  font-family: var(--font-serif); font-size: 1.15rem; font-style: italic;
  color: var(--ink);
}
.history-page--v2 .history-keyfact {
  padding: 1.35rem; border-radius: 1.15rem;
  border: 1px solid var(--line); background: #fff;
  box-shadow: 0 8px 24px rgba(11,37,34,0.05);
  transition: transform 0.35s var(--ease), box-shadow 0.3s;
  height: 100%;
}
.history-page--v2 .history-keyfact:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(11,37,34,0.1);
}
.history-page--v2 .history-keyfact__n {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.25rem; height: 2.25rem; padding: 0 0.5rem;
  border-radius: 999px; margin-bottom: 0.75rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  color: #fff; background: linear-gradient(135deg, #c24b42, #d46a63);
  box-shadow: 0 6px 14px rgba(194,75,66,0.3);
}
.history-page--v2 .history-gallery__item {
  border-radius: 1rem; overflow: hidden;
  box-shadow: 0 12px 32px rgba(11,37,34,0.1);
  transition: transform 0.4s var(--ease);
}
.history-page--v2 .history-gallery__item:hover { transform: scale(1.03); }

.history-page--v2 .history-sticky {
  border-radius: 1.15rem;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(11,37,34,0.1);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
}

/* ========== History CINEMA overhaul (wins over older history-page--v2) ========== */
.history-page--v2.history-page { background: #f7f4ee; }
.history-page--v2 .history-hero--cinema {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 5.5rem;
  overflow: hidden;
  color: var(--ivory);
  background: #050d0c;
}
.history-hero__collage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3px;
  z-index: 0;
}
.history-hero__collage-cell {
  position: relative;
  overflow: hidden;
  opacity: 0.55;
}
.history-hero__collage-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  filter: grayscale(0.35) contrast(1.05);
  animation: history-ken 22s ease-in-out infinite alternate;
  animation-delay: calc(var(--c, 0) * -2.5s);
}
@keyframes history-ken {
  from { transform: scale(1.08) translate(0, 0); }
  to { transform: scale(1.16) translate(-2%, -1.5%); }
}
.history-hero__collage-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(5, 13, 12, 0.92) 0%, rgba(5, 13, 12, 0.72) 38%, rgba(5, 13, 12, 0.45) 62%, rgba(5, 13, 12, 0.7) 100%),
    linear-gradient(to top, rgba(5, 13, 12, 0.95) 0%, transparent 45%),
    radial-gradient(ellipse 50% 60% at 75% 40%, rgba(194, 75, 66, 0.22), transparent 60%);
  z-index: 1;
}
.history-page--v2 .history-hero--cinema .history-hero__bg {
  z-index: 1;
  background: transparent;
  animation: none;
  filter: none;
  transform: none;
}
.history-page--v2 .history-hero--cinema .history-hero__inner {
  position: relative;
  z-index: 2;
  max-width: min(44rem, 100%);
  padding-top: clamp(6rem, 14vh, 9rem);
}
.history-page--v2 .history-hero--cinema h1 {
  font-size: clamp(2.85rem, 7.5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 12ch;
  margin-bottom: 1.15rem;
  color: #fff;
  text-shadow: 0 12px 48px rgba(0,0,0,0.45);
}
.history-page--v2 .history-hero--cinema .lede {
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  max-width: 38ch;
  color: rgba(247, 244, 238, 0.8);
  line-height: 1.65;
}
.history-page--v2 .history-hero--cinema .eyebrow {
  color: #f0b4ae;
  letter-spacing: 0.2em;
}
.history-page--v2 .history-hero__stats {
  max-width: 34rem;
  gap: 0.65rem;
  margin: 1.75rem 0 1.75rem;
}
.history-page--v2 .history-hero__stat {
  padding: 1rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.history-page--v2 .history-hero__stat strong {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  color: #fff;
}
.history-page--v2 .history-hero__stat span {
  color: rgba(247, 244, 238, 0.55);
}
.history-page--v2 .history-hero__actions .btn--primary {
  border-radius: 999px;
  min-height: 3.2rem;
  padding-inline: 1.6rem;
  box-shadow: 0 14px 36px rgba(194, 75, 66, 0.42);
}
.history-page--v2 .history-hero__actions .btn--outline {
  border-radius: 999px;
  min-height: 3.2rem;
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.history-page--v2 .history-hero__ticker {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  overflow: hidden;
  padding: 0.65rem 0;
  background: rgba(0, 0, 0, 0.45);
  border-top: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}
.history-page--v2 .history-hero__ticker-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: hero-ticker 48s linear infinite;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
}
.history-page--v2 .history-hero__ticker-dot { opacity: 0.35; color: #f0b4ae; }

/* Progress thicker, coralâ†’ivory */
.history-page--v2 .history-progress { height: 4px; }
.history-page--v2 .history-progress__bar {
  background: linear-gradient(90deg, #c24b42, #e8a39c, #f7f4ee);
}

/* Sticky nav darker glass */
.history-page--v2 .history-nav-strip {
  background: rgba(247, 244, 238, 0.92);
  border-bottom: 1px solid rgba(18, 63, 58, 0.08);
  box-shadow: 0 12px 32px rgba(11, 37, 34, 0.06);
}
.history-page--v2 .history-chip {
  border-radius: 999px;
  padding: 0.35rem 0.85rem 0.35rem 0.35rem;
  background: #fff;
  border: 1px solid rgba(18, 63, 58, 0.1);
}
.history-page--v2 .history-chip.is-active {
  background: #0b2522;
  border-color: #0b2522;
  color: #fff;
  box-shadow: 0 10px 24px rgba(11, 37, 34, 0.2);
}
.history-page--v2 .history-chip.is-active .history-chip__year { color: #f0b4ae; }
.history-page--v2 .history-chip.is-active .history-chip__era { color: #fff; }
.history-page--v2 .history-chip.is-active .history-chip__n { color: rgba(255,255,255,0.45); }
.history-page--v2 .history-chip__thumb {
  border-radius: 50%;
  border: 0;
  width: 2.15rem;
  height: 2.15rem;
}

/* Journey as immersive strip */
.history-page--v2 .history-journey {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background: #0b2522;
  color: var(--ivory);
}
.history-page--v2 .history-journey .section-head .eyebrow { color: #f0b4ae; }
.history-page--v2 .history-journey .section-head h2 { color: #fff; }
.history-page--v2 .history-journey .section-head .lede { color: rgba(247,244,238,0.7); }
.history-page--v2 .history-journey__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 28vw);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.history-page--v2 .history-journey__card {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 1.15rem;
  overflow: hidden;
  scroll-snap-align: start;
  min-height: 280px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  transition: transform 0.45s var(--ease), box-shadow 0.35s;
}
.history-page--v2 .history-journey__card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 50px rgba(0,0,0,0.4);
}
.history-page--v2 .history-journey__card.is-active {
  outline: 2px solid rgba(240, 180, 170, 0.7);
  outline-offset: 3px;
}
.history-page--v2 .history-journey__img {
  position: absolute;
  inset: 0;
  display: block;
}
.history-page--v2 .history-journey__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
  transition: transform 0.7s var(--ease);
}
.history-page--v2 .history-journey__card:hover .history-journey__img img {
  transform: scale(1.08);
}
.history-page--v2 .history-journey__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,13,12,0.92) 0%, rgba(5,13,12,0.2) 55%, transparent 100%);
}
.history-page--v2 .history-journey__meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.15rem 1.1rem;
  color: #fff;
}
.history-page--v2 .history-journey__n {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: #f0b4ae;
  font-weight: 600;
}
.history-page--v2 .history-journey__year {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
}
.history-page--v2 .history-journey__era {
  font-size: 0.82rem;
  color: rgba(247,244,238,0.7);
}

/* Sources elevated */
.history-page--v2 .history-sources {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}
.history-page--v2 .history-sources__grid {
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 800px) {
  .history-page--v2 .history-sources__grid { grid-template-columns: repeat(3, 1fr); }
}
.history-page--v2 .history-source-card {
  padding: 1.5rem 1.35rem 1.6rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(18, 63, 58, 0.1);
  background: #fff;
  box-shadow: 0 12px 36px rgba(11, 37, 34, 0.06);
  height: 100%;
  transition: transform 0.4s var(--ease), box-shadow 0.35s;
}
.history-page--v2 .history-source-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(11, 37, 34, 0.12);
}
.history-page--v2 .history-source-card__icon {
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 1rem;
  background: none;
  border: 0;
}

/* Era magazine layout */
.history-page--v2 .history-timeline {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
}
.history-page--v2 .history-era {
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
.history-page--v2 .history-era__layout {
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}
@media (min-width: 900px) {
  .history-page--v2 .history-era__layout {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .history-page--v2 .history-era--flip .history-era__layout {
    direction: rtl;
  }
  .history-page--v2 .history-era--flip .history-era__layout > * {
    direction: ltr;
  }
}
.history-page--v2 .history-era__visual-frame {
  position: relative;
  border-radius: 1.35rem;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow:
    0 28px 60px rgba(11, 37, 34, 0.18),
    0 0 0 1px rgba(18, 63, 58, 0.06);
}
.history-page--v2 .history-era__visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.history-page--v2 .history-era.is-active .history-era__visual-frame img,
.history-page--v2 .history-era:hover .history-era__visual-frame img {
  transform: scale(1.05);
}
.history-page--v2 .history-era__visual-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 37, 34, 0.35), transparent 50%);
  pointer-events: none;
}
.history-page--v2 .history-era__caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.history-page--v2 .history-era__card {
  padding: clamp(1.5rem, 3vw, 2.15rem);
  border-radius: 1.4rem;
  border: 1px solid rgba(18, 63, 58, 0.1);
  background: #fff;
  box-shadow: 0 20px 50px rgba(11, 37, 34, 0.08);
}
.history-page--v2 .history-era__icon.icon-tile {
  width: 3.15rem !important;
  height: 3.15rem !important;
}
.history-page--v2 .history-era__year {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.35rem;
}
.history-page--v2 .history-era__tag {
  display: inline-flex;
  margin-left: 0.5rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(18, 63, 58, 0.08);
  border: 1px solid rgba(18, 63, 58, 0.1);
}
.history-page--v2 .history-era__head h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  line-height: 1.12;
  margin: 0.5rem 0 1rem;
  letter-spacing: -0.02em;
}
.history-page--v2 .history-era__body {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--charcoal);
}
.history-page--v2 .history-era__quote {
  margin: 1.25rem 0;
  padding: 1.15rem 1.25rem;
  border-left: 3px solid var(--coral);
  border-radius: 0 1rem 1rem 0;
  background: linear-gradient(90deg, rgba(194, 75, 66, 0.07), transparent 80%);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
}
.history-page--v2 .history-era__stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.15rem;
  margin: 1.15rem 0;
  border-radius: 1rem;
  background: #0b2522;
  color: #fff;
}
.history-page--v2 .history-era__stat-value {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: #f0b4ae;
}
.history-page--v2 .history-era__stat-label {
  font-size: 0.78rem;
  color: rgba(247, 244, 238, 0.65);
}
.history-page--v2 .history-era__facts {
  display: grid;
  gap: 0.55rem;
  margin: 1.15rem 0;
  padding: 0;
  list-style: none;
}
.history-page--v2 .history-fact {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(18, 63, 58, 0.1);
  background: var(--ivory);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.history-page--v2 .history-fact:hover {
  transform: translateX(4px);
  border-color: rgba(194, 75, 66, 0.3);
  box-shadow: 0 8px 20px rgba(11, 37, 34, 0.06);
}
.history-page--v2 .history-fact__icon.icon-tile {
  width: 2.5rem !important;
  height: 2.5rem !important;
  flex-shrink: 0;
}
.history-page--v2 .history-fact__icon.icon-tile .sil-icon {
  width: 1.2rem !important;
  height: 1.2rem !important;
}
.history-page--v2 .history-tidbit {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(18, 63, 58, 0.05);
  border: 1px dashed rgba(18, 63, 58, 0.15);
}
.history-page--v2 .history-sticky {
  padding: 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(18, 63, 58, 0.1);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(11, 37, 34, 0.12);
}
.history-page--v2 .history-sticky__thumb {
  width: 100%;
  height: 7.5rem;
  border-radius: 1rem;
}
.history-page--v2 .history-keyfacts {
  background: #0b2522;
  color: var(--ivory);
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}
.history-page--v2 .history-keyfacts .section-head .eyebrow { color: #f0b4ae; }
.history-page--v2 .history-keyfacts .section-head h2 { color: #fff; }
.history-page--v2 .history-keyfacts__grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .history-page--v2 .history-keyfacts__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .history-page--v2 .history-keyfacts__grid { grid-template-columns: repeat(4, 1fr); }
}
.history-page--v2 .history-keyfact {
  padding: 1.4rem 1.25rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(247, 244, 238, 0.12);
  background: rgba(247, 244, 238, 0.05);
  height: 100%;
  transition: transform 0.35s var(--ease), background 0.3s;
}
.history-page--v2 .history-keyfact:hover {
  transform: translateY(-4px);
  background: rgba(247, 244, 238, 0.09);
}
.history-page--v2 .history-keyfact h3 { color: #fff; }
.history-page--v2 .history-keyfact p { color: rgba(247, 244, 238, 0.65); }
.history-page--v2 .history-keyfact__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.15rem;
  height: 2.15rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  color: #0b2522;
  background: #f0b4ae;
}
.history-page--v2 .history-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
@media (min-width: 800px) {
  .history-page--v2 .history-gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
.history-page--v2 .history-gallery__item {
  position: relative;
  margin: 0;
  border-radius: 1.1rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 16px 40px rgba(11, 37, 34, 0.12);
}
.history-page--v2 .history-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.history-page--v2 .history-gallery__item:hover img { transform: scale(1.07); }
.history-page--v2 .history-gallery__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(5,13,12,0.85), transparent);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .history-page--v2 .history-hero--cinema {
    min-height: min(100svh, 920px);
    padding-bottom: 4.5rem;
  }
  .history-page--v2 .history-hero--cinema h1 {
    font-size: clamp(2.4rem, 10vw, 3.2rem);
  }
  .history-hero__collage {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
  .history-page--v2 .history-journey__track {
    grid-auto-columns: minmax(200px, 72vw);
  }
}

/* ==========================================================================
   History timeline â€” EPIC (center spine, magazine zigzag, glass sticky)
   ========================================================================== */

.history-page--v2 .history-timeline--epic {
  display: block;
  position: relative;
  padding: 0 0 clamp(5rem, 10vw, 8rem);
  overflow: clip;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(194, 75, 66, 0.07), transparent 55%),
    radial-gradient(ellipse 60% 40% at 20% 60%, rgba(18, 63, 58, 0.06), transparent 50%),
    radial-gradient(ellipse 50% 35% at 85% 80%, rgba(194, 75, 66, 0.05), transparent 45%),
    linear-gradient(180deg, #f7f4ee 0%, #fff 18%, #f3f0e8 55%, #f7f4ee 100%);
}

.history-page--v2 .history-timeline--epic::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(18, 63, 58, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 63, 58, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}

/* Intro */
.history-page--v2 .history-timeline__intro {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 5.5rem) 1.25rem clamp(2.5rem, 5vw, 3.5rem);
}

.history-page--v2 .history-timeline__intro .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  color: var(--coral);
  font-weight: 600;
}

.history-page--v2 .history-timeline__intro .eyebrow::before,
.history-page--v2 .history-timeline__intro .eyebrow::after {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--coral));
}

.history-page--v2 .history-timeline__intro .eyebrow::after {
  background: linear-gradient(90deg, var(--coral), transparent);
}

.history-page--v2 .history-timeline__intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 4.5vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--teal-deep);
  margin: 0 0 1rem;
}

.history-page--v2 .history-timeline__intro .lede {
  margin: 0 auto;
  max-width: 32rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--muted);
}

/* Stage + center spine */
.history-page--v2 .history-timeline__stage {
  position: relative;
  z-index: 1;
}

.history-page--v2 .history-timeline--epic .history-timeline__spine {
  display: none;
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 0;
  z-index: 3;
  pointer-events: none;
  transform: translateX(-50%);
}

.history-page--v2 .history-timeline--epic .history-timeline__spine-track {
  position: absolute;
  left: 50%;
  top: 1rem;
  bottom: 1rem;
  width: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background:
    linear-gradient(
      to bottom,
      transparent,
      rgba(18, 63, 58, 0.12) 4%,
      rgba(18, 63, 58, 0.14) 96%,
      transparent
    );
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.history-page--v2 .history-timeline--epic .history-timeline__spine-track::before {
  content: "";
  position: absolute;
  inset: -20% -8px;
  background: radial-gradient(ellipse at 50% 30%, rgba(194, 75, 66, 0.12), transparent 60%);
  pointer-events: none;
}

.history-page--v2 .history-timeline--epic .history-timeline__fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  border-radius: inherit;
  background: linear-gradient(
    to bottom,
    var(--coral) 0%,
    var(--coral-soft) 28%,
    var(--teal-mid) 62%,
    var(--teal) 100%
  );
  box-shadow:
    0 0 16px rgba(194, 75, 66, 0.55),
    0 0 32px rgba(47, 107, 103, 0.35);
  transition: height 0.12s linear;
}

/* Hide legacy rail completely in epic */
.history-page--v2 .history-timeline--epic .history-timeline__rail {
  display: none !important;
}

/* Grid: sticky + eras */
.history-page--v2 .history-timeline--epic .history-timeline__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 1100px) {
  .history-page--v2 .history-timeline--epic .history-timeline__spine {
    display: block;
    /* Align to center of eras column (sticky 13rem + gap 1.75rem) */
    left: calc(50% + (13rem + 1.75rem) / 2);
    transform: translateX(-50%);
  }

  .history-page--v2 .history-timeline--epic .history-timeline__grid {
    grid-template-columns: 13rem minmax(0, 1fr);
    gap: 1.75rem;
  }
}

/* ========== Sticky glass panel ========== */
.history-page--v2 .history-timeline--epic .history-sticky {
  display: none;
}

@media (min-width: 1100px) {
  .history-page--v2 .history-timeline--epic .history-sticky {
    display: block;
    position: sticky;
    top: calc(var(--header-h, 72px) + 1.25rem);
    align-self: start;
    z-index: 8;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
  }
}

.history-page--v2 .history-timeline--epic .history-sticky__glass {
  position: relative;
  padding: 1.15rem 1.1rem 1.25rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(18, 63, 58, 0.12);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.97), rgba(247, 244, 238, 0.92));
  backdrop-filter: blur(20px) saturate(1.2);
  box-shadow:
    0 24px 56px rgba(11, 37, 34, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  overflow: hidden;
}

.history-page--v2 .history-timeline--epic .history-sticky__glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--teal-mid), var(--coral-soft));
  opacity: 0.9;
}

.history-page--v2 .history-timeline--epic .history-sticky__thumb {
  position: relative;
  width: 100%;
  height: 7.25rem;
  margin: 0 0 0.85rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(18, 63, 58, 0.1);
  box-shadow: 0 12px 28px rgba(11, 37, 34, 0.12);
}

.history-page--v2 .history-timeline--epic .history-sticky__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease), opacity 0.35s;
}

.history-page--v2 .history-timeline--epic .history-sticky.is-pulse .history-sticky__thumb img {
  animation: sticky-img 0.55s var(--ease);
}

.history-page--v2 .history-timeline--epic .history-sticky__live {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--coral);
  box-shadow: 0 4px 12px rgba(194, 75, 66, 0.4);
}

.history-page--v2 .history-timeline--epic .history-sticky__icon.icon-tile {
  width: 2.85rem !important;
  height: 2.85rem !important;
  margin-bottom: 0.65rem;
  background: #fff !important;
}

.history-page--v2 .history-timeline--epic .history-sticky__label {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.2rem;
}

.history-page--v2 .history-timeline--epic .history-sticky__year {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--coral);
  margin: 0 0 0.15rem;
}

.history-page--v2 .history-timeline--epic .history-sticky__era {
  font-size: 0.84rem;
  color: var(--teal-mid);
  margin: 0 0 0.9rem;
  line-height: 1.3;
}

/* Numbered jump steps (not dots) */
.history-page--v2 .history-timeline--epic .history-sticky__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin: 0 0 0.75rem;
}

.history-page--v2 .history-timeline--epic .history-sticky__step {
  appearance: none;
  -webkit-appearance: none;
  width: auto;
  height: auto;
  min-height: 2.15rem;
  margin: 0;
  padding: 0.35rem 0.2rem;
  border: 1px solid rgba(18, 63, 58, 0.12);
  border-radius: 0.65rem;
  background: rgba(247, 244, 238, 0.8);
  color: var(--teal-deep);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: none;
  transform: none;
  transition:
    background 0.3s,
    border-color 0.3s,
    color 0.3s,
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}

.history-page--v2 .history-timeline--epic .history-sticky__step:hover {
  border-color: rgba(194, 75, 66, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(11, 37, 34, 0.08);
}

.history-page--v2 .history-timeline--epic .history-sticky__step.is-on,
.history-page--v2 .history-timeline--epic .history-sticky__step.is-active {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: #fff;
  transform: scale(1);
  box-shadow:
    0 8px 20px rgba(11, 37, 34, 0.22),
    0 0 0 3px rgba(194, 75, 66, 0.2);
}

.history-page--v2 .history-timeline--epic .history-sticky__tip {
  margin: 0;
  max-width: none;
  font-size: 0.68rem;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
}

/* ========== Eras column ========== */
.history-page--v2 .history-timeline--epic .history-eras {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

/* Reset legacy left border timeline look */
.history-page--v2 .history-era--epic {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-left: 0 !important;
}

.history-page--v2 .history-era--epic .history-era__dot {
  display: none !important;
}

/* Center nodes on spine */
.history-page--v2 .history-era--epic .history-era__node {
  display: none;
  position: absolute;
  left: 50%;
  top: 3.25rem;
  z-index: 6;
  width: 3.5rem;
  height: 3.5rem;
  transform: translateX(-50%);
  pointer-events: none;
}

@media (min-width: 1100px) {
  .history-page--v2 .history-era--epic .history-era__node {
    display: grid;
    place-items: center;
  }
}

.history-page--v2 .history-era__node-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(18, 63, 58, 0.18);
  background:
    radial-gradient(circle at 50% 40%, #fff 0%, #f7f4ee 70%);
  box-shadow:
    0 8px 24px rgba(11, 37, 34, 0.16),
    0 0 0 6px rgba(247, 244, 238, 0.95);
  transition:
    border-color 0.4s,
    box-shadow 0.45s,
    transform 0.45s var(--ease);
}

.history-page--v2 .history-era__node-core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--teal-deep);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(11, 37, 34, 0.25);
  transition: background 0.35s, transform 0.4s var(--ease);
}

.history-page--v2 .history-era__node-n {
  line-height: 1;
}

.history-page--v2 .history-era__node-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(194, 75, 66, 0.45);
  opacity: 0;
  transform: scale(0.85);
}

.history-page--v2 .history-era--epic.is-active .history-era__node-ring {
  border-color: rgba(194, 75, 66, 0.55);
  box-shadow:
    0 12px 32px rgba(194, 75, 66, 0.22),
    0 0 0 8px rgba(247, 244, 238, 0.98),
    0 0 40px rgba(194, 75, 66, 0.2);
  transform: scale(1.06);
}

.history-page--v2 .history-era--epic.is-active .history-era__node-core {
  background: linear-gradient(145deg, var(--coral), var(--coral-deep));
  transform: scale(1.05);
}

.history-page--v2 .history-era--epic.is-active .history-era__node-pulse {
  animation: era-node-pulse 1.8s var(--ease) infinite;
}

@keyframes era-node-pulse {
  0% { opacity: 0.7; transform: scale(0.92); }
  70% { opacity: 0; transform: scale(1.45); }
  100% { opacity: 0; transform: scale(1.5); }
}

/* Magazine zigzag layout */
.history-page--v2 .history-era--epic .history-era__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
  max-width: none;
  align-items: center;
}

@media (min-width: 1100px) {
  .history-page--v2 .history-era--epic .history-era__layout {
    grid-template-columns: 1fr 1fr;
    gap: clamp(4.5rem, 7vw, 6.5rem);
    align-items: center;
  }

  /* Override direction:rtl flip â€” use order for cleaner spine spacing */
  .history-page--v2 .history-era--epic.history-era--flip .history-era__layout {
    direction: ltr;
  }

  .history-page--v2 .history-era--epic.history-era--flip .history-era__visual {
    order: 2;
  }

  .history-page--v2 .history-era--epic.history-era--flip .history-era__card {
    order: 1;
  }

  /* Pull content away from spine for breathing room */
  .history-page--v2 .history-era--epic:not(.history-era--flip) .history-era__visual {
    padding-right: 0.25rem;
  }

  .history-page--v2 .history-era--epic:not(.history-era--flip) .history-era__card {
    padding-left: 0.25rem;
  }

  .history-page--v2 .history-era--epic.history-era--flip .history-era__card {
    padding-right: 0.25rem;
  }

  .history-page--v2 .history-era--epic.history-era--flip .history-era__visual {
    padding-left: 0.25rem;
  }
}

/* Visual frame â€” larger, more cinematic */
.history-page--v2 .history-era--epic .history-era__visual {
  position: relative;
  margin: 0;
  top: auto;
}

.history-page--v2 .history-era--epic .history-era__visual-frame {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  border: 0;
  box-shadow:
    0 32px 70px rgba(11, 37, 34, 0.2),
    0 0 0 1px rgba(18, 63, 58, 0.08);
  transition: box-shadow 0.45s, transform 0.5s var(--ease);
}

.history-page--v2 .history-era--epic.is-active .history-era__visual-frame {
  box-shadow:
    0 40px 80px rgba(11, 37, 34, 0.26),
    0 0 0 1px rgba(194, 75, 66, 0.25),
    0 0 0 6px rgba(194, 75, 66, 0.08);
  transform: translateY(-3px);
}

.history-page--v2 .history-era--epic .history-era__visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.1s var(--ease), filter 0.5s;
  will-change: transform;
}

.history-page--v2 .history-era--epic.is-active .history-era__visual-frame img,
.history-page--v2 .history-era--epic:hover .history-era__visual-frame img {
  transform: scale(1.1);
  filter: saturate(1.08) contrast(1.03);
}

.history-page--v2 .history-era--epic .history-era__visual-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(5, 13, 12, 0.55) 0%, transparent 48%),
    linear-gradient(135deg, rgba(194, 75, 66, 0.18), transparent 45%),
    linear-gradient(225deg, rgba(18, 63, 58, 0.15), transparent 40%);
  opacity: 0.9;
}

/* Year badge on image */
.history-page--v2 .history-era__visual-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(11, 37, 34, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.history-page--v2 .history-era--epic.is-active .history-era__visual-badge {
  background: linear-gradient(135deg, rgba(194, 75, 66, 0.92), rgba(158, 59, 52, 0.92));
  border-color: rgba(255, 255, 255, 0.28);
}

.history-page--v2 .history-era--epic .history-era__caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
  padding: 0 0.15rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Card â€” glass magazine panel */
.history-page--v2 .history-era--epic .history-era__card {
  position: relative;
  padding: clamp(1.6rem, 3.2vw, 2.35rem);
  border-radius: 1.5rem;
  border: 1px solid rgba(18, 63, 58, 0.1);
  background:
    linear-gradient(165deg, #ffffff 0%, #faf8f4 100%);
  box-shadow:
    0 22px 56px rgba(11, 37, 34, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  transition:
    border-color 0.4s,
    box-shadow 0.45s,
    transform 0.5s var(--ease);
  overflow: hidden;
}

.history-page--v2 .history-era--epic .history-era__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-mid), var(--coral), var(--teal));
  opacity: 0.55;
  transition: opacity 0.35s;
}

.history-page--v2 .history-era--epic.is-active .history-era__card {
  border-color: rgba(194, 75, 66, 0.28);
  box-shadow:
    0 28px 64px rgba(11, 37, 34, 0.14),
    0 0 0 1px rgba(194, 75, 66, 0.12),
    0 0 48px rgba(194, 75, 66, 0.08);
  transform: translateY(-4px);
}

.history-page--v2 .history-era--epic.is-active .history-era__card::before {
  opacity: 1;
}

/* Icon + index row */
.history-page--v2 .history-era--epic .history-era__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.history-page--v2 .history-era--epic .history-era__icon.icon-tile {
  width: 3.35rem !important;
  height: 3.35rem !important;
  box-shadow: 0 10px 24px rgba(11, 37, 34, 0.1);
}

.history-page--v2 .history-era--epic .history-era__icon.is-pop {
  animation: sticky-pop 0.5s var(--ease);
}

.history-page--v2 .history-era--epic .history-era__index {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(18, 63, 58, 0.06);
  border: 1px solid rgba(18, 63, 58, 0.08);
}

.history-page--v2 .history-era--epic .history-era__year {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.4rem;
}

.history-page--v2 .history-era--epic .history-era__tag {
  display: inline-flex;
  align-items: center;
  margin-left: 0.45rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(18, 63, 58, 0.07);
  border: 1px solid rgba(18, 63, 58, 0.1);
}

.history-page--v2 .history-era--epic .history-era__region {
  font-size: 0.8rem;
  color: var(--teal-mid);
  margin: 0.4rem 0 0.65rem;
  letter-spacing: 0.03em;
}

.history-page--v2 .history-era--epic .history-era__head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  line-height: 1.1;
  margin: 0.35rem 0 1.05rem;
  letter-spacing: -0.025em;
  color: var(--teal-deep);
}

.history-page--v2 .history-era--epic .history-era__body {
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--charcoal, #2a2926);
}

.history-page--v2 .history-era--epic .history-era__body--2 {
  margin-top: 0.75rem;
  opacity: 0.92;
}

.history-page--v2 .history-era--epic .history-era__quote {
  position: relative;
  margin: 1.4rem 0;
  padding: 1.25rem 1.35rem 1.25rem 1.5rem;
  border-left: 0;
  border-radius: 1.1rem;
  background:
    linear-gradient(135deg, rgba(194, 75, 66, 0.09), rgba(18, 63, 58, 0.05));
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--teal-deep);
  box-shadow: inset 0 0 0 1px rgba(194, 75, 66, 0.1);
}

.history-page--v2 .history-era--epic .history-era__quote::before {
  content: "\201C";
  position: absolute;
  top: 0.15rem;
  left: 0.65rem;
  font-size: 2.5rem;
  line-height: 1;
  color: rgba(194, 75, 66, 0.35);
  font-style: normal;
  pointer-events: none;
}

.history-page--v2 .history-era--epic .history-era__quote p {
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Stat block */
.history-page--v2 .history-era--epic .history-era__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.15rem 1.25rem;
  margin: 1.25rem 0;
  border-radius: 1.1rem;
  background:
    linear-gradient(145deg, #0b2522 0%, #123f3a 55%, #1a4f48 100%);
  color: #fff;
  box-shadow: 0 16px 36px rgba(11, 37, 34, 0.28);
  position: relative;
  overflow: hidden;
}

.history-page--v2 .history-era--epic .history-era__stat::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 75, 66, 0.35), transparent 70%);
  pointer-events: none;
}

.history-page--v2 .history-era--epic .history-era__stat-value {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: #f0b4ae;
  line-height: 1.15;
}

.history-page--v2 .history-era--epic .history-era__stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(247, 244, 238, 0.7);
}

/* Milestones */
.history-page--v2 .history-era--epic .history-era__milestones {
  margin: 1.25rem 0;
  padding: 1.1rem 1.15rem;
  border-radius: 1.1rem;
  background: rgba(18, 63, 58, 0.04);
  border: 1px solid rgba(18, 63, 58, 0.08);
}

.history-page--v2 .history-era--epic .history-era__milestones-label {
  margin: 0 0 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
}

.history-page--v2 .history-era--epic .history-era__milestones ol {
  margin: 0;
  padding: 0 0 0 1.15rem;
  display: grid;
  gap: 0.45rem;
}

.history-page--v2 .history-era--epic .history-era__milestones li {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--charcoal, #2a2926);
  padding-left: 0.25rem;
}

.history-page--v2 .history-era--epic .history-era__milestones li::marker {
  color: var(--teal-mid);
  font-weight: 700;
}

/* Facts */
.history-page--v2 .history-era--epic .history-era__facts {
  display: grid;
  gap: 0.55rem;
  margin: 1.2rem 0;
  padding: 0;
  list-style: none;
}

.history-page--v2 .history-era--epic .history-fact {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(18, 63, 58, 0.1);
  background: var(--ivory);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  cursor: default;
}

.history-page--v2 .history-era--epic .history-fact:hover,
.history-page--v2 .history-era--epic .history-fact.is-pop {
  transform: translateX(5px);
  border-color: rgba(194, 75, 66, 0.32);
  box-shadow: 0 10px 24px rgba(11, 37, 34, 0.08);
}

.history-page--v2 .history-era--epic .history-fact.is-pop {
  animation: fact-pop 0.45s var(--ease);
}

@keyframes fact-pop {
  0% { transform: scale(0.97) translateX(0); }
  50% { transform: scale(1.02) translateX(6px); }
  100% { transform: scale(1) translateX(5px); }
}

/* Tidbit */
.history-page--v2 .history-era--epic .history-tidbit {
  padding: 1.1rem 1.2rem;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, rgba(18, 63, 58, 0.06), rgba(194, 75, 66, 0.05));
  border: 1px dashed rgba(18, 63, 58, 0.18);
}

.history-page--v2 .history-era--epic .history-tidbit__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
}

.history-page--v2 .history-era--epic .history-tidbit p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--charcoal, #2a2926);
}

/* Deep dive */
.history-page--v2 .history-era--epic .history-era__more {
  margin-top: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(18, 63, 58, 0.12);
  background: #fff;
  overflow: hidden;
}

.history-page--v2 .history-era--epic .history-era__more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.15rem;
  cursor: pointer;
  list-style: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--teal-deep);
  transition: background 0.25s;
}

.history-page--v2 .history-era--epic .history-era__more summary::-webkit-details-marker {
  display: none;
}

.history-page--v2 .history-era--epic .history-era__more summary:hover {
  background: rgba(18, 63, 58, 0.04);
}

.history-page--v2 .history-era--epic .history-era__more summary i {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--coral);
  border-bottom: 2px solid var(--coral);
  transform: rotate(45deg);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.history-page--v2 .history-era--epic .history-era__more[open] summary i {
  transform: rotate(-135deg);
  margin-top: 0.25rem;
}

.history-page--v2 .history-era--epic .history-era__more-close {
  display: none;
}

.history-page--v2 .history-era--epic .history-era__more[open] .history-era__more-open {
  display: none;
}

.history-page--v2 .history-era--epic .history-era__more[open] .history-era__more-close {
  display: inline;
}

.history-page--v2 .history-era--epic .history-era__more-body {
  padding: 0 1.15rem 1.15rem;
  border-top: 1px solid rgba(18, 63, 58, 0.08);
}

.history-page--v2 .history-era--epic .history-era__more-body p {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--charcoal, #2a2926);
}

.history-page--v2 .history-era--epic .history-era__more-note {
  font-size: 0.8rem !important;
  color: var(--muted) !important;
  font-style: italic;
}

/* Mobile / tablet: left spine accent */
@media (max-width: 1099px) {
  .history-page--v2 .history-timeline--epic .history-eras {
    padding-left: 1.35rem;
    border-left: 3px solid rgba(18, 63, 58, 0.12);
    margin-left: 0.35rem;
  }

  .history-page--v2 .history-era--epic {
    position: relative;
  }

  .history-page--v2 .history-era--epic::before {
    content: "";
    position: absolute;
    left: calc(-1.35rem - 5px);
    top: 1.75rem;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 50%;
    background: var(--teal-deep);
    border: 3px solid #f7f4ee;
    box-shadow: 0 0 0 2px rgba(18, 63, 58, 0.2);
    z-index: 2;
    transition: background 0.35s, box-shadow 0.35s, transform 0.35s;
  }

  .history-page--v2 .history-era--epic.is-active::before {
    background: var(--coral);
    transform: scale(1.2);
    box-shadow:
      0 0 0 3px rgba(194, 75, 66, 0.25),
      0 0 16px rgba(194, 75, 66, 0.35);
  }

  /* Mobile sticky jump bar */
  .history-page--v2 .history-timeline--epic .history-sticky {
    display: block;
    position: sticky;
    top: calc(var(--header-h, 72px) + 0.35rem);
    z-index: 20;
    padding: 0;
    margin: 0 0 1rem;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .history-page--v2 .history-timeline--epic .history-sticky__glass {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 0.85rem;
    padding: 0.7rem 0.85rem;
    border-radius: 1rem;
  }

  .history-page--v2 .history-timeline--epic .history-sticky__thumb,
  .history-page--v2 .history-timeline--epic .history-sticky__icon,
  .history-page--v2 .history-timeline--epic .history-sticky__label,
  .history-page--v2 .history-timeline--epic .history-sticky__tip {
    display: none;
  }

  .history-page--v2 .history-timeline--epic .history-sticky__year {
    font-size: 1.1rem;
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
  }

  .history-page--v2 .history-timeline--epic .history-sticky__era {
    display: none;
  }

  .history-page--v2 .history-timeline--epic .history-sticky__steps {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    gap: 0.3rem;
    margin: 0;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .history-page--v2 .history-timeline--epic .history-sticky__steps::-webkit-scrollbar {
    display: none;
  }

  .history-page--v2 .history-timeline--epic .history-sticky__step {
    flex: 0 0 auto;
    min-width: 2.4rem;
    min-height: 2rem;
    padding: 0.3rem 0.45rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .history-page--v2 .history-era--epic.is-active .history-era__node-pulse {
    animation: none;
    opacity: 0;
  }

  .history-page--v2 .history-era--epic .history-era__visual-frame img,
  .history-page--v2 .history-era--epic.is-active .history-era__card,
  .history-page--v2 .history-era--epic.is-active .history-era__visual-frame {
    transition: none;
    transform: none;
  }

  .history-page--v2 .history-timeline--epic .history-timeline__fill {
    transition: none;
  }
}

/* ==========================================================================
   History CINEMA timeline â€” full-bleed chapters (v3.3)
   ========================================================================== */

.history-page--v2 .hist-cinema {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  background: #050d0c;
  color: var(--ivory);
  overflow: clip;
}

/* ---- Portal intro ---- */
.history-page--v2 .hist-cinema__portal {
  position: relative;
  min-height: min(78svh, 720px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(4rem, 10vw, 7rem) 1.25rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(194, 75, 66, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(47, 107, 103, 0.22), transparent 55%),
    radial-gradient(ellipse 40% 40% at 85% 20%, rgba(18, 63, 58, 0.4), transparent 50%),
    linear-gradient(180deg, #0b2522 0%, #050d0c 70%, #050d0c 100%);
}

.history-page--v2 .hist-cinema__portal-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.history-page--v2 .hist-cinema__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: hist-orb 14s ease-in-out infinite alternate;
}

.history-page--v2 .hist-cinema__orb--1 {
  width: 28rem;
  height: 28rem;
  left: -8%;
  top: 10%;
  background: rgba(194, 75, 66, 0.35);
}

.history-page--v2 .hist-cinema__orb--2 {
  width: 36rem;
  height: 36rem;
  right: -12%;
  bottom: -10%;
  background: rgba(47, 107, 103, 0.4);
  animation-delay: -4s;
}

.history-page--v2 .hist-cinema__orb--3 {
  width: 18rem;
  height: 18rem;
  left: 40%;
  top: 55%;
  background: rgba(240, 180, 174, 0.2);
  animation-delay: -7s;
}

@keyframes hist-orb {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(4%, -6%) scale(1.12); }
}

.history-page--v2 .hist-cinema__grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(247, 244, 238, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 244, 238, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 75%);
}

.history-page--v2 .hist-cinema__portal-inner {
  position: relative;
  z-index: 2;
  max-width: 44rem;
}

.history-page--v2 .hist-cinema__kicker {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #f0b4ae;
}

.history-page--v2 .hist-cinema__count {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(247, 244, 238, 0.92);
  line-height: 1;
}

.history-page--v2 .hist-cinema__count i {
  display: block;
  width: 3.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--teal-mid));
  border-radius: 2px;
}

.history-page--v2 .hist-cinema__portal h2 {
  margin: 0 0 1.15rem;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6.5vw, 4.25rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
}

.history-page--v2 .hist-cinema__lede {
  margin: 0 auto 2rem;
  max-width: 32rem;
  font-size: 1.12rem;
  line-height: 1.65;
  color: rgba(247, 244, 238, 0.68);
}

.history-page--v2 .hist-cinema__scroll-hint {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  color: rgba(247, 244, 238, 0.85);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.history-page--v2 .hist-cinema__scroll-hint:hover {
  color: #f0b4ae;
}

.history-page--v2 .hist-cinema__scroll-hint i {
  width: 1.5px;
  height: 2.75rem;
  background: linear-gradient(to bottom, var(--coral), transparent);
  position: relative;
  animation: hist-scroll-line 1.8s ease-in-out infinite;
}

.history-page--v2 .hist-cinema__scroll-hint i::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--coral);
  border-bottom: 1.5px solid var(--coral);
  transform: translateX(-50%) rotate(45deg);
}

@keyframes hist-scroll-line {
  0%, 100% { opacity: 0.35; transform: scaleY(0.85); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---- Fixed chapter rail ---- */
.history-page--v2 .hist-rail {
  position: fixed;
  right: 1rem;
  top: 50%;
  z-index: 40;
  transform: translateY(-50%);
  width: 3.25rem;
  padding: 0.85rem 0.45rem;
  border-radius: 999px;
  background: rgba(5, 13, 12, 0.72);
  border: 1px solid rgba(247, 244, 238, 0.12);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  transition: opacity 0.4s, transform 0.4s;
}

.history-page--v2 .hist-rail.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(1rem);
}

.history-page--v2 .hist-rail__track {
  position: absolute;
  left: 50%;
  top: 4.5rem;
  bottom: 1rem;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(247, 244, 238, 0.12);
  border-radius: 2px;
  overflow: hidden;
  z-index: 0;
}

.history-page--v2 .hist-rail__fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--coral), var(--teal-mid));
  box-shadow: 0 0 12px rgba(194, 75, 66, 0.5);
  transition: height 0.12s linear;
}

.history-page--v2 .hist-rail__now {
  position: relative;
  z-index: 1;
  margin: 0 0 0.35rem;
  text-align: center;
  width: 100%;
  padding: 0 0.15rem;
}

.history-page--v2 .hist-rail__now-label {
  display: block;
  font-size: 0.5rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f0b4ae;
  margin-bottom: 0.15rem;
}

.history-page--v2 .hist-rail__now-year {
  display: none;
}

.history-page--v2 .hist-rail__now-era {
  display: none;
}

.history-page--v2 .hist-rail__list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}

.history-page--v2 .hist-rail__btn {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  margin: 0 auto;
  padding: 0;
  border: 1px solid rgba(247, 244, 238, 0.18);
  border-radius: 50%;
  background: rgba(11, 37, 34, 0.85);
  color: rgba(247, 244, 238, 0.75);
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.3s, border-color 0.3s, box-shadow 0.35s, color 0.3s;
}

.history-page--v2 .hist-rail__btn:hover {
  transform: scale(1.08);
  border-color: rgba(240, 180, 174, 0.55);
  color: #fff;
}

.history-page--v2 .hist-rail__btn.is-active,
.history-page--v2 .hist-rail__btn.is-on {
  background: linear-gradient(145deg, var(--coral), var(--coral-deep));
  border-color: transparent;
  color: #fff;
  box-shadow:
    0 0 0 4px rgba(194, 75, 66, 0.22),
    0 8px 20px rgba(194, 75, 66, 0.4);
  transform: scale(1.12);
}

.history-page--v2 .hist-rail__n {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.history-page--v2 .hist-rail__meta {
  display: none;
}

/* Expanded rail on large desktops */
@media (min-width: 1200px) {
  .history-page--v2 .hist-rail {
    right: 1.25rem;
    width: 11.5rem;
    border-radius: 1.35rem;
    padding: 1rem 0.75rem 1.1rem;
    align-items: stretch;
  }

  .history-page--v2 .hist-rail__track {
    left: 1.55rem;
    top: 5.5rem;
    bottom: 1.1rem;
  }

  .history-page--v2 .hist-rail__now {
    text-align: left;
    padding: 0 0.35rem 0.5rem;
    border-bottom: 1px solid rgba(247, 244, 238, 0.1);
    margin-bottom: 0.55rem;
  }

  .history-page--v2 .hist-rail__now-year {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: #f0b4ae;
    line-height: 1.15;
    margin-bottom: 0.15rem;
  }

  .history-page--v2 .hist-rail__now-era {
    display: block;
    font-size: 0.72rem;
    color: rgba(247, 244, 238, 0.55);
    line-height: 1.3;
  }

  .history-page--v2 .hist-rail__list {
    gap: 0.2rem;
  }

  .history-page--v2 .hist-rail__btn {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    height: auto;
    min-height: 2.5rem;
    margin: 0;
    padding: 0.4rem 0.45rem;
    border-radius: 0.85rem;
    border-color: transparent;
    background: transparent;
    justify-content: flex-start;
    transform: none;
  }

  .history-page--v2 .hist-rail__btn:hover {
    background: rgba(247, 244, 238, 0.06);
    transform: none;
  }

  .history-page--v2 .hist-rail__btn.is-active,
  .history-page--v2 .hist-rail__btn.is-on {
    background: rgba(194, 75, 66, 0.18);
    box-shadow: inset 0 0 0 1px rgba(194, 75, 66, 0.35);
    transform: none;
  }

  .history-page--v2 .hist-rail__n {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    background: rgba(247, 244, 238, 0.08);
    border: 1px solid rgba(247, 244, 238, 0.14);
    font-size: 0.62rem;
  }

  .history-page--v2 .hist-rail__btn.is-active .hist-rail__n,
  .history-page--v2 .hist-rail__btn.is-on .hist-rail__n {
    background: linear-gradient(145deg, var(--coral), var(--coral-deep));
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(194, 75, 66, 0.4);
  }

  .history-page--v2 .hist-rail__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    min-width: 0;
    text-align: left;
  }

  .history-page--v2 .hist-rail__year {
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(247, 244, 238, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 7.5rem;
  }

  .history-page--v2 .hist-rail__era {
    font-size: 0.6rem;
    color: rgba(247, 244, 238, 0.45);
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 7.5rem;
  }
}

/* Mobile bottom rail */
@media (max-width: 799px) {
  .history-page--v2 .hist-rail {
    top: auto;
    bottom: 0.75rem;
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
    transform: none;
    flex-direction: row;
    border-radius: 1rem;
    padding: 0.55rem 0.65rem;
    gap: 0.4rem;
  }

  .history-page--v2 .hist-rail.is-hidden {
    transform: translateY(120%);
  }

  .history-page--v2 .hist-rail__track {
    left: 1rem;
    right: 1rem;
    top: 50%;
    bottom: auto;
    width: auto;
    height: 2px;
    transform: translateY(-50%);
  }

  .history-page--v2 .hist-rail__fill {
    height: 100% !important;
    width: 0%;
    transition: width 0.12s linear;
  }

  .history-page--v2 .hist-rail__now {
    display: none;
  }

  .history-page--v2 .hist-rail__list {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    gap: 0.25rem;
  }

  .history-page--v2 .hist-rail__btn {
    width: 2.35rem;
    height: 2.35rem;
  }
}

/* ---- Full-bleed chapters ---- */
.history-page--v2 .hist-chapters {
  position: relative;
}

.history-page--v2 .hist-chapter {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(4.5rem, 10vw, 6.5rem) 0 clamp(5rem, 11vw, 7.5rem);
  overflow: hidden;
  isolation: isolate;
}

.history-page--v2 .hist-chapter__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.history-page--v2 .hist-chapter__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  filter: saturate(0.92) brightness(0.55);
  transition: transform 1.4s var(--ease), filter 0.8s;
  will-change: transform;
}

.history-page--v2 .hist-chapter.is-active .hist-chapter__media img {
  transform: scale(1.18);
  filter: saturate(1.05) brightness(0.62);
  animation: hist-ken 18s ease-in-out infinite alternate;
}

@keyframes hist-ken {
  from { transform: scale(1.12) translate(0, 0); }
  to { transform: scale(1.22) translate(-2.5%, -1.5%); }
}

.history-page--v2 .hist-chapter__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(5, 13, 12, 0.92) 0%, rgba(5, 13, 12, 0.72) 42%, rgba(5, 13, 12, 0.45) 100%),
    linear-gradient(to top, rgba(5, 13, 12, 0.88) 0%, transparent 35%),
    linear-gradient(to bottom, rgba(5, 13, 12, 0.55) 0%, transparent 25%);
  pointer-events: none;
}

.history-page--v2 .hist-chapter--flip .hist-chapter__veil {
  background:
    linear-gradient(255deg, rgba(5, 13, 12, 0.92) 0%, rgba(5, 13, 12, 0.72) 42%, rgba(5, 13, 12, 0.45) 100%),
    linear-gradient(to top, rgba(5, 13, 12, 0.88) 0%, transparent 35%),
    linear-gradient(to bottom, rgba(5, 13, 12, 0.55) 0%, transparent 25%);
}

.history-page--v2 .hist-chapter--coral .hist-chapter__veil::after,
.history-page--v2 .hist-chapter--teal .hist-chapter__veil::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.history-page--v2 .hist-chapter--coral .hist-chapter__veil::after {
  background: radial-gradient(ellipse 60% 50% at 80% 30%, rgba(194, 75, 66, 0.28), transparent 60%);
}

.history-page--v2 .hist-chapter--teal .hist-chapter__veil::after {
  background: radial-gradient(ellipse 60% 50% at 20% 40%, rgba(47, 107, 103, 0.35), transparent 60%);
}

.history-page--v2 .hist-chapter__grain {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

.history-page--v2 .hist-chapter__beam {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(240, 180, 174, 0.12), transparent 65%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s;
}

.history-page--v2 .hist-chapter.is-active .hist-chapter__beam {
  opacity: 1;
}

/* Giant watermark year */
.history-page--v2 .hist-chapter__watermark {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  margin: 0;
  width: 100%;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(4.5rem, 16vw, 14rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 244, 238, 0.1);
  opacity: 0.55;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
  transition: opacity 0.6s, -webkit-text-stroke-color 0.6s;
}

.history-page--v2 .hist-chapter.is-active .hist-chapter__watermark {
  opacity: 0.85;
  -webkit-text-stroke: 1px rgba(240, 180, 174, 0.22);
}

.history-page--v2 .hist-chapter__giant-n {
  position: absolute;
  z-index: 1;
  right: clamp(0.5rem, 4vw, 3rem);
  bottom: clamp(1rem, 4vw, 2.5rem);
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(5rem, 14vw, 11rem);
  font-weight: 500;
  line-height: 0.8;
  color: rgba(247, 244, 238, 0.06);
  pointer-events: none;
  user-select: none;
  transition: color 0.5s;
}

.history-page--v2 .hist-chapter.is-active .hist-chapter__giant-n {
  color: rgba(194, 75, 66, 0.12);
}

.history-page--v2 .hist-chapter--flip .hist-chapter__giant-n {
  right: auto;
  left: clamp(0.5rem, 4vw, 3rem);
}

/* Content */
.history-page--v2 .hist-chapter__inner {
  position: relative;
  z-index: 3;
  width: 100%;
}

.history-page--v2 .hist-chapter__stage {
  max-width: 58rem;
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 1.75rem;
  border: 1px solid rgba(247, 244, 238, 0.12);
  background:
    linear-gradient(155deg, rgba(11, 37, 34, 0.72), rgba(5, 13, 12, 0.55));
  backdrop-filter: blur(22px) saturate(1.15);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(18px);
  opacity: 0.88;
  transition: transform 0.7s var(--ease), opacity 0.6s, box-shadow 0.5s, border-color 0.4s;
}

.history-page--v2 .hist-chapter.is-active .hist-chapter__stage {
  transform: translateY(0);
  opacity: 1;
  border-color: rgba(240, 180, 174, 0.22);
  box-shadow:
    0 48px 100px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(194, 75, 66, 0.12),
    0 0 80px rgba(194, 75, 66, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.history-page--v2 .hist-chapter--flip .hist-chapter__stage {
  margin-left: auto;
}

@media (min-width: 1100px) {
  .history-page--v2 .hist-chapter__inner {
    padding-right: 13rem; /* room for expanded rail */
  }

  .history-page--v2 .hist-chapter--flip .hist-chapter__inner {
    padding-right: 1.25rem;
    padding-left: 2rem;
  }
}

.history-page--v2 .hist-chapter__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem 0.35rem 0.45rem;
  border-radius: 999px;
  background: rgba(247, 244, 238, 0.08);
  border: 1px solid rgba(247, 244, 238, 0.12);
}

.history-page--v2 .hist-chapter__badge-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 1.65rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0b2522;
  background: linear-gradient(135deg, #f0b4ae, #e8c4a0);
}

.history-page--v2 .hist-chapter__badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 10px rgba(194, 75, 66, 0.8);
}

.history-page--v2 .hist-chapter__badge-era {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.75);
}

.history-page--v2 .hist-chapter__yearline {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f0b4ae;
}

.history-page--v2 .hist-chapter__region {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: rgba(247, 244, 238, 0.55);
  letter-spacing: 0.02em;
}

.history-page--v2 .hist-chapter__title {
  margin: 0 0 1.15rem;
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  text-wrap: balance;
  max-width: 18ch;
}

.history-page--v2 .hist-chapter__pull {
  margin: 0 0 1.75rem;
  padding: 1.15rem 1.25rem 1.15rem 1.4rem;
  border: 0;
  border-left: 3px solid var(--coral);
  border-radius: 0 1rem 1rem 0;
  background: linear-gradient(90deg, rgba(194, 75, 66, 0.18), transparent 85%);
}

.history-page--v2 .hist-chapter__pull p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-style: italic;
  line-height: 1.35;
  color: rgba(247, 244, 238, 0.92);
}

.history-page--v2 .hist-chapter__body-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 820px) {
  .history-page--v2 .hist-chapter__body-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.75rem;
    align-items: start;
  }
}

.history-page--v2 .hist-chapter__copy p {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  line-height: 1.72;
  color: rgba(247, 244, 238, 0.78);
}

.history-page--v2 .hist-chapter__milestones {
  margin-top: 1.25rem;
  padding: 1.1rem 1.15rem;
  border-radius: 1.1rem;
  background: rgba(247, 244, 238, 0.05);
  border: 1px solid rgba(247, 244, 238, 0.1);
}

.history-page--v2 .hist-chapter__side-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.65rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f0b4ae;
}

.history-page--v2 .hist-chapter__milestones ol {
  margin: 0;
  padding: 0 0 0 1.1rem;
  display: grid;
  gap: 0.45rem;
}

.history-page--v2 .hist-chapter__milestones li {
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(247, 244, 238, 0.8);
}

.history-page--v2 .hist-chapter__milestones li::marker {
  color: var(--coral);
}

/* Side panel */
.history-page--v2 .hist-chapter__stat {
  position: relative;
  padding: 1.35rem 1.25rem;
  margin-bottom: 1rem;
  border-radius: 1.2rem;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(194, 75, 66, 0.95), rgba(158, 59, 52, 0.9) 50%, rgba(11, 37, 34, 0.95));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.history-page--v2 .hist-chapter__stat::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 70%);
  pointer-events: none;
}

.history-page--v2 .hist-chapter__stat-value {
  display: block;
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 0.35rem;
}

.history-page--v2 .hist-chapter__stat-label {
  position: relative;
  display: block;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
}

.history-page--v2 .hist-chapter__facts {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.history-page--v2 .hist-chapter__fact {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  background: rgba(247, 244, 238, 0.06);
  border: 1px solid rgba(247, 244, 238, 0.1);
  font-size: 0.84rem;
  line-height: 1.35;
  color: rgba(247, 244, 238, 0.85);
  cursor: default;
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
}

.history-page--v2 .hist-chapter__fact:hover,
.history-page--v2 .hist-chapter__fact.is-pop {
  transform: translateX(4px);
  background: rgba(194, 75, 66, 0.15);
  border-color: rgba(240, 180, 174, 0.35);
}

.history-page--v2 .hist-chapter__fact .icon-tile {
  width: 2.15rem !important;
  height: 2.15rem !important;
  flex-shrink: 0;
  background: rgba(247, 244, 238, 0.95) !important;
}

.history-page--v2 .hist-chapter__tidbit {
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
  border-radius: 1.1rem;
  background: rgba(247, 244, 238, 0.05);
  border: 1px dashed rgba(240, 180, 174, 0.28);
}

.history-page--v2 .hist-chapter__tidbit p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(247, 244, 238, 0.75);
}

.history-page--v2 .hist-chapter__more {
  border-radius: 1rem;
  border: 1px solid rgba(247, 244, 238, 0.14);
  background: rgba(5, 13, 12, 0.45);
  overflow: hidden;
}

.history-page--v2 .hist-chapter__more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.05rem;
  cursor: pointer;
  list-style: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(247, 244, 238, 0.9);
}

.history-page--v2 .hist-chapter__more summary::-webkit-details-marker {
  display: none;
}

.history-page--v2 .hist-chapter__more summary:hover {
  background: rgba(247, 244, 238, 0.05);
}

.history-page--v2 .hist-chapter__more summary i {
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid #f0b4ae;
  border-bottom: 2px solid #f0b4ae;
  transform: rotate(45deg);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.history-page--v2 .hist-chapter__more[open] summary i {
  transform: rotate(-135deg);
  margin-top: 0.2rem;
}

.history-page--v2 .hist-chapter__more-close {
  display: none;
}

.history-page--v2 .hist-chapter__more[open] .hist-chapter__more-open {
  display: none;
}

.history-page--v2 .hist-chapter__more[open] .hist-chapter__more-close {
  display: inline;
}

.history-page--v2 .hist-chapter__more-body {
  padding: 0 1.05rem 1.05rem;
  border-top: 1px solid rgba(247, 244, 238, 0.1);
}

.history-page--v2 .hist-chapter__more-body p {
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(247, 244, 238, 0.75);
}

.history-page--v2 .hist-chapter__more-note {
  font-size: 0.78rem !important;
  font-style: italic;
  color: rgba(247, 244, 238, 0.45) !important;
}

/* Continue chevron */
.history-page--v2 .hist-chapter__continue {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  z-index: 4;
  transform: translateX(-50%);
  pointer-events: none;
}

.history-page--v2 .hist-chapter__continue span {
  display: block;
  width: 1.5px;
  height: 2.5rem;
  background: linear-gradient(to bottom, rgba(240, 180, 174, 0.7), transparent);
  animation: hist-scroll-line 2s ease-in-out infinite;
}

/* Mobile padding for bottom rail */
@media (max-width: 799px) {
  .history-page--v2 .hist-chapter {
    padding-bottom: 6.5rem;
    min-height: auto;
    padding-top: 3.5rem;
  }

  .history-page--v2 .hist-chapter__title {
    max-width: none;
  }

  .history-page--v2 .hist-chapter__watermark {
    font-size: clamp(3rem, 18vw, 5.5rem);
    top: 18%;
  }

  .history-page--v2 .hist-chapter__giant-n {
    font-size: 4.5rem;
    opacity: 0.5;
  }
}

/* Hide rail when not in cinema section â€” class toggled by JS */
.history-page--v2 .hist-rail:not(.is-in-view) {
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 800px) {
  .history-page--v2 .hist-rail:not(.is-in-view) {
    transform: translateY(-50%) translateX(1.5rem);
  }
}

.history-page--v2 .hist-rail.is-in-view {
  opacity: 1;
  pointer-events: auto;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .history-page--v2 .hist-cinema__orb,
  .history-page--v2 .hist-chapter.is-active .hist-chapter__media img,
  .history-page--v2 .hist-cinema__scroll-hint i,
  .history-page--v2 .hist-chapter__continue span {
    animation: none !important;
  }

  .history-page--v2 .hist-chapter__stage {
    transform: none;
    opacity: 1;
  }
}

/* ==========================================================================
   History cinema â€” flow + polish (v3.4)
   Sticky media, hook â†’ panel reading path, chapter bridges
   ========================================================================== */

/* Sticky photo holds while chapter content scrolls over it */
.history-page--v2 .hist-chapter {
  position: relative;
  display: block;
  min-height: 0;
  padding: 0;
  align-items: stretch;
  overflow: visible;
  isolation: isolate;
}

.history-page--v2 .hist-chapter__media {
  position: sticky;
  top: 0;
  height: 100svh;
  width: 100%;
  z-index: 0;
  overflow: hidden;
  inset: auto;
}

.history-page--v2 .hist-chapter__flow {
  position: relative;
  z-index: 2;
  margin-top: -100svh;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

/* Mobile Chrome: sticky + -100svh + URL-bar resize scrolls page to top — stack instead */
@media (max-width: 900px) {
  .history-page--v2 .hist-chapter__media {
    position: relative;
    top: auto;
    height: auto;
    min-height: 38svh;
    aspect-ratio: 16 / 11;
  }
  .history-page--v2 .hist-chapter__flow {
    margin-top: 0;
    min-height: 0;
  }
  .history-page--v2 .hist-chapter.is-active .hist-chapter__media img,
  .history-page--v2 .hist-chapter__media img {
    animation: none;
    transform: none;
    will-change: auto;
  }
}

.history-page--v2 .hist-chapter__flow > * {
  pointer-events: auto;
}

/* Opening hook: title lands over the image first */
.history-page--v2 .hist-chapter__hook {
  position: relative;
  min-height: min(72svh, 640px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(5rem, 12vw, 7rem) 1.25rem 1.75rem;
}

.history-page--v2 .hist-chapter__hook-inner {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  transform: translateY(12px);
  opacity: 0.75;
  transition: transform 0.7s var(--ease), opacity 0.55s ease;
}

.history-page--v2 .hist-chapter.is-active .hist-chapter__hook-inner,
.history-page--v2 .hist-chapter.is-visible .hist-chapter__hook-inner {
  transform: translateY(0);
  opacity: 1;
}

.history-page--v2 .hist-chapter--flip .hist-chapter__hook-inner {
  margin-left: auto;
  text-align: right;
}

.history-page--v2 .hist-chapter--flip .hist-chapter__badge {
  margin-left: auto;
}

.history-page--v2 .hist-chapter--flip .hist-chapter__pull {
  border-left: 0;
  border-right: 3px solid var(--coral);
  border-radius: 1rem 0 0 1rem;
  background: linear-gradient(270deg, rgba(194, 75, 66, 0.18), transparent 85%);
  margin-left: auto;
}

/* Watermark sits in hook, not absolute over whole chapter */
.history-page--v2 .hist-chapter__hook .hist-chapter__watermark {
  position: absolute;
  left: 50%;
  top: 28%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 100%;
  margin: 0;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(4rem, 14vw, 11rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 244, 238, 0.12);
  opacity: 0.5;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
  transition: opacity 0.6s, -webkit-text-stroke-color 0.6s;
}

.history-page--v2 .hist-chapter.is-active .hist-chapter__hook .hist-chapter__watermark {
  opacity: 0.8;
  -webkit-text-stroke: 1px rgba(240, 180, 174, 0.2);
}

.history-page--v2 .hist-chapter__hook .hist-chapter__giant-n {
  position: absolute;
  right: 0.5rem;
  bottom: 1rem;
  margin: 0;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(4.5rem, 12vw, 9rem);
  font-weight: 500;
  line-height: 0.8;
  color: rgba(247, 244, 238, 0.07);
  pointer-events: none;
  user-select: none;
}

.history-page--v2 .hist-chapter--flip .hist-chapter__hook .hist-chapter__giant-n {
  right: auto;
  left: 0.5rem;
}

/* Title on image â€” no glass yet */
.history-page--v2 .hist-chapter__hook .hist-chapter__title {
  max-width: 16ch;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  color: #fff;
}

.history-page--v2 .hist-chapter--flip .hist-chapter__hook .hist-chapter__title {
  margin-left: auto;
}

.history-page--v2 .hist-chapter__hook .hist-chapter__pull {
  max-width: 32rem;
  backdrop-filter: blur(8px);
  background: linear-gradient(90deg, rgba(5, 13, 12, 0.45), rgba(194, 75, 66, 0.12));
}

/* Reading panel â€” arrives after hook */
.history-page--v2 .hist-chapter__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0 0 1rem;
}

.history-page--v2 .hist-chapter__stage {
  max-width: 56rem;
  margin: 0;
  padding: clamp(1.4rem, 3vw, 2.1rem);
  border-radius: 1.6rem;
  border: 1px solid rgba(247, 244, 238, 0.14);
  background:
    linear-gradient(160deg, rgba(11, 37, 34, 0.88), rgba(5, 13, 12, 0.78));
  backdrop-filter: blur(24px) saturate(1.2);
  box-shadow:
    0 36px 80px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(20px);
  opacity: 0.82;
  transition:
    transform 0.65s var(--ease),
    opacity 0.5s ease,
    box-shadow 0.45s,
    border-color 0.4s;
}

.history-page--v2 .hist-chapter.is-active .hist-chapter__stage {
  transform: translateY(0);
  opacity: 1;
  border-color: rgba(240, 180, 174, 0.24);
  box-shadow:
    0 44px 96px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(194, 75, 66, 0.1),
    0 0 70px rgba(194, 75, 66, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.history-page--v2 .hist-chapter--flip .hist-chapter__stage {
  margin-left: auto;
}

/* Stagger body pieces when active */
.history-page--v2 .hist-chapter.is-active .hist-chapter__copy > p,
.history-page--v2 .hist-chapter.is-active .hist-chapter__milestones,
.history-page--v2 .hist-chapter.is-active .hist-chapter__stat,
.history-page--v2 .hist-chapter.is-active .hist-chapter__facts,
.history-page--v2 .hist-chapter.is-active .hist-chapter__tidbit,
.history-page--v2 .hist-chapter.is-active .hist-chapter__more {
  animation: hist-rise 0.7s var(--ease) both;
}

.history-page--v2 .hist-chapter.is-active .hist-chapter__copy > p:nth-child(1) { animation-delay: 0.05s; }
.history-page--v2 .hist-chapter.is-active .hist-chapter__copy > p:nth-child(2) { animation-delay: 0.12s; }
.history-page--v2 .hist-chapter.is-active .hist-chapter__milestones { animation-delay: 0.18s; }
.history-page--v2 .hist-chapter.is-active .hist-chapter__stat { animation-delay: 0.08s; }
.history-page--v2 .hist-chapter.is-active .hist-chapter__facts { animation-delay: 0.16s; }
.history-page--v2 .hist-chapter.is-active .hist-chapter__tidbit { animation-delay: 0.22s; }
.history-page--v2 .hist-chapter.is-active .hist-chapter__more { animation-delay: 0.28s; }

@keyframes hist-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Soft fade on inactive chapters (still readable) */
.history-page--v2 .hist-chapter:not(.is-active) .hist-chapter__media img {
  filter: saturate(0.75) brightness(0.42);
}

.history-page--v2 .hist-chapter.is-active .hist-chapter__media img {
  filter: saturate(1.05) brightness(0.62);
}

/* Chapter bridges â€” continuous story feel */
.history-page--v2 .hist-bridge {
  position: relative;
  z-index: 3;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding: 0 1.25rem;
}

.history-page--v2 .hist-bridge__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(247, 244, 238, 0.14);
  background: rgba(5, 13, 12, 0.55);
  backdrop-filter: blur(16px);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.35s var(--ease), border-color 0.3s, background 0.3s;
}

.history-page--v2 .hist-bridge__link:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 180, 174, 0.4);
  background: rgba(11, 37, 34, 0.75);
}

.history-page--v2 .hist-chapter--flip .hist-bridge__link {
  margin-left: auto;
  margin-right: 0;
}

.history-page--v2 .hist-bridge__from {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.4);
  max-width: 7rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-page--v2 .hist-bridge__arrow {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(247, 244, 238, 0.15), var(--coral), rgba(247, 244, 238, 0.15));
  position: relative;
  min-width: 2rem;
}

.history-page--v2 .hist-bridge__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--coral);
  border-top: 1.5px solid var(--coral);
  transform: translateY(-50%) rotate(45deg);
}

.history-page--v2 .hist-bridge__to {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
  text-align: right;
}

.history-page--v2 .hist-bridge__kicker {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f0b4ae;
}

.history-page--v2 .hist-bridge__name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #fff;
  line-height: 1.15;
}

.history-page--v2 .hist-bridge__year {
  font-size: 0.72rem;
  color: rgba(247, 244, 238, 0.55);
}

.history-page--v2 .hist-bridge--end {
  text-align: center;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem 1.25rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(240, 180, 174, 0.25);
  background: rgba(5, 13, 12, 0.55);
  backdrop-filter: blur(16px);
}

.history-page--v2 .hist-bridge__end-label {
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f0b4ae;
}

.history-page--v2 .hist-bridge__end-copy {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: rgba(247, 244, 238, 0.88);
  line-height: 1.35;
}

/* Portal slightly shorter so chapters start sooner */
.history-page--v2 .hist-cinema__portal {
  min-height: min(62svh, 560px);
  padding: clamp(3.5rem, 8vw, 5.5rem) 1.25rem;
}

/* Rail: room for bridges, clearer now-reading */
.history-page--v2 .hist-rail {
  transition: opacity 0.45s ease, transform 0.45s var(--ease);
}

.history-page--v2 .hist-rail__fill {
  transition: height 0.25s ease-out, width 0.25s ease-out !important;
}

/* Scroll margin so jump lands cleanly under header */
.history-page--v2 .hist-chapter {
  scroll-margin-top: 0;
}

/* Desktop: leave space for expanded rail */
@media (min-width: 1200px) {
  .history-page--v2 .hist-chapter__hook,
  .history-page--v2 .hist-chapter__inner {
    padding-right: 13.5rem;
  }

  .history-page--v2 .hist-chapter--flip .hist-chapter__hook,
  .history-page--v2 .hist-chapter--flip .hist-chapter__inner {
    padding-right: 1.25rem;
    padding-left: 2rem;
  }

  .history-page--v2 .hist-chapter__inner {
    /* override earlier padding-right on .hist-chapter__inner from 3.3 */
  }
}

/* Mobile polish */
@media (max-width: 799px) {
  .history-page--v2 .hist-chapter__hook {
    min-height: min(58svh, 480px);
    padding: 4.5rem 1rem 1.25rem;
  }

  .history-page--v2 .hist-chapter__hook .hist-chapter__title {
    max-width: none;
    font-size: clamp(1.85rem, 8vw, 2.4rem);
  }

  .history-page--v2 .hist-chapter--flip .hist-chapter__hook-inner {
    text-align: left;
    margin-left: 0;
  }

  .history-page--v2 .hist-chapter--flip .hist-chapter__badge {
    margin-left: 0;
  }

  .history-page--v2 .hist-chapter--flip .hist-chapter__pull {
    border-right: 0;
    border-left: 3px solid var(--coral);
    border-radius: 0 1rem 1rem 0;
    margin-left: 0;
    background: linear-gradient(90deg, rgba(194, 75, 66, 0.18), transparent 85%);
  }

  .history-page--v2 .hist-chapter__flow {
    padding-bottom: 5.5rem;
  }

  .history-page--v2 .hist-bridge__from {
    display: none;
  }

  .history-page--v2 .hist-bridge__link {
    max-width: none;
  }

  .history-page--v2 .hist-chapter__stage {
    border-radius: 1.25rem;
  }
}

/* Prefer readable text contrast on panels */
.history-page--v2 .hist-chapter__copy p {
  color: rgba(247, 244, 238, 0.82);
}

.history-page--v2 .hist-chapter__body-grid {
  gap: 1.35rem;
}

@media (min-width: 820px) {
  .history-page--v2 .hist-chapter__body-grid {
    gap: 1.65rem;
  }
}

/* Reduced motion: no rise / ken burns extras */
@media (prefers-reduced-motion: reduce) {
  .history-page--v2 .hist-chapter.is-active .hist-chapter__copy > p,
  .history-page--v2 .hist-chapter.is-active .hist-chapter__milestones,
  .history-page--v2 .hist-chapter.is-active .hist-chapter__stat,
  .history-page--v2 .hist-chapter.is-active .hist-chapter__facts,
  .history-page--v2 .hist-chapter.is-active .hist-chapter__tidbit,
  .history-page--v2 .hist-chapter.is-active .hist-chapter__more {
    animation: none !important;
  }

  .history-page--v2 .hist-chapter__hook-inner,
  .history-page--v2 .hist-chapter__stage {
    transform: none !important;
    opacity: 1 !important;
  }

  .history-page--v2 .hist-rail__fill {
    transition: none !important;
  }
}

