/* Slow Crown — slowcrown.com
   Newsreader for headings and numerals, Figtree for text. */

:root {
  --ink: #2a2140;
  --ink-2: #1e1730;
  --ink-3: #3a2f55;
  --ivory: #f4f0e6;
  --ivory-2: #ebe5d8;
  --paper: #fbf9f4;
  --coral: #f0715a;
  --coral-2: #d95a44;
  --sky: #8fb8de;
  --moss: #6f9a6a;
  --text: #241d33;
  --muted: #6b6480;
  --muted-dark: #c9c2da;
  --line: #ddd6c8;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --r: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-2); }
a:hover { color: var(--ink); }
button { font: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -.005em;
}
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.45rem; }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 700; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin: 0 auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }

.eyebrow {
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--coral-2); margin: 0 0 6px;
}

/* ---------- Masthead ---------- */

.masthead {
  position: sticky; top: 0; z-index: 30;
  background: var(--ink-2); color: var(--ivory);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 66px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit;
  font-family: var(--serif); font-weight: 500; font-size: 1.55rem; letter-spacing: .01em;
}
.brand svg { width: 30px; height: 30px; }
.brand:hover { color: inherit; }

.menu { display: flex; gap: 2px; }
.menu a {
  display: block; padding: 8px 12px; border-radius: 6px; text-decoration: none;
  color: var(--muted-dark); font-weight: 500; font-size: .95rem;
}
.menu a:hover { color: #fff; background: rgba(255,255,255,.07); }

.masthead-date { font-size: .82rem; color: #9b93b3; white-space: nowrap; }

.menu-btn { display: none; background: none; border: 1px solid #4d4270; color: var(--ivory); border-radius: 6px; padding: 7px 12px; cursor: pointer; }

@media (max-width: 960px) {
  .masthead-date { display: none; }
  .menu-btn { display: inline-block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; padding: 8px var(--gutter) 14px; background: var(--ink-3); border-bottom: 1px solid rgba(255,255,255,.1); }
  .menu.open { display: flex; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative; color: var(--ivory);
  background: var(--ink-2) url("/assets/img/hero.jpg") center 30% / cover no-repeat;
  padding: clamp(70px, 10vw, 130px) 0 120px;
}
@media (max-width: 720px) { .hero { background-image: url("/assets/img/hero-1280.jpg"); } }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(30,23,48,.55) 0%, rgba(30,23,48,.25) 35%, rgba(30,23,48,.72) 75%, var(--ink-2) 100%),
    linear-gradient(90deg, rgba(30,23,48,.55), rgba(30,23,48,0) 60%);
}
.hero .wrap { position: relative; max-width: 780px; margin-left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); }
.hero h1 {
  color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.3rem); font-weight: 500; line-height: 1.04; margin-bottom: 18px;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero h1 em { font-style: italic; color: #ffd9cf; }
.hero .lede { font-size: 1.15rem; color: #e9e3f2; max-width: 34em; margin-bottom: 20px; }
.hero .byline { font-size: .92rem; color: #bdb4d3; margin: 0; }
.hero .byline b { color: #fff; font-weight: 600; }

/* Route strip overlapping the hero's bottom edge */
.route-strip {
  position: relative; z-index: 2; margin-top: -84px;
}
.route-card {
  background: var(--paper); border-radius: 12px; padding: 22px 26px 18px;
  box-shadow: 0 24px 50px -20px rgba(30,23,48,.55), 0 1px 0 rgba(255,255,255,.6) inset;
  border: 1px solid #e6dfd1;
}
.route-card .head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-bottom: 14px; }
.route-card .head h2 { font-size: 1.35rem; margin: 0; }
.route-card .head span { font-size: .88rem; color: var(--muted); }

.route {
  position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 22px 0 0;
}
.route::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 55px; height: 0;
  border-top: 2px dashed var(--coral);
}
.route li { text-align: center; position: relative; }
.route a { text-decoration: none; color: var(--text); display: block; }
.route img {
  width: 66px; height: 66px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px;
  border: 3px solid var(--paper); box-shadow: 0 0 0 2px var(--coral); position: relative; z-index: 1;
  transition: transform .15s ease;
}
.route a:hover img { transform: scale(1.06); }
.route .n { display: block; font-family: var(--serif); font-style: italic; color: var(--coral-2); font-size: .95rem; line-height: 1; margin-bottom: 4px; }
.route .name { display: block; font-weight: 700; font-size: .95rem; line-height: 1.2; }
.route .sc { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); margin-top: 2px; }

@media (max-width: 720px) {
  .route { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .route img { width: 46px; height: 46px; }
  .route .name { font-size: .72rem; }
  .route .sc { font-size: .95rem; }
  .route::before { top: 45px; }
  .route-card { padding: 16px 12px 12px; }
  .route-card .head { flex-direction: column; gap: 2px; margin-bottom: 6px; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(48px, 7vw, 88px) 0 0; }
.section-head { max-width: 62ch; margin-bottom: 28px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.legend {
  display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: var(--muted); margin: 0 0 8px;
}
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); margin-right: 7px; vertical-align: -1px; }

/* ---------- Timeline of stations ---------- */

.timeline { position: relative; padding: 24px 0 8px; }
.timeline::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 0;
  border-left: 2px dashed var(--coral); transform: translateX(-1px);
}

.station {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; align-items: start;
  padding: 26px 0 64px;
}
.station .marker {
  position: absolute; left: 50%; top: 30px; transform: translateX(-50%);
  width: 46px; height: 46px; border-radius: 50%; background: var(--coral); color: #fff;
  font-family: var(--serif); font-size: 1.35rem; display: grid; place-items: center;
  box-shadow: 0 0 0 6px var(--ivory); z-index: 2;
}
.station .art { grid-column: 1; }
.station .text { grid-column: 2; }
.station:nth-child(even) .art { grid-column: 2; }
.station:nth-child(even) .text { grid-column: 1; grid-row: 1; }

.station .art figure { margin: 0; }
.station .art img { border-radius: var(--r); aspect-ratio: 16/9; object-fit: cover; width: 100%; box-shadow: 0 18px 40px -22px rgba(30,23,48,.5); }
.station .art figcaption { font-size: .82rem; color: var(--muted); margin-top: 7px; }
.station .art figure + figure { margin-top: 18px; }

.station h2 { margin-bottom: 4px; }
.station .kind { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.station .kind span + span::before { content: "·"; margin: 0 8px; color: #b8b0c8; }

.tally {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; margin-bottom: 20px;
}
.tally .total { grid-row: span 4; font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--ink); border-right: 1px solid var(--line); padding-right: 20px; }
.tally .total small { display: block; font-family: var(--sans); font-size: .78rem; color: var(--muted); margin-top: 6px; line-height: 1.2; }
.mark { display: grid; grid-template-columns: 96px 1fr 34px; align-items: center; gap: 12px; font-size: .9rem; }
.mark b { font-weight: 500; color: var(--muted); }
.mark .dots { display: flex; gap: 5px; }
.mark .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--ivory-2); border: 1px solid #d5cdbf; }
.mark .dots i.on { background: var(--ink); border-color: var(--ink); }
.mark .dots i.half { background: linear-gradient(90deg, var(--ink) 50%, var(--ivory-2) 50%); border-color: var(--ink); }
.mark .v { font-family: var(--serif); font-size: 1.05rem; text-align: right; }

.station .text p { max-width: 60ch; }
.waypoint {
  font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--ink);
  border-left: 3px solid var(--sky); padding: 6px 0 6px 16px; margin: 18px 0 20px; max-width: 56ch;
}
.waypoint b { font-style: normal; font-family: var(--sans); font-size: .8rem; color: var(--muted); display: block; margin-bottom: 2px; font-weight: 700; }

.stay-go { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0 22px; }
.stay-go h4 { margin: 0 0 6px; }
.stay-go ul { margin: 0; padding: 0; list-style: none; font-size: .95rem; }
.stay-go li { padding: 4px 0 4px 18px; position: relative; }
.stay-go li::before { content: ""; position: absolute; left: 0; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--moss); }
.stay-go .go li::before { background: var(--coral); }

