/* Save Siang website. Brand: Siang navy, river blue, glacier sky (same as the carousels). Fonts: Anton + Inter, self-hosted. */
@font-face { font-family: "Anton"; src: url("../fonts/anton-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0f1e46;      /* Siang navy: text, header, footer */
  --ink-2: #1b2f63;
  --river: #1e88d9;    /* river blue: links, accents */
  --river-d: #1569ad;  /* darker blue for text on light backgrounds (contrast) */
  --glacier: #7cc8ff;  /* glacier sky: accents on dark */
  --mist: #eef4f8;     /* page background: cool river mist */
  --paper: #ffffff;
  --slate: #44546a;    /* secondary text */
  --line: #d3dfe9;
  --wrap: 1120px;
  --read: 40rem;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 400 18px/1.62 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--river-d); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--glacier); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: 8px; z-index: 50; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
header.site { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 rgba(124,200,255,.15); }
.bar { max-width: var(--wrap); margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 14px; min-height: 60px; }
.mark { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; flex: none; color: #fff; text-decoration: none; font: 400 22px/1 "Anton", sans-serif; letter-spacing: 1.6px; margin: 0; }
.mark svg { width: 17px; height: 23px; flex: none; }
.mark:hover { color: #fff; }
.stage-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--glacier); text-decoration: none;
  border: 1px solid rgba(124,200,255,.45); border-radius: 999px; padding: 5px 11px; white-space: nowrap; }
