/* Layout: FreeMyNeighborhood brand guide v2.4.0. Navy/blue type on white and light-blue bands, green for money. */
:root {
  --paper: #ffffff;
  --mist: #f4f9fc;
  --line: #d9e6ef;
  --ink: #0d2233;
  --muted: #4b5d6e;
  --blue: #1b6399;
  --blue-deep: #0f3d61;
  --sky: #85c1e3;
  --green: #2e8b5e;      /* text-weight green: brand #52B788 darkened for legible small text on white */
  --green-fill: #52b788; /* brand accent green, for fills, checks, badges */
  --sign: #0f3d61;
  --sign-fg: #ffffff;
  --on-blue: #ffffff;
  --display: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --body: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 4.5vw, 2.25rem);
  --step-4: clamp(2.4rem, 6.5vw, 3.75rem);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b1a28; --mist: #10263a; --line: #22405a; --ink: #e6f0f7; --muted: #a3b8c9;
    --blue: #85c1e3; --blue-deep: #b9dcf0; --sky: #85c1e3; --green: #74c69d; --green-fill: #52b788;
    --sign: #1b6399; --sign-fg: #ffffff; --on-blue: #0b1a28;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0b1a28; --mist: #10263a; --line: #22405a; --ink: #e6f0f7; --muted: #a3b8c9;
  --blue: #85c1e3; --blue-deep: #b9dcf0; --sky: #85c1e3; --green: #74c69d; --green-fill: #52b788;
  --sign: #1b6399; --sign-fg: #ffffff; --on-blue: #0b1a28;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
}
a { color: var(--blue); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--sky); outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--display); color: var(--blue-deep); line-height: 1.1; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; max-width: 65ch; }

.wrap {
  max-width: 1080px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* Header */
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--blue); font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand svg { flex: none; }
.brand b { color: var(--green); font-weight: 800; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-family: var(--display); font-weight: 600; font-size: 0.98rem; }
.nav a { text-decoration: none; color: var(--ink); padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }

/* Street sign plate */
.sign {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  background: var(--sign); color: var(--sign-fg);
  border: 3px solid var(--sign-fg); outline: 3px solid var(--sign);
  border-radius: 10px; padding: 7px 18px 5px;
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  line-height: 1.05;
}
.sign small { font-size: 0.62em; font-weight: 600; letter-spacing: 0.12em; opacity: 0.9; }

/* Sections */
section { padding-block: clamp(48px, 8vw, 88px); }
section.tint { background: var(--mist); }
.eyebrow { font-family: var(--display); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--green); margin-bottom: 10px; }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 58ch; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack-lg { display: flex; flex-direction: column; gap: 36px; }

.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; font-family: var(--display); font-weight: 700; font-size: 1rem;
  text-decoration: none; border-radius: var(--radius); padding: 13px 22px; border: 2px solid var(--blue);
  cursor: pointer; line-height: 1.2;
}
.btn.primary { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--on-blue); box-shadow: 0 8px 20px -10px rgba(15,61,97,.55); }
.btn.primary:hover { background: var(--blue); border-color: var(--blue); }
.btn.ghost { background: var(--paper); color: var(--blue-deep); border-color: var(--line); }
.btn.ghost:hover { background: var(--mist); }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 80px) clamp(40px, 6vw, 64px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero h1 span { color: var(--green); }

/* Ledger card: money math */
.ledger { align-self: start; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 18px 40px -24px rgba(15,61,97,.45); background: var(--paper); font-variant-numeric: tabular-nums; }
.ledger header { background: var(--blue-deep); color: var(--on-blue); font-family: var(--display); font-weight: 700; padding: 10px 18px; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; }
.ledger dl { margin: 0; padding: 6px 18px 14px; }
.ledger .row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.ledger .row:last-child { border-bottom: 0; }
.ledger dt { color: var(--muted); }
.ledger dd { margin: 0; font-family: var(--display); font-weight: 700; color: var(--ink); text-align: right; }
.ledger .total dd { color: var(--green); font-size: 1.3rem; }

/* Pillars */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 820px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.pillar { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-lg); }
section.tint .pillar { background: var(--paper); }
.pillar .letter { font-family: var(--display); font-weight: 800; font-size: 0.9rem; color: var(--green); letter-spacing: 0.1em; text-transform: uppercase; }
.pillar p { color: var(--muted); }

