:root {
  --night: #0b1a24;
  --ivory: #fff6e5;
  --gold: #ffd07b;
  --paper: #f7f2e9;
  --ink: #17272f;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--night); color:var(--ivory); font:16px/1.6 var(--sans); }
a { color:inherit; }
button { font:inherit; cursor:pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline:3px solid #d38b24; outline-offset:4px; }
.frame { width:min(1280px, 88%); margin-inline:auto; }
.skip { position:absolute; left:-999px; }
.skip:focus { left:12px; top:10px; background:var(--ivory); color:var(--night); padding:12px; z-index:10; }
@font-face {
  font-family:"Barlow Condensed";
  src:url("/fonts/barlow-condensed/black-italic.ttf") format("truetype");
  font-style:italic;
  font-weight:900;
  font-display:swap;
}
.bill-banner {
  margin:0;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:clamp(12px,2.5vw,38px);
  padding:clamp(12px,1.35vw,20px) 5% clamp(15px,1.6vw,23px);
  background:radial-gradient(ellipse at 50% 130%,#443625 0%,#19262e 40%,#0a1823 80%);
  color:#fff5db;
  border-top:2px solid #d59d4b;
  text-align:center;
}
.bill-banner::before,.bill-banner::after {
  content:"";
  flex:1 1 0;
  max-width:108px;
  height:2px;
  background:linear-gradient(90deg,transparent,#c69450);
}
.bill-banner::after { transform:rotate(180deg); }
.bill-banner strong {
  font:italic 900 clamp(41px,5.2vw,79px)/1 "Barlow Condensed","Arial Narrow",sans-serif;
  letter-spacing:-.025em;
  text-wrap:balance;
}
.bill-lead,.bill-close { white-space:nowrap; }
.bill-number {
  color:#ffd078;
  text-shadow:0 2px 0 #815626,0 0 12px #ffbd4c62,0 0 26px #e69b3f3d;
}
.bill-close {
  display:inline-block;
  font:italic 600 .65em/1.05 var(--serif);
  letter-spacing:-.045em;
}
@media(max-width:680px) {
  .bill-banner { padding:12px 3% 15px; gap:0; }
  .bill-banner::before,.bill-banner::after { display:none; }
  .bill-banner strong { font-size:clamp(34px,8.4vw,52px); }
}
/* The campaign statement takes its natural height, including when it wraps. */
.school-banner {
  padding:clamp(16px, 1.7vw, 26px) 6%;
  color:#152431;
  background:linear-gradient(110deg,#efb656,#ffe6ad 54%,#ffd078);
  text-align:center;
}
.school-banner p {
  margin:0 auto;
  max-width:48em;
  font:650 clamp(20px, 2.45vw, 37px)/1.15 var(--sans);
  letter-spacing:-.035em;
  text-wrap:balance;
}
.school-banner strong {
  font-family:var(--serif);
  font-style:italic;
  white-space:nowrap;
}
header { position:relative; height:0; z-index:2; }
nav { display:flex; justify-content:space-between; align-items:center; gap:22px; min-height:79px; border-bottom:1px solid #fff4d64a; }
.brand { display:inline-flex; align-items:center; gap:12px; font:600 19px var(--serif); letter-spacing:-.035em; text-decoration:none; }
.sun-logo { display:inline-block; width:33px; height:23px; border-bottom:2px solid var(--gold); position:relative; }
.sun-logo::before { content:""; position:absolute; inset:2px 2px 3px; background:var(--gold); border-radius:100px 100px 0 0; }
.nav-links, .actions, .footer-flex>div { display:flex; align-items:center; gap:25px; }
.nav-links a,.footer-flex a { text-decoration:none; }
.nav-links { font-size:13px; }
.nav-links a:hover,.text-link:hover,.scroll-link:hover,.poster-link:hover { text-decoration:underline; text-underline-offset:5px; }
.outline-link { padding:8px 17px; border:1px solid #fff4d660; border-radius:4px; }
.hero { position:relative; isolation:isolate; overflow:hidden; min-height:min(910px, max(720px, 93svh)); display:flex; flex-direction:column; justify-content:space-between; }
.vista,.shade { position:absolute; inset:0; z-index:-1; pointer-events:none; }
.vista { background:#112637 url("dawn.webp") center 60%/cover no-repeat; transform:scale(1.018); }
.shade { background:linear-gradient(90deg, #091925dc 0%, #0919259c 30%, #0c1b2930 62%, #15202a12),linear-gradient(0deg,#0a1725d9 0%,#0a172522 24%,transparent 52%, #0a172570 100%); }
.hero-grid { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr); align-items:center; gap:5%; padding-block:116px 32px; flex:1; }
.hero-copy { max-width:620px; }
.eyebrow,.micro,.paper-top,.salute { font:600 11px/1.6 var(--sans); text-transform:uppercase; letter-spacing:.15em; }
.eyebrow { display:flex; align-items:center; gap:12px; color:var(--gold); }
.line { width:28px; height:1px; background:currentColor; }
.dark { color:#6b4d20; }
h1,h2,p,figure,blockquote { margin:0; }
h1,h2,.paper-title,blockquote { font-family:var(--serif); font-weight:400; }
h1 { font-size:clamp(76px,8.3vw,137px); line-height:.86; letter-spacing:-.078em; margin:23px 0 24px; }
h1 em { color:var(--gold); }
h2 { font-size:clamp(45px,5.05vw,82px); line-height:1.01; letter-spacing:-.063em; margin:21px 0 26px; }
h2 em { font-weight:400; }
.hero-copy p { max-width:445px; color:#ede9e3; font-size:clamp(16px,1.25vw,19px); line-height:1.55; }
.hero-copy p strong { color:var(--ivory); }
.actions { flex-wrap:wrap; margin-top:25px; gap:20px; }
.button,.text-link,.scroll-link,.motion,.poster-link { font-size:14px; font-weight:600; }
.button { display:inline-flex; gap:21px; padding:13px 20px; align-items:center; justify-content:center; border:0; border-radius:4px; text-decoration:none; transition:transform .18s ease,background .18s ease; }
.button:hover { transform:translateY(-2px); }
.primary { background:var(--gold); color:var(--night); }
.primary:hover { background:#ffdf9d; }
.text-link,.scroll-link,.poster-link { text-decoration:none; }
.dial-demo { display:flex; flex-direction:column; align-items:center; justify-self:center; width:min(100%,440px); color:var(--ivory); }
.face-shell { width:100%; position:relative; }
.clockface { width:100%; display:block; overflow:visible; }
.outer-ring { stroke:#ffeac764; stroke-width:.8; fill:#09182538; }
.inner-ring { stroke:#ffeac72e; stroke-width:.6; fill:none; }
.tick { stroke:#fff2dcac; stroke-width:1; }
.tick.major { stroke:var(--ivory); stroke-width:1.8; }
.clockface text { font:17px var(--sans); fill:var(--ivory); text-anchor:middle; }
.hour-hand,.minute-hand { transform-origin:210px 210px; transition:transform .95s cubic-bezier(.22,.68,.18,1); }
.hour-hand { transform:rotate(217.5deg); }
.minute-hand { transform:rotate(90deg); }
.hour-hand path { stroke:var(--gold); stroke-width:5; stroke-linecap:round; }
.minute-hand path { stroke:var(--ivory); stroke-width:2.5; stroke-linecap:round; }
.pin { fill:var(--gold); }
.hero.daylight .hour-hand { transform:rotate(247.5deg); }
figcaption { text-align:center; margin:6px 0 12px; }
.micro { font-size:10px; letter-spacing:.18em; color:#fff0cf; text-shadow:0 1px 5px #000b; }
.dial-time { display:block; font:400 clamp(33px,3.2vw,46px)/1.15 var(--serif); font-variant-numeric:tabular-nums; text-shadow:0 2px 8px #0009; }
.dial-time small { font:600 12px var(--sans); letter-spacing:.1em; }
.toggle { display:flex; background:#0a1825e6; padding:3px; border-radius:30px; border:1px solid #ffe5b84a; }
.toggle button { background:transparent; color:var(--ivory); font-size:12px; padding:9px 15px; border:0; border-radius:30px; }
.toggle button[aria-pressed=true] { background:var(--ivory); color:var(--night); }
.hero-foot { display:flex; justify-content:space-between; align-items:center; padding:13px 0 19px; border-top:1px solid #ffebcc42; }
.scroll-link,.motion { font-size:12px; letter-spacing:.02em; }
.motion { background:transparent; color:var(--ivory); border:0; padding:6px; }
.motion::before { content:'Ⅱ'; display:inline-block; margin-right:7px; }
.motion[aria-pressed=true]::before { content:'▷'; }
.light-section,.faq-section { background:var(--paper); color:var(--ink); }
.light-grid,.bill-grid,.petition-grid,.faq-grid { padding-block:clamp(70px,9vw,136px); display:grid; grid-template-columns:1fr 1fr; gap:clamp(40px,8vw,120px); align-items:center; }
.light-grid p,.bill-grid p,.petition-grid p { max-width:620px; margin-bottom:16px; }
.light-grid .soft,.petition-grid .soft { color:#53646b; }
.hour-card { border-block:1px solid #243a443b; padding:28px 0; }
.graph-title { font:400 25px var(--serif); margin-bottom:22px; }
.rail-top,.axis { display:flex; align-items:center; justify-content:space-between; font-size:13px; }
.rail-top b { font-variant-numeric:tabular-nums; }
.rail { height:14px; position:relative; margin:14px 0 28px; border-radius:99px; background:#e5dfd3; }
.rail i { position:absolute; width:20px; height:20px; border-radius:50%; background:#9b671c; top:-3px; left:var(--point); transform:translateX(-50%); }
.rail::before { content:''; position:absolute; inset:0 auto 0 0; width:var(--point); background:linear-gradient(90deg,#d6d0c1,#e5b667); border-radius:99px; }
.r1 { --point:41.6667%; }.r2 { --point:75%; }
.axis { color:#43545c; font-size:11px; margin-top:-13px; }
.hour-card small { display:block; margin-top:20px; color:#536169; font-size:12px; }
.bill-section { background:#0d202e; }
.bill-section h2 em { color:var(--gold); }
.bill-grid .soft { color:#bdc7ca; }
.paper { background:#fff9ec; color:#182630; padding:clamp(25px,3.5vw,54px); position:relative; box-shadow:5px 5px 0 #c8bca5,10px 10px 0 #7a807d; }
.paper-top { display:flex; justify-content:space-between; gap:10px; font-size:10px; letter-spacing:.1em; border-bottom:1px solid #29384555; padding-bottom:16px; }
.paper-title { font-size:32px; letter-spacing:.12em; text-align:center; margin:22px 0 12px; }
.paper blockquote { font-size:20px; text-align:center; line-height:1.55; }
.seal { font:45px/1 var(--serif); text-align:center; color:#9b701d; margin:15px 0; }
details { border-bottom:1px solid #1a303b30; }
summary { cursor:pointer; list-style:none; display:flex; align-items:baseline; justify-content:space-between; gap:15px; padding:18px 0; font-weight:600; }
summary::-webkit-details-marker { display:none; }
summary::after { content:'+'; font-size:21px; font-weight:400; }
details[open]>summary::after { content:'−'; }
.billbody { max-height:420px; overflow:auto; padding-right:10px; font:15px/1.65 var(--serif); }
.paper .note { font-size:12px; color:#58646a; margin:14px 0 0; }
.petition-section { background:#e7dcc8; color:var(--ink); }
.petition-grid { grid-template-columns:.75fr 1.25fr; }
.poster-wrap { width:min(100%,315px); justify-self:center; }
.poster-wrap img { display:block; width:100%; height:auto; box-shadow:0 16px 35px #26354138; transform:rotate(-3deg); transition:transform .4s; }
.poster-wrap a:hover img { transform:rotate(0); }
.poster-link { display:block; text-align:center; margin-top:22px; font-size:12px; }
.petition-grid .salute { border-top:1px solid #26354155; padding-top:22px; color:#3e5057; font-size:11px; }
.status { padding:12px 0 12px 16px; border-left:3px solid #936918; font-size:14px; }
.ink { background:var(--ink); color:var(--ivory); }
#copy-status { font-size:13px; padding-top:12px; min-height:30px; }
.faq-grid { align-items:start; }
.faq details p { color:#4a5e66; padding-bottom:18px; }
footer { background:var(--night); }
.footer-flex { min-height:108px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.footer-flex>div { font-size:13px; }
@keyframes dawn-drift { from{transform:scale(1.018) translateX(0);} to{transform:scale(1.08) translateX(-.8%);} }
@keyframes emerge { from{opacity:0; transform:translateY(18px);} to{opacity:1; transform:translateY(0);} }
@keyframes hand-sweep { from{transform:rotate(185deg);} to{transform:rotate(217.5deg);} }
@media (prefers-reduced-motion:no-preference) {
  .vista { animation:dawn-drift 24s ease-in-out infinite alternate; }
  .hero-copy,.dial-demo { animation:emerge .9s ease-out both; }
  .dial-demo { animation-delay:.1s; }
  .hero:not(.daylight):not(.used-dial) .hour-hand { animation:hand-sweep 1.1s ease-out; }
  .arrive { animation:emerge .65s ease-out both; }
}
body.paused * { animation-play-state:paused!important; }
body.paused .hour-hand,body.paused .minute-hand { transition:none; }
body.paused .arrive,body.paused .hero-copy,body.paused .dial-demo { animation:none; }
@media(max-width:840px) {
  .frame { width:90%; }
  .hero-grid { gap:3%; grid-template-columns:1.05fr .95fr; }
  .light-grid,.bill-grid,.petition-grid,.faq-grid { gap:38px; }
  .nav-links { gap:15px; }
}
@media(max-width:680px) {
  nav { min-height:63px; }
  .brand { font-size:16px; gap:8px; }
  .sun-logo { width:26px; height:20px; }
  .nav-links a:not(.outline-link) { display:none; }
  .outline-link { padding:7px 10px; font-size:12px; }
  .hero-grid { grid-template-columns:1fr; gap:30px; padding-block:92px 22px; }
  h1 { font-size:clamp(76px,19vw,106px); line-height:.89; margin:16px 0 20px; }
  h1 br:first-child { display:none; }
  h1 br:first-child::after { content:" "; }
  .hero-copy h1 em::before { content:" "; }
  .hero-copy p { max-width:430px; }
  .hero-copy .actions { margin-top:18px; }
  .dial-demo { width:min(100%,270px); }
  .dial-demo figcaption { margin:3px 0 8px; }
  .vista { background-position:69% center; }
  .shade { background:linear-gradient(0deg,#081625dd,transparent 55%,#09182799),linear-gradient(90deg,#0b18266b,transparent); }
  .hero-foot { padding:10px 0; }
  .light-grid,.bill-grid,.petition-grid,.faq-grid { grid-template-columns:1fr; gap:28px; padding-block:65px; }
  .petition-grid>.poster-wrap { grid-row:2; width:min(63%,230px); margin-top:16px; }
  .footer-flex { padding-block:25px; flex-direction:column; align-items:flex-start; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::after,*::before { animation:none!important; transition:none!important; }
  .vista { transform:none; }
}
.horizon-light {
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:radial-gradient(ellipse at 92% 62%, #ffc46a45 0, #e59c4128 10%, transparent 37%);
}
@keyframes horizon-rise {
  from { opacity:.25; transform:translateY(3%); }
  to { opacity:.95; transform:translateY(-1%); }
}
@keyframes draw-rail {
  from { clip-path:inset(0 100% 0 0); }
  to { clip-path:inset(0); }
}
@media (prefers-reduced-motion:no-preference) {
  .horizon-light { animation:horizon-rise 8s ease-in-out infinite alternate; }
  .hour-card.arrive .rail::before { animation:draw-rail 1s ease-out both; }
  .hour-card.arrive .r2::before { animation-delay:.17s; }
}
body.paused .rail::before { animation:none!important; }
.motion::before { content:''; height:9px; width:3px; border-inline:2px solid currentColor; vertical-align:baseline; }
.motion[aria-pressed=true]::before { content:''; width:0; height:0; border:5px solid transparent; border-left:8px solid currentColor; }
/* The two image planes crossfade only after the incoming frame is decoded. */
.vista { background-color:#112334; background-image:none; z-index:-3; }
.scene-layer { position:absolute; inset:0; opacity:0; background-position:center 60%; background-size:cover; transition:opacity .85s ease-in-out; }
.scene-layer.visible { opacity:1; }
.shade { z-index:-1; background:linear-gradient(90deg,#081726db,#08172688 39%,#08172612 65%),linear-gradient(0deg,#071320d4,transparent 35%,#07132033 72%,#07132093); }
.face-shell { max-width:350px; }
.hero .hour-hand { transform:rotate(var(--hour-angle,0deg)); animation:none!important; }
.hero .minute-hand { transform:rotate(var(--minute-angle,0deg)); }
.hero:not(.daylight):not(.used-dial) .hour-hand { animation:none; }
.clockface .outer-ring { fill:#10213466; }
.scene-caption { margin:4px 0 11px; text-shadow:0 1px 6px #000c; }
.dial-time { font-size:clamp(31px,3vw,42px); }
.policy-switch { position:relative; display:grid; grid-template-columns:1fr 1fr; width:min(100%,286px); isolation:isolate; }
.policy-switch::before { content:''; position:absolute; inset:3px auto 3px 3px; width:calc(50% - 3px); background:var(--ivory); border-radius:30px; z-index:-1; transition:transform .28s ease; }
.policy-switch.daylight-selected::before { transform:translateX(100%); }
.policy-switch button,.policy-switch button[aria-pressed=true] { background:transparent; padding:8px 10px; min-height:38px; }
.time-explorer { margin-top:14px; width:min(100%,300px); background:#081623c9; color:#fff6e5; padding:10px 15px 9px; border:1px solid #fff3d52e; border-radius:6px; }
.explore-head,.explore-axis { display:flex; justify-content:space-between; align-items:center; gap:9px; }
.explore-head label { font-size:12px; font-weight:600; }
.live-time { font:600 11px var(--sans); color:var(--gold); border:0; border-bottom:1px solid #ffd07b66; background:transparent; padding:6px 0; }
.live-time.is-live { color:#ffdfa6; border-bottom-color:transparent; }
#day-slider { display:block; width:100%; margin:2px 0 0; height:24px; accent-color:var(--gold); cursor:pointer; }
.explore-axis { font:10px var(--sans); color:#ddd; }
.scene-note { max-width:300px; font:12px/1.4 var(--sans); text-align:center; color:#fff9ef; text-shadow:0 1px 5px #071321; margin:7px 0 0; }
body.paused .scene-layer,body.paused .policy-switch::before { transition:none; }
@media(max-width:680px) {
  .scene-layer { background-position:69% center; }
  .hero-grid { gap:24px; }
  .face-shell { max-width:245px; }
  .dial-demo { width:min(100%,300px); }
  .shade { background:linear-gradient(0deg,#071625d9,transparent 48%,#081726ac),linear-gradient(90deg,#08172696,#08172632); }
}
@media(max-width:680px) {
  .hero-grid { padding-block:84px 16px; gap:24px; }
  .hero-copy h1 { font-size:clamp(58px,15vw,86px); line-height:.91; margin:13px 0 16px; }
  .dial-demo { width:100%; max-width:360px; justify-self:start; display:grid; grid-template-columns:85px minmax(0,1fr); column-gap:14px; align-items:center; }
  .face-shell { grid-column:1; grid-row:1/3; }
  .scene-caption { grid-column:2; text-align:left; margin:0 0 4px; }
  .dial-time { font-size:29px; }
  .policy-switch { grid-column:2; width:100%; }
  .policy-switch button,.policy-switch button[aria-pressed=true] { padding:7px 5px; font-size:11px; }
  .time-explorer { grid-column:1/-1; width:100%; margin-top:12px; }
  .scene-note { grid-column:1/-1; max-width:none; text-align:left; }
}
#clock-dial { touch-action:none; user-select:none; -webkit-user-select:none; cursor:grab; border-radius:50%; }
#clock-dial.dragging { cursor:grabbing; }
#clock-dial.dragging .hour-hand,#clock-dial.dragging .minute-hand { transition:none; }
#clock-dial:focus-visible { outline:2px solid var(--gold); outline-offset:1px; }
.time-entry {
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  width:min(100%,300px); margin:8px 0 0; padding:6px 10px;
  color:var(--ivory); background:#081623c9; border:1px solid #fff3d52e; border-radius:6px;
}
.time-entry label,.time-entry button { font-size:12px; font-weight:600; }
.time-entry input { color-scheme:dark; min-width:0; max-width:135px; height:36px;
  padding:2px 5px; color:var(--ivory); border:1px solid #fff3d54a;
  border-radius:4px; background:#152531; font:15px var(--sans); }
.time-entry button { min-height:38px; background:transparent; color:var(--gold); border:0; padding:4px 2px; }
.time-entry button:hover { text-decoration:underline; }
.dial-help { font:12px/1.4 var(--sans); color:#fff2d2; text-shadow:0 1px 4px #000; margin:7px 0 0; text-align:center; }
@media(max-width:680px) {
  .dial-demo { grid-template-columns:min(32vw,118px) minmax(0,1fr); }
  .time-entry,.dial-help { grid-column:1/-1; width:100%; }
  .time-entry input { font-size:16px; }
  .time-entry button { min-height:44px; }
  .dial-help { text-align:left; }
}
.sign-panel { margin:26px 0 0; padding:22px clamp(14px,3vw,30px); background:#fff9eb; color:var(--ink); border-top:3px solid #a67825; }
.sign-panel h3 { font:500 31px/1.18 var(--serif); margin:0 0 8px; }
.sign-note,.sign-consent { font-size:14px; line-height:1.5; }
.sign-fields { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.sign-fields label { font:600 13px/1.5 var(--sans); }
.sign-fields label span { font-weight:400; }
.sign-fields input,.sign-fields select { display:block; box-sizing:border-box; border:1px solid #75828a; border-radius:4px; background:white; width:100%; margin:5px 0 0; min-height:44px; padding:8px; color:var(--ink); font:16px var(--sans); }
.sign-consent { display:flex; align-items:flex-start; gap:10px; margin:18px 0; cursor:pointer; }
.sign-consent input { accent-color:var(--night); flex:0 0 18px; height:18px; margin:2px 0 0; }
.sign-trap { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.sign-panel [hidden] { display:none; }
.sign-panel .sign-result { margin:12px 0 0; }
.sign-result:empty { margin:0; }
.another-signer { border:0; padding:8px 0; background:transparent; text-decoration:underline; color:var(--ink); font-size:13px; }
.sign-panel button:disabled { opacity:.68; cursor:wait; }
@media(max-width:680px){.sign-fields { grid-template-columns:1fr; }}

/* Both sky planes use the landscape's cover and alignment so the skyline
   stays registered while the viewport changes shape. */
.cloud-sky {
  position:absolute;
  inset:0;
  overflow:hidden;
  pointer-events:none;
  -webkit-mask:url("/clouds/sky-window.svg") center 60%/cover no-repeat;
  mask:url("/clouds/sky-window.svg") center 60%/cover no-repeat;
}
.cloud-track {
  position:absolute;
  left:calc(0px - var(--tile));
  width:calc(100% + var(--tile));
  height:calc(var(--tile) * .2666667);
  background-image:var(--cloud-atlas,none);
  background-size:var(--tile) 200%;
  background-repeat:repeat-x;
}
.high-clouds {
  --tile:clamp(700px,86vw,1320px);
  top:0;
  background-position:0 0;
}
.low-clouds {
  --tile:clamp(540px,74vw,1100px);
  top:22%;
  background-position:0 100%;
}
@keyframes cross-the-sky {
  from { transform:translate3d(0,0,0); }
  to { transform:translate3d(var(--tile),0,0); }
}
@media(prefers-reduced-motion:no-preference) {
  .high-clouds { animation:cross-the-sky 224s linear -81s infinite; }
  .low-clouds { animation:cross-the-sky 116s linear -68s infinite; }
}
.vista.sky-idle,.vista.sky-idle .cloud-track { animation-play-state:paused!important; }
@media(max-width:680px) {
  .cloud-sky { -webkit-mask-position:69% center; mask-position:69% center; }
  .low-clouds { top:24%; }
}
/* Campaign clarity and smaller-screen participation. */
.bill-banner { padding:12px 5%; }
.bill-banner strong { font-size:clamp(29px,4vw,58px); }
.school-banner { padding:10px 6%; }
.school-banner p { font-size:clamp(17px,2vw,25px); }
.bill-status,.campaign-info { background:var(--paper); color:var(--ink); }
.status-grid { padding-block:38px; display:grid; grid-template-columns:1fr auto; gap:34px; align-items:center; }
.status-grid h2 { font-size:clamp(29px,3vw,40px); margin:9px 0; }
.status-grid p { max-width:790px; margin:10px 0; }
.status-sources { font-size:13px; }
.school-demo { margin:12px auto 0; width:min(100%,340px); display:flex; justify-content:space-between; gap:12px; padding:12px 15px; border:1px solid #ffd07b88; border-radius:8px; color:var(--ivory); background:#102c3cde; font-size:14px; }
.school-demo span { color:var(--gold); }
.info-grid { padding-block:65px; display:grid; grid-template-columns:1fr 1fr; gap:65px; border-top:1px solid #17272f22; }
.info-grid h2 { font-size:clamp(32px,4vw,48px); }
.info-grid p { font-size:15px; }
.share-panel { padding:20px; border:1px solid #17272f33; border-radius:10px; margin-top:20px; }
.share-panel h4 { margin:0 0 12px; font-size:19px; }
.share-panel .actions { flex-wrap:wrap; margin-top:0; }
.mobile-sign { display:none; }
.organizer-main { background:var(--paper); color:var(--ink); min-height:70vh; padding:50px 0; }
.organizer-main h1 { color:var(--ink); font-size:clamp(36px,6vw,64px); line-height:1.1; }
.organizer-main form { max-width:650px; display:grid; gap:18px; margin:25px 0; }
.organizer-main label { display:grid; gap:6px; }
.organizer-main input,.organizer-main textarea,.organizer-main select { width:100%; padding:12px; font:inherit; background:white; border:1px solid #73808a; border-radius:5px; }
.organizer-main textarea { min-height:140px; }
.organizer-main table { border-collapse:collapse; width:100%; margin:25px 0; font-size:14px; }
.organizer-main th,.organizer-main td { padding:12px; border-bottom:1px solid #17272f33; text-align:left; vertical-align:top; overflow-wrap:anywhere; }
.table-scroll { overflow-x:auto; }
.organizer-main .notice { padding:18px; background:#fff6df; border-left:3px solid #b27c25; }
@media(max-width:680px) {
 .bill-banner strong { font-size:clamp(26px,6.8vw,41px); }
 .bill-banner { padding-block:10px; }
 .school-banner { padding-block:8px; }
 .school-banner p { font-size:16px; }
 .status-grid,.info-grid { grid-template-columns:1fr; gap:20px; padding-block:35px; }
 .status-grid .button { justify-self:start; }
 .dial-demo { grid-template-columns:124px minmax(0,1fr); }
 .school-demo { grid-column:1/-1; width:100%; }
 .policy-switch { flex-direction:column; }
 .policy-switch button { min-height:44px; font-size:12px; }
 .mobile-sign { position:fixed; z-index:30; bottom:0; left:0; right:0; display:flex; justify-content:space-between; align-items:center; gap:10px; background:var(--gold); color:var(--ink); padding:13px 6% calc(13px + env(safe-area-inset-bottom)); font-size:15px; font-weight:700; text-decoration:none; box-shadow:0 -4px 20px #0003; }
 .mobile-sign span { font-size:11px; font-weight:400; }
 body { padding-bottom:calc(55px + env(safe-area-inset-bottom)); }
 .zip-entry>div { flex-wrap:wrap; }
 .zip-entry button { white-space:normal; }
}
.scene-settings { width:min(100%,340px); margin:12px auto 0; display:grid; grid-template-columns:.9fr 1.1fr; gap:10px; text-align:left; padding:12px; border:1px solid #ffffff30; border-radius:8px; background:#0a202ee8; }
.scene-settings label { font-size:12px; font-weight:600; min-width:0; }
.scene-settings input,.scene-settings select { display:block; width:100%; min-width:0; min-height:43px; margin-top:5px; border:1px solid #b8c6cc80; border-radius:5px; padding:7px; background:#102d3c; color:var(--ivory); color-scheme:dark; font:inherit; font-size:14px; }
.scene-settings input:focus-visible,.scene-settings select:focus-visible { outline:2px solid var(--gold); outline-offset:2px; }
.scene-settings input:invalid { border-color:#f0b8a3; }
.scene-sun-times { width:min(100%,360px); margin:9px auto; color:var(--ivory); font-size:12px; line-height:1.5; text-align:center; }
@media(max-width:680px) {
 .scene-settings { grid-column:1/-1; width:100%; }
 .scene-settings input,.scene-settings select { font-size:16px; }
 .scene-sun-times { grid-column:1/-1; width:100%; text-align:left; }
}
.scene-zip-form { width:min(100%,340px); margin:10px auto 0; padding:12px; background:#0a202ee8; border:1px solid #ffffff30; border-radius:8px; font-size:12px; }
.scene-zip-form label { display:block; margin-bottom:5px; font-weight:600; }
.scene-zip-form>div { display:flex; gap:8px; }
.scene-zip-form input { flex:1; min-width:0; width:100%; min-height:43px; border:1px solid #b8c6cc80; padding:7px; border-radius:5px; color:var(--ivory); background:#102d3c; font:inherit; font-size:16px; }
.scene-zip-form button { min-height:43px; padding:7px 12px; color:var(--ink); background:var(--gold); border:0; border-radius:5px; font-weight:600; }
.scene-zip-form button:disabled { opacity:.65; }
#scene-location-status { margin:7px 0 0; line-height:1.4; }
#scene-location-status:empty { display:none; }
@media(max-width:680px) { .scene-zip-form { grid-column:1/-1; width:100%; } }
@media(min-width:681px) {
 .dial-demo .face-shell { width:260px; margin-inline:auto; }
}

.edit-scene { display:none; }
.scene-controls { display:contents; }

@media(max-width:680px) {
  .bill-banner { padding:10px 4% 4px; }
  .bill-banner strong { font-size:clamp(25px,6.7vw,38px); }
  .school-banner { background:var(--night); color:var(--ivory); padding:0 6% 12px; }
  .school-banner p { font-size:clamp(13px,3.55vw,16px); line-height:1.28; max-width:35em; }
  .school-banner strong { color:var(--gold); }
  header { display:none; }
  .hero { --scene-height:clamp(245px,42svh,405px); min-height:0; display:block; background:var(--night); }
  .hero .vista,.hero .shade { height:var(--scene-height); bottom:auto; }
  .hero .vista { background:#152b3a url("/dawn.webp") 69% center/cover no-repeat; transform:none; animation:none; }
  .hero .shade { background:linear-gradient(180deg,#06132160,transparent 30%,transparent 72%,#06132185); }
  .hero .hero-grid { width:100%; padding:var(--scene-height) 0 0; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:0; align-items:center; }
  .hero .dial-demo { display:contents; }
  .hero .face-shell { position:absolute; top:14px; left:5%; width:72px; max-width:none; grid-area:auto; margin:0; }
  .hero .scene-caption { position:absolute; top:23px; left:calc(5% + 82px); margin:0; text-align:left; text-shadow:0 1px 5px #071321; }
  .hero .clockface .outer-ring { fill:#07162480; }
  .hero .scene-caption .micro { font-size:9px; }
  .hero .scene-caption .dial-time { font-size:25px; line-height:1.1; }
  .hero .school-demo,.hero .motion { position:absolute; top:calc(var(--scene-height) - 53px); margin:0; width:auto; min-height:40px; border:1px solid #fff6; background:#091c2edb; border-radius:22px; padding:9px 12px; color:var(--ivory); font-size:12px; }
  .hero .school-demo { left:5%; display:inline-flex; gap:8px; align-items:center; }
  .hero .school-demo span { font-size:11px; }
  .hero .motion { right:5%; }
  .hero .hero-foot { display:contents; }
  .hero .scroll-link { display:none; }
  .hero .policy-switch { grid-row:1; grid-column:1; width:calc(100% - 8px); max-width:265px; margin:12px 0 12px 8px; }
  .hero .policy-switch button { font-size:clamp(11px,3.05vw,14px); min-height:42px; }
  .edit-scene { display:inline-flex; align-items:center; justify-content:center; gap:6px; grid-row:1; grid-column:2; margin:0 10px; padding:8px 10px; min-height:44px; border:1px solid #ffefca55; border-radius:22px; color:var(--ivory); background:transparent; font:600 12px var(--sans); }
  .edit-scene::after { content:'+'; color:var(--gold); font-size:17px; }
  .edit-scene[aria-expanded=true]::after { content:'−'; }
  .scene-controls { display:none; }
  .scene-controls.is-open { grid-row:2; grid-column:1/-1; display:grid; gap:10px; padding:16px 5%; background:#112737; border-block:1px solid #ffffff22; }
  .scene-controls>* { grid-column:1/-1; margin:0; width:100%; max-width:none; }
  .scene-controls .time-explorer,.scene-controls .scene-settings,.scene-controls .scene-zip-form,.scene-controls .time-entry { background:transparent; border:0; padding:0; }
  .scene-controls .scene-sun-times,.scene-controls .dial-help,.scene-controls .scene-note { text-align:left; }
  .hero .hero-copy { grid-row:3; grid-column:1/-1; width:100%; max-width:none; padding:18px 5% 24px; border-top:1px solid #ffffff24; }
  .hero-copy .eyebrow { display:none; }
  .hero .hero-copy h1 { margin:0 0 10px; font-size:clamp(34px,9.1vw,52px); line-height:1; letter-spacing:-.065em; }
  .hero-copy h1 br { display:none; }
  .hero-copy h1 em::after { content:' '; }
  .hero-copy p { font-size:15px; line-height:1.45; max-width:44ch; }
  .hero-copy .actions { margin:16px 0 0; gap:18px; }
  .hero-copy .actions .primary { padding:11px 16px; }
  .mobile-sign { display:none; }
  body.show-mobile-sign .mobile-sign { display:flex; }
}
.view-landscape { display:none; }
@media(max-width:680px) {
  .view-landscape { display:block; min-height:44px; border:1px solid #fff5; border-radius:5px; color:var(--ivory); background:transparent; font:600 13px var(--sans); }
  .hero .school-demo,.hero .motion { top:calc(var(--scene-height) - 56px); min-height:44px; }
}
@media(max-width:360px) {
  .hero .school-demo span { display:none; }
}
