/* ==========================================================================
   Ypsi Now!  ::  Site styles (Direction A, Riverside Green)
   Brand: brand/README.md. One typeface family: Schibsted Grotesk.

   Color system
   - Brand constants (--green, --green-dark, --pine, --sprout, --mist) never
     change. The header, navigation, newsletter band and footer use them, so
     the dark green branded chrome is identical in light and dark mode.
   - Theme tokens (--bg, --text, --accent ...) drive everything readers read.
     Light values sit on :root. Dark values apply when the visitor's system
     prefers dark (and they have not picked light), or when they pick dark.
     The choice is stored by app.js and applied in <head> before first paint.
   ========================================================================== */
:root {
  /* brand constants: taken from the newsletter band and footer */
  --green: #0B5A35;
  --green-dark: #08452A;
  --green-deep: #06331F;
  --pine: #0F1E17;
  --sprout: #8FD3A9;
  --sprout-light: #B9E6CB;
  --mist: #E6F0EA;
  --on-brand: #FFFFFF;
  --on-brand-2: #C9DCD0;

  /* theme tokens: light */
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --soft: #F4F8F5;
  --tint: #E6F0EA;
  --text: #0F1E17;
  --text-2: #33413A;
  --muted: #55625B;
  --line: #DDE6E0;
  --line-strong: #C8D4CD;
  --rule: #0F1E17;
  --accent: #0B5A35;
  --accent-hover: #06331F;
  --btn: #0B5A35;
  --btn-hover: #08452A;
  --btn-fg: #FFFFFF;
  --underline: #8FD3A9;
  --warn-bg: #FFF4D6;
  --warn-fg: #6A4A00;
  --warn-line: #EBD38F;
  --draft-bg: #EEF0FF;
  --draft-fg: #2F3A8F;
  --draft-line: #C9CEF5;
  --alert: #B42318;
  --alert-bg: #FDECEA;
  --alert-fg: #7A1A12;

  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --radius: 6px;
  color-scheme: light;
}

