/* Brand tokens + base styles shared by all variants. Colors are the sign palette (converted from the CMYK builds). */
:root {
  --navy: #16264a;        /* C100 M85 Y30 K25 */
  --navy-deep: #0f1b36;
  --pine: #2f6e4e;        /* C82 M28 Y80 K22 */
  --pine-deep: #234f39;
  --buff: #f6f0dc;        /* C3 M6 Y20 K0 */
  --buff-deep: #e9e0c2;
  --white: #ffffff;
  --ink: #16264a;
  --muted: #4a5568;
  --angle: 12.4deg;
  --font: "proxima-nova", "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* anchors land below the sticky header */
[id] { scroll-margin-top: 96px; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); background: var(--buff); }
img, svg, picture { display: block; max-width: 100%; }
picture { width: 100%; }
p { overflow-wrap: break-word; }
h1, h2, h3 { overflow-wrap: normal; hyphens: manual; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-style: italic; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-style: italic; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
small { font-size: .875em; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.lede { font-size: 1.25rem; max-width: 60ch; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .85rem; margin-bottom: .75rem; }
.sub { font-size: clamp(1.1rem, 1.6vw, 1.35rem); max-width: min(52ch, 100%); }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
@media (max-width: 560px) { .cta .btn { flex: 1 1 100%; text-align: center; } }

/* buttons */
.btn { display: inline-block; padding: .8rem 1.35rem; border-radius: 999px; font-weight: 700; text-decoration: none; background: var(--pine); color: var(--white); border: 2px solid var(--pine); transition: transform .12s ease, background .12s ease; }
.btn:hover { background: var(--pine-deep); border-color: var(--pine-deep); transform: translateY(-1px); }
.btn-small { padding: .5rem .95rem; font-size: .9rem; }
.btn-outline { background: transparent; color: var(--pine); }
.btn-outline:hover { background: var(--pine); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(140%) blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.header-actions { display: none; align-items: center; gap: .4rem; }
.hdr-about { display: none; white-space: nowrap; }
.vote-pill { min-height: 36px; display: inline-flex; align-items: center; }
/* three-line brand option */
.brand-office { display: block; margin-top: 3px; }
.brand-office svg { height: 9px; width: auto; }
.has-office .brand-gorski svg { height: 24px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-mark { width: 54px; height: 33px; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-chris svg { height: 12px; width: auto; }
.brand-gorski svg { height: 26px; width: auto; margin-top: 2px; }
.site-nav { display: flex; align-items: center; gap: 1.1rem; font-weight: 700; font-size: .95rem; }
.site-nav a:not(.btn) { text-decoration: none; padding: .25rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.site-nav a[aria-current="page"] { border-bottom-color: currentColor; }
.nav-toggle { display: none; background: none; border: 2px solid currentColor; color: inherit; border-radius: 8px; padding: 0 .55rem; min-height: 36px; min-width: 40px; font: inherit; font-size: 1.15rem; line-height: 1; cursor: pointer; }
@media (max-width: 760px) {
  .site-header .wrap { flex-wrap: wrap; min-height: 56px; row-gap: 0; }
  .brand { flex: 0 1 auto; }
  .header-actions { display: flex; margin-left: auto; order: 1; flex: 0 0 auto; }
  .header-actions .btn { padding: .45rem .75rem; font-size: .9rem; min-height: 36px; display: inline-flex; align-items: center; }
  .brand-mark { display: none; }
  .site-header .wrap { column-gap: .5rem; }
  .site-nav { order: 2; flex-basis: 100%; }
  .hdr-about { display: inline-flex; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: .25rem 0 .75rem; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,.12); }
  .site-nav .nav-vote { display: none; }
  .brand-mark { width: 46px; height: 28px; }
  .brand-chris svg { height: 11px; }
  .brand-gorski svg { height: 22px; }
  .brand-office svg { height: 11px; margin-top: 4px; }
  .has-office .brand-gorski svg { height: 22px; }
}
@media (max-width: 339px) { .header-actions .hdr-about { display: none; } }

/* "More on this" disclosure inside a priority (open on desktop, collapsed on phones) */
.more summary { cursor: pointer; font-weight: 700; color: inherit; list-style: none; min-height: 44px; display: flex; align-items: center; gap: .4rem; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+"; display: inline-grid; place-items: center; width: 1.3em; height: 1.3em; border: 2px solid currentColor; border-radius: 50%; font-size: .85em; }
.more[open] summary::before { content: "\2212"; }
@media (min-width: 761px) { .more summary { display: none; } .more > p { display: block; } }
@media (max-width: 760px) { .more:not([open]) > p { display: none; } }

/* priorities: keyword rows */
.kw-list { display: grid; gap: 1.5rem; }
.kw-row { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 1.25rem 2.5rem; align-items: start; padding-top: 1.25rem; border-top: 3px solid var(--pine); }
.kw span { font-weight: 800; font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: .04em; line-height: 1; display: block; }
.kw-body { max-width: 62ch; }
.kw-short { font-weight: 700; font-size: 1.15rem; margin-bottom: .35rem; }
@media (max-width: 700px) { .kw-row { grid-template-columns: 1fr; gap: .5rem; } }
/* priorities: cards */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; border-top: 6px solid var(--pine); box-shadow: 0 1px 0 rgba(22,38,74,.06), 0 12px 30px -18px rgba(22,38,74,.35); }
.card h3 { font-size: 1.5rem; font-style: italic; text-transform: uppercase; letter-spacing: .03em; }
.card-short { font-weight: 700; }

/* the case: 2 columns; the last point (the close) spans full width. 7 points -> 3 rows of 2 + close. */
.case-grid { display: grid; gap: 1.75rem 3rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.5rem; }
.case-pt p { max-width: 62ch; }
.case-pt:last-child { grid-column: 1 / -1; border-top: 3px solid var(--pine); padding-top: 1.25rem; }
.case-pt:last-child p { max-width: 80ch; }
/* phones and small tablets: one column - two columns are too skinny to read */
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr; gap: 1.5rem; } .case-pt p { max-width: none; } }

/* vote dates directly under the office kicker at the top of the hero */
.hero-vote { display: flex; flex-wrap: wrap; gap: .2rem .6rem; font-size: .95rem; margin: -.25rem 0 1.1rem; opacity: .95; }
.hero-vote strong { font-weight: 800; }
.hero-vote .sep { opacity: .5; }
@media (max-width: 560px) { .hero-vote { flex-direction: column; gap: .1rem; font-size: .9rem; margin-bottom: .9rem; } .hero-vote .sep { display: none; } }

/* vote */
.vote-compact { display: grid; gap: 1.5rem; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; align-items: center; }
.vote-compact h3 { margin-bottom: .25rem; }
.when { font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; margin: 0 0 .25rem; color: var(--navy); }
.vote-primary .when { font-size: clamp(1.5rem, 2.2vw, 1.75rem); }
.vote-primary h3 { font-size: 1.05rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .5rem; }
.maplink { font-weight: 600; text-decoration-color: rgba(22,38,74,.35); text-underline-offset: .15em; }
.maplink::after { content: " \2197"; opacity: .6; }
.btn-block { display: flex; justify-content: center; align-items: center; gap: .4rem; width: 100%; min-height: 48px; }
@media (max-width: 800px) { .vote-compact { grid-template-columns: 1fr; } .vote-compact .vote-cta .btn { display: flex; justify-content: center; min-height: 48px; } }
.vote-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vote-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; border-left: 6px solid var(--navy); display: flex; flex-direction: column; }
.vote-card p:last-child { margin-bottom: 0; }
.vote-card p:has(> .btn) { margin-top: auto; padding-top: .5rem; }
.vote-card .big { font-size: 1.35rem; font-weight: 800; }
@media (max-width: 700px) { .vote-grid { grid-template-columns: 1fr; } }
.note { margin-top: 1.5rem; max-width: 70ch; color: var(--muted); }

/* about / contact */
.about { display: grid; gap: 2.5rem; grid-template-columns: minmax(240px, 34%) minmax(0, 1fr); align-items: start; }
.about-photo { min-width: 0; }
.about-photo picture, .about-img { width: 100%; }
.about-img { border-radius: var(--radius); height: auto; }
.about-copy { max-width: 66ch; }
.facts { padding-left: 1.2rem; }
.draft-note { font-size: .85rem; color: #9a3412; background: #fff3e6; padding: .5rem .75rem; border-radius: 8px; display: inline-block; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } }
.contact { max-width: 60ch; }
.contact-email .btn { font-size: 1.1rem; }
.contact-avatar img { border-radius: 50%; margin-top: 1.5rem; }

/* page head */
.page-head { padding: clamp(2.5rem, 6vw, 5rem) 0 1rem; }

/* footer */
.site-footer { background: var(--navy); color: var(--buff); padding: 0 0 2rem; margin-top: 3rem; }
.foot-mark { color: var(--pine); background: var(--buff); line-height: 0; }
.foot-mark svg { width: 100%; height: auto; display: block; }
.foot-grid { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; padding: 2.5rem 0 1rem; }
.foot-lockup svg { width: min(320px, 100%); height: auto; color: var(--buff); }
.foot-dates { margin-top: 1rem; }
.foot-dates strong { white-space: nowrap; }
.foot-contact { display: flex; flex-direction: column; gap: .25rem; }
.foot-contact a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; overflow-wrap: anywhere; }
.foot-nav { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.foot-nav a { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.disclaimer { font-size: .8rem; opacity: .75; border-top: 1px solid rgba(246,240,220,.25); padding-top: 1rem; margin: 1rem 0 0; }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr; } }

/* section rhythm: never leave a white->buff step above the footer treeline */
main > .section:last-child { padding-bottom: clamp(3rem, 7vw, 6rem); }
.site-footer { margin-top: 0; }
.foot-mark { background: inherit; }

/* accessibility */
:focus-visible { outline: 3px solid #ffd54a; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* footnotes: quiet superscripts inline; sources collapsed at the bottom of the page */
sup.fn { font-size: .62em; line-height: 0; vertical-align: baseline; position: relative; top: -.55em; margin-left: .08em; }
sup.fn a { text-decoration: none; font-weight: 700; opacity: .75; padding: 0 .12em; }
sup.fn a:hover { opacity: 1; text-decoration: underline; }
.sources { padding: 1.5rem 0 3rem; }
.sources details { border-top: 1px solid rgba(22,38,74,.18); padding-top: 1rem; }
.sources summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: .75rem 1.25rem; min-height: 48px; padding: .5rem 0; }
.sources summary::-webkit-details-marker { display: none; }
.sources summary h2 { font-size: 1.05rem; margin: 0; font-style: normal; text-transform: uppercase; letter-spacing: .1em; }
.sources summary h2::before { content: "▸"; display: inline-block; width: 1.1em; transition: transform .15s; transform-origin: 40% 50%; }
.sources details[open] summary h2::before { transform: rotate(90deg); }
.sources summary:hover h2 { text-decoration: underline; text-underline-offset: .2em; }
.src-count { font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); }
.sources-hint { font-size: .9rem; color: var(--muted); }
.src-list { margin: 1rem 0 0; padding-left: 1.4rem; font-size: .9rem; color: var(--muted); }
.src-list li { margin-bottom: .6rem; break-inside: avoid; }
@media (min-width: 1024px) { .src-list { columns: 2; column-gap: 3rem; } }
.src-list li:target { color: var(--ink); background: rgba(47,110,78,.08); outline: 2px solid rgba(47,110,78,.25); border-radius: 6px; padding: .35rem .5rem; }
.src-list a { color: var(--pine-deep); font-weight: 600; display: inline-block; padding: .35rem .15rem; }
.src-links { display: inline-flex; flex-wrap: wrap; gap: 0 .6rem; }
.nowrap { white-space: nowrap; }
.src-back { text-decoration: none; }
sup.fn { white-space: nowrap; }
