:root{color-scheme:dark;--paper:#e9eee6;--muted:#a4b5b6;--ink:#0a171d;--amber:#e7b978;--line:#263c43}*{box-sizing:border-box}body{margin:0;background:var(--ink);color:var(--paper);font:15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}main{max-width:1216px;margin:auto;padding:28px 40px 26px}.masthead{display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:24px}.masthead a{text-decoration:none;color:var(--paper);font-size:13px;letter-spacing:.16em;font-weight:800}.masthead a span{font-weight:400;color:var(--muted)}.study{font-size:10px;letter-spacing:.14em;color:var(--muted)}.intro{display:flex;justify-content:space-between;align-items:flex-end;margin:32px 0 24px;gap:20px}.eyebrow{font-size:10px;font-weight:650;letter-spacing:.19em;margin:0 0 8px;color:var(--amber)}h1{font:400 clamp(26px,3.6vw,43px)/1.12 Georgia,serif;margin:0;letter-spacing:-.025em}.intro>p{font-size:13px;color:var(--muted);margin:0}.clock{border:1px solid #496067;border-radius:8px;overflow:hidden;box-shadow:0 25px 70px #0003}.scene{position:relative;aspect-ratio:1.8;background:#213a40;overflow:hidden}canvas{width:100%;height:100%;display:block;object-fit:cover}.shade{position:absolute;inset:0;background:linear-gradient(180deg,#05171fb3 0%,#071b2520 31%,transparent 55%,#04151c0a 71%,#04151cab 100%);pointer-events:none}.scene-heading{position:absolute;inset:28px 32px auto;display:flex;justify-content:space-between;gap:20px}.scene-heading h2{font:400 34px/1.1 Georgia,serif;letter-spacing:-.02em;margin:0;color:#fff}.scene-heading .eyebrow{color:#e8e7d4}.edition{color:var(--amber);margin-left:5px}.location{color:#e5e9e6;margin:8px 0;font-size:12px}.time{text-align:right;color:#fff}.time>span{font-weight:300;font-size:48px;line-height:1;letter-spacing:-.05em;font-variant-numeric:tabular-nums}.time>small{font-size:12px;margin-left:7px}.time p{font-size:11px;margin:7px 0}.sample-tag{position:absolute;top:134px;left:32px;color:#ecf0e9;letter-spacing:.12em;font-size:8px}.river-readout{position:absolute;left:32px;right:32px;bottom:24px;display:flex;gap:30px;align-items:flex-end;text-shadow:0 1px 12px #000}.river-readout>div{padding-right:28px;border-right:1px solid #d9e5de40}.river-readout>div:last-child{border:0}.river-readout span{display:block;font-size:9px;letter-spacing:.17em;color:#d1ded9;margin-bottom:4px}.river-readout strong{font-size:22px;font-weight:450;color:#fff}.river-readout strong small{font-size:12px;margin-left:3px}.river-readout>div:last-child strong{font:20px Georgia,serif}.dayline{background:#10242c;padding:20px 32px 22px}.dayline-heading{display:flex;justify-content:space-between;gap:12px;font-size:10px;letter-spacing:.13em;color:var(--muted)}#light-remaining{letter-spacing:0;color:var(--amber);font-size:12px}.solar-line{position:relative;height:3px;background:#293942;margin:24px 0 14px}.daylight-band{position:absolute;inset:0 8%;background:linear-gradient(90deg,#917656,#e8c896 35%,#dcbd87 65%,#9b785e)}.sun-position{position:absolute;left:77%;top:50%;transform:translate(-50%,-50%);transition:left 1.1s ease}.sun-position span{display:block;width:10px;height:10px;border-radius:50%;background:#f6d7a1;box-shadow:0 0 0 5px #ecc69018,0 0 17px #efd2a754}.solar-labels{display:flex;justify-content:space-between;color:var(--muted);font-size:10px}.solar-labels b{font-weight:500;color:var(--paper);margin-left:5px}.controls{display:flex;gap:22px;flex-wrap:wrap;align-items:flex-end;margin:24px 0 18px}.control-group{display:flex;flex-direction:column;gap:8px}.control-label{font-size:10px;letter-spacing:.07em;color:var(--muted)}button,select{font:12px system-ui;color:var(--paper);background:#152a32;border:1px solid #38525b;border-radius:5px;min-height:40px;padding:9px 13px;cursor:pointer}button:hover,select:hover{background:#203c44}button:focus-visible,select:focus-visible{outline:2px solid var(--amber);outline-offset:3px}button:disabled{opacity:.4;cursor:not-allowed}button[aria-pressed=true]{background:#e6c18c;color:#17282b;border-color:#e6c18c}.segmented{display:flex}.segmented button{border-radius:0;border-right:0}.segmented button:first-child{border-radius:5px 0 0 5px}.segmented button:last-child{border-radius:0 5px 5px 0;border-right:1px solid #38525b}.motion-controls{display:flex;gap:8px;margin-left:auto}.notes{display:flex;justify-content:space-between;gap:32px;color:var(--muted);font-size:11px}.notes p{margin:0}.notes p:last-child{max-width:475px;color:#81999e}.loading{position:absolute;inset:0;display:grid;place-items:center;background:#162d35;color:var(--paper);font-size:14px}.loading[hidden]{display:none}html[data-mode=rain] .scene{background:#293942}html[data-mode=dusk] .scene{background:#2d283e}@media(min-width:1500px){main{max-width:1340px}}@media(max-width:900px){main{padding:22px}.motion-controls{margin-left:0}.scene{aspect-ratio:1.5}.intro>p{max-width:185px}.scene-heading{inset:23px 24px auto}.sample-tag{left:24px}.river-readout{left:24px;right:24px}.notes{gap:20px}}@media(max-width:560px){main{padding:18px 14px}.masthead{align-items:flex-start;gap:14px;flex-direction:column;padding-bottom:16px}.study{font-size:9px}.intro{margin:24px 0 18px}.intro>p{display:none}.scene{aspect-ratio:.88}canvas{object-fit:cover}.scene-heading{inset:23px 18px auto;gap:10px}.scene-heading h2{font-size:25px}.scene-heading .eyebrow{font-size:9px}.time>span{font-size:33px}.time>small{font-size:9px;margin-left:3px}.time p{max-width:100px;font-size:10px}.sample-tag{top:123px;left:18px;font-size:7px;letter-spacing:.08em}.river-readout{left:18px;right:18px;gap:16px;bottom:20px}.river-readout>div{padding-right:15px}.river-readout strong{font-size:20px}.river-readout>div:last-child strong{font-size:16px}.river-readout span{font-size:8px}.dayline{padding:17px 18px}.dayline-heading{font-size:8px}.solar-labels span{display:flex;flex-direction:column}.solar-labels span:nth-child(2){text-align:center}.solar-labels span:last-child{text-align:right}.solar-labels b{margin:3px 0 0}.controls{gap:17px 12px}.control-group:first-child{width:100%}.control-group:nth-child(2){flex:1}.control-group:nth-child(3){flex:1}select{width:100%;min-width:0}.control-label{font-size:10px}button,select{min-height:44px}.motion-controls{width:100%}.motion-controls button{flex:1}.notes{flex-direction:column;gap:10px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
@media(max-width:360px){.scene-heading{left:14px;right:14px}.scene-heading h2{font-size:22px}.river-readout{left:14px;right:14px;gap:12px}.river-readout>div{padding-right:10px}.river-readout strong{font-size:18px;white-space:nowrap}.river-readout strong small{font-size:10px}.river-readout>div:last-child strong{font-size:14px;white-space:normal}.sample-tag{left:14px;font-size:6.5px}}
