/* Wayne Hall for Fairview. Layout: full-width bands on warm earth tones, one centered column, the card rail and charts as the two set pieces. */
:root {
  color-scheme: light;
  --bg: #F4EDE1;        /* oat */
  --bg-2: #EBDFCB;      /* wheat, for alternating bands */
  --surface: #FCF8F1;   /* card and chart paper */
  --ink: #1D2822;
  --ink-2: #566058;
  --line: #D9CCB5;
  --pine: #1D4A39;
  --pine-2: #2C6650;
  --cream: #F7F1E6;
  --accent: #A8431F;
  --c1: #178A63; --c1-tint: #9FCDB9;
  --c2: #C2571B;
  --c3: #2C5EA8;
  --grid: #E4DAC8;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 20px;
  --shadow: 0 1px 2px rgba(46, 36, 18, .06), 0 12px 32px -12px rgba(46, 36, 18, .18);
  padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px);
}
:root[data-page="record"] { --bg: #F3EAD5; --bg-2: #E9DCBF; }   /* straw */
:root[data-page="growth"] { --bg: #EEEBDB; --bg-2: #E2DFC9; }   /* sage hay */
:root[data-page="about"]  { --bg: #F4E7DB; --bg-2: #EBD8C7; }   /* clay blush */
:root[data-page="faq"]    { --bg: #F2ECDD; --bg-2: #E8DEC8; }   /* linen */
:root[data-page="vote"]   { --bg: #F6ECD2; --bg-2: #EDDFBA; }   /* buttermilk */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--pine); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0; text-wrap: balance; letter-spacing: -0.02em; line-height: 1.06; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
blockquote { margin: 0; }
button { font: inherit; color: inherit; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--pine); color: var(--cream); padding: 10px 16px; z-index: 100; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }

/* ---------- header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.1; }
.brand-name { font: 800 1.4rem/1 var(--display); letter-spacing: -0.03em; }
.brand-sub { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { border-bottom-color: var(--line); }
.nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--accent); }
.menu-btn { display: none; background: none; border: 1px solid var(--ink); border-radius: 999px; padding: 8px 16px; font-weight: 600; cursor: pointer; }

/* ---------- buttons and small parts */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--pine); color: var(--cream); text-decoration: none; font-weight: 600; padding: 14px 24px; border-radius: 999px; border: 1.5px solid var(--pine); transition: background .2s, transform .2s; }
.btn:hover { background: var(--pine-2); color: var(--cream); transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--pine); }
.btn-ghost:hover { background: color-mix(in srgb, var(--pine) 8%, transparent); color: var(--pine); }
.btn-light { background: var(--cream); color: var(--pine); border-color: var(--cream); }
.btn-light:hover { background: #fff; color: var(--pine); }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; margin-right: 28px; }
.after { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px 0; }
.note { color: var(--ink-2); font-size: .92rem; margin-top: 18px; max-width: 70ch; }

/* ---------- sections */
.sec { padding-block: clamp(56px, 8vw, 104px); }
.tint { background: var(--bg-2); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-bottom: 32px; }
.sec-head > div:first-child { max-width: 760px; min-width: 0; }
.sec-head h2, .split-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 700; }
.sub { color: var(--ink-2); margin-top: 14px; max-width: 62ch; font-size: 1.1rem; }

/* ---------- hero */
.hero { overflow: hidden; padding-block: clamp(40px, 6vw, 84px) clamp(48px, 6vw, 80px); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(3.3rem, 9.4vw, 7.6rem); font-weight: 800; letter-spacing: -0.045em; line-height: .92; }
.hero h1 .vote { display: block; font-size: .42em; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .35em; line-height: 1; }
.office { font: 600 clamp(1.25rem, 2.6vw, 1.9rem)/1.2 var(--display); letter-spacing: -0.01em; margin-top: 18px; color: var(--pine); }
.lede { font-size: clamp(1.15rem, 1.9vw, 1.4rem); line-height: 1.45; margin-top: 22px; max-width: 34em; color: var(--ink); }
.hero .lede { font-family: var(--display); font-weight: 500; max-width: 22em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fan { position: relative; aspect-ratio: 1 / 1.02; max-width: 520px; width: 100%; justify-self: center; }
.fan img { position: absolute; width: 56%; border-radius: 14px; box-shadow: var(--shadow); top: 8%; left: 22%; }
.fan img:nth-child(1) { transform: translate(-58%, 6%) rotate(-9deg); }
.fan img:nth-child(3) { transform: translate(58%, 6%) rotate(9deg); }
.fan img:nth-child(2) { z-index: 2; transform: translateY(-4%); }

/* ---------- dates */
.band { background: var(--pine); color: var(--cream); padding-block: 26px; }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; }
.band-note { font: 600 1.05rem/1.3 var(--display); background: color-mix(in srgb, var(--cream) 14%, transparent); padding: 8px 16px; border-radius: 999px; }
.band-note.dark { display: inline-block; margin-top: 24px; background: var(--pine); color: var(--cream); }
.dates { display: flex; flex-wrap: wrap; gap: 14px 48px; margin: 0; }
.dates dt { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.dates dd { margin: 4px 0 0; font: 600 clamp(1.05rem, 1.8vw, 1.3rem)/1.3 var(--display); }

/* ---------- card rail */
.rail-sec { background: var(--bg-2); padding-block: clamp(56px, 8vw, 104px); }
.rail-ctl { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rail-ctl-b { justify-content: center; margin-top: 26px; }
.count { font: 700 1.25rem/1 var(--display); font-variant-numeric: tabular-nums; color: var(--ink); min-width: 5.2em; text-align: center; }
.nav-btn { display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 26px; border-radius: 999px; border: 0; background: var(--accent); color: #fff; font: 700 1.08rem/1 var(--body); cursor: pointer; box-shadow: 0 10px 22px -10px rgba(168, 67, 31, .75); transition: background .2s, transform .2s, opacity .2s; }
.nav-btn svg, .side-btn svg { width: 24px; height: 24px; }
.nav-btn svg path, .side-btn svg path { stroke-width: 2.6; }
.nav-btn:hover:not(:disabled), .side-btn:hover:not(:disabled) { background: #87341A; transform: translateY(-2px); }
.nav-btn:disabled, .side-btn:disabled { opacity: .32; cursor: default; box-shadow: none; }
.rail-wrap { position: relative; }
.side-btn { position: absolute; top: 50%; z-index: 4; width: 68px; height: 68px; margin-top: -46px; border-radius: 50%; border: 4px solid var(--bg-2); background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 28px -10px rgba(46, 36, 18, .55); transition: background .2s, transform .2s, opacity .2s; }
.side-btn svg { width: 30px; height: 30px; }
.side-prev { left: max(10px, calc((100vw - var(--max)) / 2 + var(--gutter) - 34px)); }
.side-next { right: max(10px, calc((100vw - var(--max)) / 2 + var(--gutter) - 34px)); }
.side-btn:disabled { opacity: 0; pointer-events: none; }
@keyframes nudge { 0%, 100% { box-shadow: 0 0 0 0 rgba(168, 67, 31, .55), 0 14px 28px -10px rgba(46, 36, 18, .55); } 60% { box-shadow: 0 0 0 16px rgba(168, 67, 31, 0), 0 14px 28px -10px rgba(46, 36, 18, .55); } }
.rail-sec:not(.used) [data-rail="next"]:not(:disabled) { animation: nudge 1.8s ease-out infinite; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px; font-size: .92rem; font-weight: 500; cursor: pointer; }
.chip span { color: var(--ink-2); font-variant-numeric: tabular-nums; margin-left: 4px; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip[aria-pressed="true"] span { color: inherit; opacity: .7; }
.rail { --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); padding: 6px var(--edge) 30px; scrollbar-width: none; position: relative; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.card { flex: 0 0 min(880px, 88vw); scroll-snap-align: start; display: grid; grid-template-columns: 340px minmax(0, 1fr); background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card-art { background: color-mix(in srgb, var(--bg-2) 70%, var(--line)); padding: 24px; display: grid; place-items: center; }
.zoom { border: 0; padding: 0; background: none; cursor: zoom-in; display: block; border-radius: 12px; }
.zoom img { border-radius: 12px; box-shadow: 0 8px 22px -10px rgba(46, 36, 18, .45); aspect-ratio: 4 / 5; object-fit: cover; }
.card-body { padding: 30px 32px 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.meta span:first-child { color: var(--accent); }
.card h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 700; }
.card-body p { font-size: 1rem; }
.more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.progress { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 2%; background: var(--pine); border-radius: 3px; transition: width .25s; }

/* ---------- stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.stat { padding: 26px 24px 26px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat-v { font: 700 clamp(1.9rem, 3.6vw, 2.9rem)/1 var(--display); letter-spacing: -0.03em; color: var(--pine); }
.stat-l { margin-top: 10px; font-weight: 600; line-height: 1.35; }
.stat-n { margin-top: 6px; font-size: .88rem; color: var(--ink-2); line-height: 1.4; }

/* ---------- charts */
.chart { margin: 0 0 36px; background: var(--surface); border-radius: var(--radius); padding: clamp(18px, 3vw, 32px); box-shadow: var(--shadow); min-width: 0; }
.chart figcaption h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }
.chart figcaption p { color: var(--ink-2); margin-top: 6px; font-size: .95rem; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0 6px; font-size: .88rem; color: var(--ink-2); }
.legend li { display: flex; align-items: center; gap: 8px; }
.key { display: inline-block; flex: 0 0 auto; }
.key.line { width: 22px; height: 0; border-top: 2.5px solid var(--c1); }
.key.line.dash { border-top-style: dashed; }
.key.line.c2 { border-color: var(--c2); } .key.line.c3 { border-color: var(--c3); }
.key.box { width: 12px; height: 12px; border-radius: 3px; background: var(--c1); }
.key.box.p { background: var(--c1-tint); }
.key.dot { width: 11px; height: 11px; background: var(--ink); transform: rotate(45deg); }
.plot { position: relative; width: 100%; min-height: 260px; margin-top: 8px; }
.plot svg { display: block; width: 100%; height: auto; overflow: visible; }
.plot text { font-family: var(--body); fill: var(--ink-2); font-size: 12px; font-variant-numeric: tabular-nums; }
.plot .lbl { fill: var(--ink); font-weight: 600; font-size: 12.5px; }
.plot .ann { fill: var(--ink-2); font-size: 11.5px; }
.plot .grid { stroke: var(--grid); stroke-width: 1; }
.plot .axis { stroke: var(--line); stroke-width: 1; }
.plot .vline { stroke: var(--ink-2); stroke-width: 1; opacity: .55; }
.plot .cross { stroke: var(--ink); stroke-width: 1; opacity: .5; }
.plot .s { fill: none; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.plot .c1 { stroke: var(--c1); } .plot .c2 { stroke: var(--c2); } .plot .c3 { stroke: var(--c3); }
.plot .f1 { fill: var(--c1); } .plot .f2 { fill: var(--c2); } .plot .f3 { fill: var(--c3); }
.plot .dot { stroke: var(--surface); stroke-width: 2; }
.plot .bar-c { fill: var(--c1); } .plot .bar-p { fill: var(--c1-tint); }
.plot .bar { transition: opacity .15s; cursor: default; }
.plot .bar:hover, .plot .bar:focus { opacity: .8; outline: none; }
.plot .mark { fill: var(--ink); stroke: var(--surface); stroke-width: 2; }
.tip { position: absolute; pointer-events: none; background: var(--ink); color: var(--cream); padding: 10px 12px; border-radius: 10px; font-size: .84rem; line-height: 1.35; min-width: 150px; max-width: 250px; box-shadow: var(--shadow); z-index: 5; }
.tip b { display: block; font-weight: 600; margin-bottom: 4px; }
.tip .row { display: flex; gap: 8px; align-items: baseline; }
.tip .row i { flex: 0 0 14px; height: 0; border-top: 2.5px solid currentColor; transform: translateY(-3px); }
.tip .row strong { font-variant-numeric: tabular-nums; }
.tip .row span { opacity: .78; }
.nums { margin-top: 14px; }
.nums summary { cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--pine); width: fit-content; }
.tbl { overflow-x: auto; margin-top: 12px; }
.tbl table { border-collapse: collapse; width: 100%; font-size: .9rem; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { text-align: right; padding: 7px 12px; border-bottom: 1px solid var(--grid); white-space: nowrap; }
.tbl th:first-child { text-align: left; }
.tbl thead th { font-weight: 600; color: var(--ink-2); white-space: normal; vertical-align: bottom; }
.tbl tbody th { font-weight: 500; }
.chart .src, .entry .src { font-size: .82rem; color: var(--ink-2); margin-top: 14px; line-height: 1.5; }
.chart.pre .late { opacity: 0; }
.chart .late { transition: opacity .6s 1.1s; }

.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-bottom: 40px; align-items: start; }
.cols2 h3, .sub-h { font-size: 1.3rem; font-weight: 700; margin-bottom: 14px; }
.facts li { padding: 12px 0 12px 22px; border-top: 1px solid var(--line); position: relative; }
.facts li::before { content: ''; position: absolute; left: 0; top: 23px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.did li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); }
.did a { font-weight: 600; text-decoration: none; }
.did a:hover { text-decoration: underline; }
.did span { color: var(--ink-2); font-size: .86rem; white-space: nowrap; }
.asks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-top: 8px; }
.asks > div { padding: 22px 22px 6px 0; }
.asks > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.asks h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.asks p { font-size: .98rem; color: var(--ink-2); }
.sub-h { margin-top: 48px; }
.closing-q { font: 600 clamp(1.4rem, 2.8vw, 2.1rem)/1.25 var(--display); letter-spacing: -0.02em; margin-top: 48px; max-width: 26em; color: var(--pine); text-wrap: balance; }
.sources li { padding: 12px 0; border-top: 1px solid var(--line); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.jump a { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 16px; text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--ink); }
.jump a:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- quotes, pine band, closing */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.trio blockquote { padding: 30px 28px 6px 0; }
.trio blockquote + blockquote { padding-left: 28px; border-left: 1px solid var(--line); }
.trio p, .big p { font: 600 clamp(1.3rem, 2.3vw, 1.75rem)/1.25 var(--display); letter-spacing: -0.02em; text-wrap: balance; }
.big p { font-size: clamp(1.5rem, 3vw, 2.3rem); color: var(--pine); }
.quote-side { color: var(--ink-2); margin-top: 16px; }
.pine { background: var(--pine); color: var(--cream); padding-block: clamp(56px, 8vw, 100px); }
.pine-in { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.roles { font: 700 clamp(1.8rem, 4.6vw, 3.6rem)/1.08 var(--display); letter-spacing: -0.03em; max-width: 20em; text-wrap: balance; }
.roles span { opacity: .62; }
.roles em { font-style: normal; }
.qlinks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.qlinks a { display: block; padding: 22px 28px 22px 0; border-bottom: 1px solid var(--line); font: 600 1.2rem/1.3 var(--display); letter-spacing: -0.01em; text-decoration: none; color: var(--ink); }
.qlinks a:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.qlinks a:hover { color: var(--accent); }
.close-in { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.close h2 { font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.035em; max-width: 14em; }
.close .dates dt { color: var(--accent); opacity: 1; }

/* ---------- page heads */
.phead { padding-block: clamp(44px, 7vw, 88px) clamp(28px, 4vw, 48px); }
.phead h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); font-weight: 800; letter-spacing: -0.04em; max-width: 16em; }
.phead .lede { color: var(--ink-2); max-width: 44em; }
.phead-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.phead-art .zoom img { max-width: 300px; width: 100%; margin-inline: auto; transform: rotate(3deg); }

/* ---------- record */
.rec { padding-top: 12px; }
.rec-in { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.rec-side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 88px); max-height: calc(100vh - 110px); overflow-y: auto; }
.side-label { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.eras { display: flex; flex-direction: column; gap: 2px; margin-bottom: 26px; }
.eras a { text-decoration: none; padding: 6px 0; font-size: .95rem; line-height: 1.3; color: var(--ink); }
.eras a:hover { color: var(--accent); }
.rec-side .chips { flex-direction: column; align-items: flex-start; margin-bottom: 0; }
.era { margin-bottom: 56px; scroll-margin-top: 96px; }
.era > h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.era-note { color: var(--ink-2); margin-top: 14px; font-size: .95rem; }
.entry { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 26px; padding: 30px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.entry-body { display: flex; flex-direction: column; gap: 10px; max-width: 68ch; }
.entry h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; }
.entry:target { background: color-mix(in srgb, var(--surface) 70%, transparent); margin-inline: -18px; padding-inline: 18px; border-radius: 14px; }
.empty { color: var(--ink-2); padding: 24px 0; }

/* ---------- about, values, vote, faq */
.split { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.split-head { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); }
.split-head h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; }
.split-head p { color: var(--ink-2); margin-top: 12px; }
#values > .wrap:first-child .sec-head { margin-bottom: 44px; }
.tl li { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.tl li:first-child { border-top: 2px solid var(--ink); }
.tl-when { font-weight: 600; color: var(--accent); font-size: .95rem; padding-top: 3px; }
.tl h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 8px; }
.tl-links { margin-top: 10px; font-size: .92rem; color: var(--ink-2); }
.topics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.topic { background: var(--surface); border-radius: var(--radius); padding: 24px 20px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); transition: transform .2s; }
.topic:hover { transform: translateY(-3px); color: var(--ink); }
.topic-n { font: 800 2.6rem/1 var(--display); color: var(--pine); letter-spacing: -0.03em; }
.topic-t { font-weight: 600; line-height: 1.3; }
.says li { display: grid; grid-template-columns: minmax(0, 1fr) 68px; gap: 24px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); }
.says li:first-child { border-top: 2px solid var(--ink); }
.says p { font: 600 clamp(1.2rem, 2.2vw, 1.65rem)/1.25 var(--display); letter-spacing: -0.02em; text-wrap: balance; }
.zoom.mini img { border-radius: 6px; box-shadow: none; }
.when { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.when-card { background: var(--surface); border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.when-card.solid { background: var(--pine); color: var(--cream); }
.when-label { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.when-card.solid .when-label { color: var(--cream); opacity: .75; }
.when-date { font: 700 clamp(1.6rem, 3.6vw, 2.7rem)/1.1 var(--display); letter-spacing: -0.03em; }
.when-thru { margin: 8px 0; opacity: .75; }
.steps { counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 2px solid var(--ink); }
.steps li::before { content: counter(s); grid-row: span 2; font: 800 2rem/1 var(--display); color: var(--accent); }
.steps h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.steps p { grid-column: 2; }
.picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.faq-in { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq-toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); display: flex; flex-direction: column; max-height: calc(100vh - 120px); overflow-y: auto; }
.faq-toc a { padding: 9px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: .93rem; line-height: 1.35; color: var(--ink); }
.faq-toc a:hover { color: var(--accent); }
.qa { padding: 34px 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; max-width: 70ch; }
.qa:first-child { border-top: 2px solid var(--ink); }
.qa h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 700; margin-bottom: 14px; }
.qa p + p { margin-top: 12px; }
.qa p:first-of-type { font-size: 1.12rem; }

/* ---------- footer, lightbox */
.foot { background: var(--ink); color: var(--cream); padding-block: 56px 44px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 30px 48px; align-items: start; }
.foot-name { font: 800 clamp(1.7rem, 3.4vw, 2.6rem)/1 var(--display); letter-spacing: -0.03em; }
.foot-sub { margin-top: 8px; opacity: .8; }
.foot .dates { flex-direction: column; gap: 14px; }
.foot-nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 26px; border-top: 1px solid color-mix(in srgb, var(--cream) 22%, transparent); }
.foot-nav a { color: var(--cream); text-decoration: none; font-weight: 500; }
.foot-nav a:hover { text-decoration: underline; color: var(--cream); }
.fine { grid-column: 1 / -1; font-size: .84rem; opacity: .7; max-width: 80ch; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 620px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 24, 20, .82); }
.lightbox img { border-radius: 14px; max-height: 84vh; width: auto; margin-inline: auto; }
.lb-close { display: block; margin: 0 0 10px auto; background: var(--cream); color: var(--ink); border: 0; border-radius: 999px; padding: 8px 18px; font-weight: 600; cursor: pointer; }