/* theme tokens: dark (system preference, unless the visitor picked light) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D1511; --surface: #131E18; --soft: #16231C; --tint: #1A2D22;
    --text: #E6EEE9; --text-2: #C4D1C9; --muted: #9DAFA4; --line: #26362D; --line-strong: #3A4D42;
    --rule: #6E9C83; --accent: #8FD3A9; --accent-hover: #B9E6CB;
    --btn: #1B7A4D; --btn-hover: #0B5A35; --btn-fg: #FFFFFF; --underline: #2F8A5C;
    --warn-bg: #33290C; --warn-fg: #F2D37E; --warn-line: #5A4815;
    --draft-bg: #1D2149; --draft-fg: #C9CEFF; --draft-line: #353C7A;
    --alert: #F07A6E; --alert-bg: #3A1713; --alert-fg: #FFD2CC;
    color-scheme: dark;
  }
}
/* theme tokens: dark (picked with the toggle) */
:root[data-theme="dark"] {
  --bg: #0D1511; --surface: #131E18; --soft: #16231C; --tint: #1A2D22;
  --text: #E6EEE9; --text-2: #C4D1C9; --muted: #9DAFA4; --line: #26362D; --line-strong: #3A4D42;
  --rule: #6E9C83; --accent: #8FD3A9; --accent-hover: #B9E6CB;
  --btn: #1B7A4D; --btn-hover: #0B5A35; --btn-fg: #FFFFFF; --underline: #2F8A5C;
  --warn-bg: #33290C; --warn-fg: #F2D37E; --warn-line: #5A4815;
  --draft-bg: #1D2149; --draft-fg: #C9CEFF; --draft-line: #353C7A;
  --alert: #F07A6E; --alert-bg: #3A1713; --alert-fg: #FFD2CC;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--sprout); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.wrap.narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--sprout); color: var(--pine); font-weight: 700; padding: 10px 14px; z-index: 100; border-radius: 4px; }
.skip:focus { top: 8px; }

/* ------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 700 15px/1 var(--font);
  background: var(--btn); color: var(--btn-fg); border: 2px solid var(--btn); border-radius: 4px; padding: 12px 18px;
  text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: var(--btn-fg); }
.btn.ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn.ghost:hover { background: var(--tint); color: var(--accent-hover); border-color: var(--accent-hover); }
.btn[disabled] { background: var(--line); border-color: var(--line); color: var(--muted); cursor: not-allowed; }

.kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.kicker.on-dark { color: var(--sprout); }
.ph-badge { display: inline-block; margin-left: 8px; vertical-align: 1px; font: 700 10.5px/1 var(--font); letter-spacing: .06em;
  text-transform: uppercase; background: var(--warn-bg); color: var(--warn-fg); border: 1px solid var(--warn-line); padding: 4px 6px;
  border-radius: 3px; justify-self: start; width: fit-content; }
.ph-badge.draft { background: var(--draft-bg); color: var(--draft-fg); border-color: var(--draft-line); }

/* ------------------------------------------------------------- preview banner */
.preview-banner { background: var(--warn-bg); color: var(--warn-fg); font-size: 13.5px; padding: 8px 0; border-bottom: 1px solid var(--warn-line); }
.preview-banner .ph-badge { margin-left: 0; }

/* ================================================================ BRANDED CHROME
   Dark green in both themes. Colors here are brand constants, never theme tokens. */

/* top strip: date + weather + utility links */
.topstrip { background: var(--pine); color: var(--on-brand-2); font-size: 13px; }
.topstrip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.ts-left, .ts-right { display: flex; align-items: center; gap: 16px; }
.ts-left .js-date { font-weight: 700; color: var(--on-brand); }
.ts-right a { color: var(--on-brand); text-decoration: none; font-weight: 600; }
.ts-right a:hover { color: var(--sprout); text-decoration: underline; text-underline-offset: 3px; }
.ts-right .btn-support { background: var(--sprout); color: var(--pine); padding: 6px 10px; border-radius: 3px; text-decoration: none; }
.ts-right .btn-support:hover { background: var(--sprout-light); color: var(--pine); text-decoration: none; }
.wx-strip { display: inline-flex; align-items: center; gap: 6px; color: var(--on-brand-2); text-decoration: none; }
.wx-strip:hover { color: var(--sprout); }
.topstrip .wx-strip .wx-temp { font-weight: 700; color: var(--on-brand); }
.wx-ico { width: 18px; height: 18px; flex: none; }
.wx-alert { color: #fff; background: #B42318; font-weight: 700; font-size: 11.5px; padding: 3px 7px; border-radius: 3px; text-decoration: none; }

/* masthead */
.masthead { background: var(--green); color: var(--on-brand); }
.masthead > .wrap { display: flex; align-items: center; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: block; line-height: 0; flex: none; }
.brand img { height: 54px; width: auto; display: block; }
.brand-sub { display: flex; flex-direction: column; font-size: 13.5px; line-height: 1.3; color: var(--on-brand-2); border-left: 1px solid rgba(255,255,255,.28); padding-left: 20px; }
.brand-sub .bs-line { color: var(--on-brand); font-weight: 600; }
.masthead-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; min-width: 42px; justify-content: center; padding: 0 10px;
  border: 1px solid rgba(255,255,255,.45); background: transparent; color: var(--on-brand); border-radius: 4px; cursor: pointer; font: 700 14px var(--font); }
.icon-btn:hover { border-color: var(--on-brand); background: rgba(255,255,255,.1); color: var(--on-brand); }
.btn-submit-story { font-weight: 700; font-size: 14px; color: var(--green); background: var(--on-brand); padding: 12px 14px; border-radius: 4px; text-decoration: none; border: 2px solid var(--on-brand); }
.btn-submit-story:hover { background: var(--mist); border-color: var(--mist); color: var(--green-deep); }
.hamburger { display: none; }
.secbar { display: none; }

/* theme toggle: shows the icon for the theme you would switch TO */
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .ti-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ti-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .ti-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .ti-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .ti-moon { display: none; }
}

