/* =========================================================================
   12evelation Studios — page & feature styles
   ========================================================================= */

/* =========================================================================
   01 — HOME
   ========================================================================= */
.philosophy {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(224, 169, 60, 0.05), transparent 60%),
    var(--bg-2);
}

/* Five across in one row on desktop, so the philosophy owns one screen. */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  max-width: 1240px;
  margin-inline: auto;
}

.pillar {
  text-align: center;
  padding-inline: clamp(0.75rem, 1.6vw, 1.4rem);
  position: relative;
}
/* Hairline divider between pillars in a row. */
.pillar-grid > li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 8%;
  height: 84%;
  width: 1px;
  background: var(--line-softer);
}

.pillar-icon {
  display: inline-grid;
  place-items: center;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.pillar-icon svg { width: clamp(30px, 4.5vh, 44px); height: auto; }
.pillar-title {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.pillar p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 24ch;
  margin-inline: auto;
}

.home-featured { background: var(--bg); }
/* Four posters in one row; the row is capped by viewport height so the
   whole shelf (heading + cards) fits one screen without stretching. */
.featured-grid { --gap: 1.1rem; }
body.is-slides .featured-grid {
  --avail: calc(100svh - var(--nav-h) - 300px);
  max-width: calc(var(--avail) * 0.6667 * 4 + 3 * var(--gap));
  margin-inline: auto;
}

/* ---- two-path split (home + how it works) ---- */
.home-paths { background: var(--bg-2); }

.path-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.path-card {
  display: grid;
  justify-items: start;
  gap: 1rem;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--accent-softer), transparent 55%), var(--panel);
  min-height: 100%;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.path-card:hover { border-color: var(--accent); box-shadow: 0 12px 40px var(--accent-softer); }
.path-card h3 { font-family: var(--font-display); color: var(--text); }
.path-card p { max-width: 44ch; }
.path-card .btn { margin-top: auto; }

.path-or {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background: var(--bg-3);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  flex: none;
}

/* =========================================================================
   Story card
   ========================================================================= */
.story-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
}

.story-media {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;   /* the poster's own ratio — shown whole, never stretched */
  overflow: hidden;
  background: var(--bg-3);
}
.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.story-card:hover .story-media img { transform: scale(1.04); }
/* A landscape image uploaded as a poster (app.js tags it) is shown whole on
   a blurred copy of itself, instead of having its title cropped away. */
.story-media.is-landscape { background-size: cover; background-position: center; }
.story-media.is-landscape::before {
  content: ""; position: absolute; inset: 0;
  background: inherit; filter: blur(18px) brightness(.45); transform: scale(1.15);
}
.story-media.is-landscape img { position: relative; object-fit: contain; }

.story-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 2;
  max-width: calc(100% - 1.2rem);
  line-height: 1.2;
}

/* Caption under the art: title, subtitle, genre — compact, centred. */
.story-titles {
  display: grid;
  gap: 0.15rem;
  text-align: center;
  text-decoration: none;
  margin-bottom: 0.35rem;
}
.story-title {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.15;
}
.story-subtitle {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-2);
  line-height: 1.2;
}
.story-genre {
  font-size: var(--fs-2xs);
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.story-body {
  padding: 0.75rem 0.85rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1; /* rows align from the top across every card in a row... */
}
/* ...and the CTA always sits on the card's bottom edge, so cards read
   identically no matter how the funding line wraps. */
.story-body > .btn,
.story-body > .link-arrow { margin-top: auto; }

.story-progress-label {
  font-size: var(--fs-xs);
  color: var(--text-faint);
  text-align: center;
}
.story-pct {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--accent);
  min-width: 3.1ch;
  text-align: right;
}

/* Locked placeholder */
.story-card.is-locked {
  border-style: dashed;
  border-color: var(--line-soft);
  /* Same treatment as the violet story-teaser: a faint accent wash so a
     locked slot reads as a reserved place, not an empty box. */
  background:
    radial-gradient(120% 85% at 50% 0%, var(--accent-soft), transparent 62%),
    var(--panel);
}
.story-card.is-locked:hover { transform: none; border-color: var(--accent-line, var(--line)); box-shadow: none; }
.story-card.is-locked .story-locked-icon { color: var(--accent); opacity: .7; }
.story-card.is-locked .btn-locked {
  opacity: 1;
  color: var(--text-muted);
  border-color: var(--line);
  background: var(--accent-softer);
  letter-spacing: .12em;
}
.story-locked-body {
  display: grid;
  place-items: center;
  gap: 0.5rem;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.25rem) 1.25rem;
  min-height: 100%;
}
.story-locked-icon { color: var(--text-dim); margin-bottom: 0.5rem; }
.story-card.is-locked h3 { color: var(--text); font-family: var(--font-sans); font-size: 1.05rem; }
.story-locked-body .btn { margin-top: 0.75rem; }

/* Coming-soon variant: art on top (its own baked title lives lower, so we
   anchor to the top and darken heavily), caption below — never overlaid. */
.story-card.variant-poster .story-body {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 1rem 1.05rem;
  text-align: center;
}
.soon-title {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.25;
}
.soon-genre { font-size: var(--fs-xs); color: var(--azure-bright); }

/* =========================================================================
   02 — ABOUT US
   ========================================================================= */
.about-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }

.about-pillar {
  padding: 1.5rem 1.25rem;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.about-pillar:hover { border-color: var(--line); transform: translateY(-3px); }
.about-pillar h3 {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.about-pillar .dash {
  width: 34px;
  height: 1px;
  background: var(--line-strong);
  margin: 0.7rem auto 0.9rem;
}
.about-pillar p { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.6; }

/* ---- leadership ---- */
.leaders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }

.leader {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--t) var(--ease);
}
.leader:hover { border-color: var(--line); }
.leader-photo { position: relative; background: var(--bg-3); min-height: 240px; }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.leader-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(18, 16, 14, 0.85));
}
.leader-body { padding: clamp(1.15rem, 2.5vw, 1.6rem); display: flex; flex-direction: column; gap: 0.4rem; }
.leader-body h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--text); }
.leader-role {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.leader-body hr { width: 46px; height: 1px; background: var(--line-strong); border: 0; margin: 0.55rem 0; }
.leader-body p { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.65; }
.leader-body .btn { margin-top: auto; align-self: flex-start; }

/* ---- core values ---- */
.values {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--line-softer);
  border-radius: var(--radius-md);
  overflow: visible;
  background: var(--panel);
}
.value {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  padding: 1.15rem 0.75rem;
  border-right: 1px solid var(--line-softer);
  text-align: center;
}
.value:last-child { border-right: 0; }
.value b {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---- operating model ---- */
.model-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}
.model-step {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  padding: 1.35rem 1.25rem;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  margin-right: 34px;
}
.model-flow > .model-step:last-child { margin-right: 0; }

/* Connector arrow between steps. */
.model-step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -26px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  background: currentColor;
  color: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.model-step .icon-wrap { color: var(--gold); }
.model-step h3 {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.45rem;
}
.model-step p { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.6; }

/* ---- closing CTA ---- */
.about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(100deg, var(--gold-softer), transparent 65%);
}
.about-cta .copy { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.6rem); line-height: 1.45; }
.about-cta .copy em { font-style: italic; color: var(--gold); }
.about-cta .actions { display: flex; gap: 0.85rem; flex-wrap: wrap; flex: none; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1000px) {
  .about-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .leaders { grid-template-columns: minmax(0, 1fr); }
  .values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .value:nth-child(3n) { border-right: 0; }
  .value:nth-child(-n+3) { border-bottom: 1px solid var(--line-softer); }
  .model-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 34px; }
  .model-step { margin-right: 0; }
  .model-step:not(:last-child)::after { display: none; }
}