/* ---------- narrower screens */
@media (max-width: 1020px) {
  .stats, .asks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3), .asks > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3), .asks > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .topics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rec-in, .split, .faq-in { grid-template-columns: minmax(0, 1fr); }
  .rec-side, .split-head, .faq-toc { position: static; max-height: none; }
  .rec-side .chips { flex-direction: row; }
  .eras { flex-direction: row; flex-wrap: wrap; gap: 4px 18px; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav .btn { margin-top: 16px; justify-content: center; }
  .hero-in, .phead-split { grid-template-columns: minmax(0, 1fr); }
  .fan { max-width: 380px; }
  .phead-art { display: none; }
  .card { grid-template-columns: minmax(0, 1fr); flex-basis: min(420px, 86vw); align-self: flex-start; }
  .card-art { padding: 18px; }
  .card-art .zoom img { max-width: 300px; width: 100%; }
  .card-body { padding: 22px 22px 24px; }
  .cols2, .trio, .when, .qlinks { grid-template-columns: minmax(0, 1fr); }
  .trio blockquote, .trio blockquote + blockquote { padding: 24px 0 20px; border-left: 0; border-bottom: 1px solid var(--line); }
  .qlinks a, .qlinks a:nth-child(even) { padding: 20px 0; border-left: 0; }
  .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .stats, .asks { grid-template-columns: minmax(0, 1fr); }
  .stat, .stat + .stat, .asks > div, .asks > div + div { padding: 20px 0; border-left: 0; }
  .stat + .stat, .asks > div + div { border-top: 1px solid var(--line); }
  .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entry { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; }
  .did li { flex-direction: column; gap: 2px; }
  .says li { grid-template-columns: minmax(0, 1fr) 52px; gap: 14px; }
  .steps li { grid-template-columns: 38px minmax(0, 1fr); }
  .nav-btn { height: 54px; padding: 0 20px; font-size: 1rem; }
  .count { font-size: 1.1rem; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- late fixes */
.entry > .zoom { align-self: start; }
.rec-side .chip { text-align: left; }
.when-date { font-size: clamp(1.5rem, 3vw, 2.25rem); }

/* ---------- card navigation layout */
.rail-sec .sec-head { flex-wrap: nowrap; align-items: flex-end; }
.rail-sec .sec-head > div:first-child { flex: 1 1 auto; }
.rail-sec .rail-ctl { flex: 0 0 auto; flex-wrap: nowrap; }
@media (max-width: 860px) {
  .rail-sec .sec-head { flex-wrap: wrap; }
  .rail-sec .rail-ctl { width: 100%; justify-content: space-between; gap: 8px; }
  .side-btn { display: none; }
}

/* ---------- how Wayne serves (home) */
.hero .lede { max-width: 25em; }
.serve-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.serve-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 700; }
.serve-lead { font-size: clamp(1.1rem, 1.6vw, 1.26rem); line-height: 1.62; }
.serve-ask { display: block; margin-top: .9em; font: 600 clamp(1.3rem, 2.3vw, 1.75rem)/1.25 var(--display); letter-spacing: -0.02em; color: var(--pine); text-wrap: balance; }
.serve-sig { margin-top: 20px; padding-top: 16px; border-top: 2px solid var(--ink); display: inline-block; font: 700 1.05rem/1 var(--display); letter-spacing: -0.01em; }
.serve-h { margin-top: clamp(40px, 6vw, 64px); }
@media (max-width: 860px) {
  .serve-in { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- hero banner image (home) */
.hero-art { max-width: 520px; width: 100%; justify-self: center; }
.hero-art img { width: 100%; border-radius: 10px; box-shadow: var(--shadow); }
@media (max-width: 860px) {
  .hero-art { max-width: 420px; }
}

/* ---------- early voting in progress: red, white and blue sweep on the pill */
.band-note.live {
  color: #fff; letter-spacing: .03em;
  background: linear-gradient(90deg, #BF0A30 0%, #BF0A30 22%, #FFFFFF 50%, #002868 78%, #002868 100%);
  background-size: 300% 100%; background-position: 0% 50%;
  text-shadow: 0 0 1px #0B1730, 1px 0 0 #0B1730, -1px 0 0 #0B1730, 0 1px 0 #0B1730, 0 -1px 0 #0B1730, 1px 1px 0 #0B1730, -1px -1px 0 #0B1730, 1px -1px 0 #0B1730, -1px 1px 0 #0B1730, 0 2px 6px rgba(11, 23, 48, .55);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .85), 0 8px 22px -10px rgba(0, 0, 0, .6);
  animation: flagsweep 4.5s ease-in-out infinite alternate;
}
@keyframes flagsweep { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) {
  .band-note.live { animation: none; background-size: 100% 100%; }
}

/* ---------- card rail: the card in view gets a more visible container, leaning rust */
.rail .card { transition: background-color .35s, box-shadow .35s; }
.rail .card-art { transition: background-color .35s; }
.rail .card.is-current { background: color-mix(in srgb, var(--accent) 6%, var(--surface)); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 55%, var(--line)), 0 18px 36px -14px rgba(168, 67, 31, .45); }
.rail .card.is-current .card-art { background: color-mix(in srgb, var(--accent) 22%, var(--bg-2)); }

/* ---------- Facebook: header follow button and round footer icon */
.btn-fb { background: #1877F2; border-color: #1877F2; color: #fff; gap: 8px; white-space: nowrap; }
.btn-fb:hover { background: #0F65D8; border-color: #0F65D8; color: #fff; }
.btn-fb svg { flex: 0 0 auto; }
.foot-fb { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-top: 20px; border-radius: 50%; background: #1877F2; color: #fff; transition: background .2s, transform .2s; }
.foot-fb:hover { background: #0F65D8; color: #fff; transform: translateY(-2px); }
.nav a { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1100px) {
  .nav { gap: 14px; }
  .btn-fb { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .btn-fb > span { display: none; }
  .btn-fb svg { width: 22px; height: 22px; }
}

/* ---------- Spanish pages and language links */
.hero-art { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero-art .zoom { width: 100%; border-radius: 10px; }
.hero-art .zoom img { aspect-ratio: auto; box-shadow: var(--shadow); border-radius: 10px; }
.hero-art-tall { max-width: 440px; }
.btn-lang { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-lang:hover { background: #87341A; border-color: #87341A; color: #fff; }
.hero-es-title { font: 700 clamp(1.5rem, 2.8vw, 2.2rem)/1.12 var(--display); letter-spacing: -0.02em; margin-top: 24px; }
.hero-msg { margin-top: 14px; max-width: 36em; display: grid; gap: 12px; font-size: 1.06rem; }
.hero-es h1 { font-size: clamp(3rem, 8vw, 6.4rem); }
.foot-nav .lang { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
html[lang="es"] .nav { gap: clamp(12px, 1.6vw, 22px); }
@media (min-width: 861px) and (max-width: 1240px) {
  html[lang="es"] .nav { gap: 12px; }
  html[lang="es"] .nav a:not(.btn) { font-size: .93rem; }
  html[lang="es"] .btn-fb { width: 40px; height: 40px; padding: 0; justify-content: center; }
  html[lang="es"] .btn-fb > span { display: none; }
  html[lang="es"] .btn-fb svg { width: 22px; height: 22px; }
}
@media (max-width: 860px) {
  .hero-art-tall { max-width: 380px; }
}

/* ---------- campaign-over thank-you page */
.thanks-head { padding-block: clamp(56px, 9vw, 120px) clamp(20px, 3vw, 36px); }
.thanks-head h1 { font-size: clamp(2.8rem, 8.4vw, 6.6rem); letter-spacing: -0.045em; line-height: .95; max-width: none; }
.thanks-head .lede { color: var(--ink); max-width: 30em; font-family: var(--display); font-weight: 500; }
.thanks-p { margin-top: 1em; }
.thanks-close { margin-top: 26px; color: var(--ink-2); }
.thanks-close + .serve-sig { margin-top: 10px; }
.thanks-photo { display: block; width: clamp(170px, 20vw, 240px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: #1F2F4A; border: 8px solid var(--surface); box-shadow: 0 0 0 4px var(--accent), 0 22px 40px -18px rgba(46, 36, 18, .5); margin: 4px 0 30px 4px; }
