/* Public reading surface. Topic content grows with its text. */
:root { --bg:#f7f9f8; --text:#172b32; --muted:#506269; --emerald:#13755f; --sapphire:#164f94; --card-border:#d6e1dd; --radius:24px; --max:1160px; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:100px; }
body { margin:0; background:radial-gradient(ellipse at 90% 0,#e8f2f3,transparent 50%),var(--bg); color:var(--text); font:1rem/1.65 Inter,system-ui,sans-serif; }
button,input,textarea { font:inherit; }
button { cursor:pointer; }
button:disabled { opacity:.55; cursor:default; }
a { color:inherit; text-underline-offset:4px; }
[hidden] { display:none!important; }
img { display:block; max-width:100%; height:auto; }
figure,p,h1,h2,h3 { margin:0; }
p+p { margin-top:1rem; }
:focus-visible { outline:3px solid #a75619; outline-offset:4px; }
.skip-link { position:fixed; top:8px; left:8px; z-index:100; padding:12px 18px; background:white; transform:translateY(-180%); }
.skip-link:focus { transform:none; }
.site-header { position:sticky; top:0; z-index:20; background:#f7f9f8ed; border-bottom:1px solid var(--card-border); backdrop-filter:blur(14px); }
.header-inner { max-width:var(--max); margin:auto; min-height:76px; display:flex; flex-wrap:wrap; padding-block:10px; align-items:center; justify-content:space-between; gap:8px 16px; }
.brand { display:flex; flex-shrink:0; gap:12px; align-items:center; text-decoration:none; }
.brand img { width:50px; height:50px; }
.brand span { font-size:.95rem; font-weight:600; letter-spacing:.05em; }
.header-link { color:var(--emerald); font-size:.875rem; }
main,.site-footer { width:min(var(--max),calc(100% - 48px)); margin:auto; }
.story-experience { margin:8px 0 28px; }
.story-nav { padding:7px; border:1px solid #ccdadd; border-radius:22px; background:linear-gradient(#fff,#e0e8ec); box-shadow:inset 0 1px white,0 8px 24px #204d6410; margin-bottom:16px; }
.nav-inner { display:flex; gap:6px; }
.nav-inner a { flex:1; display:flex; align-items:center; justify-content:center; padding:12px 14px; min-height:48px; border-radius:16px; color:#355363; font-size:.9375rem; text-align:center; line-height:1.4; text-decoration:none; }
.nav-inner a:hover { background:#ffffffb5; }
.nav-inner a[aria-selected=true] { color:white; background:linear-gradient(110deg,var(--emerald),var(--sapphire)); box-shadow:inset 0 1px #ffffff50,0 3px 10px #1b526c26; }
.story-stage { position:relative; border:1px solid #c9d9dc; border-radius:var(--radius); background:linear-gradient(120deg,#fff,#f4f8f7); box-shadow:0 18px 55px #2449530b,inset 0 1px white; isolation:isolate; }
.story,.hero { margin:0; padding:36px; border-radius:var(--radius); overflow-wrap:anywhere; }
.story-stage>.story+.story,.story-stage>.story+.hero { border-top:1px solid var(--card-border); }
.hero { position:relative; display:grid; grid-template-columns:1.15fr 1fr; padding:0; color:white; background:linear-gradient(130deg,#13755f,#164f94); overflow:hidden; }
.hero-copy { padding:42px; align-self:center; }
.eyebrow { font-size:.8125rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--emerald); margin-bottom:12px; }
.hero .eyebrow { color:#d1efe5; }
h1,h2,h3 { font-family:'Instrument Serif',Georgia,serif; font-weight:400; line-height:1.15; }
h1 { font-size:clamp(2.5rem,4.1vw,3.625rem); }
h2 { font-size:clamp(2rem,3.2vw,2.75rem); }
h3 { font-size:clamp(1.75rem,2.5vw,2.125rem); }
.hero-description { margin-top:20px; max-width:42ch; }
.launch-note { margin-top:20px; font-size:.9375rem; color:#e6f2f6; }
.launch-note a { display:inline; }
.actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:22px; }
.btn { display:inline-flex; align-items:center; justify-content:center; padding:12px 20px; min-height:48px; border:1px solid transparent; border-radius:12px; text-decoration:none; font-size:.9375rem; font-weight:600; }
.btn-primary { background:white; color:#173b35; }
.btn-outline { background:transparent; color:white; border-color:#ffffff90; }
.btn-solid { background:var(--emerald); color:white; }
.btn-ghost { background:#edf3f1; color:#173b35; }
.hero .btn:focus-visible,.updates .btn:focus-visible { outline-color:white; box-shadow:0 0 0 7px #173b35; }
.signature { margin-top:24px; font-size:.875rem; color:#e6f2f6; }
.keep-together { white-space:nowrap; }
.hero-image { position:relative; min-height:420px; }
.hero-image img { width:100%; height:100%; object-fit:cover; object-position:center 44%; }
.hero-image figcaption { position:absolute; bottom:20px; left:20px; right:20px; width:fit-content; padding:8px 12px; border-radius:8px; background:#173b35; color:white; font-size:.875rem; }
.topic-card { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; }
.topic-intro h2 { margin-bottom:22px; }
.topic-photo { margin:0; }
.topic-photo img { width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:16px; }
.topic-photo figcaption { margin-top:8px; font-size:.875rem; color:var(--muted); }
.topic-copy { max-width:52ch; }
.topic-copy p { margin-bottom:18px; }
.boundary { padding:16px 18px; border-left:3px solid var(--emerald); background:#e7f1ed; border-radius:0 12px 12px 0; }
.small { font-size:.875rem; color:var(--muted); }
.availability { font-weight:600; color:var(--emerald); }
.topic-heading { margin-bottom:16px; max-width:70ch; }
.topic-heading h2 { font-size:clamp(1.75rem,2.4vw,2rem); }
.topic-heading .eyebrow { margin-bottom:8px; }
.topic-heading p:last-child { margin-top:8px; color:var(--muted); }
.help-chooser { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; margin-bottom:28px; }
.help-chooser button { padding:0 0 10px; border:2px solid transparent; border-radius:14px; background:transparent; text-align:left; color:var(--muted); min-width:0; }
.help-chooser img { width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:11px; }
.help-chooser span { display:block; padding:10px 8px 0; font-size:.875rem; font-weight:600; line-height:1.35; }
.help-chooser button[aria-pressed=true] { border-color:var(--emerald); color:#174a3d; background:#e7f1ed; }
.help-passage { display:grid; grid-template-columns:1fr 1fr; gap:36px; align-items:center; scroll-margin-top:100px; }
.help-passage+.help-passage { margin-top:28px; }
.passage-copy p { margin-top:18px; max-width:48ch; }
.updates { padding:32px 36px; border-radius:var(--radius); background:linear-gradient(120deg,#13755f,#164f94); color:white; display:flex; justify-content:space-between; align-items:center; gap:28px; }
.updates .eyebrow { color:#d1efe5; }
.updates h2 { font-size:2rem; margin-bottom:10px; }
.updates .actions { margin:0; }
.site-footer { padding-block:36px; display:flex; align-items:baseline; justify-content:space-between; gap:28px; }
.footer-brand { min-width:180px; }
.footer-brand p { font-size:.875rem; color:var(--muted); }
.footer-brand p:first-child { font-weight:600; color:var(--text); }
.footer-brand p+p { margin-top:4px; }
.site-footer nav { display:flex; align-items:baseline; gap:8px 20px; flex-wrap:wrap; justify-content:flex-end; }
.site-footer a,.link-btn { padding:10px 0; font-size:.875rem; line-height:1.65; color:var(--muted); text-decoration:underline; }
.link-btn { border:0; background:none; }
.brand-ripple { position:absolute; pointer-events:none; inset:0; z-index:2; opacity:0; background:radial-gradient(ellipse at 60% 80%,#a3e4d340,transparent 65%); }
.brand-ripple.is-playing { animation:welcome-water 1.2s ease-out; }
@keyframes welcome-water { 0% { opacity:0; } 35% { opacity:.7; } 100% { opacity:0; } }
.phase-light { display:none; }
@media(max-width:1208px) { .header-inner { padding-inline:24px; } }
@media(max-width:900px) { .hero-copy { padding:32px; } .topic-card { gap:28px; } .story { padding:28px; } }
@media(max-width:700px) {
 html { scroll-padding-top:90px; }
 main,.site-footer { width:calc(100% - 28px); }
 .header-inner { min-height:68px; padding-inline:14px; }
 .brand { gap:8px; } .brand img { width:40px; height:40px; } .brand span { font-size:.875rem; letter-spacing:0; }
 .header-link { font-size:.8125rem; }
 .story-experience { margin-top:8px; }
 .nav-inner { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
 .nav-inner a { padding:10px 8px; font-size:.875rem; } .nav-inner a:last-child { grid-column:1/-1; }
 .hero,.topic-card,.help-passage { grid-template-columns:1fr; }
 .hero-copy { padding:28px 24px; }
 .hero-image { min-height:0; } .hero-image img { height:auto; aspect-ratio:4/3; object-position:center 44%; }
 .story { padding:24px; } .topic-card,.help-passage { gap:24px; }
 .topic-copy { max-width:none; }
 .help-chooser { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
 .help-chooser span { padding:8px 5px 0; font-size:.8125rem; }
 .updates { padding:28px 24px; flex-direction:column; align-items:flex-start; gap:20px; }
 .site-footer { flex-direction:column; align-items:stretch; } .site-footer nav { justify-content:flex-start; }
 .keep-together { white-space:normal; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { animation:none!important; transition:none!important; } }

dialog#contactDialog {
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(11, 12, 14, 0.28);
  padding: 0;
  width: min(440px, 90vw);
}
dialog#contactDialog::backdrop {
  background: rgba(11, 12, 14, 0.5);
  backdrop-filter: blur(2px);
}
.contact-form {
  padding: 28px clamp(18px, 5vw, 32px);
}
.contact-form h2 {
  margin: 0 0 6px 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: 24px;
}
.contact-form p.hint {
  margin: 0 0 20px 0;
  color: var(--muted);
  font-size: 14px;
}
.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 14px 0 6px 0;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 15px;
  font-family: inherit;
  box-sizing: border-box;
  background: hsl(215 30% 98%);
}
.contact-form textarea {
  min-height: 84px;
  resize: vertical;
}
.contact-form .row {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.contact-form .status-msg {
  margin-top: 12px;
  font-size: 13px;
}
.contact-form .status-msg.ok {
  color: var(--emerald);
}
.contact-form .status-msg.err {
  color: #c0344c;
}
.contact-form .contact-turnstile {
  min-height: 65px;
  margin-top: 18px;
  display: flex;
  align-items: center;
}
.contact-form .contact-security-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
}
.contact-form .contact-trap {
  position: absolute !important;
  clip-path: inset(50%) !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.noscript-contact {
  margin: 0;
  padding: 12px 20px;
  text-align: center;
  background: hsl(215 30% 92%);
  color: var(--text);
  font-size: 14px;
}