@media (max-width: 860px) {
  .pillar-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 0; }
  .pillar-grid > li::after { display: none !important; }

  .path-split { grid-template-columns: minmax(0, 1fr); }
  .path-or { margin-inline: auto; }

  .about-cta { flex-direction: column; align-items: stretch; }
  .about-cta .actions .btn { flex: 1; }
}

@media (max-width: 620px) {
  .pillar-grid { grid-template-columns: minmax(0, 1fr); }
  .about-pillars { grid-template-columns: minmax(0, 1fr); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value:nth-child(3n) { border-right: 1px solid var(--line-softer); }
  .value:nth-child(2n) { border-right: 0; }
  .model-flow { grid-template-columns: minmax(0, 1fr); }
  .leader { grid-template-columns: minmax(0, 1fr); }
  .leader-photo { min-height: 260px; max-height: 320px; }
  .leader-photo::after { background: linear-gradient(0deg, rgba(18, 16, 14, 0.9), transparent 55%); }
}

/* =========================================================================
   03 — STORY CATALOGUE
   ========================================================================= */
.intent-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  max-width: 780px;
  margin-inline: auto;
  text-align: left;
}
.intent { display: flex; gap: 0.8rem; align-items: flex-start; }
.intent-icon { color: var(--accent); flex: none; margin-top: 2px; }
.intent b {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.intent p { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.55; }

/* ---- lifecycle block ---- */
.catalogue-block {
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--accent-softer), transparent 30%), var(--bg-2);
  padding: clamp(1.15rem, 2.5vw, 1.75rem);
}

.block-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.35rem;
}
.block-icon { color: var(--accent); flex: none; display: grid; place-items: center; }
.block-title {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.block-lede { font-size: var(--fs-sm); color: var(--text-muted); }

.block-body.has-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 236px;
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
}
/* The injected "See more" wrap must stay in the cards column — never
   steal the rail's column. Desktop only: at <=1000px has-rail is a single
   column and forcing columns here squeezes the cards. */
@media (min-width: 1001px) {
  .block-body.has-rail > .sm-wrap { grid-column: 1; }
  .block-body.has-rail > .rail { grid-column: 2; grid-row: 1; }
}

/* ---- side rail ---- */
.rail {
  padding: 1.25rem;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-md);
  background: var(--panel);
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}
.rail-title {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  line-height: 1.4;
}
.rail-list { display: grid; gap: 0.85rem; }
.rail-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: var(--fs-sm);
  color: var(--text-2);
  line-height: 1.4;
}
.rail-list .icon { color: var(--accent); flex: none; margin-top: 1px; }

/* ---- breadcrumbs ---- */
.crumbs {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.crumbs a { transition: color var(--t) var(--ease); }
.crumbs a:hover { color: var(--gold); }
.crumbs span[aria-hidden] { color: var(--text-dim); }
.crumbs [aria-current] { color: var(--accent); }

@media (max-width: 1000px) {
  .block-body.has-rail { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; }
}
@media (max-width: 860px) {
  .intent-row { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
  .block-head .link-arrow { margin-left: 0; }
}

/* =========================================================================
   04 — SUPPORT A STORY
   ========================================================================= */
.support-banner {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: clamp(230px, 30vw, 340px);
  display: grid;
  align-items: center;
  border: 1px solid var(--line-soft);
}
.support-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
.support-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 6, 16, 0.95) 0%, rgba(10, 6, 16, 0.8) 32%, rgba(10, 6, 16, 0.2) 66%, transparent 100%);
}
.support-banner-copy {
  position: relative;
  z-index: 2;
  padding: clamp(1.35rem, 3vw, 2.5rem);
  max-width: 600px;
  display: grid;
  gap: 0.5rem;
  justify-items: start;
}
.banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.2vw, 3rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--text);
}
/* Crimson subtitle flanked by arrows, as in the mockup. */
.banner-subtitle {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.8vw, 2rem);
  letter-spacing: 0.04em;
  color: #E23B4E;
  line-height: 1.1;
}
.banner-subtitle::before,
.banner-subtitle::after {
  content: "";
  height: 1px;
  width: clamp(28px, 6vw, 74px);
  background: linear-gradient(90deg, var(--gold), transparent);
  position: relative;
}
.banner-subtitle::before { background: linear-gradient(270deg, var(--gold), transparent); }
.banner-tagline {
  margin-top: 0.35rem;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--text-2);
  line-height: 1.55;
  max-width: 42ch;
}

/* ---- two-panel rows ---- */
.support-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.support-split > * { min-width: 0; }

.panel-title {
  font-family: var(--font-sans);
  font-size: var(--fs-h4);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.big-figure {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  line-height: 1;
  color: var(--accent);
  margin-top: 0.9rem;
}
.big-figure span { font-size: 0.62em; }
.figure-label {
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 0.35rem;
}

.support-fund { display: flex; flex-direction: column; }
.fund-stats {
  display: flex;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  padding-top: 1rem;
  border-top: 1px solid var(--line-softer);
}
.fund-stats div { display: grid; gap: 0.15rem; }
.fund-stats b { font-size: 1.45rem; font-weight: 600; color: var(--text); }
.fund-stats span { font-size: var(--fs-xs); color: var(--text-faint); }

/* ---- how support is used ---- */
.used-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}
.used-grid li {
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  text-align: center;
}
.used-grid .icon { color: var(--accent); margin-bottom: 0.35rem; }
.used-grid b { font-size: var(--fs-xs); font-weight: 600; color: var(--text-2); line-height: 1.3; }
.used-grid span { font-size: var(--fs-xs); color: var(--text-faint); line-height: 1.3; }

.check-list { display: grid; gap: 0.75rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: var(--fs-sm);
  color: var(--text-2);
  line-height: 1.5;
}
.check-dot {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  flex: none;
  margin-top: 1px;
}

.legal-note {
  display: flex;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-softer);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius-xs);
  background: var(--surface);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.6;
}
.legal-note .icon { color: var(--accent); flex: none; margin-top: 2px; }
.legal-note b { color: var(--text-2); }

/* ---- tiers ---- */
.section-label {
  font-family: var(--font-sans);
  font-size: var(--fs-h4);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1rem;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.tier {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  padding: 1.75rem 1.15rem 1.15rem;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease),
              background var(--t) var(--ease);
}
.tier:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.tier.is-selected {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-softer), transparent 60%), var(--panel);
  box-shadow: 0 0 0 1px var(--accent-line);
}
.tier.is-popular { border-color: var(--accent-line); }

.tier-flag {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.3rem 0.8rem;
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--violet-deep);
  color: #F0E7FF;
  border-radius: var(--radius-xs);
  white-space: nowrap;
}
.tier-icon { color: var(--accent); }
.tier-name {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}
.tier-price {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--accent);
  line-height: 1.1;
}
.tier-price i { font-style: normal; font-size: 0.7em; }
.tier-perk { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.45; }
.tier-select {
  margin-top: 0.75rem;
  width: 100%;
  padding: 0.55rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-xs);
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}
.tier.is-selected .tier-select {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.support-form .choice { margin-top: 0.6rem; }
.support-form .choice.has-error .box { border-color: var(--danger); }

/* ---- share band ---- */
.share-band {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: clamp(1.15rem, 2.5vw, 1.6rem);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-md);
  background: linear-gradient(100deg, var(--accent-softer), transparent 70%);
}
.share-icon { color: var(--accent); flex: none; }
.share-band b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--accent);
}
.share-band p { font-size: var(--fs-sm); color: var(--text-muted); }