.stage-chip:hover { color: #fff; border-color: #fff; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--glacier); box-shadow: 0 0 0 0 rgba(124,200,255,.7); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(124,200,255,.65); } 80%, 100% { box-shadow: 0 0 0 9px rgba(124,200,255,0); } }
nav.main { display: none; margin-left: auto; align-items: center; gap: 2px; }
nav.main a, nav.main summary { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 11px; border-radius: 8px; white-space: nowrap; cursor: pointer; }
nav.main a:hover, nav.main summary:hover { background: rgba(255,255,255,.08); color: #fff; }
nav.main a[aria-current], nav.main summary.is-current { color: var(--glacier); background: rgba(124,200,255,.12); }
.more { position: relative; }
.more summary { list-style: none; display: inline-flex; align-items: center; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); flex: none; }
.more[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.more-panel { position: absolute; right: 0; top: calc(100% + 10px); background: var(--ink); border: 1px solid rgba(124,200,255,.25); border-radius: 14px; padding: 8px; display: grid; min-width: 220px; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.more-panel a { padding: 11px 12px; }
.menu { margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 15px; padding: 9px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.3); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: rgba(255,255,255,.1); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(340px, calc(100vw - 32px)); max-height: calc(100vh - 90px); overflow-y: auto; background: var(--ink); border: 1px solid rgba(124,200,255,.25); border-radius: 16px; padding: 10px; box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.menu-group { padding: 6px 4px 10px; }
.menu-group + .menu-group { border-top: 1px solid rgba(124,200,255,.18); }
.menu-group p { margin: 6px 10px 4px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--glacier); }
.menu-panel a { display: block; color: #fff; text-decoration: none; font-weight: 600; font-size: 17px; padding: 11px 10px; border-radius: 10px; }
.menu-panel a:hover { background: rgba(255,255,255,.08); }
.menu-panel a[aria-current] { color: var(--glacier); background: rgba(124,200,255,.12); }
@media (max-width: 520px) { .stage-chip { display: none; } }
@media (min-width: 1100px) { nav.main { display: flex; } .menu { display: none; } }
@media (min-width: 1100px) and (max-width: 1439px) { .stage-chip { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--ink); min-height: min(76vh, 640px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-img { position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,30,70,.20) 0%, rgba(15,30,70,.35) 35%, rgba(15,30,70,.82) 72%, rgba(15,30,70,.97) 100%); }
.hero-in { position: relative; z-index: 1; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 120px 16px 44px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--glacier); margin: 0 0 10px; }
.eyebrow.dark { color: var(--river-d); }
.hero h1 { font: 400 clamp(38px, 7.2vw, 80px)/1.02 "Anton", sans-serif; text-transform: uppercase; letter-spacing: .4px; max-width: 18ch; text-wrap: balance; }
.swash { display: block; width: min(320px, 60%); height: 22px; color: var(--glacier); margin: 12px 0 18px; }
.lead { font-size: clamp(18px, 2.1vw, 22px); line-height: 1.5; max-width: 38em; color: #e3ecf7; margin: 0; }
.hero-btns { margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; background: var(--glacier); color: var(--ink); font-weight: 800; text-decoration: none; padding: 13px 20px; border-radius: 12px; font-size: 16px; }
.btn:hover { background: #fff; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.ghost.light { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.btn.ghost.light:hover { background: rgba(255,255,255,.12); }

/* Split hero: picture beside (desktop) or above (phone) the words */
.hero.split { display: grid; min-height: 0; align-items: stretch; }
.hero.split::after { display: none; }
.hero-pic { background-size: cover; background-repeat: no-repeat; aspect-ratio: 16 / 10; }
.hero.split .hero-in { padding: 30px 16px 40px; }
@media (min-width: 860px) {
  .hero.split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 520px; }
  .hero.split .hero-pic { order: 2; aspect-ratio: auto; }
  .hero.split .hero-in { align-self: center; max-width: 640px; margin: 0 0 0 auto; padding: 56px 48px 56px 16px; }
  .hero.split h1 { font-size: clamp(38px, 4.6vw, 66px); }
}
@media (min-width: 1160px) { .hero.split .hero-in { padding-left: calc((100vw - var(--wrap)) / 2 + 16px); max-width: none; margin: 0; } }

/* ---------- Section headings ---------- */
h2 { font: 400 clamp(30px, 4.6vw, 48px)/1.05 "Anton", sans-serif; text-transform: uppercase; letter-spacing: .3px; text-wrap: balance; }

/* ---------- Home: where things stand (the stage line) ---------- */
.today { padding: 56px 16px 20px; }
.today-text { max-width: var(--read); }
.today-text h2 { margin-bottom: 14px; }
.today-text p { font-size: 19px; }
.assure-line { font-weight: 700; border-left: 4px solid var(--river); padding-left: 14px; }
.today-more { margin-top: 8px; font-weight: 700; }
.stages { list-style: none; margin: 30px 0 18px; padding: 0; display: grid; gap: 0; position: relative; }
.stages li { position: relative; padding: 0 0 26px 44px; }
.stages li::before { content: ""; position: absolute; left: 13px; top: 18px; bottom: -4px; border-left: 3px dashed #9fb6cb; }
.stages li:last-child::before { display: none; }
.stages li.now::before { border-left-style: solid; border-left-color: var(--river); }
.stages .dot { position: absolute; left: 3px; top: 4px; width: 23px; height: 23px; border-radius: 50%; background: var(--mist); border: 3px solid #9fb6cb; }
.stages li.now .dot { background: var(--river); border-color: var(--river); box-shadow: 0 0 0 6px rgba(30,136,217,.18); }
.st-h { font-weight: 800; font-size: 19px; margin: 0 0 2px; }
.st-d { font: 400 26px/1.1 "Anton", sans-serif; text-transform: uppercase; color: var(--ink); margin: 2px 0 4px; letter-spacing: .3px; }
.st-c { color: var(--slate); font-size: 16px; margin: 0; }
.stages li.now .st-c { display: inline-block; background: var(--river); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
@media (min-width: 860px) {
  .stages { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .stages li { padding: 44px 6px 0 0; }
  .stages li::before { left: 26px; right: -18px; top: 15px; bottom: auto; border-left: 0; border-top: 3px dashed #9fb6cb; }
  .stages li.now::before { border-top-style: solid; border-top-color: var(--river); }
  .stages .dot { left: 0; top: 4px; }
}

/* ---------- Home: question cards ---------- */
.questions { padding: 48px 16px 40px; }
.questions h2 { margin-bottom: 22px; }
.q-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .q-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .q-grid { grid-template-columns: repeat(4, 1fr); } }
.q-card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(15,30,70,.06); transition: transform .18s ease, box-shadow .18s ease; }
.q-card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 var(--line), 0 16px 34px rgba(15,30,70,.12); color: var(--ink); }
.q-img { display: block; aspect-ratio: 16 / 10; background-size: cover; background-position: center; background-color: #23384f; }
.q-t { display: block; font-weight: 800; font-size: 20px; line-height: 1.25; padding: 14px 16px 4px; }
.q-s { display: block; color: var(--slate); font-size: 15.5px; line-height: 1.45; padding: 0 16px 18px; }

/* ---------- Home: assured band ---------- */
.assured { background: var(--ink); color: #fff; padding: 56px 0; margin: 20px 0 0; }
.assured h2 { margin-bottom: 22px; max-width: 22ch; }
.assure-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 860px) { .assure-list { grid-template-columns: 1fr 1fr; } }
.assure-list a { display: block; height: 100%; color: #fff; text-decoration: none; background: var(--ink-2); border-radius: var(--radius); padding: 18px 20px 18px 22px;
  border-left: 4px solid var(--glacier); font-size: 17.5px; line-height: 1.5; }
.assure-list a:hover { background: #22396f; }

/* ---------- Home: why SUMP ---------- */
.sump-why { padding: 56px 16px 20px; }
.sump-why h2 { margin-bottom: 14px; }
.sump-why .big { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.5; max-width: 40em; }
.why-grid { display: grid; gap: 14px; margin: 26px 0 18px; }
@media (min-width: 860px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.why { background: var(--paper); border-radius: var(--radius); padding: 20px 22px; box-shadow: 0 1px 0 var(--line); }
.why h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.why p { margin: 0; color: #24365c; }
.sump-why > p a { font-weight: 700; }

/* ---------- Topic pages: parts and beats ---------- */
.parts { padding-top: 12px; }
.part { margin: 0 0 20px; }
.part-head { color: #fff; background: var(--ink); border-radius: 18px; overflow: hidden; margin: 44px 0 6px; }
.part-pic { aspect-ratio: 2.4 / 1; background-size: cover; background-position: center; background-color: #23384f; }
.part-head-in { padding: 22px 22px 24px; max-width: 48rem; }
.part-head h2 { font-size: clamp(28px, 4.4vw, 44px); }
.part-sub { margin: 10px 0 0; color: #dbe7f5; font-size: 17.5px; }
@media (max-width: 640px) { .part-pic { aspect-ratio: 16 / 9; } }
.myth-label, .fact-label { font: 400 22px/1 "Anton", sans-serif; letter-spacing: 2px; text-transform: uppercase; display: inline-block; margin: 0 0 10px; padding-bottom: 6px;
  background: linear-gradient(var(--glacier), var(--glacier)) left bottom / 100% 4px no-repeat; }
.myth-label { color: #fff; }
.fact-label { color: var(--river-d); font-size: 46px; letter-spacing: 3px; background-size: 100% 6px; background-image: linear-gradient(var(--river), var(--river)); }

.beat { display: grid; gap: 18px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.part .beat:last-of-type { border-bottom: 0; }
.beat h3 { font-size: clamp(23px, 2.8vw, 30px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 12px; }
.beat-text p, .beat-text li { font-size: 19px; line-height: 1.62; max-width: var(--read); }
.beat-text ol { margin: 0 0 1em; padding-left: 1.6em; max-width: var(--read); }
.beat-text li { margin: 0 0 .45em; padding-left: .2em; }
.beat-text li::marker { font-weight: 800; color: var(--river-d); }
.beat.is-fact .beat-text p:first-of-type { font-size: clamp(20px, 2.3vw, 24px); font-weight: 700; line-height: 1.45; }
@media (min-width: 860px) {
  .beat { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 52px; align-items: center; padding: 40px 0; }
  .beat.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
  .beat.flip .frame { order: 2; }
}

/* The slide's picture, without its words (same 4:5 crop as the slide, on every screen) */
.frame { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background-color: #23384f;
  box-shadow: 0 12px 32px rgba(15,30,70,.18); }
.frame .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame.blur .bg { filter: blur(14px) brightness(.62); transform: scale(1.08); }
.frame .inset { position: absolute; left: 3.7%; width: 92.6%; top: 50%; transform: translateY(-50%); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.frame .ov, .frame .ov svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Answers from the talking points (questions with no carousel yet) */
.qa { background: var(--paper); border-radius: 18px; padding: 24px 22px 10px; margin: 34px 0; box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(15,30,70,.06);
  border-top: 5px solid var(--river); }
.qa h2 { font-size: clamp(26px, 3.6vw, 36px); margin-bottom: 14px; }
.qa p, .qa li { font-size: 18.5px; max-width: var(--read); }
.qa ol { padding-left: 1.5em; max-width: var(--read); }
.qa .small { font-size: 14px; color: var(--slate); }
ol.cols { columns: 2 240px; column-gap: 28px; padding-left: 1.6em; margin: 6px 0 1em; }
ol.cols li { font-size: 16.5px; break-inside: avoid; margin-bottom: .35em; }
.video-note { font-size: 15.5px; color: var(--slate); margin-top: 10px; }

/* The post as shared on Facebook */
.post { margin: 8px 0 26px; background: var(--paper); border-radius: var(--radius); box-shadow: 0 1px 0 var(--line); }
.post summary { cursor: pointer; padding: 16px 18px; font-weight: 700; color: var(--river-d); list-style: none; }
.post summary::-webkit-details-marker { display: none; }
.post summary::before { content: "+"; display: inline-block; width: 1.2em; font-weight: 800; }
.post[open] summary::before { content: "–"; }
.post-strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 18px 18px; overscroll-behavior-x: contain; }
.post-slide { flex: 0 0 auto; width: min(260px, 70vw); scroll-snap-align: start; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 18px rgba(15,30,70,.15); }
.post-slide img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }

/* Videos */
.video-card { display: grid; gap: 18px; align-items: center; background: var(--paper); border-radius: 18px; padding: 16px; margin: 30px 0; box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(15,30,70,.07); }
.video-card video { width: 100%; max-width: 340px; height: auto; aspect-ratio: 9 / 16; border-radius: 12px; background: #000; margin: 0 auto; display: block; }
.video-card h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; line-height: 1.25; }
@media (min-width: 760px) { .video-card { grid-template-columns: 340px 1fr; padding: 22px; gap: 34px; } }
.videos { padding-top: 14px; }

/* Myths page */
.myth-grid { display: grid; gap: 14px; padding: 40px 0 10px; }
@media (min-width: 760px) { .myth-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .myth-grid { grid-template-columns: 1fr 1fr 1fr; } }
.myth-card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); padding: 20px 20px 18px; text-decoration: none; color: var(--ink);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(15,30,70,.06); transition: transform .18s ease; }
.myth-card:hover { transform: translateY(-3px); color: var(--ink); }
.myth-card .myth-label { color: var(--slate); font-size: 17px; background-image: linear-gradient(#9fb6cb, #9fb6cb); background-size: 100% 3px; }
.myth-card .q { font-weight: 800; font-size: 20px; line-height: 1.3; margin: 0 0 16px; }
.fact-mini { font: 400 17px/1 "Anton", sans-serif; letter-spacing: 2px; text-transform: uppercase; color: var(--river-d); margin: 0 0 8px; }
.myth-card .a { font-size: 16px; line-height: 1.5; color: #24365c; flex: 1; }
.myth-card .a ol { margin: .3em 0 0; padding-left: 1.3em; }
.read-more { margin-top: 14px; font-weight: 700; color: var(--river-d); font-size: 15px; }
.read-more::after { content: " →"; }

/* Ask + next + prose */
.ask { padding: 50px 16px; text-align: left; }
.ask h2 { margin-bottom: 10px; }
.ask p { font-size: 19px; max-width: var(--read); }
.ask-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.next { padding-bottom: 50px; }
.next a { display: block; background: var(--ink); color: #fff; text-decoration: none; border-radius: 18px; padding: 24px 24px 26px; font-weight: 800; font-size: clamp(22px, 2.8vw, 30px); line-height: 1.2; }
.next a span { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--glacier); margin-bottom: 8px; }
.next a::after { content: " →"; color: var(--glacier); }
.next a:hover { background: var(--ink-2); color: #fff; }
.prose { padding-top: 30px; }
.prose section { max-width: var(--read); margin: 0 0 34px; }
.prose h2 { font-size: clamp(26px, 3.6vw, 36px); margin-bottom: 12px; }
.prose li { margin-bottom: .6em; }

/* Footer */
footer.site { background: var(--ink); color: #c9d6e8; padding: 44px 0 50px; margin-top: 10px; }
.foot .mark { margin-bottom: 14px; }
.foot-about { max-width: 44rem; color: #e3ecf7; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 18px 0; }
.foot-nav a, .foot-note a { color: var(--glacier); }
.foot-note { font-size: 15px; max-width: 46rem; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
