:root {
  --bg: #f5f7fc;
  --cream: #faf6e6;
  --accent: #ebd12e;
  --blue: #336bb8;
  --green: #2e6147;
  --text: #383d47;
  --muted: #736b61;
  --spine-w: 72px;
  --radius: 16px;
  --shadow: 0 18px 40px rgba(56, 61, 71, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

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

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.page-shell {
  display: grid;
  grid-template-columns: var(--spine-w) minmax(0, 1fr);
  min-height: 100vh;
}

.rope-spine {
  align-self: stretch;
  min-height: 100vh;
  background: linear-gradient(180deg, #2e6147 0%, #1a3d2e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  z-index: 10;
}

.spine-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text);
  font-weight: 700;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
  text-decoration: none;
  margin-bottom: 28px;
  flex-shrink: 0;
}

.spine-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}

.spine-link {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: rgba(250, 246, 230, 0.82);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.spine-link:hover { color: var(--accent); }

.tick {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.spine-rope {
  width: 3px;
  flex: 1;
  min-height: 40px;
  margin-top: 12px;
  background: repeating-linear-gradient(
    180deg,
    var(--cream) 0 6px,
    transparent 6px 14px
  );
  opacity: 0.35;
}

.main-column {
  padding: clamp(24px, 4vw, 56px) clamp(20px, 5vw, 64px) 48px;
  max-width: 980px;
}

.editorial-hero {
  display: grid;
  gap: 32px;
  margin-bottom: 72px;
}

.hero-kicker {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.hero-title {
  margin: 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(3rem, 8vw, 5.2rem);
  line-height: 0.95;
  font-weight: 400;
  color: var(--text);
}

.hero-sub {
  margin: 10px 0 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  color: var(--blue);
}

.hero-lede {
  margin: 20px 0 0;
  max-width: 52ch;
  font-size: 1.05rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn--primary:hover { transform: translateY(-1px); }

.btn--ghost {
  background: var(--cream);
  color: var(--text);
  border: 1px solid rgba(56, 61, 71, 0.12);
}

.hero-visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--cream);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-caption {
  padding: 10px 16px;
  font-size: 0.78rem;
  color: var(--muted);
  background: #fff;
}

.section-intro {
  margin-bottom: 28px;
}

.section-intro--left { text-align: left; }

.section-intro--right {
  text-align: right;
  margin-left: auto;
  max-width: 36ch;
}

.section-intro h2 {
  margin: 0 0 8px;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 400;
}

.section-intro p {
  margin: 0;
  color: var(--muted);
}

.leads-section { margin-bottom: 80px; }

.lead-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 8px;
  border-left: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.lead-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  position: relative;
  padding-left: 8px;
}

.lead-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  margin-left: -27px;
  box-shadow: 0 0 0 4px var(--bg);
}

.lead-body h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.lead-body p {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
}

.screens-section { margin-bottom: 80px; }

.film-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.film-frame {
  flex: 0 0 min(280px, 72vw);
  margin: 0;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 20px;
  padding: 10px;
  box-shadow: var(--shadow);
}

.film-frame img {
  border-radius: 14px;
  width: 100%;
}

.film-frame figcaption {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  padding: 10px 4px 4px;
}

.gallery-section { margin-bottom: 80px; }

.belfry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.belfry-grid img {
  border-radius: var(--radius);
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.legal-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.legal-panel {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.legal-panel h2 {
  margin: 0 0 8px;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
}

.legal-date {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 16px;
}

.legal-panel p {
  margin: 0 0 12px;
  font-size: 0.95rem;
  color: var(--muted);
}

.legal-panel--support {
  background: linear-gradient(145deg, #fff 0%, var(--cream) 100%);
  border: 1px solid rgba(51, 107, 184, 0.15);
}

.support-mail {
  font-weight: 600;
  font-size: 1.05rem;
  word-break: break-all;
}

.legal-note {
  font-size: 0.82rem;
  margin-top: 20px !important;
}

.page-footer {
  padding-top: 16px;
  border-top: 1px solid rgba(56, 61, 71, 0.08);
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 860px) {
  .page-shell {
    grid-template-columns: 1fr;
  }

  .rope-spine {
    position: fixed;
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    height: auto;
    flex-direction: row;
    padding: 10px 16px;
    justify-content: space-between;
    background: rgba(26, 61, 46, 0.96);
  }

  .spine-mark {
    margin: 0;
    width: 36px;
    height: 36px;
    font-size: 0.75rem;
  }

  .spine-nav {
    flex-direction: row;
    gap: 10px;
  }

  .spine-link {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 0.65rem;
  }

  .spine-rope { display: none; }

  .main-column {
    padding-bottom: 88px;
  }

  .belfry-grid {
    grid-template-columns: 1fr;
  }

  .legal-band {
    grid-template-columns: 1fr;
  }

  .section-intro--right {
    text-align: left;
    margin-left: 0;
  }
}