@media (max-width: 1000px) {
  .support-split { grid-template-columns: minmax(0, 1fr); }
  .tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .used-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem 0.75rem; }
}
@media (max-width: 700px) {
  /* Phone: the six stages become a vertical list (dot left, label right)
     instead of a cut-off horizontal scroll track. */
  .stepper { flex-direction: column; align-items: stretch; }
  .stepper li { flex-direction: row; align-items: center; text-align: left; gap: 0.85rem; padding-block: 0.4rem; }
  .stepper li:not(:last-child)::after { top: 50%; left: 16px; width: 2px; height: 100%; }
  .stepper .label { margin-top: 0; padding-inline: 0; }
  .share-band { flex-wrap: wrap; }
  .share-band .btn { width: 100%; margin-left: 0; }
}
@media (max-width: 560px) {
  .tier-grid { grid-template-columns: minmax(0, 1fr); }
  .used-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =========================================================================
   05 — PRODUCTION READY (story detail)
   ========================================================================= */
.ruled-title {
  position: relative;
  display: inline-block;
  padding-bottom: 0.55rem;
  font-family: var(--font-sans);
  font-size: var(--fs-h4);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.ruled-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ---- tab bar ---- */
.tabbar {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: var(--panel);
  overflow-x: auto;
  scrollbar-width: none;
  position: sticky;
  top: var(--nav-h);
  z-index: 20;
  backdrop-filter: blur(10px);
}
.tabbar::-webkit-scrollbar { display: none; }

.tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1rem 0.85rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease),
              background var(--t) var(--ease);
}
.tab:hover { color: var(--text); background: var(--surface); }
.tab.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: var(--accent-softer);
}

/* ---- log line row ---- */
.logline-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: clamp(1.15rem, 2.5vw, 2rem);
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border-top: 0;
  scroll-margin-top: calc(var(--nav-h) + 70px);
}
.logline-copy p {
  margin-top: 1.1rem;
  font-size: var(--fs-sm);
  color: var(--text-2);
  line-height: 1.8;
}

.teaser { display: grid; gap: 0.6rem; }
.teaser video,
.teaser-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  position: relative;
}
.teaser-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.teaser-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(6, 10, 16, 0.28);
  transition: background var(--t) var(--ease);
}
.teaser-play:disabled { cursor: default; }
.teaser figcaption {
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.interested {
  border-left: 1px solid var(--line-softer);
  padding-left: clamp(1rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
}
.interested p {
  margin-top: 1rem;
  font-size: var(--fs-sm);
  color: var(--text-2);
  line-height: 1.7;
}
.interested .btn { margin-top: auto; }

/* ---- overview ---- */
.overview-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.15rem, 2.5vw, 2rem);
  padding: clamp(1.35rem, 3vw, 2rem);
  align-items: center;
  scroll-margin-top: calc(var(--nav-h) + 70px);
}
.overview-copy p {
  margin-top: 1rem;
  font-size: var(--fs-sm);
  color: var(--text-2);
  line-height: 1.8;
}
.overview-art img {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
}

/* ---- tone ---- */
#tone, #script-details { scroll-margin-top: calc(var(--nav-h) + 70px); }

.tone-list { display: grid; gap: 0.85rem; }
.tone-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: var(--fs-xs);
  color: var(--text-2);
  line-height: 1.6;
}
.tone-dot {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  flex: none;
  margin-top: 2px;
}

.tone-keywords {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line-softer);
}
.tone-keywords li {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.3;
}
.tone-keywords .icon { color: var(--accent); }

/* ---- script details ---- */
.facts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1rem, 2vw, 2rem); }
.facts-col { display: grid; align-content: start; }
.facts-col li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-softer);
}
.facts-col li:last-child { border-bottom: 0; }
.facts-col .icon { color: var(--accent); flex: none; margin-top: 2px; }
.facts-col span {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-faint);
  margin-bottom: 0.15rem;
}
.facts-col b { font-size: var(--fs-sm); font-weight: 500; color: var(--text); line-height: 1.45; }

/* ---- thank-you / error ---- */
.thanks .thanks-mark { margin-inline: auto; border-color: var(--accent); color: var(--accent); }
.wall-choice { border: 1px solid var(--line-soft); border-radius: var(--radius-md); padding: 1.1rem 1.25rem; background: var(--accent-softer); }
.wall-choice-q { font-family: var(--font-display); font-size: 1.1rem; color: var(--text); }
.payments-soon { display: flex; gap: 0.9rem; align-items: flex-start; border-color: var(--accent-line); }
.payments-soon .icon { color: var(--accent); flex: none; margin-top: 2px; }
.ref {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85em;
  padding: 0.15rem 0.45rem;
  background: var(--surface-2);
  border-radius: var(--radius-xs);
  color: var(--text-2);
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 16vw, 9rem);
  line-height: 0.95;
  font-weight: 500;
}

@media (max-width: 1000px) {
  .logline-panel { grid-template-columns: minmax(0, 1fr); }
  .interested { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-softer); padding-top: 1.25rem; }
  .overview-panel { grid-template-columns: minmax(0, 1fr); }
  .facts-grid { grid-template-columns: minmax(0, 1fr); }
  .tabbar { grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); }
}
@media (max-width: 700px) {
  .tone-keywords { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem 0.75rem; }
  .tab span { display: none; }
  .tabbar { grid-auto-columns: 1fr; }
  .tab { padding: 0.9rem 0.5rem; }
}

/* =========================================================================
   06 — HOW IT WORKS
   ========================================================================= */
.journey {
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--accent-softer), transparent 40%), var(--bg-2);
  overflow: hidden;
}
.journey-stage {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  align-items: start;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
}
.journey-stage + .journey-stage { border-top: 1px solid var(--accent-line); }

/* Stage header block: "Stage One" chip + a name + a one-line summary, so the
   two stages are clearly explained rather than just numbered. */
.stage-label {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  padding-right: clamp(0.5rem, 1.5vw, 1.25rem);
  border-right: 1px solid var(--accent-line);
}
.stage-badge { display: flex; align-items: baseline; gap: 0.5rem; }
.stage-badge b {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}
.stage-name {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--text);
  line-height: 1.2;
}
.stage-desc { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.6; }

.journey-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
}
.journey-steps.is-dotted {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: clamp(1.15rem, 2.5vw, 1.75rem);
}

.journey-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  text-align: center;
  padding: 0.5rem clamp(0.6rem, 1.4vw, 1.1rem);
}
/* Arrow connector between steps. */
.journey-step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 26px;
  width: 16px;
  height: 16px;
  background: currentColor;
  color: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Dotted rule for the support journey. */
.journey-steps.is-dotted .journey-step:not(:last-child)::before {
  content: "";
  position: absolute;
  right: -50%;
  left: 50%;
  top: 33px;
  border-top: 1.5px dotted var(--accent);
  opacity: 0.55;
  z-index: 0;
}

.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: var(--bg-2);
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent);
  flex: none;
}
.journey-step h4 {
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.35;
}
.journey-step p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---- together band ---- */
.cta-band.together { gap: 1.25rem; }
.together-icon { color: var(--accent); flex: none; }
.cta-band.together .copy { border-left: 0; padding-left: 0; flex: 1 1 auto; }

