@font-face { font-family: Bricolage; src: url('/fonts/bricolage-regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Bricolage; src: url('/fonts/bricolage-bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'DM Mono'; src: url('/fonts/dm-mono.ttf') format('truetype'); font-weight: 400; font-display: swap; }

:root {
  --paper: #f7f5eb;
  --ink: #233c32;
  --muted: #59665a;
  --red: #c63824;
  --coral: #ed4d36;
  --yellow: #f5d169;
  --line: #d9dbcd;
  --mono: 'DM Mono', monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.5 Bricolage, Arial, sans-serif; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
a { color: inherit; }
button { color: inherit; }
button:disabled { cursor: wait; opacity: .65; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; }
::selection { background: var(--yellow); color: var(--ink); }
.site-shell { max-width: 1240px; margin: auto; padding: 0 52px; }
.skip-link { position: absolute; top: -70px; left: 20px; padding: 12px; z-index: 10; background: var(--yellow); }
.skip-link:focus { top: 10px; }
.masthead { display: flex; align-items: center; justify-content: space-between; min-height: 109px; border-bottom: 1px solid var(--ink); gap: 24px; }
.wordmark { position: relative; text-decoration: none; font-size: 43px; font-weight: 700; letter-spacing: -3.5px; line-height: 1; }
.wordmark-dot { color: var(--coral); }
.signal { position: absolute; top: 0; right: -20px; font: 400 12px/1 var(--mono); letter-spacing: -3px; transform: rotate(-25deg); color: var(--red); }
.station-id, .header-link, .eyebrow, .section-label, .edition-tag, .art-caption, .form-topline, .ticker, .save-note, footer > span { font-family: var(--mono); }
.station-id { font-size: 10px; letter-spacing: .5px; display: flex; align-items: center; gap: 9px; }
.live-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--coral); }
.header-link { font-size: 11px; text-underline-offset: 5px; }
.header-link span { margin-left: 11px; font-size: 17px; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; min-height: 527px; padding: 49px 0 48px; gap: 24px; }
.eyebrow { font-size: 10px; letter-spacing: .7px; display: flex; align-items: center; gap: 9px; }
.little-star { color: var(--red); font-size: 21px; }
h1 { font-size: clamp(64px, 6.6vw, 90px); line-height: .99; letter-spacing: -5.5px; font-weight: 700; margin: 25px 0 28px; }
.herd-word { position: relative; color: var(--coral); }
.herd-word svg { position: absolute; width: 103%; left: -1px; bottom: -13px; fill: none; stroke: var(--coral); stroke-width: 3; stroke-linecap: round; }
.title-period { color: var(--coral); }
.hero-description { font-size: 21px; line-height: 1.35; margin: 0 0 17px; letter-spacing: -.4px; }
.hero-invitation { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0; }
.hero-link { display: inline-flex; align-items: center; gap: 17px; font-size: 12px; margin-top: 27px; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.hero-link span { font-size: 19px; }
.hero-art { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 32px; }
.hero-art::before { content: ''; position: absolute; inset: 29px 25px 51px; background: #efdfaa; border-radius: 50%; z-index: -1; }
.radio-cow { display: block; width: calc(100% + 25px); max-width: 550px; height: auto; transform: rotate(-3deg); }
.edition-tag { position: absolute; top: 15px; right: 3px; z-index: 1; transform: rotate(8deg); background: var(--yellow); border: 1.5px solid var(--ink); padding: 9px 13px; font-size: 9px; letter-spacing: .2px; box-shadow: 2px 2px 0 var(--ink); }
.edition-tag span { margin: 0 7px; }
.art-caption { font-size: 9px; letter-spacing: .9px; margin-top: -5px; }
.scribble-star { position: absolute; font-size: 50px; font-family: Georgia, serif; }
.star-one { top: 65px; left: 2px; transform: rotate(-15deg); color: var(--coral); }
.star-two { bottom: 35px; right: 1px; }
.ticker { background: var(--yellow); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); padding: 11px 0; font-size: 11px; letter-spacing: .8px; overflow: hidden; }
.ticker > div { display: flex; align-items: center; gap: 28px; width: max-content; transform: translateX(-17px); }
.ticker span { font-size: 18px; line-height: 1; color: var(--red); }
.poll-section { display: grid; grid-template-columns: .72fr 1.8fr; gap: 45px; padding: 66px 0 43px; align-items: start; }
.poll-intro { padding-top: 4px; }
.section-label { font-size: 9px; letter-spacing: .9px; }
.poll-intro h2 { font-size: 44px; font-weight: 700; line-height: 1.05; letter-spacing: -2px; margin: 17px 0 20px; }
.poll-intro > p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }
.poll-intro strong { color: var(--ink); }
.poll-note { display: flex; gap: 10px; margin-top: 24px; transform: rotate(-3deg); }
.poll-note > span { font-size: 29px; line-height: 1; color: var(--red); }
.poll-note p { margin: 0; font-size: 12px; line-height: 1.5; }
.mini-station { display: flex; align-items: center; gap: 12px; margin-top: 64px; font: 400 9px/1.6 var(--mono); letter-spacing: .4px; }
.mini-lines { display: block; width: 38px; overflow: hidden; font-size: 17px; line-height: .8; letter-spacing: -4px; height: 30px; transform: rotate(-90deg); color: var(--red); }
.poll-panel { background: #fffcf4; border: 1.5px solid var(--ink); border-radius: 12px; box-shadow: 5px 5px 0 #e2e4d7; padding: 28px 29px 23px; min-width: 0; }
.form-topline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding-bottom: 20px; border-bottom: 1px dashed #b4bcae; font-size: 14px; letter-spacing: .3px; }
.select-instruction { display: inline-flex; align-items: center; gap: 6px; color: var(--red); }
.select-instruction > span { font-size: 18px; }
.name-field { margin: 24px 0 26px; }
.name-field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 9px; }
.name-field input { display: block; width: 100%; padding: 11px 13px; background: var(--paper); color: var(--ink); border: 1px solid #aeb7a6; border-radius: 5px; font-size: 13px; }
.name-field input::placeholder { color: #6c7568; }
.name-field input[aria-invalid='true'] { border-color: var(--red); }
fieldset { margin: 0; padding: 24px 0; border: 0; border-top: 1px solid var(--line); min-width: 0; }
legend { padding: 0; float: left; width: 100%; font-weight: 700; font-size: 16px; line-height: 1.4; margin-bottom: 4px; letter-spacing: -.3px; }
legend + * { clear: both; }
.question-number { display: inline-flex; justify-content: center; align-items: center; width: 25px; height: 25px; border: 1px solid #b8c1ac; border-radius: 50%; font: 400 9px var(--mono); margin-right: 9px; vertical-align: 1px; }
.question-hint { font-size: 11px; color: var(--muted); margin: 0 0 13px 38px; }
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.option { position: relative; display: flex; align-items: flex-start; gap: 9px; padding: 14px 10px; border: 1px solid #c8cfbf; background: var(--paper); border-radius: 6px; cursor: pointer; transition: background 140ms, border-color 140ms, transform 140ms; }
.option:hover { border-color: var(--ink); transform: translateY(-2px); }
.option:has(input:checked) { border-color: var(--ink); background: #eaf0df; box-shadow: inset 0 0 0 .5px var(--ink); }
.option input { appearance: none; position: relative; width: 17px; height: 17px; border: 1.5px solid #89967f; background: #fffcf4; border-radius: 3px; margin: 1px 0 0; flex: 0 0 17px; cursor: pointer; }
.option input:checked { background: var(--ink); border-color: var(--ink); }
.option input:checked::after { content: ''; position: absolute; width: 4px; height: 8px; border: solid var(--paper); border-width: 0 2px 2px 0; left: 5px; top: 1px; transform: rotate(45deg); }
.option-copy { min-width: 0; }
.option-label { display: block; font-size: 12px; font-weight: 700; line-height: 1.45; }
.option-detail { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; line-height: 1.3; }
.options-days { grid-template-columns: repeat(7, 1fr); gap: 7px; }
.options-days .option { flex-direction: column-reverse; align-items: center; gap: 9px; padding: 12px 3px; }
.options-days .option-label { font: 400 11px var(--mono); }
.day-long { display: none; }
.options-times .option { flex-direction: column; padding: 13px 12px; gap: 10px; }
.time-topline { display: flex; width: 100%; align-items: center; justify-content: space-between; }
.time-icon { width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.field-error, .form-error { color: #a32918; font-size: 12px; margin: 9px 0 0; }
.form-error { padding: 12px; background: #fff0e9; border: 1px solid #da9f90; border-radius: 4px; }
.form-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px dashed #b4bcae; padding-top: 23px; }
.form-bottom > p { font-size: 11px; color: var(--muted); line-height: 1.6; margin: 0; }
.submit-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; padding: 13px 17px; border: 1.5px solid var(--ink); border-radius: 5px; background: var(--red); color: #fffdf4; font-size: 14px; font-weight: 700; box-shadow: 3px 3px 0 var(--ink); transition: transform 120ms, box-shadow 120ms; }
.submit-button > span:last-child { font-size: 23px; line-height: 1; }
.submit-button:hover { background: #af2c1a; transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.submit-button:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.save-note { font-size: 8px; line-height: 1.7; color: var(--muted); margin: 17px 0 0; }
.empty-results { font-size: 13px; color: var(--muted); }
.result-question { margin-bottom: 20px; }
.result-question h3 { font-size: 14px; margin: 10px 0; }
.result-row { display: grid; grid-template-columns: 130px 1fr 30px; gap: 12px; align-items: center; margin: 8px 0; font-size: 11px; }
.result-track { appearance: none; border: 0; width: 100%; height: 9px; background: #e4e7db; border-radius: 3px; overflow: hidden; }
.result-track::-webkit-progress-bar { background: #e4e7db; border-radius: 3px; }
.result-track::-webkit-progress-value { background: var(--coral); border-radius: 3px; }
.result-track::-moz-progress-bar { background: var(--coral); border-radius: 3px; }
.result-votes { text-align: right; font-family: var(--mono); font-size: 10px; }
.results-disclaimer { font-size: 10px; color: var(--muted); }
.admin-main { padding: 38px 0 60px; min-height: calc(100vh - 200px); }
.admin-main h1 { font-size: clamp(40px, 6vw, 68px); letter-spacing: -2px; margin: 12px 0 32px; }
.login-panel { max-width: 480px; }
.login-panel h2 { margin: 0 0 12px; }
.login-panel > p { color: var(--muted); }
.login-panel .form-error { margin-bottom: 16px; }
.admin-toolbar, .admin-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.admin-toolbar { margin: 16px 0 24px; }
.admin-toolbar h2 { margin: 0; }
#response-count { font-size: 16px; font-weight: 400; color: var(--muted); }
.admin-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.admin-summary .result-question { margin: 0; padding: 20px 16px; }
.admin-summary .result-row { grid-template-columns: minmax(100px, 1.4fr) minmax(25px, 1fr) 24px; gap: 8px; }
.admin-summary .results-disclaimer { grid-column: 1 / -1; font-size: 12px; }
.response-table-wrap { overflow-x: auto; max-width: 100%; }
.response-table { border-collapse: collapse; width: 100%; min-width: 740px; text-align: left; font-size: 14px; }
.response-table caption { text-align: left; color: var(--muted); font-size: 12px; padding-bottom: 12px; }
.response-table th, .response-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.response-table thead { background: #eaf0df; }
.response-table tbody th { min-width: 120px; }
.confirmation { min-height: 480px; padding: 55px 20px; text-align: center; }
.confirmation-badge { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 25px; background: var(--yellow); border: 1.5px solid var(--ink); border-radius: 50%; font-size: 36px; box-shadow: 3px 3px 0 var(--ink); transform: rotate(-8deg); }
.confirmation .section-label { display: block; }
.confirmation h2 { font-size: 48px; letter-spacing: -2px; line-height: 1.1; margin: 17px 0; }
.confirmation > p:not(.save-note) { color: var(--muted); font-size: 15px; }
.your-choices { display: grid; gap: 12px; margin: 28px auto; text-align: left; max-width: 330px; }
.your-choice-row { padding-bottom: 11px; border-bottom: 1px dashed var(--line); }
.your-choice-row span { display: block; font: 400 9px var(--mono); color: var(--muted); text-transform: uppercase; margin-bottom: 5px; }
.your-choice-row strong { font-weight: 400; font-size: 13px; }
.edit-button { background: transparent; border: 0; border-bottom: 1px solid var(--ink); padding: 5px 0; font-size: 12px; }
.edit-button > span { margin-left: 10px; }
.closing-note { display: flex; justify-content: center; align-items: center; gap: 55px; margin: 66px 0 58px; text-align: center; }
.closing-note > span { font-size: 27px; color: var(--coral); }
.closing-note p { font-size: 22px; line-height: 1.45; letter-spacing: -.4px; margin: 0; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--ink); padding: 25px 0 29px; }
.footer-logo { font-size: 25px; font-weight: 700; letter-spacing: -2px; text-decoration: none; }
footer > p { font-size: 11px; color: var(--muted); margin: 0; }
footer > span { font-size: 8px; letter-spacing: .3px; }
footer > span > span { margin-left: 8px; font-size: 16px; }

@media (min-width: 1400px) {
  .site-shell { max-width: 1320px; padding: 0 70px; }
  .hero { min-height: 555px; }
}
@media (max-width: 1000px) {
  .site-shell { padding: 0 30px; }
  h1 { font-size: 72px; }
  .hero { min-height: 500px; gap: 0; }
  .hero-art { padding-top: 25px; }
  .edition-tag { top: 20px; right: -4px; font-size: 7px; }
  .poll-section { grid-template-columns: .65fr 1.8fr; gap: 25px; }
  .poll-panel { padding: 24px 20px 20px; }
  .poll-intro h2 { font-size: 37px; }
  .poll-intro > p { font-size: 12px; }
  .option { gap: 6px; padding: 12px 7px; }
  .option-label { font-size: 11px; }
  .option-detail { font-size: 9px; }
  legend { font-size: 14px; }
}
@media (max-width: 760px) {
  .site-shell { padding: 0 23px; }
  .masthead { min-height: 86px; }
  .wordmark { font-size: 37px; }
  .station-id { margin-left: auto; font-size: 8px; }
  .header-link { display: none; }
  .hero { grid-template-columns: 1fr; padding: 34px 0 25px; text-align: center; }
  .eyebrow { justify-content: center; font-size: 8px; }
  h1 { font-size: clamp(45px, 14vw, 92px); letter-spacing: -3px; margin-top: 19px; }
  .hero-description { font-size: 21px; }
  .hero-invitation { font-size: 13px; }
  .hero-link { margin-top: 21px; font-size: 11px; gap: 12px; }
  .hero-art { width: min(100%, 430px); margin: 21px auto 0; padding-top: 18px; }
  .hero-art::before { inset: 22px 44px 30px; }
  .radio-cow { width: 100%; }
  .edition-tag { right: 20px; top: 11px; font-size: 8px; }
  .star-one { left: 16px; top: 55px; font-size: 34px; }
  .star-two { right: 15px; bottom: 35px; font-size: 32px; }
  .art-caption { font-size: 8px; }
  .ticker { padding: 10px 0; font-size: 9px; }
  .ticker > div { gap: 18px; }
  .poll-section { grid-template-columns: 1fr; gap: 25px; padding: 38px 0 29px; }
  .poll-intro { position: relative; }
  .poll-intro h2 { font-size: 38px; margin: 13px 0; }
  .poll-intro h2 br { display: none; }
  .poll-intro > p { font-size: 13px; }
  .poll-intro > p br { display: none; }
  .poll-note { margin-top: 13px; }
  .poll-note p br { display: none; }
  .mini-station { display: none; }
  .poll-panel { padding: 22px 19px; }
  .form-topline { font-size: 12px; }
  legend { font-size: 15px; }
  .question-number { margin-right: 6px; }
  .question-hint { margin-left: 0; font-size: 11px; }
  .option-label { font-size: 12px; }
  .option-detail { font-size: 10px; }
  .admin-summary { grid-template-columns: 1fr; }
  .closing-note { margin: 44px 0 36px; gap: 22px; }
  .closing-note p { font-size: 20px; }
  .closing-note > span { font-size: 23px; }
  footer { flex-wrap: wrap; gap: 9px 16px; padding: 20px 0; }
  footer > p { flex: 1; text-align: right; font-size: 9px; }
  footer > span { width: 100%; text-align: center; margin-top: 9px; font-size: 7px; }
}
@media (max-width: 420px) {
  .site-shell { padding: 0 17px; }
  .station-id { font-size: 7px; gap: 6px; }
  .hero-invitation br { display: none; }
  .poll-panel { padding: 19px 13px; }
  .form-topline { letter-spacing: 0; }
  .select-instruction { gap: 3px; }
  legend { font-size: 14px; }
  .question-number { width: 23px; height: 23px; margin-right: 4px; }
  .options { gap: 6px; }
  .option { flex-direction: column; padding: 12px 8px; gap: 8px; }
  .options-days { grid-template-columns: repeat(4, 1fr); }
  .options-days .option { flex-direction: row; padding: 10px 7px; gap: 7px; }
  .options-days .option-label { font-size: 10px; }
  .option-label { font-size: 11px; }
  .option-detail { font-size: 9px; }
  .options-times .option { padding: 12px 9px; }
  .form-bottom { flex-direction: column; align-items: stretch; gap: 14px; }
  .form-bottom > p { text-align: center; }
  .submit-button { justify-content: center; }
  .save-note { text-align: center; }
  .result-row { grid-template-columns: 115px 1fr 22px; gap: 8px; }
  .confirmation { padding: 35px 5px; }
  .confirmation h2 { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