/* main nav */
.mainnav { background: var(--green-dark); border-bottom: 3px solid var(--pine); }
.mainnav .wrap { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.mainnav .wrap::-webkit-scrollbar { display: none; }
.mainnav a { flex: none; font-size: 13px; font-weight: 700; color: var(--on-brand); text-decoration: none; padding: 12px 7px 10px; border-bottom: 3px solid transparent; }
.mainnav a:first-child { padding-left: 0; }
.mainnav a:hover { color: var(--sprout); }
.mainnav a.active { color: var(--on-brand); border-bottom-color: var(--sprout); }
.mainnav a.accent { color: var(--sprout); }
.mainnav a.accent:hover { color: var(--sprout-light); }

.searchbar { background: var(--green-deep); padding: 14px 0; }
.searchbar form, .search-page { display: flex; gap: 10px; }
.searchbar input, .search-page input { flex: 1; min-width: 0; }
.searchbar .btn { background: var(--sprout); border-color: var(--sprout); color: var(--pine); }
.searchbar .btn:hover { background: var(--sprout-light); border-color: var(--sprout-light); color: var(--pine); }

/* menu panel (phones) */
.menu-panel { position: fixed; inset: 0; z-index: 50; background: var(--pine); color: #fff; overflow-y: auto;
  padding: calc(16px + env(safe-area-inset-top, 0px)) var(--gutter-r) calc(28px + env(safe-area-inset-bottom, 0px)) var(--gutter); }
.mp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mp-head img { height: 34px; width: auto; display: block; }
.mp-close { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 4px; padding: 10px 14px; font: 700 14px var(--font); cursor: pointer; }
.mp-close:hover { border-color: #fff; }
.mp-home { display: block; color: #fff; font-weight: 700; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.15); text-decoration: none; }
.mp-group h3 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--sprout); margin: 20px 0 6px; }
.mp-group ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.mp-group a { display: block; color: #fff; text-decoration: none; padding: 9px 0; font-size: 16px; font-weight: 500; }
.mp-group a:hover, .mp-home:hover { color: var(--sprout); }
.mp-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.mp-cta a { text-align: center; padding: 13px; border-radius: 4px; border: 1px solid rgba(255,255,255,.35); color: #fff; text-decoration: none; font-weight: 700; }
.mp-cta a.pri { background: var(--sprout); color: var(--pine); border-color: var(--sprout); }
body.menu-open { overflow: hidden; }

/* ================================================================ CONTENT (themed) */

/* forms */
input[type=email], input[type=search], input[type=text], input:not([type]), input[type=file], select, textarea {
  font: 16px var(--font); color: var(--text); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 4px; padding: 11px 12px; width: 100%; }
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: 2px solid var(--sprout); outline-offset: 0; }
.nl-form { display: flex; gap: 8px; flex-wrap: wrap; }
.nl-form input[type=email] { flex: 1 1 180px; min-width: 0; }
.nl-success { display: grid; gap: 4px; background: var(--tint); border-left: 4px solid var(--accent); padding: 12px 14px; font-size: 15px; color: var(--text); border-radius: 0 4px 4px 0; }
.nl-error, .form-error { width: 100%; color: var(--alert); font-size: 14px; font-weight: 600; }
.nl-preview { width: 100%; background: var(--warn-bg); color: var(--warn-fg); font-size: 14px; padding: 10px 12px; border-radius: 4px; }
.site-form { display: grid; gap: 16px; max-width: 680px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-weight: 700; font-size: 15px; }
.field .hint { font-size: 13px; color: var(--muted); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label.inline { display: inline-flex; gap: 6px; align-items: center; margin-right: 16px; font-weight: 500; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
label.check input { margin-top: 4px; accent-color: var(--accent); }
input[type=radio] { accent-color: var(--accent); }
.form-status:empty { display: none; }

/* layout blocks */
main { display: block; padding-bottom: 48px; }
.block { margin-top: 44px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 3px solid var(--rule); padding-top: 10px; margin-bottom: 18px; }
.section-head h2 { font-size: 22px; font-weight: 800; }
.section-head.small { border-top-width: 2px; margin-bottom: 10px; }
.section-head.small h2 { font-size: 17px; }
.section-head .more { font-size: 14px; font-weight: 700; text-decoration: none; }
.section-head .more:hover { text-decoration: underline; text-underline-offset: 3px; }
.with-rail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.meta { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.byline { color: var(--text); font-weight: 700; }
.dek { color: var(--text-2); font-size: 17px; }
.read-more { display: inline-block; font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--underline); padding-bottom: 2px; }
.read-more:hover { border-bottom-color: var(--accent-hover); }

/* cards */
.card { display: grid; gap: 8px; align-content: start; border-top: 1px solid var(--line); padding-top: 16px; }
.card h3 { font-size: 21px; font-weight: 800; }
.card h3 a, .hero-main h1 a, .also-list li > a, .rail-list a, .sec-lead h2 a, .sr-item a { color: var(--text); text-decoration: none; }
.card h3 a:hover, .hero-main h1 a:hover, .also-list li > a:hover, .rail-list a:hover, .sec-lead h2 a:hover, .sr-item a:hover {
  color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.card .dek { font-size: 15.5px; }
.card .meta { font-size: 13px; }

/* homepage */
.today-line { display: none; }
.hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; margin-top: 32px; }
.hero-main { display: grid; gap: 14px; align-content: start; align-self: start; padding-bottom: 28px; border-bottom: 3px solid var(--rule); }
.hero-main h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -0.035em; }
.hero-main .dek { font-size: 20px; max-width: 62ch; }
.hero-side .label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding-bottom: 8px; border-bottom: 3px solid var(--rule); }
.also-list { list-style: none; margin: 0; padding: 0; }
.also-list li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 5px; }
.also-list li > a { font-size: 19px; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.also-list time { font-size: 13px; color: var(--muted); }
.explore-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.explore-tile { display: grid; gap: 4px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--text-2); }
.explore-tile:hover { border-color: var(--accent); background: var(--tint); color: var(--text-2); }
.et-name { font-weight: 800; font-size: 19px; color: var(--accent); letter-spacing: -0.015em; }
.et-desc { font-size: 14px; line-height: 1.4; }
.mission { margin-top: 40px; background: var(--green); color: #fff; border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; }
.mission h2 { font-size: 24px; font-weight: 800; }
.mission p { color: #D9EEE1; max-width: 64ch; }
.mission .read-more { color: #fff; border-bottom-color: var(--sprout); }
.mission .read-more:hover { color: var(--sprout); }

/* rail */
.rail { display: grid; gap: 24px; }
.rail-box { border-top: 3px solid var(--rule); padding-top: 12px; display: grid; gap: 10px; }
.rail-box h2 { font-size: 18px; font-weight: 800; }
.rail-box p { font-size: 15px; color: var(--text-2); }
.nl-box { background: var(--green); color: #fff; border-top: 0; border-radius: var(--radius); padding: 18px; }
.nl-box h2 { color: #fff; }
.nl-box p { color: var(--on-brand-2); }
.nl-box .nl-form .btn { flex: 1 1 100%; background: var(--sprout); border-color: var(--sprout); color: var(--pine); }
.nl-box .nl-form .btn:hover { background: var(--sprout-light); border-color: var(--sprout-light); }
.nl-box input[type=email] { border-color: transparent; background: #fff; color: var(--pine); }
.nl-box input[type=email]::placeholder { color: #55625B; }
.nl-box .nl-success { background: rgba(255,255,255,.12); color: #fff; border-left-color: var(--sprout); }
.nl-box .nl-error { color: #FFD2CC; }
.nl-box .nl-preview { background: #FFF4D6; color: #6A4A00; }
.rail-list { list-style: none; margin: 0; padding: 0; }
.rail-list li { padding: 10px 0; border-bottom: 1px solid var(--line); display: grid; gap: 3px; }
.rail-list a { font-weight: 700; line-height: 1.25; font-size: 15.5px; }
.rail-list time { font-size: 12.5px; color: var(--muted); }
.tip-box .btn { justify-self: start; }
.ev-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ev-list li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: start; font-size: 14.5px; }
.ev-list li strong { display: block; line-height: 1.25; }
.ev-list li em { font-style: normal; color: var(--muted); font-size: 13px; display: block; }
.ev-list .ph-badge { margin: 4px 0; }
.ev-date { display: grid; place-items: center; background: var(--green); color: #fff; border-radius: 4px; padding: 6px 0; font-size: 20px; font-weight: 800; line-height: 1; }
.ev-date b { font-size: 10.5px; letter-spacing: .08em; color: var(--sprout); margin-bottom: 3px; }
.ev-date.big { width: 64px; font-size: 26px; padding: 10px 0; }

/* weather card */
.wx-box .wx-now, .wx-page .wx-now { display: flex; align-items: center; gap: 14px; }
.wx-now-glyph .wx-ico { width: 46px; height: 46px; color: var(--accent); }
.wx-now-temp { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.wx-now-cond { font-weight: 700; }
.wx-now-meta { font-size: 13px; color: var(--muted); }
.wx-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.wx-page .wx-days { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.wx-day { background: var(--soft); border: 1px solid var(--line); border-radius: 4px; padding: 8px 4px; text-align: center; font-size: 13px; display: grid; gap: 4px; justify-items: center; }
.wx-day .wx-ico { color: var(--accent); width: 22px; height: 22px; }
.wx-day-name { font-weight: 700; }
.wx-day-temp span { color: var(--muted); margin-left: 4px; }
.wx-updated { font-size: 12px; color: var(--muted); margin-top: 8px; }
.wx-card-alert { background: var(--alert-bg); color: var(--alert-fg); border-left: 4px solid var(--alert); padding: 10px 12px; font-size: 14px; display: grid; gap: 2px; margin-bottom: 12px; }
.wx-page { display: grid; gap: 12px; }
.wx-page .wx-now-temp { font-size: 56px; }
.wx-page .wx-now-glyph .wx-ico { width: 64px; height: 64px; }

/* page heads, sections */
.page-head { padding-top: 32px; padding-bottom: 24px; display: grid; gap: 10px; }
.page-head h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.035em; }
.page-head .lede { font-size: 19px; color: var(--text-2); max-width: 64ch; }
.sec-lead { display: grid; gap: 10px; padding-bottom: 24px; margin-bottom: 8px; border-bottom: 3px solid var(--rule); }
.sec-lead h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -0.03em; }
.empty { background: var(--soft); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 28px; display: grid; gap: 8px; }
.empty h2 { font-size: 20px; }
.callout { background: var(--tint); border-left: 4px solid var(--accent); padding: 14px 16px; border-radius: 0 4px 4px 0; font-size: 15.5px; margin-bottom: 24px; }
.callout.policy { scroll-margin-top: 16px; }
.h-sm { font-size: 22px; font-weight: 800; margin: 32px 0 14px; }

/* listings */
.listings { display: grid; gap: 0; }
.listing { border-top: 1px solid var(--line); padding: 18px 0; display: grid; gap: 6px; }
.listing.event { grid-template-columns: 64px 1fr; gap: 16px; align-items: start; }
.listing h2 { font-size: 20px; font-weight: 800; display: inline; }
.l-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
.l-sub { color: var(--text-2); font-weight: 500; }
.l-pay { font-size: 15.5px; }
.around-list { list-style: none; margin: 0 0 16px; padding: 0; }
.around-list li { border-top: 1px solid var(--line); padding: 14px 0; display: grid; gap: 4px; }
.ar-title { font-weight: 700; font-size: 18px; }
.around-list time { color: var(--muted); font-size: 13px; }
.contacts { display: grid; gap: 12px; margin: 0 0 8px; }
.contacts div { border-top: 1px solid var(--line); padding-top: 10px; }
.contacts dt { font-weight: 700; }
.contacts dd { margin: 0; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 8px; align-content: start; }
.tier.feat { border-color: var(--accent); box-shadow: inset 0 4px 0 var(--green); }
.tier h2 { font-size: 19px; font-weight: 800; }
.tier .price { font-weight: 800; color: var(--accent); font-size: 18px; }
.nl-page { display: grid; gap: 20px; padding: 8px 0 24px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 10px; }

/* article */
.article-wrap { margin-top: 24px; }
.crumbs { display: flex; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.article-header { display: grid; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.article-header h1 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; letter-spacing: -0.035em; }
.article-header .dek { font-size: 20px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.share-btn { font: 600 13.5px var(--font); color: var(--text); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 12px; text-decoration: none; cursor: pointer; }
.share-btn:hover { border-color: var(--accent); color: var(--accent); }
.ph-note { margin-top: 20px; background: var(--warn-bg); color: var(--warn-fg); padding: 12px 14px; border-radius: 4px; font-size: 15px; }
.article-body { font-size: 19px; line-height: 1.65; max-width: 68ch; padding-top: 20px; }
.article-body > * + * { margin-top: 1.1em; }
.article-body h2 { font-size: 26px; font-weight: 800; margin-top: 1.6em; }
.article-body h3 { font-size: 21px; font-weight: 800; margin-top: 1.4em; }
.article-body ul { padding-left: 1.2em; }
.article-body li + li { margin-top: .4em; }
.article-body a { text-underline-offset: 3px; }
.article-body .note { background: var(--soft); border-left: 4px solid var(--sprout); padding: 12px 16px; font-size: 16.5px; }
.prose { font-size: 18px; line-height: 1.65; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 24px; font-weight: 800; margin-top: 1.5em; scroll-margin-top: 16px; }
.prose ul { padding-left: 1.2em; }
.article-end { margin-top: 36px; display: grid; gap: 16px; }
.end-nl { background: var(--tint); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; }
.end-nl h2 { font-size: 22px; font-weight: 800; }
.corrections { font-size: 15px; color: var(--muted); }

/* search results */
#searchResults { margin-top: 24px; display: grid; gap: 0; }
.sr-item { border-top: 1px solid var(--line); padding: 16px 0; display: grid; gap: 4px; }
.sr-item a { font-size: 20px; font-weight: 800; }

/* news wire (Around Ypsi) */
.around-list a.ar-title { display: block; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; line-height: 1.25; }
.around-list a.ar-title:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.around-list .ar-sum { font-size: 15px; color: var(--text-2); }
.around-list .kicker { margin-right: 4px; }
.around-list.compact { margin: 0; }
.around-list.compact li { padding: 10px 0; gap: 3px; }
.around-list.compact a.ar-title { font-size: 15.5px; }
.around-list.compact li:first-child { border-top: 0; padding-top: 0; }

/* scoreboard (filled by scores.js) */
.sc-strip-head { display: flex; align-items: baseline; justify-content: space-between; border-top: 3px solid var(--rule); padding-top: 10px; margin-bottom: 12px; }
.sc-strip-head h2 { font-size: 22px; font-weight: 800; }
.sc-strip-head .more { font-size: 14px; font-weight: 700; text-decoration: none; }
.sc-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.sc-item { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; display: grid; gap: 4px; min-width: 0; }
.sc-team { font-weight: 800; font-size: 15px; display: flex; justify-content: space-between; gap: 6px; }
.sc-team em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.sc-body { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; font-size: 14px; color: var(--text-2); }
.sc-score { font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.sc-none { color: var(--muted); }
.sc-when { color: var(--muted); font-size: 13px; }
.sc-live { color: var(--alert); font-weight: 700; }
.sc-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--alert); margin-right: 5px; vertical-align: 1px; }
.sc-w, .sc-l, .sc-t { font-size: 11px; font-weight: 800; padding: 2px 5px; border-radius: 3px; }
.sc-w { background: var(--green); color: #fff; }
.sc-l { background: var(--line-strong); color: var(--text); }
.sc-t { background: var(--line); color: var(--text); }
.sc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.sc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: grid; gap: 6px; }
.sc-card-head { display: flex; justify-content: space-between; align-items: baseline; }
.sc-card-head span { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.sc-card-line { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; }
.sc-card-score { font-weight: 800; font-variant-numeric: tabular-nums; }
.sc-card-status, .sc-card-none { font-size: 13px; color: var(--muted); }
.sc-credit { font-size: 13px; color: var(--muted); margin-top: 10px; }
.sports-board { margin-bottom: 28px; }
.wire-empty { color: var(--muted); }

/* ================================================================ BRANDED FOOTER */
.nl-band { background: var(--green); color: #fff; padding: 36px 0; }
.nl-band .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.nl-band h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; margin-top: 6px; }
.home-nl { margin: 8px 0 12px; }
.home-nl .home-nl-sub { color: var(--on-brand-2, rgba(255,255,255,.85)); margin-top: 8px; font-size: 16px; }
.nl-band .btn { background: #fff; color: var(--green); border-color: #fff; }
.nl-band .btn:hover { background: var(--mist); border-color: var(--mist); color: var(--green-deep); }
.nl-band input[type=email] { border-color: transparent; background: #fff; color: var(--pine); }
.nl-band input[type=email]::placeholder { color: #55625B; }
.nl-band .nl-success { background: rgba(255,255,255,.12); color: #fff; border-left-color: var(--sprout); }
.nl-band .nl-error { color: #FFD2CC; }
.nl-band .nl-preview { background: #FFF4D6; color: #6A4A00; }
.site-footer { background: var(--pine); color: var(--on-brand-2); padding: 44px 0 28px; font-size: 15px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sprout); text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand img { height: 42px; width: auto; }
.footer-brand .family { font-size: 13.5px; color: var(--sprout); }
.site-footer h2 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--sprout); margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 13.5px; }
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.theme-pick { display: inline-flex; gap: 4px; align-items: center; }
.theme-pick span { margin-right: 4px; }
.theme-pick button { font: 600 13px var(--font); color: var(--on-brand-2); background: transparent; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 4px 10px; cursor: pointer; }
.theme-pick button:hover { color: #fff; border-color: #fff; }
.theme-pick button[aria-pressed="true"] { background: var(--sprout); color: var(--pine); border-color: var(--sprout); }

/* ------------------------------------------------------------- homepage lead + feed */
.lead { display: block; margin-top: 32px; padding-bottom: 32px; border-bottom: 3px solid var(--rule); }
.lead-copy { display: grid; gap: 14px; align-content: start; max-width: 860px; }
.lead-copy h1 { font-size: clamp(32px, 4.2vw, 54px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
.lead-copy h1 a, .spot h3 a, .feed-item h3 a { color: var(--text); text-decoration: none; }
.lead-copy h1 a:hover, .spot h3 a:hover, .feed-item h3 a:hover { text-decoration: underline; text-decoration-color: var(--underline); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.lead-copy .dek { font-size: 20px; max-width: 62ch; }
.lead-preview { max-width: 68ch; display: grid; gap: 12px; border-left: 3px solid var(--underline); padding-left: 16px; color: var(--text-2); font-size: 16.5px; }
.lead-preview p { margin: 0; }
.lead-preview[hidden] { display: none; }
.lead-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 4px; }
.preview-toggle { font: inherit; font-size: 15px; font-weight: 700; color: var(--text); background: var(--soft); border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.preview-toggle:hover { border-color: var(--accent); }
.preview-toggle[hidden] { display: none; }
.also { margin-top: 28px; }
.also .label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding-bottom: 8px; border-bottom: 3px solid var(--rule); margin: 0; }
.also-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .9fr); gap: 32px; margin-top: 20px; }
.spot { display: grid; gap: 8px; align-content: start; }
.spot h3 { font-size: 22px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.spot .dek, .feed-item .dek { font-size: 15.5px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.spot .meta, .feed-item .meta { font-size: 13px; }
.also-more .label { border-bottom-width: 2px; }
.also-more .also-list li:first-child { padding-top: 12px; }
.also-more .also-list li > a { font-size: 17.5px; }
.feed { display: grid; }
.feed-item { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.feed-item:first-child { padding-top: 2px; }
.feed-item h3 { font-size: 21px; font-weight: 800; line-height: 1.2; letter-spacing: -0.015em; }
.feed-item .dek { -webkit-line-clamp: 2; max-width: 70ch; }
.feed-all { margin-top: 20px; }

/* ------------------------------------------------------------- media kit + support */
.mk-intro { display: grid; gap: 10px; margin-bottom: 8px; max-width: 70ch; }
.mk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 14px 0 12px; }
.mk-offer { display: grid; gap: 8px; align-content: start; grid-template-rows: auto auto auto 1fr auto; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--surface); }
.mk-offer.feat { border-color: var(--accent); box-shadow: inset 0 4px 0 var(--green); }
.mk-offer h3 { font-size: 20px; font-weight: 800; }
.mk-price { margin: 0; font-size: 15px; color: var(--muted); }
.mk-price strong { font-size: 28px; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; margin-right: 4px; }
.mk-billing { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.mk-gets { margin: 4px 0 0; padding-left: 1.1em; font-size: 15.5px; display: grid; gap: 4px; }
.mk-note { margin: 0; font-size: 14px; color: var(--muted); }
.mk-cta { display: grid; gap: 6px; margin-top: 8px; }
.mk-buy { text-align: center; }
.mk-how { font-size: 12.5px; color: var(--muted); text-align: center; }
.mk-custom { padding-left: 1.1em; display: grid; gap: 8px; max-width: 70ch; }
.mk .h-sm { margin-top: 28px; }
.support-box { background: var(--tint); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px; display: grid; gap: 10px; max-width: 640px; }
.support-line { font-size: 19px; font-weight: 700; margin: 0; }
.support-box p { margin: 0; }
.support-btn { font-size: 17px; padding: 12px 22px; }
@media (max-width: 640px) { .mk-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- business directory */
.dir-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.chip { display: inline-flex; gap: 6px; align-items: center; padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--text); }
.chip span { color: var(--muted); font-weight: 600; }
.chip:hover { border-color: var(--accent); }
.dir-group { margin-top: 22px; scroll-margin-top: 16px; }
.dir-card h3 { font-size: 20px; font-weight: 800; }
.dir-card { scroll-margin-top: 16px; }
.dir-tag { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 2px 8px; margin-left: 6px; }
.dir-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 15.5px; }
.dir-join { margin-top: 32px; padding: 20px; border: 1px solid var(--accent); border-radius: var(--radius); box-shadow: inset 0 4px 0 var(--green); display: grid; gap: 10px; }
.dir-join .h-sm { margin: 0; }
.dir-price { margin: 0; color: var(--muted); }
.dir-price strong { font-size: 28px; color: var(--accent); margin-right: 4px; }
.dir-join p { margin: 0; }
.dir-rail li { display: grid; gap: 2px; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .lead { gap: 28px; }
  .also-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .also-more { grid-column: 1 / -1; }
  .also-more .also-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; }
  .also-more .also-list li { padding-top: 12px; }
  .with-rail { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
  .brand-sub { display: none; }
}

@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .topstrip { display: none; }
  .mainnav { display: none; }
  .masthead > .wrap { padding-top: 12px; padding-bottom: 10px; gap: 10px; }
  .brand img { height: 36px; }
  .btn-submit-story { display: none; }
  .hamburger { display: inline-flex; }
  .secbar { display: block; background: var(--green-dark); border-bottom: 1px solid var(--pine); }
  .secbar ul { list-style: none; margin: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
    padding: 9px var(--gutter-r) 10px var(--gutter); -webkit-overflow-scrolling: touch; }
  .secbar ul::-webkit-scrollbar { display: none; }
  .secbar a { display: block; white-space: nowrap; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.1); }
  .secbar a:hover { background: rgba(255,255,255,.2); }
  .secbar a.on { background: var(--sprout); color: var(--pine); }
  .today-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--rule); }
  .today-line h2 { font-size: 20px; font-weight: 800; }
  .tl-meta { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); font-weight: 600; }
  .tl-meta .js-wx:not(:empty) { border-left: 1px solid var(--line); padding-left: 10px; }
  .tl-meta .wx-strip { color: var(--muted); }
  .tl-meta .wx-strip .wx-temp { color: var(--text); }
  .tl-meta .wx-cond { display: none; }
  .hero { grid-template-columns: 1fr; gap: 24px; margin-top: 18px; }
  .lead { grid-template-columns: 1fr; gap: 18px; margin-top: 18px; padding-bottom: 24px; }
  .lead-copy h1 { font-size: 34px; }
  .lead-copy .dek { font-size: 17.5px; }
  .also-more .also-list { grid-template-columns: 1fr; }
  .hero-main h1 { font-size: 32px; }
  .hero-main .dek { font-size: 17.5px; }
  .with-rail { grid-template-columns: 1fr; gap: 36px; }
  .nl-desktop-only { display: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .explore-grid { grid-template-columns: 1fr 1fr; }
  .nl-band .wrap { grid-template-columns: 1fr; gap: 16px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .tiers { grid-template-columns: 1fr; }
  .article-body { font-size: 18px; }
  .wx-page .wx-days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .lead-copy { gap: 12px; }
  .lead-copy h1 { font-size: 28px; }
  .also-grid { grid-template-columns: 1fr; gap: 26px; }
  .spot h3 { font-size: 20px; }
  .feed-item h3 { font-size: 19px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 20px; }
  .explore-grid { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  .hb-label { display: none; }
  .mp-group ul { grid-template-columns: 1fr; }
  .page-head .lede { font-size: 17px; }
  .article-header .dek { font-size: 18px; }
}

@media (prefers-reduced-motion: no-preference) {
  .card h3 a, .btn, .explore-tile, .mainnav a, .icon-btn { transition: color .15s, background-color .15s, border-color .15s; }
}

/* First-visit newsletter pop-up (newsletter.js decides when to show it) */
.nl-pop { width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; border: 0; border-radius: 10px; padding: 28px 24px 18px; background: var(--green); color: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.nl-pop::backdrop { background: rgba(6, 20, 13, .62); }
.nl-pop[open] { animation: nlPopIn .18s ease-out; }
@keyframes nlPopIn { from { transform: translateY(10px); } to { transform: none; } }
.nl-pop-logo { display: block; height: 34px; width: auto; margin-bottom: 14px; }
.nl-pop h2 { font-size: 24px; line-height: 1.2; font-weight: 800; margin: 6px 0 8px; color: #fff; }
.nl-pop p { color: var(--on-brand-2, #C9DCD0); font-size: 15.5px; margin: 0 0 16px; }
.nl-pop .nl-form .btn { flex: 1 1 100%; background: #fff; border-color: #fff; color: var(--green); }
.nl-pop .nl-form .btn:hover { background: var(--mist); border-color: var(--mist); }
.nl-pop input[type=email] { flex: 1 1 100%; border-color: transparent; background: #fff; color: var(--pine); font-size: 16px; }
.nl-pop input[type=email]::placeholder { color: #55625B; }
.nl-pop .nl-success { background: rgba(255,255,255,.12); color: #fff; border-left-color: var(--sprout); }
.nl-pop .nl-error { color: #FFD2CC; }
.nl-pop-x { position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; border: 0; background: transparent; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; border-radius: 50%; }
.nl-pop-x:hover, .nl-pop-x:focus-visible { background: rgba(255,255,255,.14); }
.nl-pop-no { display: block; margin: 12px auto 0; border: 0; background: transparent; color: var(--on-brand-2, #C9DCD0); font-size: 14px; text-decoration: underline; cursor: pointer; padding: 6px; }
@media (prefers-reduced-motion: reduce) { .nl-pop[open] { animation: none; } }