@media (max-width: 1000px) {
  .journey-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem 0; }
  .journey-steps.is-dotted { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .journey-step:nth-child(3n)::after { display: none; }
  .journey-steps.is-dotted .journey-step:nth-child(3n)::before { display: none; }
}
@media (max-width: 760px) {
  .journey-stage { grid-template-columns: minmax(0, 1fr); }
  .stage-label { border-right: 0; border-bottom: 1px solid var(--accent-line); padding-right: 0; padding-bottom: 1rem; }
  .journey-steps,
  .journey-steps.is-dotted { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey-step::after,
  .journey-steps.is-dotted .journey-step::before { display: none !important; }
  .cta-band.together { text-align: center; }
  .together-icon { margin-inline: auto; }
}
@media (max-width: 480px) {
  .journey-steps,
  .journey-steps.is-dotted { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================================
   07 / 08 — AUTH (split screen)
   ========================================================================= */
body.is-auth { display: flex; flex-direction: column; min-height: 100vh; }
.auth-main { flex: 1; display: flex; }

.auth-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  width: 100%;
  max-width: var(--maxw-wide);
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 3rem) var(--gutter);
  align-items: center;
}
.auth-split.is-single {
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
}

/* ---- left marketing panel ---- */
.auth-aside { position: relative; min-width: 0; }

/* Poster collage sits behind the copy, dimmed almost to texture. */
.auth-collage {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  opacity: 0.16;
  filter: grayscale(0.35) contrast(1.05);
  pointer-events: none;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 45%, #000 20%, transparent 78%);
          mask-image: radial-gradient(120% 90% at 70% 45%, #000 20%, transparent 78%);
}
.auth-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.auth-collage .collage-1 { transform: rotate(-3deg) translateY(-6%); }
.auth-collage .collage-2 { transform: rotate(2.5deg); }
.auth-collage .collage-3 { transform: rotate(-1.5deg); }
.auth-collage .collage-4 { transform: rotate(3deg) translateY(4%); }

.auth-aside-copy { position: relative; z-index: 1; }

.auth-benefits { display: grid; gap: 1.35rem; }
.auth-benefits li { display: flex; align-items: flex-start; gap: 1rem; }
.auth-benefits b { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--text); margin-bottom: 0.2rem; }
.auth-benefits p { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.55; max-width: 44ch; }

.auth-quote { position: relative; padding-top: 1.5rem; border-top: 1px solid var(--line-softer); }
.quote-mark { color: var(--gold); display: block; margin-bottom: 0.4rem; }
.auth-quote p { font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.55; color: var(--text); }
.auth-quote cite { display: block; margin-top: 0.6rem; font-style: normal; font-size: var(--fs-sm); color: var(--gold); }

/* ---- form card ---- */
.auth-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 0;
}
.auth-card-head { text-align: center; margin-bottom: 1.5rem; }

.oauth-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.oauth {
  --btn-py: 0.85rem;
  --btn-px: 0.75rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  width: 100%;
}
.oauth[disabled] { opacity: 0.62; }

.or-rule {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1.35rem 0;
  color: var(--text-faint);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
}
.or-rule::before,
.or-rule::after { content: ""; flex: 1; height: 1px; background: var(--line-softer); }

.choice.has-error .box { border-color: var(--danger); }

/* ---- trust row ---- */
.trust-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 0;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-softer);
}
.trust-row li {
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  text-align: center;
  padding-inline: 0.6rem;
  border-right: 1px solid var(--line-softer);
}
.trust-row li:last-child { border-right: 0; }
.trust-row .icon { color: var(--gold); margin-bottom: 0.35rem; }
.trust-row b { font-size: var(--fs-xs); font-weight: 600; color: var(--text-2); }
.trust-row span { font-size: var(--fs-2xs); color: var(--text-faint); line-height: 1.45; }

.auth-foot {
  padding: 1.25rem var(--gutter);
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--text-faint);
  border-top: 1px solid var(--line-softer);
}

@media (max-width: 980px) {
  .auth-split { grid-template-columns: minmax(0, 1fr); }
  .auth-aside { order: 2; }
  .auth-collage { display: none; }
  .auth-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .auth-benefits li { flex-direction: column; }
}
@media (max-width: 700px) {
  .oauth-row { grid-template-columns: minmax(0, 1fr); }
  .auth-benefits { grid-template-columns: minmax(0, 1fr); }
  .auth-benefits li { flex-direction: row; }
  .trust-row { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 0; }
  .trust-row li:nth-child(2n) { border-right: 0; }
  .trust-row li:last-child { border-right: 0; }
}

/* =========================================================================
   09 — REQUEST FULL ACCESS
   ========================================================================= */
.request-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: start;
}

.request-rail { position: sticky; top: calc(var(--nav-h) + 16px); }
.request-poster {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  aspect-ratio: 3 / 4;
}
.request-poster img { width: 100%; height: 100%; object-fit: cover; }

.why-list { display: grid; gap: 1rem; }
.why-list li { display: flex; gap: 0.8rem; align-items: flex-start; }
.why-list .icon-ring { flex: none; }
.why-list p { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.55; }

/* ---- the 7-section masonry form (4 columns on wide desktop, per mockup) ---- */
/* Single column of section cards, read in order 1 -> 7. Each section lays its
   own fields out 2-up so it stays compact without breaking the reading flow. */
.request-grid {
  display: grid;
  gap: 1.15rem;
}
.req-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.15rem 1.5rem;
  align-content: start;
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--panel);
}
.req-section > legend,
.req-section > .field:has(textarea),
.req-section > .field:has(select),
.req-section > .sub-group { grid-column: 1 / -1; }
.req-section > legend {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
  padding: 0;
}
.req-section .field { margin-bottom: 0.9rem; }
@media (max-width: 620px) { .req-section { grid-template-columns: minmax(0, 1fr); } }

.sub-group { border: 0; margin-bottom: 1.1rem; }
.sub-group > legend { padding: 0; margin-bottom: 0.5rem; }
.sub-group.has-error > legend { color: var(--danger); }

.req-declaration { background: linear-gradient(180deg, var(--gold-softer), transparent 40%), var(--panel); }
.req-declaration .choice { grid-column: 1 / -1; margin-bottom: 0.85rem; align-items: flex-start; }
.req-declaration .choice:last-child { margin-bottom: 0; }
.req-declaration .choice.has-error span:last-child { color: var(--danger); }

/* ---- footer ---- */
.request-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
}
.request-safe { display: flex; align-items: center; gap: 0.85rem; font-size: var(--fs-sm); color: var(--text-muted); }
.request-safe .icon { color: var(--gold); flex: none; }
.request-safe b { color: var(--text-2); }

/* ---- submitted confirmation ---- */
.submitted-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; text-align: center; }
.submitted-step { display: grid; justify-items: center; gap: 0.3rem; padding: 1.15rem; border: 1px solid var(--line-soft); border-radius: var(--radius-md); }
.submitted-step span { color: var(--gold); margin-bottom: 0.35rem; }
.submitted-step b { font-size: var(--fs-sm); color: var(--text); }
.submitted-step p { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.5; }

@media (max-width: 1100px) {
  .request-layout { grid-template-columns: minmax(0, 1fr); }
  .request-rail { position: static; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 1.25rem; align-items: start; }
  .request-poster { grid-row: span 3; }
}
@media (max-width: 760px) {
  .request-rail { grid-template-columns: minmax(0, 1fr); }
  /* One column: the 3-row span from the tablet layout made the heading
     below slide underneath the poster. A short banner, not a full poster,
     so the form starts within the first screen. */
  .request-poster { grid-row: auto; max-width: none; aspect-ratio: 16 / 9; }
  .request-poster img { object-position: center 30%; }
  .submitted-steps { grid-template-columns: minmax(0, 1fr); }
  .request-footer { flex-direction: column; align-items: stretch; }
  .request-footer .btn { width: 100%; }
}

/* =========================================================================
   Contact + legal
   ========================================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: start;
}
.contact-channels { display: grid; gap: 1.1rem; }
.contact-channels li { display: flex; gap: 0.8rem; align-items: flex-start; }
.contact-channels .icon-ring { flex: none; }
.contact-channels span { display: block; font-size: var(--fs-xs); color: var(--text-faint); }
.contact-channels a { font-size: var(--fs-sm); color: var(--text); transition: color var(--t) var(--ease); }
.contact-channels a:hover { color: var(--gold); }

.legal-doc { }
.legal-body { color: var(--text-2); }
.legal-body h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  margin: 2rem 0 0.75rem;
}
.legal-body p { margin-bottom: 1rem; line-height: 1.75; }
.legal-body ul { margin: 0 0 1.25rem 1.25rem; display: grid; gap: 0.5rem; }
.legal-body li { list-style: disc; line-height: 1.7; }
.legal-body strong { color: var(--text); }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---- how-it-works triptych band (text-free art left + right) ---- */
/* Compact hero so the "two ways" cards sit in the first viewport (above the
   fold) instead of below a tall banner. */
