:root {
  color-scheme: light;
  font: 16px/1.55 system-ui, -apple-system, sans-serif;
  --paper: #f8f5ee;
  --ink: #172a21;
  --green: #234135;
  --muted: #516258;
  --line: #d7dacf;
  --soft: #edf0e6;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .12em; }
:focus-visible { outline: 3px solid #8d551e; outline-offset: 4px; }
.wrap { width: min(1180px, 100% - 64px); margin-inline: auto; }
.bar { border-bottom: 1px solid var(--line); }
.bar-inner, nav, .brand, .buttons, .section-head, .day-title, .footer {
  display: flex; align-items: center;
}
.bar-inner { min-height: 70px; justify-content: space-between; gap: 18px; }
.brand { gap: 7px; font-weight: 750; font-size: 1.16rem; text-decoration: none; letter-spacing: -.03em; }
.brand span { color: var(--muted); font-weight: 550; }
.brand img { margin-right: 2px; }
nav { gap: clamp(14px, 3vw, 34px); font-size: .86rem; font-weight: 650; }
nav a, .footer a { text-decoration: none; }
nav a:hover, .footer a:hover { text-decoration: underline; }
.world-link { padding: 7px 12px; border: 1px solid var(--line); border-radius: 7px; white-space: nowrap; }
.hero { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(24px, 5vw, 68px); margin: 40px 0 43px; }
.hero h1, h2, .story h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.hero h1 { margin: 0; font-size: clamp(3rem, 6.1vw, 5.45rem); line-height: .98; letter-spacing: -.063em; }
.hero h1 em { display: block; color: var(--green); font-weight: 400; }
.hero-copy p { margin: 24px 0; color: var(--muted); max-width: 38ch; font-size: 1.05rem; }
.buttons { flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .62em; min-height: 43px; padding: .52rem .87rem; border-radius: 7px; font: inherit; font-size: .875rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.green { background: var(--green); border: 1px solid var(--green); color: #fffdf6; }
.green:hover { background: #34594a; }
.outline { background: transparent; border: 1px solid #aeb9ac; color: var(--ink); }
.outline:hover { background: var(--soft); }
.hero-photo { margin: 0; background: #d9e2d3; border-radius: 12px; overflow: hidden; }
.hero-photo img { display: block; width: 100%; height: clamp(255px, 29vw, 385px); object-fit: cover; }
.hero-photo figcaption { display: flex; justify-content: space-between; gap: 10px; padding: 8px 13px; font-size: .74rem; font-weight: 650; }
.hero-photo figcaption span { color: var(--muted); font-weight: 500; }
.section { border-top: 1px solid #adb9ae; padding-top: 13px; margin: 0 0 43px; scroll-margin-top: 16px; }
.section-head, .day-title { justify-content: space-between; gap: 14px; flex-wrap: wrap; }
h2 { margin: 0 0 12px; line-height: 1.06; font-size: clamp(2rem, 3.7vw, 3rem); letter-spacing: -.045em; }
.section-head > a, .day-title > a { font-size: .86rem; font-weight: 700; }
.stories, .paths { display: grid; gap: 14px; }
.stories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story, .path, .day-panel { border: 1px solid var(--line); background: #fffdf8; border-radius: 10px; padding: 19px; }
.story { display: flex; flex-direction: column; min-height: 168px; border-top: 4px solid #739881; text-decoration: none; }
.story[data-section="Civic life"] { border-top-color: #b17a35; }
.story[data-section="Building & work"] { border-top-color: #597973; }
.story:hover { background: var(--soft); border-right-color: #99ac9b; border-bottom-color: #99ac9b; border-left-color: #99ac9b; }
.story-meta { display: flex; gap: 10px; align-items: center; font-size: .74rem; color: var(--muted); font-weight: 700; }
.live { color: #225c3f; background: #deefde; padding: 2px 7px; border-radius: 4px; }
.story h3 { margin: 8px 0 5px; line-height: 1.16; letter-spacing: -.02em; font-size: 1.42rem; overflow-wrap: anywhere; }
.story p, .feedback, .day-intro { color: var(--muted); font-size: .87rem; margin: 0 0 10px; }
.story-action { margin-top: auto; color: #234e3b; font-size: .86rem; font-weight: 750; }
.paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hosted { background: #e9eee2; }
.path h3, .day-title h3 { margin: 0 0 4px; font-size: 1.1rem; overflow-wrap: anywhere; }
.path p { margin: 6px 0 13px; max-width: 52ch; color: var(--muted); }
.path details { margin-top: 12px; }
summary { cursor: pointer; font-size: .9rem; font-weight: 650; }
.claim-link { display: inline-block; margin: 8px 0 0 9px; font-size: .85rem; }
.day-panel details { border-top: 1px solid var(--line); margin-top: 13px; padding-top: 11px; }
.day-panel details p { color: var(--muted); font-size: .9rem; margin: 8px 0; }
.day-panel details label { display: block; font-size: .85rem; margin-bottom: 5px; font-weight: 650; }
.day-panel input { font: inherit; padding: 8px; width: min(230px, 100%); border: 1px solid #aeb9ac; border-radius: 5px; }
.prompt { padding: 12px; border: 1px solid var(--line); border-radius: 6px; font-size: .9rem; overflow-wrap: anywhere; }
.day-panel { max-width: 780px; }
.day-picker { display: flex; align-items: center; gap: 12px; font-weight: 700; margin-bottom: 12px; }
select { min-width: 0; max-width: min(100%, 400px); font: inherit; padding: 5px 8px; border: 1px solid #aeb9ac; border-radius: 5px; color: var(--ink); background: white; }
progress { width: 100%; accent-color: var(--green); height: 9px; }
.day-panel ol { list-style: none; padding: 0; margin: 7px 0 12px; border-bottom: 1px solid var(--line); }
.day-panel li { padding: 8px 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3px 14px; font-size: .9rem; }
.day-panel li small { color: var(--muted); }
body.day-page .first-day { margin-top: 34px; }
.footer { gap: 22px; flex-wrap: wrap; padding: 14px 0 24px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
@media (max-width: 750px) {
  .wrap { width: min(100% - 32px, 550px); }
  .hero { grid-template-columns: 1fr; margin-block: 29px 33px; }
  .hero h1 { max-width: 12ch; }
  .hero-photo img { height: clamp(190px, 48vw, 275px); }
  .stories, .paths { grid-template-columns: 1fr; gap: 9px; }
  .story { min-height: unset; padding: 14px; }
  .section { margin-bottom: 34px; }
}
@media (max-width: 390px) {
  nav > a:first-child { display: none; }
  .brand { font-size: 1rem; white-space: nowrap; }
  .bar-inner { min-height: 58px; }
  .hero h1 { font-size: 2.9rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