/* Steps (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  content: counter(s); font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--on-blue);
  background: var(--blue-deep); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
}
.steps li div { display: flex; flex-direction: column; gap: 6px; }
.steps li p { color: var(--muted); }

/* Offer board */
.board-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
table.board { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 560px; }
.board th { text-align: left; font-family: var(--display); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 12px 16px; border-bottom: 2px solid var(--blue); background: var(--mist); }
.board td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.board tr:last-child td { border-bottom: 0; }
.board .pay { font-family: var(--display); font-weight: 800; color: var(--green); white-space: nowrap; }
.board .svc { font-weight: 600; }
.board .note { display: block; color: var(--muted); font-size: 0.9rem; font-weight: 400; }
.pill { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; border: 1.5px solid var(--blue); color: var(--blue); white-space: nowrap; }
.pill.wait { border-color: var(--muted); color: var(--muted); }

/* Neighborhood directory */
.hoods { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.hood { display: flex; flex-direction: column; gap: 12px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); text-decoration: none; color: var(--ink); }
.hood:hover { border-color: var(--blue); }
.hood p { color: var(--muted); font-size: 0.95rem; }
.hood.soon { border-style: dashed; }

/* Q&A */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: var(--step-1); color: var(--blue-deep); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--green); font-weight: 800; }
details[open] summary::after { content: "\2212"; }
details p { margin-top: 10px; color: var(--muted); }

/* Form */
form.join { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 620px) { form.join { grid-template-columns: 1fr; } }
form.join .full { grid-column: 1 / -1; }
form.join label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.95rem; }
form.join input, form.join select {
  font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink);
}
.form-note { color: var(--muted); font-size: 0.92rem; }
.done { border-left: 4px solid var(--green-fill); background: var(--mist); padding: 14px 18px; border-radius: 0 4px 4px 0; }

/* Calculator */
.calc { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); }
.chk { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); cursor: pointer; }
.chk:last-child { border-bottom: 0; }
.chk input { width: 20px; height: 20px; accent-color: var(--green-fill); }
.chk b { font-family: var(--display); color: var(--green); font-variant-numeric: tabular-nums; }

/* Callout */
.callout { border: 1px solid var(--line); background: var(--mist); border-radius: var(--radius-lg); padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.callout strong { font-family: var(--display); color: var(--green); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding-block: 32px; color: var(--muted); font-size: 0.92rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 16px; }
.site-foot a { color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .btn, .hood, .nav a { transition: background-color .15s, border-color .15s, color .15s; }
}

form.join input:focus, form.join select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--sky) 45%, transparent); }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--paper); }
.site-foot { background: var(--blue-deep); color: #cfe3f1; border-top: 0; }
.site-foot a { color: #cfe3f1; }
.hood .sign, .hood .pill { align-self: flex-start; }
.brand b { color: var(--blue); }

/* Footer columns */
.site-foot { padding-block: 48px 28px; }
.site-foot .foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
@media (max-width: 820px) { .site-foot .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 340px) { .site-foot .foot-grid { grid-template-columns: 1fr; } }
.foot-brand { display: flex; flex-direction: column; gap: 6px; }
.foot-brand strong { color: #ffffff; font-size: 1.1rem; font-weight: 800; }
.site-foot nav { display: flex; flex-direction: column; gap: 10px; }
.site-foot nav h2 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #ffffff; margin: 0 0 4px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: #ffffff; text-decoration: underline; }
.foot-copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; margin: 4px 0 0; font-size: 0.85rem; max-width: none; }

/* Legal pages + placeholders */
.ph { display: inline-block; background: #fff4cc; color: #6b5200; border: 1px dashed #c9a400; border-radius: 6px; padding: 0 6px; font-weight: 600; font-size: 0.92em; }
.legal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 820px) { .legal { grid-template-columns: 1fr; } }
.legal-toc { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 8px; font-size: 0.92rem; }
@media (max-width: 820px) { .legal-toc { position: static; } }
.legal-toc strong { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.legal-toc a { color: var(--ink); text-decoration: none; }
.legal-toc a:hover { color: var(--blue); }
.legal-body { display: flex; flex-direction: column; gap: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); }
.legal-sec { display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 90px; }
.legal-sec h2 { font-size: var(--step-1); }
.legal-sec ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; max-width: 65ch; }
form.join textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); resize: vertical; }