.hiw-band { min-height: clamp(220px, 30vh, 300px); padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.hiw-pathways { padding-top: clamp(1.5rem, 3vw, 2.25rem); }
.hiw-band > img { position: absolute; top: 0; height: 100%; width: auto; min-width: 40%; z-index: 0; object-fit: cover; }
/* Reset the opposite edge — .hero-band > img sets `inset:0` (both left AND
   right:0), which would otherwise stretch each side image full-width and let
   the right one cover the whole band. */
.hiw-band .hiw-band-left  { left: 0; right: auto; }
/* Right image is its own composition (with readable "DIRECTOR" text) — do not
   mirror it, or the text reverses. */
.hiw-band .hiw-band-right { right: 0; left: auto; }
/* Outer thirds kept mostly clear so both side images read; only the centre
   band behind the text is darkened. */
.hiw-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(10,8,7,.05) 0%, rgba(10,8,7,.12) 20%, rgba(10,8,7,.72) 36%,
      rgba(10,8,7,.9) 50%,
      rgba(10,8,7,.72) 64%, rgba(10,8,7,.12) 80%, rgba(10,8,7,.05) 100%),
    linear-gradient(0deg, rgba(10,8,7,.85), transparent 82%);
}
@media (max-width: 720px) {
  .hiw-band .hiw-band-left,
  .hiw-band .hiw-band-right { width: 50%; opacity: 0.5; }
  .hiw-band::after { background: linear-gradient(0deg, var(--bg) 10%, rgba(10,8,7,.85) 55%, rgba(10,8,7,.6)); }
}

/* About-page globe hero: lighten the left scrim ~25% vs the shared hero-split
   so the globe art reads brighter on the left. */
.hero-globe .hero-art::after {
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(10, 8, 7, 0.56) 22%, rgba(10, 8, 7, 0.08) 55%, transparent 100%),
    linear-gradient(0deg, rgba(10, 8, 7, 0.41), transparent 45%);
}


/* =========================================================================
   COMING SOON — story teaser detail
   ========================================================================= */
.cs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.cs-story-name { font-size: var(--fs-sm); letter-spacing: 0.18em; color: var(--gold); }
.cs-headline { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.cs-headline, .cs-hero-copy .t-lead { max-width: 30ch; }

.cs-notify-inline { display: flex; gap: 0.6rem; max-width: 480px; }
.cs-notify-inline .input { flex: 1; }
.cs-notify-inline .btn { flex: none; white-space: nowrap; }

.cs-hero-art {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 5 / 6;
  background: var(--bg-3);
}
.cs-hero-art img { width: 100%; height: 100%; object-fit: cover; }
.cs-hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 40%, transparent 40%, rgba(10, 8, 7, 0.5));
  pointer-events: none;
}

/* reveal list */
.cs-reveal { display: grid; gap: 0.35rem; }
.cs-reveal li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line-softer);
}
.cs-reveal li:last-child { border-bottom: 0; }
.cs-reveal .icon { color: var(--gold); flex: none; }
.cs-reveal b { display: block; font-size: var(--fs-sm); color: var(--text); }
.cs-reveal span { font-size: var(--fs-xs); color: var(--text-faint); }

.cs-side { display: grid; gap: 1rem; align-content: start; }

/* message from 12E */
.cs-message { position: relative; overflow: hidden; }
.cs-message-body p { font-size: var(--fs-sm); color: var(--text-2); line-height: 1.7; margin-bottom: 0.75rem; }
.cs-sign { font-family: var(--font-italic); font-style: italic; font-size: 1.35rem; color: var(--text); margin-top: 1rem; margin-bottom: 0 !important; }
.cs-sign-role { font-size: var(--fs-xs); color: var(--gold); }
.cs-quill {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  color: var(--gold);
  opacity: 0.18;
  pointer-events: none;
}

/* why this matters */
.cs-why { position: relative; overflow: hidden; }
.cs-why-art {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 140px;
  height: auto;
  opacity: 0.4;
  -webkit-mask-image: radial-gradient(circle at 70% 70%, #000, transparent 72%);
          mask-image: radial-gradient(circle at 70% 70%, #000, transparent 72%);
  pointer-events: none;
}

/* launch newsletter band */
.cs-launch {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem 1.5rem;
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(100deg, var(--gold-softer), transparent 70%), var(--panel);
}
.cs-launch-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--gold);
  flex: none;
}
.cs-launch-copy b { display: block; font-family: var(--font-display); font-size: 1.25rem; color: var(--text); }
.cs-launch-copy p { font-size: var(--fs-sm); color: var(--text-muted); }
.cs-launch-form { display: flex; gap: 0.5rem; }
.cs-launch-form .input { min-width: 220px; }
.cs-launch-form .btn { flex: none; }
.cs-launch-fine {
  grid-column: 2 / -1;
  font-size: var(--fs-xs);
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* related cards */
.cs-rel-chip {
  align-self: flex-start;
  margin-bottom: 0.4rem;
  max-width: 100%;
  white-space: normal;
  line-height: 1.25;
}
.cs-rel-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.2;
}

@media (max-width: 900px) {
  .cs-hero { grid-template-columns: minmax(0, 1fr); }
  .cs-hero-art { order: -1; max-height: 46vh; aspect-ratio: 16 / 10; }
  .cs-launch { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .cs-launch-icon { margin: 0; }
  .cs-launch-form { flex-wrap: wrap; }
  .cs-launch-form .input { flex: 1; min-width: 0; }
  .cs-launch-fine { grid-column: 1; }
}
@media (max-width: 620px) {
  .cs-notify-inline { flex-direction: column; }
  .cs-notify-inline .btn { width: 100%; }
}

/* Path card: icon beside the heading (not stacked). */
.path-head { display: flex; align-items: center; gap: 1rem; }
.path-head .icon-ring { flex: none; }
.path-head h3 { margin: 0; }
@media (max-width: 480px) {
  .path-head { gap: 0.75rem; }
  .path-head .icon-ring { --ring: 60px; }
}

/* Breathing room between the Request Access intro and the first section. */
.request-form-wrap .shell-head { margin-bottom: 1.85rem; }
.request-form-wrap .shell-head p:last-child { margin-bottom: 0; }

/* Simplified two-stage explainer (replaces the 12-step grid). */
.stage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.stage-card {
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--accent-softer), transparent 55%), var(--panel);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  gap: 0.6rem;
  align-content: start;
}
.stage-heading {
  font-family: var(--font-cinema);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.stage-card .stage-name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--text);
  line-height: 1.2;
}
.stage-card .stage-desc { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.75; }
.stage-points { display: grid; gap: 0.6rem; margin-top: 0.5rem; }
.stage-points li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: var(--fs-sm);
  color: var(--text-2);
}
.stage-points .check-dot { width: 20px; height: 20px; flex: none; }

@media (max-width: 760px) { .stage-grid { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================================
   Support Wall — credits-style honour roll
   ========================================================================= */
.wall-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(3rem, 7vw, 5rem) 1.25rem clamp(2.25rem, 5vw, 3.5rem);
}
.wall-hero-glow {
  position: absolute;
  top: -35%;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, 120vw);
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(224,169,60,.18), rgba(224,169,60,0) 62%);
  pointer-events: none;
}
.wall-hero-inner { position: relative; max-width: 720px; margin-inline: auto; }
.wall-hero-title { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-top: 0.35rem; }
.wall-hero .rule-diamond { margin: 1rem auto 1.1rem; }
.wall-hero-lede { color: var(--text-muted); max-width: 46ch; margin-inline: auto; }