.enter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.enter small { color: var(--muted); font-size: .85rem; }

@media (max-width: 900px) {
  .timeline::before { left: 22px; }
  .station, .station:nth-child(even) { grid-template-columns: 1fr; padding: 0 0 56px 56px; }
  .station .art, .station .text, .station:nth-child(even) .art, .station:nth-child(even) .text { grid-column: 1; grid-row: auto; }
  .station .text { order: 2; margin-top: 20px; }
  .station .marker { left: 22px; top: 0; width: 44px; height: 44px; font-size: 1.2rem; }
  .tally .total { font-size: 2.8rem; }
}
.station .art, .station .text { min-width: 0; }
.mark .dots { flex-wrap: nowrap; }
@media (max-width: 600px) {
  .stay-go { grid-template-columns: 1fr; }
  .tally { grid-template-columns: 1fr; gap: 8px; }
  .tally .total { grid-row: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 10px; display: flex; align-items: baseline; gap: 14px; font-size: 2.6rem; }
  .tally .total small { margin: 0; }
  .mark { grid-template-columns: 72px 1fr 30px; gap: 8px; }
  .mark .dots i { width: 8px; height: 8px; }
  .mark .dots { gap: 4px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .12s, border-color .12s, color .12s;
}
.btn-main { background: var(--coral); border-color: var(--coral); color: #fff; }
.btn-main:hover { background: var(--coral-2); border-color: var(--coral-2); color: #fff; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-quiet { background: transparent; border-color: var(--line); color: var(--text); }
.btn-quiet:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: .9rem; }

/* ---------- Which one: flowchart ---------- */

.flow { display: grid; gap: 14px; max-width: 880px; }
.flow-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.q, .ans {
  border-radius: var(--r); padding: 14px 16px; font-size: .96rem;
}
.q { background: var(--ink); color: var(--ivory); font-family: var(--serif); font-size: 1.12rem; line-height: 1.3; display: flex; align-items: center; }
.ans { background: var(--paper); border: 1px solid var(--line); }
.ans .lbl { display: block; font-size: .78rem; font-weight: 700; color: var(--coral-2); margin-bottom: 3px; }
.ans strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); margin-bottom: 2px; }
.ans > a { text-decoration: none; color: var(--text); display: block; }
.ans > a:hover strong { color: var(--coral-2); }
.ans strong a { text-decoration: none; color: var(--ink); }
.ans strong a:hover { color: var(--coral-2); }
.ans span a { color: var(--coral-2); }
.ans span { color: var(--muted); font-size: .9rem; }
@media (max-width: 720px) { .flow-row { grid-template-columns: 1fr; } }