/* Headline highlights */
.hero h1 em { font-style: normal; }
.hero h1 .hl-help { color: var(--blue); }
.hero h1 .hl-money { color: var(--green-fill); }

/* Footer stays dark navy in light and dark mode */
:root { --foot-bg: #0f3d61; --foot-fg: #d6e7f3; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --foot-bg: #08243b; --foot-fg: #d6e7f3; } }
:root[data-theme="dark"] { --foot-bg: #08243b; --foot-fg: #d6e7f3; }
.site-foot { background: var(--foot-bg); color: var(--foot-fg); }
.site-foot a { color: var(--foot-fg); }
.legal-sec { padding-block: 0; }

/* Home: about copy */
.about .wrap { align-items: start; }
.about-copy p { color: var(--ink); }
@media (min-width: 821px) { .about .wrap > .stack:first-child { position: sticky; top: 100px; } }

/* Logo text green: deeper in dark mode */
:root { --logo: #2e8b5e; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --logo: #3fa36e; } }
:root[data-theme="dark"] { --logo: #3fa36e; }
.brand > span { color: var(--logo) !important; }

/* Canterfield Creek: amenities, map, guides, articles, events */
.cc-amenities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 980px) { .cc-amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cc-amenities { grid-template-columns: 1fr; } }
.amenity { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.amenity p { color: var(--muted); font-size: 0.97rem; }
.amenity-icon { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--mist); fill: none; stroke: var(--blue-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cc-map-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); }
.cc-map-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cc-map-head span { color: var(--muted); font-size: 0.9rem; }
.cc-map { height: clamp(320px, 50vw, 460px); width: 100%; background: var(--mist); }
.cc-map-off { display: grid; place-items: center; padding: 24px; text-align: center; color: var(--muted); }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 820px) { .guide-grid { grid-template-columns: 1fr; } }
.guide-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); color: var(--ink); text-decoration: none; }
.guide-card:hover { border-color: var(--blue); }
.guide-card p { color: var(--muted); }
.guide-kicker { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.guide-more { margin-top: auto; font-weight: 700; color: var(--blue); }
.guide-more::after { content: " \2192"; }
.crumbs { font-size: 0.9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.article-hero { padding-bottom: clamp(24px, 4vw, 40px); }
.article { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 44px); }
.article h2 { font-size: var(--step-2); margin-top: 18px; }
.article ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.article .btn { align-self: flex-start; }
.note { color: var(--muted); font-size: 0.93rem; border-left: 3px solid var(--sky); padding-left: 12px; }
.spots { list-style: none; padding: 0 !important; gap: 0 !important; border: 1px solid var(--line); border-radius: var(--radius); }
.spot { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 4px 20px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.spot:last-child { border-bottom: 0; }
.spot div { display: flex; flex-direction: column; }
.spot span { color: var(--muted); font-size: 0.9rem; }
.spot p { color: var(--ink); }
@media (max-width: 620px) { .spot { grid-template-columns: 1fr; } }
.sources { font-size: 0.92rem; color: var(--muted); }
.event-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 18px; background: var(--mist); border-radius: var(--radius); }
@media (max-width: 520px) { .event-facts { grid-template-columns: 1fr; } }
.event-facts div { display: flex; flex-direction: column; gap: 2px; }
.event-facts span { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ev-status { display: inline-block; align-self: flex-start; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; border: 1.5px solid currentColor; white-space: nowrap; }
.ev-upcoming { color: var(--green); }
.ev-recurring { color: var(--blue); }
.ev-past { color: var(--muted); }
.ev-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); }
.ev-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.ev-row:last-child { border-bottom: 0; }
.ev-row:hover { background: var(--mist); }
.ev-row h3 { font-size: 1.05rem; }
.ev-row p { color: var(--muted); font-size: 0.92rem; }
.ev-date { display: flex; flex-direction: column; align-items: center; padding: 6px 0; border-radius: 10px; background: var(--blue-deep); color: var(--on-blue); line-height: 1.1; }
.ev-date span { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.ev-date strong { font-size: 1.35rem; }
@media (max-width: 480px) { .ev-row { grid-template-columns: 52px minmax(0, 1fr); } .ev-row .ev-status { grid-column: 2; } }
.cc-foot .foot-brand strong { color: #ffffff; }

/* Street-sign plates: classic green road sign */
.sign {
  background: #00653a; color: #ffffff;
  border: 3px solid #ffffff; outline: 2px solid #00653a; outline-offset: 0;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.18), 0 6px 14px -8px rgba(0, 0, 0, 0.5);
  border-radius: 9px; padding: 6px 20px 4px;
  font-family: "Overpass", "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-weight: 700; text-transform: none; letter-spacing: 0; line-height: 1.05;
}
.sign small { font-family: inherit; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.5em; opacity: 0.95; }
.hood .sign { font-size: 1.35rem; }

/* Home-care guides, coming-up strip, data tables */
.guide-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.upcoming { padding-block: 22px; border-block: 1px solid var(--line); background: var(--paper); }
.up-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; margin-bottom: 12px; }
.up-head .eyebrow { margin: 0; }
.up-head a { font-weight: 600; font-size: 0.92rem; }
.up-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.up-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.up-item:hover { border-color: var(--blue); }
.up-item h3 { font-size: 1rem; }
.up-item p { color: var(--muted); font-size: 0.88rem; }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
table.data th { text-align: left; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--blue); padding: 8px 10px; background: var(--mist); }
table.data td { border-bottom: 1px solid var(--line); padding: 9px 10px; vertical-align: top; }
.article ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }

/* Numbers + essentials */
table.data td.num { white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
.bars { display: flex; flex-direction: column; gap: 6px; max-width: 560px; }
.bar-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 44px; gap: 10px; align-items: center; font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.bar-row span { color: var(--muted); }
.bar-row b { text-align: right; font-weight: 600; }
.bar { height: 14px; background: var(--mist); border-radius: 4px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--blue); border-radius: 4px; }
table.data .addr { display: block; color: var(--muted); font-size: 0.88rem; }
table.data td.num:first-child { text-align: left; font-weight: 700; color: var(--blue-deep); }

/* History timeline + photo slots */
.timeline { list-style: none; padding: 0 !important; margin: 0; display: flex; flex-direction: column; gap: 0 !important; border-left: 3px solid var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: 4px 16px; padding: 10px 0 10px 20px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 16px; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 3px solid var(--blue); }
.timeline li.tl-cc::before { background: #00653a; border-color: #00653a; }
.tl-when { font-weight: 700; color: var(--blue-deep); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; } }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 820px) { .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.photo-slot { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ph-frame { aspect-ratio: 4 / 3; max-width: 100%; display: grid; place-items: center; border: 2px dashed var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.ph-frame svg { width: 44px; height: 44px; fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0.7; }
.photo-slot figcaption { font-weight: 600; display: flex; flex-direction: column; }
.photo-slot figcaption span { font-weight: 400; color: var(--muted); font-size: 0.88rem; }

/* Featured partner + newsletter */
.partner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 24px; align-items: center; padding: 20px 22px; border: 2px dashed var(--sky); border-radius: var(--radius-lg); background: var(--paper); }
@media (max-width: 900px) { .partner { grid-template-columns: 1fr; } }
.partner-badge { align-self: start; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #ffffff; background: #00653a; padding: 6px 12px; border-radius: 999px; white-space: nowrap; justify-self: start; }
.partner-body { display: flex; flex-direction: column; gap: 4px; }
.partner-body p { color: var(--muted); }
#newsletter { padding-block: clamp(40px, 6vw, 64px); }
.news { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: clamp(22px, 4vw, 36px); border-radius: var(--radius-lg); background: var(--blue-deep); color: var(--on-blue); }
@media (max-width: 820px) { .news { grid-template-columns: 1fr; } }
.news h2, .news .eyebrow { color: var(--on-blue); }
.news .eyebrow { opacity: 0.85; }
.news p { color: var(--on-blue); opacity: 0.9; }
.news form.join { grid-template-columns: 1fr; }
.news form.join label { color: var(--on-blue); }
.news .btn.primary { background: #00653a; border-color: #00653a; color: #ffffff; }
.news .btn.primary:hover { background: #005230; border-color: #005230; }
.news .form-note { color: var(--on-blue); opacity: 0.75; }
.news .done { color: var(--ink); }
.news { background: var(--foot-bg); color: #ffffff; }
.news h2, .news .eyebrow, .news p, .news form.join label, .news .form-note { color: #ffffff; }