.wall-stats {
  display: inline-flex;
  align-items: center;
  gap: 1.75rem;
  margin-top: 1.9rem;
  padding: 0.85rem 1.9rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill, 999px);
  background: var(--panel-raised, rgba(255,255,255,.02));
}
.wall-stats > div { text-align: center; line-height: 1; }
.wall-stats b {
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: var(--gold, #E0A93C);
}
.wall-stats span { display: block; margin-top: 0.3rem; font-size: var(--fs-2xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }
.wall-stats-div { width: 1px; height: 34px; background: var(--line-soft); }

/* Honour-roll heading with ornaments */
.wall-roll-head {
  display: flex; align-items: center; justify-content: center; gap: 0.9rem;
  margin: 0.5rem 0 2.25rem;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--text, #F3EEE5);
}
.wall-roll-orn { color: var(--gold, #E0A93C); opacity: 0.8; display: inline-flex; }

/* Medallion grid — centred so 2 names or 200 both look intentional */
.wall-roll {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.1rem, 2.5vw, 1.9rem) clamp(1.25rem, 3vw, 2.5rem);
  list-style: none;
  padding: 0;
  max-width: 1000px;
  margin-inline: auto;
}
.patron {
  width: clamp(140px, 20vw, 172px);
  text-align: center;
}
.patron-medallion {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  font-family: var(--font-display, Georgia, serif);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: #1B1408;
  background: linear-gradient(155deg, var(--gold-bright, #F4C969), var(--gold, #E0A93C) 62%, #B7822B);
  box-shadow: 0 6px 20px rgba(224,169,60,.22), inset 0 0 0 1px rgba(255,255,255,.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.patron:hover .patron-medallion { transform: translateY(-3px) scale(1.03); box-shadow: 0 10px 28px rgba(224,169,60,.4), inset 0 0 0 1px rgba(255,255,255,.35); }
.patron-name { display: block; font-size: var(--fs-md); color: var(--text, #F3EEE5); line-height: 1.25; }
.patron-story { display: block; margin-top: 0.2rem; font-size: var(--fs-xs); color: var(--text-faint); }
.patron-story a { color: var(--gold, #E0A93C); }
.patron-story a:hover { text-decoration: underline; }

.patron-medallion-empty {
  background: var(--gold-softer, rgba(224,169,60,.08));
  color: var(--gold, #E0A93C);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  width: 84px; height: 84px;
}

/* Slim closing prompt */
.wall-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1.5rem;
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  padding: 1.15rem 1.6rem;
  max-width: 720px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg, 18px);
  background: var(--gold-softer, rgba(224,169,60,.045));
  text-align: center;
}
.wall-cta p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }
.wall-cta p b { color: var(--text-2); }

.wall-empty { text-align: center; padding: clamp(2rem, 6vw, 3.5rem) 0; }
.wall-empty .patron-medallion-empty { margin-inline: auto; }

@media (max-width: 560px) {
  .wall-stats { gap: 1.1rem; padding: 0.75rem 1.25rem; }
  .patron { width: 44%; }
}

/* Support wall — search + dense (scales to hundreds) */
.wall-search {
  position: relative;
  max-width: 460px;
  margin: 0 auto 2.25rem;
}
.wall-search-icon {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: var(--text-faint);
  pointer-events: none;
  display: inline-flex;
}
.wall-search .input { padding-left: 2.85rem; border-radius: var(--radius-pill, 999px); text-align: center; }
.wall-search-count {
  display: block;
  margin-top: 0.6rem;
  text-align: center;
  font-size: var(--fs-2xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.wall-roll--dense { gap: clamp(0.85rem, 2vw, 1.35rem) clamp(0.9rem, 2vw, 1.6rem); }
.wall-roll--dense .patron { width: clamp(96px, 12vw, 116px); }
.wall-roll--dense .patron-medallion { width: 54px; height: 54px; font-size: 1.1rem; margin-bottom: 0.55rem; }
.wall-roll--dense .patron-name { font-size: var(--fs-sm); }

.wall-noresults {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--text-faint);
  font-size: var(--fs-sm);
}

@media (max-width: 560px) {
  .wall-roll--dense .patron { width: 30%; }
}

.wall-body { padding-top: clamp(1.25rem, 3vw, 2.25rem); }
.wall-body .wall-roll-head { margin-top: 0; }

/* =========================================================================
   Mobile: horizontal carousels with mapping dots + "see more" expanders.
   [data-mcarousel] grids become swipeable snap-tracks on phones only;
   desktop keeps the normal grid. Dots are injected by app.js.
   ========================================================================= */
@media (max-width: 720px) {
  [data-mcarousel] {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.85rem;
    scrollbar-width: none;
    padding: 0.15rem 0.15rem 0.35rem;
  }
  [data-mcarousel]::-webkit-scrollbar { display: none; }
  [data-mcarousel] > * {
    flex: 0 0 min(84%, 330px);
    scroll-snap-align: center;
    min-width: 0;
  }
}
.mdots { display: none; }
@media (max-width: 720px) {
  .mdots { display: flex; justify-content: center; gap: 0.15rem; margin-top: 0.5rem; }
  .mdots button {
    width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer;
    display: grid; place-items: center;               /* 28px tap target, small dot */
  }
  .mdots button::after {
    content: ""; width: 7px; height: 7px; border-radius: 50%;
    background: var(--line-soft, rgba(243,238,229,.22));
    transition: background 0.2s ease, transform 0.2s ease;
  }
  .mdots button.is-on::after { background: var(--accent, #E0A93C); transform: scale(1.4); }
}

/* "See more" — long grids collapse on phones; button expands/collapses. */
.sm-wrap { display: none; }
@media (max-width: 720px) {
  [data-seemore] > .sm-hidden { display: none !important; }
  .sm-wrap { display: flex; justify-content: center; margin-top: 1.1rem; }
}

/* =========================================================================
   Leader profile (/team/{n}) — the "Learn more" destination
   ========================================================================= */
.leader-hero {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  margin-top: 0.5rem;
}
.leader-hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--panel-raised);
}
.leader-hero-photo img { width: 100%; height: auto; display: block; }
.leader-hero-role {
  margin-top: 0.4rem;
  font-size: var(--fs-md);
  color: var(--gold);
  letter-spacing: 0.03em;
}
.leader-quote {
  position: relative;
  margin: 1.5rem 0 0;
  padding: 1.1rem 1.25rem 1.1rem 3rem;
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-md);
  background: var(--gold-softer, rgba(224,169,60,.05));
}
.leader-quote span { position: absolute; top: 0.9rem; left: 0.9rem; color: var(--gold); opacity: 0.75; }
.leader-quote p { font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.5; color: var(--text); font-style: italic; }
.leader-focus-label {
  margin-top: 1.5rem;
  font-size: var(--fs-2xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.leader-focus { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; list-style: none; padding: 0; }
.leader-focus li {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  font-size: var(--fs-xs); color: var(--text-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  background: var(--surface);
}
.leader-focus li .icon { color: var(--gold); }
.leader-bio { max-width: 760px; margin-top: clamp(1.75rem, 4vw, 2.75rem); }
.leader-bio p { font-size: var(--fs-md); line-height: 1.8; color: var(--text-2); margin-bottom: 1.1rem; }
.leader-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-softer);
}
@media (max-width: 720px) {
  .leader-hero { grid-template-columns: minmax(0, 1fr); }
  .leader-hero-photo { max-width: 320px; }
  .leader-cta .ml-auto { margin-left: 0; width: 100%; }
}

/* =========================================================================
   Mobile polish round (real-device feedback)
   ========================================================================= */

/* 1) The hero owns the first screen on phones: image + headline + CTA fill
   one viewport; the next section starts below the fold. */
@media (max-width: 720px) {
  /* Explicit height (not just min) so the art's percentage-height image can
     resolve; the image then fills everything above the copy, cover-cropped —
     first screen = image + headline + CTA, no dead gap. */
  .hero-split {
    height: calc(100svh - var(--nav-h, 64px));
    min-height: 560px;
    display: flex;
    flex-direction: column;
  }
  .hero-split .hero-art { order: -1; flex: 1 1 0; min-height: 0; max-height: none; }
  .hero-split .hero-copy { flex: 0 0 auto; }
}

/* 2) iOS carousel fix: .reveal animates transform on slides inside a
   scroll-snap track, which makes Safari rasterize them mid-transition —
   pixelated text, ghost doubling, chopped icons. Inside a carousel, slides
   are always fully visible with no transform. */
[data-mcarousel] > *,
.hscroll > * {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* 3) Horizontal story carousel with prompting arrows (all screen sizes). */
.hscroll {
  display: flex !important;
  grid-template-columns: none !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 1rem;
  scrollbar-width: none;
  padding: 0.15rem;
}
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { flex: 0 0 280px; scroll-snap-align: start; min-width: 0; }
@media (max-width: 720px) {
  .hscroll > * { flex-basis: min(84%, 330px); scroll-snap-align: center; }
}
.hs-wrap { position: relative; min-width: 0; }
.hs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line, rgba(224,169,60,.3));
  background: var(--panel-raised, #1C1813);
  color: var(--gold, #E0A93C);
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,.5);
  transition: background 0.2s ease, transform 0.2s ease;
}
.hs-arrow:hover { background: var(--surface-2, #241F19); transform: translateY(-50%) scale(1.06); }
.hs-prev { left: -10px; }
.hs-next { right: -10px; }
.hs-arrow[hidden] { display: none; }
@media (max-width: 720px) { .hs-arrow { display: none; } }

/* 4) Hide the horizontal sidebar strip on phones — the burger drawer carries
   the dashboard links there instead. (Scoped: portal/admin topbars have no
   burger, so they keep their strip.) */
@media (max-width: 720px) {
  .has-drawer .sidebar { display: none !important; }
}

/* 5) Core values: hover / tap drop-down cards (replaces the (i) tooltips). */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  list-style: none;
  padding: 0;
}
.value-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--panel-raised);
  padding: 1rem 1.15rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.value-card:hover, .value-card.is-open { border-color: var(--gold, #E0A93C); }
.value-card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold, #E0A93C);
}
.vc-chev { color: var(--text-faint); transition: transform 0.25s ease; flex: none; }
.value-card:hover .vc-chev, .value-card.is-open .vc-chev { transform: rotate(180deg); }
.value-card-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.value-card-body > span {
  overflow: hidden;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.6;
}
.value-card:hover .value-card-body,
.value-card:focus-visible .value-card-body,
.value-card.is-open .value-card-body { grid-template-rows: 1fr; }
.value-card:hover .value-card-body > span,
.value-card:focus-visible .value-card-body > span,
.value-card.is-open .value-card-body > span { padding-top: 0.55rem; }
@media (max-width: 720px) {
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Drawer: app-links section for signed-in users. */
.drawer-sep {
  margin: 0.75rem 0 0.5rem;
  padding: 0 0 0.35rem;
  font-size: var(--fs-2xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  border-bottom: 1px solid var(--line-softer);
}

/* Featured-section teaser card — fills empty grid columns when fewer than
   three production-ready stories exist. Locked-card look, but interactive. */
.story-teaser {
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; border-style: dashed;
  /* A violet wash + soft glow so the invitation never reads as an empty box. */
  background:
    radial-gradient(120% 85% at 50% 0%, rgba(160, 139, 240, 0.14), transparent 62%),
    radial-gradient(90% 60% at 50% 100%, rgba(160, 139, 240, 0.07), transparent 60%),
    var(--bg-2);
}
.story-teaser .story-locked-body { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--sp-6) var(--sp-5); }
.story-teaser .story-locked-icon { color: var(--accent); opacity: .8; }
.story-teaser h3 { color: var(--text); margin-top: var(--sp-3); }
.story-teaser p { margin: var(--sp-2) 0 var(--sp-4); }
.story-teaser:hover { border-color: var(--accent); }



/* Card CTA: calm at rest, gold fill on card hover — rows of cards stop shouting. */
.story-card .btn-primary {
  background: transparent;
  color: var(--gold-bright);
  border-color: var(--gold);
  box-shadow: none;
}
.story-card:hover .btn-primary,
.story-card:focus-within .btn-primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #16110A;
  border-color: var(--gold-bright);
  box-shadow: 0 4px 18px rgba(224, 169, 60, 0.22);
}

/* Chosen tier is unmistakable: ring + check badge. */
.tier.is-selected {
  box-shadow: 0 0 0 2px var(--accent), 0 8px 24px rgba(0, 0, 0, 0.35);
}
.tier.is-selected::after {
  content: '✓';
  position: absolute;
  top: 10px; right: 10px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #16110A;
  font-size: 13px; font-weight: 700;
}

/* =========================================================================
   Section flow — cinematic entrances, hero depth, scroll cue, hand-offs.
   All of it sits on the existing .reveal system; reduced-motion kills it.
   ========================================================================= */

/* 1 — Section headings open like a scene: title first, then the sub line. */
.section-head.reveal h2,
.section-head.reveal .sub,
.section-head.reveal .rule-diamond {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.section-head.reveal.is-in h2 { opacity: 1; transform: none; }
.section-head.reveal.is-in .rule-diamond { opacity: 1; transform: none; transition-delay: 120ms; }
.section-head.reveal.is-in .sub { opacity: 1; transform: none; transition-delay: 220ms; }

/* 2 — Hero art drifts slower than the copy (JS sets --plx). */
.hero-art img { transform: translateY(var(--plx, 0px)); will-change: transform; }

/* 3 — Scroll cue: a quiet pulse at the base of tall heroes. */
.scroll-cue {
  position: absolute;
  left: 50%; bottom: 18px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid var(--gold);
  border-radius: 14px;
  opacity: 0.7;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.4s ease;
  z-index: 5;
}
.scroll-cue::after {
  content: '';
  position: absolute;
  left: calc(50% - 2px); top: 8px;
  width: 4px; height: 8px;
  border-radius: 2px;
  background: var(--gold-bright);
  animation: cue-drop 1.8s ease-in-out infinite;
}
.scroll-cue.is-done { opacity: 0; pointer-events: none; }
@keyframes cue-drop {
  0%   { transform: translateY(0);    opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 0; }
}
@media (max-width: 720px) { .scroll-cue { display: none; } }

/* 4 — Sections melt into each other instead of hard-cutting. */
#main > section { position: relative; }
#main > section:not(:first-child)::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 64px;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Inline confirmations — success lands where the user acted. */
.contact-sent { text-align: center; padding-block: var(--sp-7); }
.contact-sent-icon { color: var(--gold-bright); }
.footer-news-ok {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold-bright);
  padding: 10px 0;
}

/* Live pledge summary above the pay button. */
.support-summary {
  text-align: center;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  min-height: 1.4em;
}
.support-summary:empty { display: none; }

/* Request-access progress rail — sticky step chips under the nav. */
.req-progress {
  position: sticky;
  top: calc(var(--nav-h) + 10px);
  z-index: 20;
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 8px 10px;
  margin-bottom: var(--sp-4);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  width: fit-content;
  margin-inline: auto;
}
.req-progress button {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-muted);
  font-size: var(--fs-xs);
  cursor: pointer;
  transition: all .25s ease;
}
.req-progress button:hover { border-color: var(--gold); color: var(--gold-bright); }
.req-progress button.is-current {
  background: var(--gold);
  border-color: var(--gold-bright);
  color: #16110A;
  font-weight: 700;
}
.req-progress button.is-done {
  border-color: var(--gold);
  color: var(--gold);
}
@media (max-width: 720px) {
  .req-progress { gap: 3px; padding: 4px 6px; }
  .req-progress button { width: 36px; height: 36px; font-size: var(--fs-2xs); }
}

/* Step wizard: one section at a time, Back / Next between them. */
.req-section[hidden], .request-footer[hidden], .req-nav[hidden] { display: none; }
.req-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: var(--sp-4);
}
.req-nav-count { font-size: var(--fs-xs); color: var(--text-faint); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.req-nav [data-req-back][disabled] { visibility: hidden; }
.req-section.is-invalid-shake { animation: req-shake .32s ease; }
@keyframes req-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* Catalogue: fixed grids with "See more" at every width (no scroll arrows),
   and the block frames always carry the house gold. */
[data-seemore-always] > .sm-hidden { display: none !important; }
[data-seemore-always] + .sm-wrap { display: flex; justify-content: center; margin-top: 1.1rem; }
.catalogue-block { border-color: color-mix(in srgb, var(--gold) 45%, transparent); }


/* =========================================================================
   Foundation — manifesto rows, value tiles, drawn model path
   ========================================================================= */
.foundation-divider { margin: clamp(2.4rem, 6vh, 3.8rem) auto; }

/* --- Manifesto: numbered editorial rows --- */
.manifesto { border-top: 1px solid var(--line-soft); }
.manifesto-row {
  display: grid;
  grid-template-columns: 130px minmax(180px, 0.9fr) 2fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.4rem, 3.2vh, 2.1rem) 0.5rem;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  transition: background var(--t) var(--ease);
}
.manifesto-row::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  height: 1px; width: 0;
  background: var(--gold);
  transition: width 0.5s var(--ease-out);
}
.manifesto-row:hover { background: linear-gradient(90deg, var(--accent-softer), transparent 60%); }
.manifesto-row:hover::after { width: 100%; }
.m-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--gold) 55%, transparent);
  transition: color var(--t) var(--ease);
}
.manifesto-row:hover .m-num { color: color-mix(in srgb, var(--gold) 30%, transparent); }
.m-title { font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--text); letter-spacing: 0.04em; }
.m-copy { color: var(--text-muted); line-height: 1.7; max-width: 52ch; }


/* --- Operating model: connected path that draws itself in --- */
.model-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
  list-style: none;
  padding: 0; margin: 0;
  position: relative;
}
.model-path::before {
  content: '';
  position: absolute;
  top: 34px; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 12%, var(--gold) 88%, transparent);
  opacity: 0.45;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s var(--ease-out) 0.25s;
}
.model-path.is-in::before { transform: scaleX(1); }
.model-node { position: relative; text-align: center; padding-top: 0.2rem; }
.model-bubble {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 68px; height: 68px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--bg-2);
  color: var(--gold-bright);
  box-shadow: 0 0 0 6px var(--bg);
  z-index: 1;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.model-node:hover .model-bubble {
  transform: translateY(-3px);
  box-shadow: 0 0 0 6px var(--bg), 0 10px 28px rgba(224, 169, 60, 0.18);
}
.model-node-num {
  position: absolute;
  top: -6px; right: -6px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #16110A;
  font-style: normal;
  font-size: 12px; font-weight: 700;
}
.model-node h3 { position: relative; z-index: 1; margin-top: 1rem; font-size: 1.1rem; color: var(--text); }
.model-node p { position: relative; z-index: 1; margin-top: 0.5rem; font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.65; }

@media (max-width: 927px) {
  .manifesto-row { grid-template-columns: 84px 1fr; }
  .m-copy { grid-column: 2; }
}
@media (max-width: 720px) {
  .model-path::before { display: none; }
  .manifesto-row { grid-template-columns: 64px 1fr; padding-inline: 0; }
}

/* --- Core values: six principles mirrored around a golden core --- */
.values-core {
  display: grid;
  grid-template-columns: 1fr 110px 1fr;
  align-items: stretch;
  max-width: 1060px;
  margin-inline: auto;
}
.vc-col { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1.6rem, 4vh, 2.6rem); align-content: center; }
.vc-col-left  { text-align: right; }
.vc-col-right { text-align: left; }