/* ---------- Scoring ---------- */

.weights { display: flex; height: 44px; border-radius: 8px; overflow: hidden; margin: 22px 0 10px; font-weight: 700; color: #fff; font-size: .95rem; }
.weights span { display: grid; place-items: center; }
.weights .w1 { flex: 35; background: var(--ink); }
.weights .w2 { flex: 30; background: var(--ink-3); }
.weights .w3 { flex: 20; background: var(--coral); }
.weights .w4 { flex: 15; background: var(--sky); color: var(--ink); }
.weight-notes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 26px; }
.weight-notes strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.weight-notes p { font-size: .92rem; color: var(--muted); margin: 4px 0 0; }
@media (max-width: 720px) { .weight-notes { grid-template-columns: 1fr 1fr; } .weights { font-size: .8rem; } }

.rules { columns: 2; column-gap: 40px; max-width: 900px; }
.rules p { break-inside: avoid; }
@media (max-width: 720px) { .rules { columns: 1; } }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.5rem; color: var(--coral-2); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: #3f3853; max-width: 66ch; margin-bottom: 18px; }

/* ---------- Responsible ---------- */

.calm {
  background: var(--ink); color: var(--ivory); border-radius: 12px; padding: clamp(24px, 4vw, 40px);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px;
}
.calm h2 { color: #fff; }
.calm p { color: #d9d2e8; }
.calm ul { margin: 0; padding: 0; list-style: none; }
.calm li { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .95rem; }
.calm li a { color: #fff; font-weight: 700; text-decoration: none; }
.calm li a:hover { text-decoration: underline; color: #fff; }
.calm li span { display: block; color: #b8afd0; font-size: .86rem; }
@media (max-width: 800px) { .calm { grid-template-columns: 1fr; } }

/* ---------- About + contact ---------- */

.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; padding-bottom: clamp(56px, 8vw, 96px); }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }

.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; }
.form label { display: block; font-weight: 700; font-size: .92rem; margin: 0 0 6px; }
.form input, .form textarea {
  width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #cfc6b6; border-radius: 6px; background: #fff; color: var(--text); margin-bottom: 14px;
}
.form textarea { min-height: 120px; resize: vertical; }
.form .ok { display: none; background: #e6f0e4; border: 1px solid #b9d3b4; color: #24522a; padding: 12px 14px; border-radius: 6px; margin-top: 12px; }
.form .ok.show { display: block; }
.form small { color: var(--muted); display: block; margin-top: 10px; font-size: .84rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink-2); color: #b8afd0; padding: 44px 0 30px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.brand-foot { font-size: 1.3rem; color: var(--ivory); margin-bottom: 10px; }
.site-footer p { max-width: 58ch; }
.site-footer .credits { font-size: .84rem; color: #8e85a8; }
.site-footer h4 { color: #fff; margin-bottom: 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #d9d2e8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin: 28px 0 0; padding-top: 18px; font-size: .84rem; color: #8e85a8; max-width: none; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Inner pages ---------- */

.page-head { background: var(--ink-2); color: var(--ivory); padding: 44px 0 36px; }
.page-head h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 6px; }
.page-head p { color: #bdb4d3; margin: 0; }
.prose { max-width: 720px; padding: 40px 0 72px; }
.prose h2 { font-size: 1.5rem; margin-top: 30px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose .updated { color: var(--muted); font-size: .9rem; }

.helplines { list-style: none; padding: 0; margin: 20px 0; }
.helplines li { border-top: 1px solid var(--line); padding: 12px 0; }
.helplines li:last-child { border-bottom: 1px solid var(--line); }
.helplines strong { display: block; }
.helplines span { color: var(--muted); font-size: .92rem; }

/* ---------- Cookie ---------- */

.cookie {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; margin: 0 auto; max-width: 700px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px;
  box-shadow: 0 14px 40px rgba(30,23,48,.3); display: none; gap: 12px 18px; align-items: center; flex-wrap: wrap; font-size: .92rem;
}
.cookie.show { display: flex; }
.cookie p { flex: 1 1 300px; margin: 0; }
.cookie-acts { display: flex; gap: 8px; }
