/* Club history page — scoped to .page-club-history / .ch-* / .history-ph */

.page-club-history {
  --ch-paper: #f3eee4;
  --ch-paper-ink: #2a2620;
  --ch-paper-muted: #6a6358;
  --ch-paper-line: color-mix(in srgb, #2a2620 14%, transparent);
  --ch-graphite: #2c3138;
  --ch-graphite-deep: #22262c;
  --ch-crack: color-mix(in srgb, #d7dde6 22%, transparent);
  --ch-crack-deep: color-mix(in srgb, #0e1318 35%, transparent);
  --ch-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.42 0 0 0 0 0.38 0 0 0 0 0.3 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* Soft archival wash under the grain */
  background-color: color-mix(in srgb, #e8e0d2 28%, var(--e74-bg));
}

/* Full-page archival grain — dual offset tiles kill visible 1px seam lines */
.page-club-history::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  background-image: var(--ch-grain), var(--ch-grain);
  background-size: 280px 280px, 280px 280px;
  background-position: 0 0, 140px 140px;
  background-repeat: repeat;
  opacity: 0.18;
  /* soft-light reads on both light sections and the graphite earthquake band */
  mix-blend-mode: soft-light;
}

@media (prefers-reduced-motion: reduce) {
  .page-club-history::after {
    opacity: 0.14;
  }
}

/* -------------------------------------------------------------------------- */
/* Section freq nav — vintage yellow crumpled paper                           */
/* -------------------------------------------------------------------------- */

.page-club-history .ch-history-track > section[id],
.page-club-history .ch-history-track > aside[id] {
  scroll-margin-top: calc(
    var(--e74-header-offset, 5rem)
    + var(--e74-section-freq-nav-h)
    + 0.65rem
  );
}

.page-club-history .section-freq-nav {
  --ch-nav-paper: #f3e9c8;
  --ch-nav-paper-deep: #ead9a8;
  --ch-nav-ink: #3a3224;
  --ch-nav-ink-muted: #6e614c;
  /* Overlap header by 1px — kills the dark hairline seam under sticky. */
  top: calc(var(--e74-header-offset, var(--e74-header-inner-h)) - 1px);
  isolation: isolate;
  background:
    /* soft crumple folds */
    repeating-linear-gradient(
      118deg,
      transparent 0 11px,
      color-mix(in srgb, #2a2214 4.5%, transparent) 11px 12px,
      transparent 12px 23px,
      color-mix(in srgb, #fff8e8 7%, transparent) 23px 24px
    ),
    repeating-linear-gradient(
      -16deg,
      transparent 0 17px,
      color-mix(in srgb, #2a2214 3.5%, transparent) 17px 18px,
      transparent 18px 34px
    ),
    /* foxing / age stains */
    radial-gradient(
      ellipse 42% 120% at 8% 40%,
      color-mix(in srgb, #b8894a 22%, transparent),
      transparent 70%
    ),
    radial-gradient(
      ellipse 36% 100% at 92% 70%,
      color-mix(in srgb, #a87838 18%, transparent),
      transparent 72%
    ),
    radial-gradient(
      ellipse 28% 80% at 55% 0%,
      color-mix(in srgb, #c4a060 14%, transparent),
      transparent 68%
    ),
    /* paper base */
    linear-gradient(
      180deg,
      color-mix(in srgb, #f3e6c4 55%, var(--ch-nav-paper)) 0%,
      var(--ch-nav-paper) 48%,
      var(--ch-nav-paper-deep) 100%
    );
  border-bottom: 0;
  /* Inset only — rectangular box-shadow under a torn edge reads as a gap. */
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #fff8e0 55%, transparent),
    inset 0 -8px 14px color-mix(in srgb, #6a542e 10%, transparent);
  /*
   * Shallow torn bottom via clip-path (not mask).
   * Old SVG mask + box-shadow left a dark hairline under the header and a
   * rectangular shadow band under the tear; clip-path keeps the top flush.
   */
  -webkit-clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 94%,
    97% 100%,
    94% 95%,
    90% 100%,
    86% 96%,
    82% 100%,
    78% 95%,
    74% 100%,
    70% 96%,
    66% 100%,
    62% 95%,
    58% 100%,
    54% 96%,
    50% 100%,
    46% 95%,
    42% 100%,
    38% 96%,
    34% 100%,
    30% 95%,
    26% 100%,
    22% 96%,
    18% 100%,
    14% 95%,
    10% 100%,
    6% 96%,
    3% 100%,
    0% 95%
  );
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 94%,
    97% 100%,
    94% 95%,
    90% 100%,
    86% 96%,
    82% 100%,
    78% 95%,
    74% 100%,
    70% 96%,
    66% 100%,
    62% 95%,
    58% 100%,
    54% 96%,
    50% 100%,
    46% 95%,
    42% 100%,
    38% 96%,
    34% 100%,
    30% 95%,
    26% 100%,
    22% 96%,
    18% 100%,
    14% 95%,
    10% 100%,
    6% 96%,
    3% 100%,
    0% 95%
  );
}

.page-club-history .section-freq-nav::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: var(--ch-grain);
  background-size: 160px 160px;
}

.page-club-history .section-freq-nav__shell {
  position: relative;
  z-index: 1;
  /* Slight extra bottom so ticks sit above the shallow torn clip */
  padding-block: 0.6rem 0.95rem;
}

.page-club-history .section-freq-nav__item {
  position: relative;
  z-index: 1;
  color: var(--ch-nav-ink-muted);
}

.page-club-history .section-freq-nav__item:hover {
  color: var(--ch-nav-ink);
}

.page-club-history .section-freq-nav__item.is-active {
  color: var(--e74-accent);
}

.page-club-history .section-freq-nav__label {
  text-shadow: 0 1px 0 color-mix(in srgb, #fff6dc 35%, transparent);
}

.page-club-history .section-freq-nav__tick {
  background: color-mix(in srgb, var(--ch-nav-ink) 28%, transparent);
}

.page-club-history .section-freq-nav__tick--major {
  background: color-mix(in srgb, var(--ch-nav-ink) 42%, transparent);
}

.page-club-history .section-freq-nav__lock {
  background: var(--e74-accent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--e74-accent) 35%, transparent);
}

/* Paper grain (procedural SVG noise) — cards / placeholders */
.history-ph__grain,
.ch-card::before {
  background-image: var(--ch-grain);
  background-size: 180px 180px;
  opacity: 0.35;
  pointer-events: none;
}

/* -------------------------------------------------------------------------- */
/* Placeholder                                                                */
/* -------------------------------------------------------------------------- */

.history-ph {
  margin: 0;
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.history-ph__frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: var(--history-ph-ratio, 16 / 10);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--e74-ink) 12%, transparent);
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--e74-ink) 5%, #e8ecf0) 0%,
    color-mix(in srgb, var(--e74-ink) 12%, #d5dae0) 100%
  );
}

.history-ph__hit {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
  color: inherit;
  font: inherit;
}

.history-ph--photo .history-ph__hit {
  cursor: zoom-in;
}

.history-ph__hit:focus-visible {
  outline: 2px solid var(--e74-accent);
  outline-offset: 3px;
}

.history-ph__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.history-ph--photo .history-ph__frame {
  background: #1a1e24;
}

.history-ph__grain {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  mix-blend-mode: multiply;
}

.history-ph__mark {
  position: absolute;
  left: 0.7rem;
  bottom: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--e74-ink) 55%, transparent);
}

.history-ph__cap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--e74-ink-muted);
}

.history-ph__label {
  font-weight: 500;
  color: var(--e74-ink);
}

.history-ph__period {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.history-ph--hero-main .history-ph__frame,
.history-ph--quake .history-ph__frame {
  border-radius: var(--e74-radius-card);
}

.history-ph--card .history-ph__frame,
.history-ph--qsl .history-ph__frame {
  border-color: var(--ch-paper-line);
  background: color-mix(in srgb, var(--ch-paper) 88%, #d9d2c4);
}

/* Deckle / curly zig-zag edge — old photographic print */
.ch-deckle-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Card media stays a sharp rectangle; deckle lives on .ch-card */
.history-ph--card .history-ph__frame {
  border: 1px solid var(--ch-paper-line);
  border-radius: 0;
  box-shadow: none;
}

.history-ph--mag .history-ph__frame {
  background: color-mix(in srgb, #ebe4d6 80%, #cfc6b4);
  box-shadow: 0 12px 28px rgba(14, 19, 24, 0.12);
}

.history-ph--quake .history-ph__frame {
  border-color: color-mix(in srgb, #fff 16%, transparent);
  background: linear-gradient(
    160deg,
    color-mix(in srgb, #fff 8%, #3a4048),
    color-mix(in srgb, #000 25%, #2a3038)
  );
}

.history-ph--quake .history-ph__mark,
.history-ph--quake .history-ph__cap {
  color: color-mix(in srgb, #fff 72%, transparent);
}

.history-ph--quake .history-ph__label {
  color: #fff;
}

/* -------------------------------------------------------------------------- */
/* Hero — graphite band                                                       */
/* -------------------------------------------------------------------------- */

.ch-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.25rem, 5vw, 4rem) 0 clamp(2.75rem, 6vw, 4.5rem);
  border-bottom: 1px solid color-mix(in srgb, #fff 8%, transparent);
  background:
    radial-gradient(
      ellipse 65% 50% at 88% 12%,
      color-mix(in srgb, var(--e74-accent) 14%, transparent),
      transparent 58%
    ),
    linear-gradient(165deg, var(--ch-graphite) 0%, var(--ch-graphite-deep) 100%);
  color: #f2f4f6;
}

/* Concentric signal rings — same language as homepage final-cta, bottom-left */
.ch-hero__pulse {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(
    ellipse 115% 115% at 0% 100%,
    #000 0%,
    rgba(0, 0, 0, 0.72) 32%,
    rgba(0, 0, 0, 0.28) 58%,
    transparent 78%
  );
  mask-image: radial-gradient(
    ellipse 115% 115% at 0% 100%,
    #000 0%,
    rgba(0, 0, 0, 0.72) 32%,
    rgba(0, 0, 0, 0.28) 58%,
    transparent 78%
  );
}

.ch-hero__pulse-glow {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(82%, 34rem);
  height: min(82%, 34rem);
  transform: translate(-42%, 42%);
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    color-mix(in srgb, var(--e74-accent) 48%, transparent) 0%,
    color-mix(in srgb, var(--e74-accent) 20%, transparent) 40%,
    transparent 72%
  );
  animation: final-cta-glow-bl 4.8s ease-in-out infinite;
}

.ch-hero__pulse-ring {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(185%, 68rem);
  height: min(185%, 68rem);
  border-radius: 50%;
  transform: translate(-50%, 50%) scale(0.12);
  border: 1.75px solid color-mix(in srgb, var(--e74-accent) 82%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--e74-accent) 18%, transparent),
    0 0 42px color-mix(in srgb, var(--e74-accent) 28%, transparent);
  opacity: 0;
  animation: final-cta-pulse-bl 4.8s ease-out infinite;
}

.ch-hero__pulse-ring--1 {
  animation-delay: 0s;
}

.ch-hero__pulse-ring--2 {
  animation-delay: 1.2s;
}

.ch-hero__pulse-ring--3 {
  animation-delay: 2.4s;
}

.ch-hero__pulse-ring--4 {
  animation-delay: 3.6s;
}

@keyframes final-cta-pulse-bl {
  0% {
    transform: translate(-50%, 50%) scale(0.1);
    opacity: 0.9;
  }
  35% {
    transform: translate(-50%, 50%) scale(0.48);
    opacity: 0.48;
  }
  70% {
    transform: translate(-50%, 50%) scale(0.92);
    opacity: 0.14;
  }
  100% {
    transform: translate(-50%, 50%) scale(1.08);
    opacity: 0;
  }
}

@keyframes final-cta-glow-bl {
  0%,
  100% {
    opacity: 0.65;
    transform: translate(-42%, 42%) scale(0.92);
  }
  50% {
    opacity: 1;
    transform: translate(-42%, 42%) scale(1.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ch-hero__pulse-glow,
  .ch-hero__pulse-ring {
    animation: none;
  }

  .ch-hero__pulse-glow {
    opacity: 0.7;
    transform: translate(-42%, 42%);
  }

  .ch-hero__pulse-ring {
    opacity: 0.18;
    transform: translate(-50%, 50%) scale(0.55);
  }

  .ch-hero__pulse-ring--2 {
    opacity: 0.12;
    transform: translate(-50%, 50%) scale(0.78);
  }

  .ch-hero__pulse-ring--3 {
    opacity: 0.08;
    transform: translate(-50%, 50%) scale(0.95);
  }

  .ch-hero__pulse-ring--4 {
    display: none;
  }
}

.ch-hero__shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: end;
  min-width: 0;
}

@media (min-width: 960px) {
  .ch-hero__shell {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
  }
}

.ch-hero__copy {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}

.ch-hero__eyebrow {
  color: color-mix(in srgb, var(--e74-accent) 82%, #fff);
}

.ch-hero__year {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  font-weight: 700;
  letter-spacing: var(--e74-tracking-heading);
  line-height: 0.85;
  color: color-mix(in srgb, #fff 18%, transparent);
}

.ch-hero__title {
  margin: -1.5rem 0 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.6vw, 3.55rem);
  font-weight: 700;
  letter-spacing: var(--e74-tracking-heading);
  line-height: 1.05;
  color: #fff;
  text-wrap: balance;
}

.ch-hero__lede {
  margin: 0;
  max-width: 38rem;
  font-family: var(--font-ui);
  font-size: clamp(1.02rem, 1.35vw, 1.15rem);
  line-height: 1.6;
  color: color-mix(in srgb, #fff 78%, transparent);
  text-wrap: pretty;
}

.ch-hero__media {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 18rem;
}

.history-ph--hero-main {
  width: min(100%, 28rem);
  justify-self: end;
}

.history-ph--hero-frag {
  position: absolute;
  left: -28%;
  bottom: 0.25rem;
  width: min(72%, 22rem);
  transform: rotate(-3.5deg);
  filter: drop-shadow(0 14px 28px rgb(0 0 0 / 0.35));
}

.ch-hero .history-ph__frame {
  border-color: color-mix(in srgb, #fff 16%, transparent);
  background: linear-gradient(
    160deg,
    color-mix(in srgb, #fff 10%, #3a4048),
    color-mix(in srgb, #000 28%, #2a3038)
  );
}

.ch-hero .history-ph__mark,
.ch-hero .history-ph__cap {
  color: color-mix(in srgb, #fff 72%, transparent);
}

.ch-hero .history-ph__label {
  color: #fff;
}

.ch-hero .history-ph__period {
  color: color-mix(in srgb, #fff 70%, transparent);
}

@media (max-width: 699px) {
  .history-ph--hero-frag {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(88%, 20rem);
    margin-top: -2.5rem;
    justify-self: start;
    transform: rotate(-2deg);
  }

  .ch-hero__media {
    min-height: 0;
  }

  .history-ph--hero-main {
    justify-self: stretch;
    width: 100%;
  }
}

/* -------------------------------------------------------------------------- */
/* Story + archival cards                                                     */
/* -------------------------------------------------------------------------- */

.ch-story {
  padding: clamp(2.75rem, 6vw, 5rem) 0;
  /* light band after graphite hero for contrast */
  background: color-mix(in srgb, var(--ch-paper) 55%, var(--e74-bg));
  border-bottom: 1px solid var(--e74-line);
}

.ch-story__subhero {
  display: grid;
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
  align-items: center;
  margin-bottom: clamp(2rem, 4.5vw, 3rem);
  min-width: 0;
}

@media (min-width: 900px) {
  .ch-story__subhero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1.75rem, 3.5vw, 3rem);
  }
}

.ch-story__intro {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}

.ch-story__title {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: var(--e74-tracking-heading);
  line-height: 1.1;
  color: var(--e74-ink);
  text-wrap: balance;
}

.ch-story__prose {
  display: grid;
  gap: 0.9rem;
  max-width: 40rem;
}

.ch-story__prose p {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--e74-ink-muted);
  text-wrap: pretty;
}

.ch-story__visual {
  min-width: 0;
}

.history-ph--story-hero .history-ph__frame {
  border-radius: var(--e74-radius-card);
  min-height: clamp(14rem, 28vw, 22rem);
}

.ch-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  min-width: 0;
}

@media (min-width: 760px) {
  .ch-cards {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.25rem;
  }

  /* 1/3 + 2/3, then 2/3 + 1/3, repeating */
  .ch-card--third {
    grid-column: span 4;
  }

  .ch-card--two-thirds {
    grid-column: span 8;
  }

  .ch-card--full {
    grid-column: 1 / -1;
  }
}

.ch-card--feature .ch-card__title {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
}

.history-ph--card-feature .history-ph__frame {
  min-height: clamp(16rem, 42vw, 28rem);
  aspect-ratio: 21 / 9;
}

.ch-card {
  position: relative;
  display: grid;
  gap: 0.65rem;
  align-content: start;
  padding: 1.55rem 1.5rem 1.65rem;
  background: var(--ch-paper);
  color: var(--ch-paper-ink);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  /* Deckle / zig-zag on the card paper — not on the image inside */
  clip-path: url(#ch-deckle-clip);
  -webkit-clip-path: url(#ch-deckle-clip);
  filter: drop-shadow(0 1px 0 color-mix(in srgb, #2a2620 12%, transparent));
  transition: transform 180ms ease, filter 180ms ease;
}

.ch-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  mix-blend-mode: multiply;
}

.ch-card > * {
  position: relative;
  z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
  .ch-card:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 10px 18px rgba(14, 19, 24, 0.12));
  }
}

.ch-card__period,
.ch-card__title,
.ch-card__body,
.ch-card__calls {
  font-family: var(--font-mono);
}

.ch-card__period {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ch-paper-muted);
}

.ch-card__title {
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ch-paper-ink);
  text-wrap: balance;
}

.ch-card__body {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--ch-paper-muted);
  text-wrap: pretty;
}

.ch-card__calls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ch-card__calls li {
  padding: 0.28rem 0.55rem;
  border: 1px dashed var(--ch-paper-line);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.ch-card .history-ph {
  margin-top: 0.35rem;
}

.ch-card .history-ph--card-extra {
  margin-top: 0.85rem;
}

/* -------------------------------------------------------------------------- */
/* International — archival carousel                                          */
/* -------------------------------------------------------------------------- */

.ch-intl {
  padding: clamp(2.75rem, 6vw, 5rem) 0;
  background: color-mix(in srgb, var(--e74-ink) 2.5%, var(--e74-bg));
  border-bottom: 1px solid var(--e74-line);
  overflow: clip;
}

.ch-intl__shell {
  display: grid;
  gap: clamp(1.35rem, 3vw, 2.25rem);
  min-width: 0;
}

.ch-intl__intro {
  display: grid;
  gap: 0.75rem;
  max-width: 38rem;
  min-width: 0;
}

.ch-intl__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: var(--e74-tracking-heading);
  line-height: 1.1;
  color: var(--e74-ink);
  text-wrap: balance;
}

.ch-intl__lede {
  margin: 0;
  max-width: 36rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--e74-ink-muted);
  text-wrap: pretty;
}

.ch-intl__stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.ch-intl__track {
  min-width: 0;
  width: 100%;
}

.ch-intl__swiper {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.ch-intl__swiper .swiper-wrapper {
  align-items: stretch;
}

.ch-intl__swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.ch-intl__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  border: 1px solid var(--e74-line);
  border-radius: 999px;
  background: var(--e74-surface, #fff);
  color: var(--e74-ink);
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.ch-intl__nav:hover,
.ch-intl__nav:focus-visible {
  border-color: color-mix(in srgb, var(--e74-accent) 45%, var(--e74-line));
  color: var(--e74-accent);
  outline: none;
}

.ch-intl__nav.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.ch-intl-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  min-width: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.ch-intl-card__media {
  display: block;
  width: 100%;
  /* Locked portrait media — every slide same height */
  aspect-ratio: 3 / 4;
  margin: 0;
  padding: 0;
  border: 1px solid var(--e74-line);
  border-radius: 0.2rem;
  background: #ebe6dc;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--e74-ink) 6%, transparent);
  cursor: zoom-in;
  text-align: left;
  overflow: hidden;
}

.ch-intl-card__media:focus-visible {
  outline: 2px solid var(--e74-accent);
  outline-offset: 2px;
}

.ch-intl-card__frame {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: #ebe6dc;
}

/* Page AR inside fixed 3/4 media — markers track the scan, not letterbox */
.ch-intl-card__shot {
  position: relative;
  display: block;
  aspect-ratio: var(--ch-intl-ar, 3 / 4);
  height: 100%;
  width: auto;
  max-width: 100%;
  max-height: 100%;
}

.ch-intl-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.ch-intl-card__mark {
  position: absolute;
  box-sizing: border-box;
  border: 1.5px solid var(--e74-accent);
  border-radius: 1px;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--e74-accent) 22%, transparent),
    inset 0 0 0 1px color-mix(in srgb, #fff 18%, transparent);
  pointer-events: none;
  z-index: 1;
}

.ch-intl-card__media--empty {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  min-height: 16rem;
  padding: 1.25rem;
  cursor: default;
  border: 1px solid var(--e74-line);
  border-radius: 0.2rem;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--e74-ink) 4%, #ebe6dc), #ebe6dc);
}

.ch-intl-card__empty {
  margin: 0;
  max-width: 14rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.45;
  color: var(--e74-ink-muted);
}

.ch-intl-card__body {
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem 0.1rem 0.15rem;
  min-width: 0;
}

.ch-intl-card__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.ch-intl-card__pub {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: var(--e74-tracking-heading-sm);
  line-height: 1.25;
  color: var(--e74-ink);
}

.ch-intl-card__sep {
  margin: 0 0.15em;
  font-weight: 500;
  color: var(--e74-ink-muted);
}

.ch-intl-card__year {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  margin: 0.1rem 0 0;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: var(--e74-accent-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--e74-ink);
  white-space: nowrap;
}

.ch-intl-card__desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--e74-ink-muted);
  text-wrap: pretty;
}

.ch-intl-card__source {
  margin-top: 0.1rem;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--e74-accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.ch-intl-card__source:hover,
.ch-intl-card__source:focus-visible {
  color: color-mix(in srgb, var(--e74-accent) 78%, var(--e74-ink));
  outline: none;
}

@media (max-width: 699px) {
  .ch-intl__stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  .ch-intl__nav {
    display: none;
  }
}

/* Reuse KB gallery lightbox chrome (same classes as kb-gallery.js) */
.page-club-history .kb-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem 3rem;
  background: rgba(12, 17, 22, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.page-club-history .kb-gallery-lightbox.is-open {
  display: flex;
}

.page-club-history .kb-gallery-lightbox__stage {
  /* Fixed viewport stage so landscape slides can vertically center */
  width: min(100%, 96vw);
  height: min(90vh, 100%);
  max-height: 90vh;
}

.page-club-history .kb-gallery-lightbox__swiper {
  width: 100%;
  height: 100%;
}

.page-club-history .kb-gallery-lightbox .swiper-wrapper {
  height: 100%;
}

.page-club-history .kb-gallery-lightbox .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  box-sizing: border-box;
}

.page-club-history .kb-gallery-lightbox .swiper-slide img {
  display: block;
  max-width: min(96vw, 100%);
  max-height: min(88vh, 100%);
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center center;
  border-radius: var(--e74-radius, 0.35rem);
}

.page-club-history .kb-gallery-lightbox__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, #fff 14%, transparent);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.page-club-history .kb-gallery-lightbox__close:hover,
.page-club-history .kb-gallery-lightbox__close:focus-visible {
  background: color-mix(in srgb, #fff 28%, transparent);
  outline: none;
}

.page-club-history .kb-gallery-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, #fff 14%, transparent);
  color: #fff;
  cursor: pointer;
}

.page-club-history .kb-gallery-lightbox__nav--prev {
  left: 0.75rem;
}

.page-club-history .kb-gallery-lightbox__nav--next {
  right: 0.75rem;
}

.page-club-history .kb-gallery-lightbox__nav--prev::before,
.page-club-history .kb-gallery-lightbox__nav--next::before {
  content: "";
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  margin: 0 auto;
  border-style: solid;
  border-color: currentColor;
  border-width: 0 0 2px 2px;
  transform: rotate(45deg);
}

.page-club-history .kb-gallery-lightbox__nav--next::before {
  border-width: 2px 2px 0 0;
}

.page-club-history .kb-gallery-lightbox__nav.swiper-button-disabled {
  opacity: 0.28;
  pointer-events: none;
}

.page-club-history .kb-gallery-lightbox__counter {
  position: absolute;
  bottom: 0.85rem;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, #fff 78%, transparent);
}

body.is-kb-gallery-open {
  overflow: hidden;
}

/* -------------------------------------------------------------------------- */
/* Earthquake                                                                 */
/* -------------------------------------------------------------------------- */

.ch-quake {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background: linear-gradient(165deg, var(--ch-graphite) 0%, var(--ch-graphite-deep) 100%);
  color: #f2f4f6;
  border-bottom: 1px solid color-mix(in srgb, #fff 8%, transparent);
}

.ch-quake__cracks {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
  overflow: hidden;
  /* strongest at the true rim, gone in the content well */
  -webkit-mask-image: radial-gradient(
    ellipse 72% 68% at 50% 50%,
    transparent 0%,
    transparent 48%,
    rgb(0 0 0 / 0.2) 68%,
    rgb(0 0 0 / 0.65) 84%,
    #000 100%
  );
  mask-image: radial-gradient(
    ellipse 72% 68% at 50% 50%,
    transparent 0%,
    transparent 48%,
    rgb(0 0 0 / 0.2) 68%,
    rgb(0 0 0 / 0.65) 84%,
    #000 100%
  );
}

.ch-quake__svg {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.ch-quake__crack {
  stroke: color-mix(in srgb, #e8edf3 28%, transparent);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  path-length: 1;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ch-quake__crack--stem {
  stroke-width: 1.05;
  opacity: 0.55;
}

.ch-quake__crack--twig {
  stroke-width: 0.55;
  opacity: 0.4;
}

.ch-quake.is-cracked .ch-quake__crack {
  stroke-dashoffset: 0;
}

.ch-quake.is-cracked .ch-quake__crack--stem {
  transition-delay: 0.05s;
}

.ch-quake.is-cracked .ch-quake__crack--twig {
  transition-delay: 0.22s;
}

.ch-quake__shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 4.5vw, 3.25rem);
  min-width: 0;
}

.ch-quake__lead {
  display: grid;
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
  min-width: 0;
  align-items: end;
}

@media (min-width: 960px) {
  .ch-quake__lead {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }
}

.ch-quake__intro {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}

.ch-quake__media {
  min-width: 0;
}

/* Seismograph amplitude divider */
.ch-quake__seis {
  position: relative;
  z-index: 1;
  margin: clamp(0.25rem, 1.5vw, 0.75rem) 0;
  min-width: 0;
}

.ch-quake__seis-viewport {
  overflow: hidden;
  width: 100%;
  height: clamp(2.75rem, 5.5vw, 4rem);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.ch-quake__seis-track {
  display: flex;
  width: max-content;
  height: 100%;
  will-change: transform;
}

.ch-quake__seis-svg {
  display: block;
  flex: 0 0 auto;
  width: min(100vw, 72rem);
  height: 100%;
}

.ch-quake__seis-base {
  fill: none;
  stroke: color-mix(in srgb, var(--e74-accent) 22%, transparent);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.ch-quake__seis-wave {
  fill: none;
  stroke: var(--e74-accent);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 4px color-mix(in srgb, var(--e74-accent) 45%, transparent));
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  path-length: 1;
  transition: stroke-dashoffset 2.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ch-quake__seis.is-live .ch-quake__seis-wave {
  stroke-dashoffset: 0;
}

.ch-quake__seis.is-scrolling .ch-quake__seis-track {
  animation: ch-seis-scroll 18s linear infinite;
}

@keyframes ch-seis-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ch-quake__eyebrow {
  color: color-mix(in srgb, var(--e74-accent) 80%, #fff);
}

.ch-quake__year {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 700;
  letter-spacing: var(--e74-tracking-heading);
  line-height: 0.85;
  color: color-mix(in srgb, #fff 18%, transparent);
}

.ch-quake__title {
  display: grid;
  gap: 0;
  margin: -1.75rem 0 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.85rem);
  font-weight: 700;
  letter-spacing: var(--e74-tracking-heading);
  line-height: 1.12;
  color: #fff;
}

.ch-quake__title-line {
  display: block;
  text-wrap: balance;
}

@media (min-width: 960px) {
  .ch-quake__title {
    max-width: none;
  }

  .ch-quake__title-line {
    white-space: nowrap;
  }
}

.ch-quake__prose {
  display: grid;
  gap: 0.85rem;
  max-width: 38rem;
}

.ch-quake__prose p,
.ch-quake__editorial-body {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: color-mix(in srgb, #fff 78%, transparent);
  text-wrap: pretty;
}

.ch-quake__split {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  min-width: 0;
  align-items: center;
}

/* Mobile: text → images for both rows (media-copy DOM is reversed on desktop) */
@media (max-width: 899px) {
  .ch-quake__split--media-copy .ch-quake__col-copy {
    order: -1;
  }
}

@media (min-width: 900px) {
  .ch-quake__split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  }

  .ch-quake__split--media-copy {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }
}

.ch-quake__col-copy {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
  align-content: start;
}

.ch-quake__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ch-quake__pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: 0.15rem 0.55rem;
  border-radius: var(--e74-radius-badge);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.25;
}

.ch-quake__pill--accent {
  color: #fff;
  background: var(--e74-accent);
  border: 1px solid transparent;
}

.ch-quake__pill--muted {
  color: color-mix(in srgb, #fff 88%, transparent);
  background: color-mix(in srgb, #000 28%, transparent);
  border: 1px solid color-mix(in srgb, #fff 18%, transparent);
}

.ch-quake__block-title {
  margin: 0.15rem 0 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: var(--e74-tracking-heading);
  line-height: 1.15;
  color: #fff;
  text-wrap: balance;
}

.ch-quake__block-sub {
  margin: 0;
  max-width: 34rem;
  font-size: 1.05rem;
  font-weight: 550;
  line-height: 1.5;
  color: color-mix(in srgb, #fff 88%, transparent);
  text-wrap: pretty;
}

.ch-quake__block-prose {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.2rem;
}

.ch-quake__block-prose p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: color-mix(in srgb, #fff 78%, transparent);
  text-wrap: pretty;
}

.ch-quake__col-media {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  min-width: 0;
  padding: 1.1rem 0.35rem 2.75rem;
  isolation: isolate;
}

.ch-quake__shot {
  margin: 0;
  min-width: 0;
  flex: 0 0 58%;
  width: 58%;
  max-width: none;
  /* z-index demotes after transform settles so the outgoing card doesn’t pop under mid-motion */
  transition:
    transform 480ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 480ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 480ms ease,
    z-index 0s linear 400ms;
}

.ch-quake__shot--back {
  z-index: 1;
  transform: rotate(-4deg);
  box-shadow: 0 14px 32px rgb(0 0 0 / 0.3);
}

.ch-quake__shot--front {
  z-index: 2;
  /* ~25% of card width: 0.25 × 58% ≈ 14.5% of the row */
  margin-inline-start: -14.5%;
  /* first row: right photo sits a bit lower */
  transform: rotate(3.5deg) translateY(2.35rem);
  box-shadow: 0 18px 36px rgb(0 0 0 / 0.36);
}

.ch-quake__col-media--alt .ch-quake__shot--back {
  /* Mirror of first pair: same modest overlap, flipped tilt */
  transform: rotate(4deg);
}

.ch-quake__col-media--alt .ch-quake__shot--front {
  /* Same ~25% tuck as the first pair — not the deep -22% pull */
  margin-inline-start: -14.5%;
  transform: rotate(-3.5deg) translateY(2.35rem);
}

/* Mobile: photos stacked, mild opposite tilts — keep inset so rotate can’t clip */
@media (max-width: 899px) {
  .ch-quake__col-media {
    flex-direction: column;
    align-items: stretch;
    gap: 1.15rem;
    padding: 0.35rem 1.15rem 0.75rem;
    overflow-x: clip;
  }

  .ch-quake__shot {
    flex: none;
    width: min(86%, 20rem);
    max-width: 100%;
  }

  .ch-quake__shot--back {
    align-self: flex-start;
    transform: rotate(-3.25deg);
  }

  .ch-quake__shot--front {
    align-self: flex-end;
    margin-inline-start: 0;
    transform: rotate(2.75deg);
  }

  .ch-quake__col-media--alt .ch-quake__shot--back {
    align-self: flex-end;
    transform: rotate(3deg);
  }

  .ch-quake__col-media--alt .ch-quake__shot--front {
    /* Was flex-start + rotate — Kenwood ran off the left edge */
    align-self: center;
    margin-inline: 0;
    transform: rotate(-2deg);
  }
}

/* Desktop: hover a shot → bring it forward; the sibling soft-blurs behind */
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .ch-quake__shot {
    transition:
      transform 480ms cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 480ms cubic-bezier(0.22, 1, 0.36, 1),
      filter 480ms ease,
      z-index 0s linear 400ms;
  }

  .ch-quake__col-media:has(.ch-quake__shot--back:hover) .ch-quake__shot--front,
  .ch-quake__col-media:has(.ch-quake__shot--front:hover) .ch-quake__shot--back {
    filter: blur(3.5px) brightness(0.82);
  }

  .ch-quake__shot:hover {
    z-index: 5;
    transition-delay: 0s;
    filter: brightness(1.03) blur(0);
    box-shadow: 0 22px 44px rgb(0 0 0 / 0.42);
  }

  .ch-quake__shot--back:hover {
    transform: rotate(0deg) translateY(-0.45rem) scale(1.045);
  }

  .ch-quake__shot--front:hover {
    transform: rotate(0deg) translateY(1.85rem) scale(1.045);
  }

  .ch-quake__col-media--alt .ch-quake__shot--back:hover {
    transform: rotate(0deg) translateY(-0.45rem) scale(1.045);
  }

  .ch-quake__col-media--alt .ch-quake__shot--front:hover {
    transform: rotate(0deg) translateY(1.85rem) scale(1.045);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ch-quake__shot {
    transition: none;
  }
}

/* Photo + caption as one block: shared dark ground; round only bottom under caption */
.ch-quake__col-media .history-ph--quake,
.ch-quake__media .history-ph--quake {
  gap: 0;
  overflow: hidden;
  background: #2a3038;
  border-radius: 0 0 var(--e74-radius-card) var(--e74-radius-card);
}

.ch-quake__col-media .history-ph__frame,
.ch-quake__media .history-ph__frame {
  border: 0;
  border-radius: var(--e74-radius-card) var(--e74-radius-card) 0 0;
  box-shadow: none;
}

.ch-quake__col-media .history-ph__cap,
.ch-quake__media .history-ph__cap {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0.55rem 0.75rem 0.65rem;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  justify-content: flex-start;
  color: color-mix(in srgb, #fff 78%, transparent);
}

.ch-quake__col-media .history-ph__label,
.ch-quake__media .history-ph__label {
  color: #fff;
}

.ch-quake__col-media .history-ph__hit,
.ch-quake__media .history-ph__hit {
  border-radius: 0;
}

/* Period tag as pill on the photo (bottom-right) — same language as .ch-quake__pill */
.history-ph__pill {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: 0.15rem 0.55rem;
  border-radius: var(--e74-radius-badge);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.25;
  pointer-events: none;
}

.history-ph__pill--accent {
  color: #fff;
  background: var(--e74-accent);
  border: 1px solid transparent;
}

.history-ph__pill--muted {
  color: color-mix(in srgb, #fff 92%, transparent);
  background: color-mix(in srgb, #000 42%, transparent);
  border: 1px solid color-mix(in srgb, #fff 22%, transparent);
  backdrop-filter: blur(4px);
}

.ch-quake__editorial {
  display: grid;
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
  min-width: 0;
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  border: 1px solid color-mix(in srgb, #fff 12%, transparent);
  background: color-mix(in srgb, #000 28%, transparent);
}

@media (min-width: 960px) {
  .ch-quake__editorial {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
    align-items: center;
    padding: clamp(1.75rem, 3.5vw, 2.5rem);
  }
}

.ch-quake__editorial-copy {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}

.ch-quake__editorial-eyebrow {
  color: color-mix(in srgb, var(--e74-accent) 80%, #fff);
}

.ch-quake__editorial-title {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: var(--e74-tracking-heading);
  line-height: 1.15;
  color: #fff;
  text-wrap: balance;
}

.ch-quake__editorial-body {
  max-width: 40rem;
  font-size: 1.06rem;
}

.ch-quake__editorial-link {
  margin: 0.15rem 0 0;
}

.ch-quake__video {
  min-width: 0;
}

.ch-quake__video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid color-mix(in srgb, #fff 10%, transparent);
  background: #0a0c0e;
}

.ch-quake__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* -------------------------------------------------------------------------- */
/* QSL + CTA                                                                  */
/* -------------------------------------------------------------------------- */

.ch-qsl {
  padding: clamp(2.75rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  background: var(--e74-bg);
  overflow: hidden;
}

.ch-qsl__intro {
  display: grid;
  gap: 0.75rem;
  max-width: 40rem;
  margin-bottom: clamp(1.5rem, 3.5vw, 2.25rem);
}

.ch-qsl__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: var(--e74-tracking-heading);
  line-height: 1.1;
  color: var(--e74-ink);
  text-wrap: balance;
}

.ch-qsl__lede {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--e74-ink-muted);
  text-wrap: pretty;
}

.ch-qsl__ribbons {
  display: grid;
  gap: 1rem;
  margin: 0 0 clamp(2rem, 4.5vw, 3rem);
}

.ch-qsl__row {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.ch-qsl__track {
  display: flex;
  gap: 0.85rem;
  width: max-content;
  will-change: transform;
}

.ch-qsl__track--ltr {
  animation: ch-qsl-ltr 70s linear infinite;
}

.ch-qsl__track--rtl {
  animation: ch-qsl-rtl 78s linear infinite;
}

@keyframes ch-qsl-ltr {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes ch-qsl-rtl {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (hover: hover) and (pointer: fine) {
  .ch-qsl__ribbons:hover .ch-qsl__track {
    animation-play-state: paused;
  }
}

.ch-qsl__card {
  flex: 0 0 auto;
  width: clamp(10.5rem, 18vw, 14.5rem);
}

/* Full-bleed archival CTA — edge to edge */
.ch-history-cta {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  margin: 0;
  overflow: hidden;
  color: #fff;
}

.ch-history-cta__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  background: #000;
  overflow: hidden;
}

.ch-history-cta__img {
  position: absolute;
  /* bleed 1px past edges — kills subpixel black hairlines from media bg */
  inset: -1px;
  display: block;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  max-width: none;
  object-fit: cover;
  object-position: 50% 40%;
  transform: none;
  transition: filter 420ms ease, transform 420ms ease;
}

.ch-history-cta__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* darker overall — still deeper toward the bottom */
  background: linear-gradient(
    180deg,
    color-mix(in srgb, #000 48%, transparent) 0%,
    color-mix(in srgb, #000 62%, transparent) 40%,
    color-mix(in srgb, #000 82%, transparent) 75%,
    #000 100%
  );
}

.ch-history-cta__shell {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
  box-sizing: border-box;
  /* identical top/bottom — height comes only from padding + content */
  padding-block: 5.5rem;
  min-width: 0;
}

@media (min-width: 800px) {
  .ch-history-cta__shell {
    grid-template-columns: minmax(0, 1.4fr) auto;
    gap: clamp(2rem, 4vw, 3.5rem);
    padding-block: 6.5rem;
  }
}

.ch-history-cta__copy {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
  max-width: 40rem;
}

.ch-history-cta__eyebrow {
  color: color-mix(in srgb, var(--e74-accent) 88%, #fff);
}

.ch-history-cta__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ch-history-cta__pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: 0.15rem 0.55rem;
  border-radius: var(--e74-radius-badge);
  border: 1px solid color-mix(in srgb, #fff 22%, transparent);
  background: color-mix(in srgb, #000 35%, transparent);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.25;
  color: color-mix(in srgb, #fff 90%, transparent);
}

.ch-history-cta__pill--accent {
  color: #fff;
  background: var(--e74-accent);
  border-color: transparent;
}

.ch-history-cta__title {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: var(--e74-tracking-heading);
  line-height: 1.12;
  color: var(--e74-accent);
  text-wrap: balance;
}

.ch-history-cta__body {
  margin: 0;
  font-size: clamp(1.08rem, 1.35vw, 1.2rem);
  line-height: 1.55;
  color: color-mix(in srgb, #fff 88%, transparent);
  text-wrap: pretty;
}

.ch-history-cta__action {
  justify-self: start;
}

@media (min-width: 800px) {
  .ch-history-cta__action {
    justify-self: end;
  }
}

@media (hover: hover) and (pointer: fine) {
  .ch-history-cta:hover .ch-history-cta__img,
  .ch-history-cta:focus-within .ch-history-cta__img {
    filter: blur(4px);
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ch-qsl__track--ltr,
  .ch-qsl__track--rtl {
    animation: none;
  }

  .ch-quake__crack {
    stroke-dashoffset: 0;
    transition: none;
  }

  .ch-quake__seis-wave {
    stroke-dashoffset: 0;
    transition: none;
  }

  .ch-quake__seis.is-scrolling .ch-quake__seis-track {
    animation: none;
  }

  .ch-card:hover {
    transform: none;
  }

  .ch-history-cta__img {
    transition: none;
    transform: none;
  }

  .ch-history-cta:hover .ch-history-cta__img,
  .ch-history-cta:focus-within .ch-history-cta__img {
    filter: none;
    transform: none;
  }
}