.vc-item b {
  display: block;
  font-size: 1.12rem;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  transition: color var(--t) var(--ease), letter-spacing var(--t) var(--ease);
}
.vc-item p { margin-top: 0.4rem; font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.65; }
.vc-item:hover b { color: var(--gold-pale); letter-spacing: 0.11em; }

/* the value's marker sits on its spine side */
.vc-col-left  .vc-item b::after,
.vc-col-right .vc-item b::before {
  content: '◆';
  font-size: 0.5em;
  color: var(--gold);
  vertical-align: 0.32em;
  opacity: 0.85;
}
.vc-col-left  .vc-item b::after  { margin-left: 0.85rem; }
.vc-col-right .vc-item b::before { margin-right: 0.85rem; }

/* central emblem + spine that draws itself in */
.vc-spine { position: relative; display: flex; flex-direction: column; align-items: center; }
.vc-emblem {
  width: 46px; height: 46px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  display: grid; place-items: center;
  background: var(--bg);
  box-shadow: 0 0 24px rgba(224, 169, 60, 0.18);
  flex: none;
  margin-top: 6px;
}
.vc-emblem i {
  width: 14px; height: 14px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
}
.vc-line {
  flex: 1;
  width: 1px;
  margin-top: 14px;
  background: linear-gradient(180deg, var(--gold), color-mix(in srgb, var(--gold) 25%, transparent) 70%, transparent);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 1.2s var(--ease-out) 0.2s;
}
.values-core.is-in .vc-line { transform: scaleY(1); }

