:root {
  --ink: #1C2321;
  --muted: #4E5A56;
  --blue: #1F5A7A;      /* lake blue: buttons, links, "Good" */
  --blue-dark: #164560;
  --green: #3B6B45;     /* oak green: labels, rules, secondary button */
  --green-dark: #2C5234;
  --band: #E2EDEA;      /* header band: pale sage-blue */
  --ground: #FAFBF8;
  --line: #D8E2DD;
  --photo: #DDE7E3;
  --field: #FFFFFF;
  --field-line: #B9C6C0;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Public Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { background: var(--band); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding-top: 18px; padding-bottom: 18px; }
.site-header.big .bar { justify-content: flex-end; padding-bottom: 0; }
.nav { display: flex; flex-wrap: wrap; gap: 0 28px; font-size: 16px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 0; display: inline-block; }
@media (max-width: 440px) { .nav { gap: 0 18px; font-size: 15px; } }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--green); text-decoration-thickness: 2px; }

.wordmark { font-family: var(--serif); color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.wordmark em { font-style: italic; color: var(--blue); }
.wordmark .place { font-weight: 400; }
.wordmark.small { font-weight: 700; font-size: 26px; line-height: 1.15; }

.title-card { padding-top: 64px; padding-bottom: 56px; }
.title-card .wordmark { display: flex; flex-direction: column; gap: 4px; }
.title-card .line1 { font-weight: 700; font-size: clamp(56px, 11vw, 112px); line-height: 0.95; letter-spacing: -0.03em; }
.title-card .place { font-size: clamp(30px, 5.2vw, 52px); line-height: 1.1; letter-spacing: -0.015em; }
.tagline { display: flex; align-items: center; gap: 14px; margin: 22px 0 0; font-size: 18px; color: var(--muted); }
.tagline::before { content: ""; width: 48px; height: 3px; border-radius: 2px; background: var(--green); flex: none; }

main { padding-top: 48px; padding-bottom: 32px; }

/* Story */
.eyebrow { margin: 0 0 20px; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.story h1, .page-title { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 5.5vw, 44px); line-height: 1.12; letter-spacing: -0.015em; }
.meta { margin: 14px 0 0; font-size: 15px; color: var(--muted); }
.story figure { margin: 28px 0 0; }
.story figure img { width: 100%; border-radius: 6px; background: var(--photo); }
.story figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.story .body { margin-top: 28px; font-size: 19px; line-height: 1.7; }
.story .body > :first-child { margin-top: 0; }
.story .body p { margin: 0 0 18px; }
.shared-by { margin: 8px 0 0; font-size: 15px; color: var(--muted); }

/* Buttons */
.actions { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 17px var(--sans); text-decoration: none; cursor: pointer; border: 2px solid transparent; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: #fff; }
.text-link { font-weight: 500; font-size: 17px; padding: 12px 0; }

.share-cta { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.share-cta > div { flex: 1 1 320px; min-width: 0; }
.share-cta h2 { margin: 0 0 6px; font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.25; }
.share-cta p { margin: 0; font-size: 17px; color: var(--muted); }

/* Archive */
.archive { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 40px 32px; }
.card a { text-decoration: none; color: var(--ink); display: block; }
.card .thumb { aspect-ratio: 3 / 2; border-radius: 6px; overflow: hidden; background: var(--photo); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .thumb.empty { display: flex; align-items: flex-end; padding: 16px; background: linear-gradient(160deg, var(--band), var(--photo)); }
.card .thumb.empty span { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--green); }
.card h2 { margin: 14px 0 4px; font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.25; }
.card a:hover h2 { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.card p { margin: 0; font-size: 15px; color: var(--muted); }

/* Forms */
.intro { margin: 12px 0 0; font-size: 18px; color: var(--muted); }
form { margin-top: 36px; display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: 16px; }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], textarea {
  font: 17px/1.5 var(--sans); color: var(--ink); background: var(--field);
  border: 1px solid var(--field-line); border-radius: 8px; padding: 12px 16px; min-height: 48px; width: 100%;
}
textarea { resize: vertical; min-height: 160px; }
input[type="file"] { font: 16px var(--sans); padding: 12px 16px; border: 1px dashed var(--field-line); border-radius: 8px; background: var(--field); width: 100%; }
.hint { margin: 0; font-size: 14px; color: var(--muted); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.hidden { position: absolute; left: -9999px; }
button.btn { border: 0; }

.prose { margin-top: 24px; font-size: 19px; line-height: 1.7; }
.prose p { margin: 0 0 18px; }

/* Footer */
.site-footer { margin-top: 64px; border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 32px; padding-bottom: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 15px; color: var(--muted); }
.site-footer p { margin: 0; }
.site-footer .wordmark { font-size: 18px; font-weight: 400; }
.site-footer a { color: var(--muted); }

/* Home: two big choices */
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 680px) { .choices { grid-template-columns: 1fr; } }
.choice { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 180px; padding: 32px 72px 32px 32px; border-radius: 16px; color: #fff; text-decoration: none; justify-content: flex-end; }
.choice:hover { color: #fff; }
.choice-see { background: var(--blue); }
.choice-see:hover { background: var(--blue-dark); }
.choice-send { background: var(--green); }
.choice-send:hover { background: var(--green-dark); }
.choice-title { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 4vw, 38px); line-height: 1.1; letter-spacing: -0.01em; }
.choice-sub { font-size: 16px; line-height: 1.45; color: rgba(255,255,255,0.9); }
.choice svg { position: absolute; right: 28px; bottom: 34px; width: 28px; height: 28px; transition: transform .15s ease; }
.choice:hover svg { transform: translateX(4px); }
@media (max-width: 680px) { .choice { min-height: 140px; padding: 24px 64px 24px 24px; } .choice svg { right: 22px; bottom: 26px; } }

.latest { margin-top: 32px; display: inline-flex; align-items: center; gap: 16px; color: var(--ink); text-decoration: none; font-size: 17px; line-height: 1.4; }
.latest img { width: 96px; height: 64px; object-fit: cover; border-radius: 6px; flex: none; background: var(--photo); }
.latest:hover { color: var(--blue); }
.latest:hover span span:last-child, .latest:hover { text-decoration: underline; text-underline-offset: 4px; }
.latest-label { display: inline-block; margin-right: 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }

/* See: scrolling feed */
.feed-item { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.feed-item:first-of-type { border-top: 0; padding-top: 0; }
.feed-item .meta { margin: 0 0 8px; }
.feed-item h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 4.5vw, 36px); line-height: 1.15; letter-spacing: -0.01em; }
.feed-item h2 a { color: var(--ink); text-decoration: none; }
.feed-item h2 a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.pager { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }

/* ---- Warmer look ---- */
:root { --sky: #D8EAF3; --sun: #F2C14E; --ground: #F7F5EE; --card: #FFFFFF; --deep: #23452B; }
body { background: var(--ground); }
.site-header { position: relative; background: linear-gradient(var(--sky), #EAF3F2 70%); overflow: hidden; }
.site-header .wrap { position: relative; z-index: 1; }
.site-header .bar { padding-bottom: 6px; }
.hills { display: block; width: 100%; height: 44px; margin-top: -4px; }
.hills-tall { height: clamp(90px, 14vw, 180px); margin-top: -40px; }
.title-card { padding-bottom: 8px; }
.sun { position: absolute; top: 26px; right: 8%; width: 120px; height: 120px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 18px rgba(242,193,78,.25), 0 0 0 40px rgba(242,193,78,.12); }
.sun-small { width: 46px; height: 46px; top: 14px; right: 40%; box-shadow: 0 0 0 10px rgba(242,193,78,.22); }
@media (max-width: 680px) { .sun { width: 70px; height: 70px; top: 90px; right: 20px; } .sun-small { display: none; } }
.site-header.big .bar { position: relative; z-index: 2; }
.wordmark em { position: relative; z-index: 0; }
.title-card .wordmark em::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: 0.08em; height: 0.18em; background: var(--sun); border-radius: 999px; z-index: -1; opacity: .85; }
.tagline::before { background: var(--sun); }
.eyebrow, .latest-label { color: var(--green); }

/* Big choices get icons */
.choice { box-shadow: 0 10px 24px -12px rgba(20,50,40,.45); transition: transform .15s ease, box-shadow .15s ease; }
.choice:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(20,50,40,.5); }
.choice-icon { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; margin-bottom: auto; }
.choice-icon svg { position: static; width: 28px; height: 28px; transform: none !important; }
.choice-see .choice-icon { color: var(--sun); }
.choice { justify-content: flex-start; gap: 10px; min-height: 220px; }
.choice-title { margin-top: 18px; }
@media (max-width: 680px) { .choice { min-height: 170px; } }
.latest { background: var(--card); padding: 12px 18px 12px 12px; border-radius: 12px; border: 1px solid var(--line); }

/* Stories as cards */
.feed-item, .story-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; margin-top: 28px; }
.feed-item:first-of-type { padding-top: 28px; border-top: 1px solid var(--line); }
@media (max-width: 560px) { .feed-item, .story-card { padding: 20px; border-radius: 12px; } }
.feed-item figure img, .story figure img { border-radius: 10px; }
.story-card > .story h1 { margin-top: 0; }
.share-cta { background: #E8F1EC; border: 0; border-radius: 16px; padding: 28px; }

/* Deep green footer */
.site-footer { background: var(--deep); border-top: 0; color: #D7E5DA; }
.site-footer p { color: #D7E5DA; }
.site-footer .wordmark { color: #fff; }
.site-footer .wordmark em { color: var(--sun); }
.site-footer a { color: #fff; }

/* Fixes: sun placement, aligned choice titles */
.sun { top: 96px; right: 9%; }
@media (max-width: 680px) { .sun { width: 54px; height: 54px; top: auto; bottom: 96px; right: 22px; box-shadow: 0 0 0 10px rgba(242,193,78,.25); } }
.choice-icon { margin-bottom: 0; }
.choice-title { margin-top: 26px; }
.sun { top: 56px; } @media (max-width: 680px) { .sun { top: auto; } }
@media (max-width: 680px) { .sun { bottom: 64px; width: 46px; height: 46px; } }

/* Three choices */
.choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .choices { grid-template-columns: 1fr; } .choice { min-height: 150px; } }
.choice-do { background: var(--sun); color: var(--ink); }
.choice-do:hover { background: #E8B53B; color: var(--ink); }
.choice-do .choice-sub { color: #3A3420; }
.choice-do .choice-icon { background: rgba(255,255,255,.45); color: #B3412E; }
.choice-title { font-size: clamp(26px, 3vw, 32px); }

/* Short nav labels on phones */
@media (max-width: 600px) { .nav-long { display: none; } .nav { gap: 0 24px; font-size: 16px; } }

/* Do something good */
.help-group { margin-top: 44px; }
.help-kind { margin: 0 0 16px; font-family: var(--serif); font-weight: 600; font-size: 28px; }
.help-kind span { font-family: var(--sans); font-weight: 400; font-size: 16px; color: var(--muted); margin-left: 8px; }
.help-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.help-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.help-card h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.25; }
.help-org { margin: 0; font-size: 15px; font-weight: 600; color: var(--green); }
.help-summary { margin: 4px 0 0; font-size: 17px; line-height: 1.55; }
.help-meta { margin: 2px 0 0; font-size: 15px; color: var(--muted); }
.help-meta:empty { display: none; }
.btn-help { margin-top: auto; align-self: flex-start; min-height: 44px; padding: 0 18px; font-size: 16px; background: var(--sun); color: var(--ink); }
.btn-help:hover { background: #E8B53B; color: var(--ink); }
.help-card .btn-help { margin-top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
@media (max-width: 680px) { .sun { top: 18px; bottom: auto; right: 20px; width: 40px; height: 40px; box-shadow: 0 0 0 8px rgba(242,193,78,.25); } }