@media (max-width: 720px) {
  .values-core { grid-template-columns: 1fr; }
  .vc-spine { display: none; }
  .vc-col-left, .vc-col-right { text-align: center; gap: 1.5rem; }
  .vc-col-left { margin-bottom: 1.5rem; }
  .vc-col-left .vc-item b::after, .vc-col-right .vc-item b::before { content: none; }
  .vc-item b::before { content: '◆ '; font-size: 0.5em; color: var(--gold); vertical-align: 0.32em; }
}

/* Contact hero — compact band when not in slide mode (slides.css overrides) */
.contact-head { max-width: 62ch; }
.contact-head .t-lead { color: var(--text-muted); }

/* Support wall — "where support goes" filler band (shown while the wall is young) */
.wall-funds { margin-top: clamp(2.5rem, 6vh, 4rem); padding-top: clamp(1.5rem, 3vh, 2.5rem); border-top: 1px solid var(--line-softer); }
.wall-funds-grid {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  max-width: 720px;
  margin-inline: auto;
}
.wall-funds-grid li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line-softer);
  border-radius: var(--radius, 12px);
  background: var(--gold-softer);
  color: var(--text-2);
  font-size: var(--fs-sm);
}
.wall-funds-grid li svg { color: var(--gold); flex: none; }
@media (max-width: 700px) { .wall-funds-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- phone fixes, 3 Oct ---- */
@media (max-width: 720px) {
  /* Ruled headings: the side hairlines took a third of the width and
     squeezed the words into three lines. */
  .rule-title { gap: 0.7rem; font-size: clamp(1.15rem, 5vw, 1.35rem); }
  .rule-title::before, .rule-title::after { width: 22px; flex: none; }
  /* Contact channels: the whole row is the tap target, not 19px of text. */
  .contact-channels a { display: inline-flex; align-items: center; min-height: 40px; }
}
