:root {
  --ink: #d9edff;
  --muted: #91b2d0;
  --night: #06162d;
  --night-rgb: 6, 22, 45;
  --blue: #0d315f;
  --blue-mid: #164a7c;
  --blue-high: #2e6b9b;
  --snow: #dceefe;
  --snow-dim: #a8c9e4;
  --sodium: #ffad50;
  --sodium-bright: #ffd08a;
  --sodium-rgb: 255, 173, 80;
  --line: rgba(188, 220, 246, .2);
  --gild: 0;
  --sky-lift: .7;
  --lamp-power: .62;
  --star-power: .3;
  --blue-hour: 1;
  --night-weight: 0;
  --warm-reach: .62;
  --font-display: 'Sora', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); scrollbar-color: #496f90 #06152b; scrollbar-width: thin; }
html::-webkit-scrollbar { width: 10px; }
html::-webkit-scrollbar-track { background: #06152b; }
html::-webkit-scrollbar-thumb { border: 3px solid #06152b; border-radius: 999px; background: linear-gradient(#315b80, #ffad50); }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 18%, rgba(41, 94, 143, calc(.12 + var(--gild) * .05)), transparent 34%),
    linear-gradient(180deg, var(--night), #081b38 42%, #06152c);
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-kerning: normal;
  font-variant-numeric: tabular-nums slashed-zero;
  text-rendering: optimizeLegibility;
  transition: background-color .7s ease, color .7s ease;
}
main { position: relative; isolation: isolate; }
main::before {
  content: ''; position: fixed; inset: 0; z-index: 28; pointer-events: none;
  background:
    radial-gradient(circle at 78% 38%, rgba(255, 165, 67, calc(var(--night-weight) * .045)), transparent 18%),
    linear-gradient(rgba(1, 8, 22, calc(var(--night-weight) * .26)), rgba(4, 16, 36, calc(var(--night-weight) * .16)));
  mix-blend-mode: multiply;
  transition: background .8s cubic-bezier(.2,.7,.2,1);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  background: rgba(255, 177, 78, calc(var(--gild) * .08));
  mix-blend-mode: screen;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
::selection { color: #07162c; background: var(--sodium-bright); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-link {
  position: fixed; z-index: 100; left: 16px; top: 12px; min-height: 44px; padding: 13px 18px;
  color: #ffe2b9; background: rgba(4, 18, 39, .96); border: 1px solid rgba(var(--sodium-rgb), .7);
  box-shadow: 0 12px 40px rgba(0,0,0,.32), 0 0 24px rgba(var(--sodium-rgb), .08);
  font: 8px/1.9 var(--font-mono); letter-spacing: .12em; text-transform: uppercase;
  transform: translateY(-180%); transition: transform .25s cubic-bezier(.16,.8,.2,1);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--sodium-bright); outline-offset: 4px; }

.grain {
  position: fixed; inset: -100%; z-index: 29; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
  animation: grain .32s steps(2) infinite;
}
@keyframes grain { 0% { transform: translate(0,0) } 25% { transform: translate(3%,-2%) } 50% { transform: translate(-2%,3%) } 75% { transform: translate(2%,2%) } }
.ambient-glow { position: fixed; z-index: -1; pointer-events: none; filter: blur(90px); border-radius: 50%; }
.ambient-glow--one { width: 38vw; height: 38vw; top: 20vh; left: -20vw; background: rgba(31, 100, 157, .16); }
.ambient-glow--two { width: 28vw; height: 28vw; right: -12vw; top: 54vh; background: rgba(var(--sodium-rgb), calc(var(--lamp-power) * .08)); }

.time-ribbon {
  position: fixed; z-index: 24; right: 18px; top: 50%; width: 148px; padding: 13px 14px 12px;
  transform: translateY(-50%) rotate(90deg) translateY(-58px); transform-origin: center;
  display: grid; grid-template-columns: auto auto; gap: 7px 14px; align-items: center;
  color: #789cba; background: rgba(4, 17, 37, .7); border: 1px solid rgba(189, 220, 243, .13);
  backdrop-filter: blur(14px); font: 6px/1 var(--font-mono); letter-spacing: .14em; pointer-events: none;
}
.time-ribbon strong { color: #e0f0fc; font: 300 15px/1 var(--font-mono); letter-spacing: -.04em; }
.time-ribbon > i { position: relative; grid-column: 1 / -1; height: 1px; background: linear-gradient(90deg, #163a5f, #7eb5d7); }
.time-ribbon > i b { position: absolute; left: 92%; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--sodium); box-shadow: 0 0 12px rgba(var(--sodium-rgb), .8); transition: left .7s cubic-bezier(.2,.7,.2,1); }
.time-ribbon small { grid-column: 1 / -1; color: #8fb0c9; font: inherit; }

.site-header {
  position: absolute; z-index: 20; top: 0; left: 0; right: 0; height: 88px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 clamp(24px, 4vw, 72px); border-bottom: 1px solid rgba(209, 233, 251, .18);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em;
}
.wordmark { display: inline-flex; align-items: center; gap: 12px; width: max-content; font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: -.02em; }
.wordmark em { color: var(--sodium); font-style: normal; font-weight: 300; }
.wordmark-mark { position: relative; display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid rgba(216, 236, 251, .55); border-radius: 50%; }
.wordmark-mark::before { content: ''; width: 20px; height: 1px; background: rgba(216,236,251,.6); }
.wordmark-mark i { position: absolute; width: 4px; height: 4px; background: var(--sodium); border-radius: 50%; bottom: 6px; }
.site-header nav { display: flex; gap: 34px; }
.site-header nav a, .site-footer a { transition: color .25s ease; }
.site-header nav a, .site-footer nav a { position: relative; }
.site-header nav a::after, .site-footer nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 1px; transform: scaleX(0); transform-origin: right; background: var(--sodium); transition: transform .35s cubic-bezier(.16,.8,.2,1); }
.site-header nav a:hover, .site-footer a:hover { color: var(--sodium-bright); }
.site-header nav a:hover::after, .site-footer nav a:hover::after, .site-header nav a:focus-visible::after, .site-footer nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.coordinates { justify-self: end; display: flex; gap: 22px; color: var(--muted); }
.coordinates b { color: var(--ink); font-weight: 400; }

[data-reveal] { opacity: 0; transform: translateY(18px); animation: reveal .9s cubic-bezier(.2,.7,.2,1) forwards; }
[data-reveal="1"] { animation-delay: .08s; }
[data-reveal="2"] { animation-delay: .25s; }
[data-reveal="3"] { animation-delay: .38s; }
[data-reveal="4"] { animation-delay: .58s; }
[data-reveal="5"] { animation-delay: .76s; }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }
.hero h1[data-reveal] { transform: translateY(28px); clip-path: inset(0 0 100% 0); filter: blur(5px); animation-name: heroTitleReveal; animation-duration: 1.25s; }
@keyframes heroTitleReveal { to { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0 0); filter: blur(0); } }

.hero { position: relative; height: max(760px, 100svh); min-height: 680px; overflow: hidden; background: #06162d; }
#polarCanvas { position: absolute; width: 100%; height: 100%; inset: 0; }
.hero-vignette { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,12,27,.5), transparent 50%, rgba(2,9,22,.25)), linear-gradient(0deg, rgba(4,13,29,.76), transparent 38%); }
.hero-noon-trace { position: absolute; z-index: 1; right: 5vw; top: 13%; display: flex; align-items: baseline; color: rgba(198, 228, 248, .045); font: 220 21vw/.8 var(--font-display); letter-spacing: -.12em; user-select: none; }
.hero-noon-trace i { color: rgba(var(--sodium-rgb), .16); font-size: .42em; font-style: normal; }
.hero-copy { position: absolute; z-index: 2; inset: 0; padding: 16vh clamp(24px, 7.5vw, 130px) 8vh; display: flex; flex-direction: column; justify-content: center; }
.kicker, .eyebrow { margin: 0 0 24px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .19em; line-height: 1.5; color: #b8d2e8; }
.kicker { display: flex; align-items: center; gap: 12px; }
.kicker span { width: 26px; height: 1px; background: var(--sodium); box-shadow: 0 0 12px var(--sodium); }
.hero h1 { margin: 0; width: min-content; font-size: clamp(68px, 10vw, 158px); line-height: .76; letter-spacing: -.095em; font-weight: 650; text-shadow: 0 4px 40px rgba(0,0,0,.18); }
.hero h1 span { color: transparent; -webkit-text-stroke: 1px rgba(212, 234, 251, .76); font-weight: 250; }
.hero-meta { width: min(680px, 55vw); margin: 36px 0 0 28vw; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.hero-meta p { margin: 0; color: #b5cee4; font-family: var(--font-mono); font-size: 12px; line-height: 1.8; }
.descend { display: flex; align-items: center; gap: 16px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.descend i { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(215,237,252,.38); border-radius: 50%; font-style: normal; transition: transform .25s, background .25s; }
.descend:hover i { transform: translateY(4px); background: rgba(216, 237, 252, .1); }
.hero-status { position: absolute; z-index: 3; right: clamp(24px, 4vw, 72px); bottom: 32px; display: flex; gap: 12px; align-items: center; color: #a9c6df; font: 10px/1 var(--font-mono); letter-spacing: .1em; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sodium); box-shadow: 0 0 10px var(--sodium); }
.hero-gauge { position: absolute; z-index: 3; right: clamp(28px, 6.5vw, 110px); top: 31%; width: 92px; color: #8caeca; font: 7px/1.4 var(--font-mono); letter-spacing: .12em; }
.hero-gauge > span { display: block; margin-bottom: 14px; }
.hero-gauge div { position: relative; height: 128px; width: 1px; margin-left: 4px; background: linear-gradient(#8ab5d5, rgba(138,181,213,.08)); }
.hero-gauge div::before, .hero-gauge div::after { content: ''; position: absolute; left: -3px; width: 7px; height: 1px; background: #769cba; }
.hero-gauge div::before { top: 0; }.hero-gauge div::after { bottom: 0; }
.hero-gauge i { position: absolute; left: -4px; top: 18%; width: 9px; height: 9px; border-radius: 50%; background: var(--sodium); box-shadow: 0 0 16px rgba(var(--sodium-rgb), .7); transition: top .45s ease; }
.hero-gauge strong { display: block; margin: 12px 0 4px; color: #d5ebfb; font-size: 15px; font-weight: 300; letter-spacing: -.03em; }
.hero-gauge small { color: #6489a8; font: inherit; }

.section-index { border-top: 1px solid var(--line); padding-top: 14px; color: #7fa4c4; font: 10px/1.4 var(--font-mono); letter-spacing: .15em; }
.clock-section, .forty-days, .diary, .sociology { padding: 120px clamp(24px, 6vw, 96px); }
.clock-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 8vw; align-items: end; margin: 80px 0 56px; }
h2 { margin: 0; font-size: clamp(48px, 7vw, 110px); line-height: .92; letter-spacing: -.065em; font-weight: 450; }
.clock-heading .eyebrow, .diary-mast .eyebrow, .science-copy .eyebrow, .sociology-copy .eyebrow, .return-copy .eyebrow, .afterlight .eyebrow { margin-bottom: 20px; color: var(--sodium-bright); }
.lede { max-width: 480px; margin: 0 0 6px; color: #a9c4db; font: 300 clamp(16px, 1.5vw, 21px)/1.65 var(--font-display); }
.clock-instrument { display: grid; grid-template-columns: minmax(440px, .94fr) 1.06fr; gap: 7vw; align-items: center; min-height: 620px; padding: 36px 2vw; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: radial-gradient(circle at 25% 50%, rgba(32, 95, 149, .16), transparent 38%); }
.clock-wrap { position: relative; max-width: 600px; justify-self: center; touch-action: none; user-select: none; }
.clock-face { display: block; width: 100%; overflow: visible; cursor: grab; filter: drop-shadow(0 30px 80px rgba(0,0,0,.35)); }
.clock-face:active { cursor: grabbing; }
.clock-face text { fill: #b9d4e9; font-family: var(--font-mono); }
.clock-face .tick-label { font-size: 10px; letter-spacing: .06em; }
.clock-face .horizon-label { font-size: 7px; letter-spacing: .22em; fill: #6f94b5; }
.clock-face .dial-time { font-size: 29px; font-weight: 300; fill: #e5f4ff; letter-spacing: -.05em; }
.clock-face .dial-phase { font-size: 7px; letter-spacing: .18em; fill: #88acca; }
.drag-hint { position: absolute; bottom: 5%; left: 50%; transform: translateX(-50%); white-space: nowrap; color: #668dab; font: 8px/1 var(--font-mono); letter-spacing: .14em; }
.clock-readouts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.depth-card, .lamp-card { min-height: 260px; padding: 30px; border: 1px solid rgba(177, 214, 242, .16); background: rgba(7, 27, 56, .5); backdrop-filter: blur(12px); }
.depth-card { clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); background: linear-gradient(145deg, rgba(24, 64, 103, .55), rgba(6, 24, 50, .62)); }
.readout-label { display: flex; justify-content: space-between; gap: 14px; color: #769dbd; font: 8px/1.5 var(--font-mono); letter-spacing: .12em; }
.depth-card strong { display: block; margin: 42px 0 24px; color: #dcedfb; font: 300 clamp(54px, 5vw, 78px)/1 var(--font-mono); letter-spacing: -.08em; }
.depth-scale { position: relative; width: 100%; height: 1px; background: linear-gradient(90deg, #87b8dc, #244d75); }
.depth-scale i { position: absolute; top: -4px; left: 12%; width: 9px; height: 9px; background: var(--sodium); border-radius: 50%; box-shadow: 0 0 13px var(--sodium); transition: left .45s ease; }
.depth-card p, .lamp-card p { color: #8babca; font: 300 11px/1.65 var(--font-mono); }
.lamp-card { display: flex; flex-direction: column; justify-content: space-between; transform: translateY(22px); border-color: rgba(var(--sodium-rgb), .22); background: radial-gradient(circle at 82% 18%, rgba(var(--sodium-rgb), .09), transparent 38%), rgba(6, 23, 47, .65); }
.lamp-orbit { position: relative; width: 80px; height: 80px; border: 1px solid rgba(var(--sodium-rgb), .3); border-radius: 50%; }
.lamp-orbit::before, .lamp-orbit::after { content: ''; position: absolute; inset: 13px; border: 1px solid rgba(var(--sodium-rgb), .17); border-radius: 50%; }
.lamp-orbit::after { inset: 27px; background: var(--sodium); border: 0; box-shadow: 0 0 calc(35px * var(--lamp-power)) calc(9px * var(--lamp-power)) rgba(var(--sodium-rgb), .65); }
.lamp-card strong { display: block; margin: 14px 0 0; color: #ffd09a; font-size: 18px; font-weight: 400; }
.town-circuit { grid-column: 1 / -1; display: grid; grid-template-columns: auto repeat(5, 1fr) auto repeat(3, 1fr) auto; align-items: center; gap: 7px; color: #638aaa; font: 7px/1 var(--font-mono); letter-spacing: .1em; }
.town-circuit i { height: 1px; background: rgba(110, 155, 190, .22); }
.town-circuit i::after { content: ''; display: block; width: 4px; height: 4px; margin-top: -2px; margin-left: calc(var(--warm-reach) * 80%); border-radius: 50%; background: var(--sodium); box-shadow: 0 0 calc(4px + 10px * var(--lamp-power)) rgba(var(--sodium-rgb), .7); transition: margin .7s ease; }
.preset-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.preset-row button { min-height: 72px; padding: 14px 8px; color: #89abc7; background: transparent; border: 0; border-right: 1px solid var(--line); cursor: pointer; font: 10px/1.5 var(--font-mono); transition: color .2s, background .2s; }
.preset-row button:last-child { border: 0; }
.preset-row button span { font-size: 8px; color: #5f86a7; }
.preset-row button:hover, .preset-row button.is-active { color: var(--snow); background: rgba(95, 153, 199, .09); }
.preset-row button.is-active::before { content: '● '; color: var(--sodium); }

.forty-days { position: relative; background: radial-gradient(circle at 82% 72%, rgba(var(--sodium-rgb), calc(.03 + var(--night-weight) * .07)), transparent 24%), linear-gradient(180deg, #081c39, #0b2446); }
.days-intro { display: grid; grid-template-columns: 1fr .7fr; gap: 10vw; align-items: end; margin: 70px 0 80px; }
.days-intro p { max-width: 430px; color: #9ebbd3; font-size: 16px; line-height: 1.7; }
.register-axis { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin-bottom: 16px; color: #6f94b3; font: 8px/1 var(--font-mono); letter-spacing: .12em; }
.register-axis i { height: 1px; background: linear-gradient(90deg, #648eae, rgba(var(--sodium-rgb), .7)); }
.day-grid { display: grid; grid-template-columns: repeat(10, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.day-grid button { position: relative; aspect-ratio: 1; min-width: 0; color: #81a3c1; background: rgba(8, 27, 55, .18); border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: pointer; font: 10px/1 var(--font-mono); transition: background .3s, color .3s; }
.day-grid button::after { content: ''; position: absolute; left: 50%; bottom: 16%; width: 3px; height: var(--mark, 20%); transform: translateX(-50%); background: #75a6ca; opacity: .55; }
.day-grid button:hover { color: white; background: rgba(82, 139, 183, .14); }
.day-grid button.is-active { color: #07162d; background: var(--sodium-bright); }
.day-grid button.is-active::after { background: #0d315f; opacity: .9; }
.day-grid button.is-active::before { content: ''; position: absolute; inset: -1px; border: 1px solid var(--sodium-bright); box-shadow: 0 0 30px rgba(var(--sodium-rgb), .28); animation: dayPulse 2.2s ease-in-out infinite; }
@keyframes dayPulse { 50% { box-shadow: 0 0 48px rgba(var(--sodium-rgb), .48); } }
.selected-day { display: grid; grid-template-columns: .3fr 1.1fr .4fr; gap: 6vw; align-items: start; min-height: 250px; padding: 52px 0; border-bottom: 1px solid var(--line); }
.selected-day span, .selected-day p { color: #769bbb; font: 9px/1.5 var(--font-mono); letter-spacing: .1em; }
.selected-day span b, .selected-day span small { display: block; font: inherit; }
.selected-day span b { color: var(--sodium-bright); margin-bottom: 9px; }
.selected-day span small { color: #6d91ae; }
.selected-day p { margin: 0; }
.selected-day blockquote { margin: 0; font-size: clamp(20px, 2.5vw, 37px); line-height: 1.35; letter-spacing: -.035em; font-weight: 300; }

.diary { position: relative; padding-bottom: 150px; background: radial-gradient(circle at 24% 40%, rgba(var(--sodium-rgb), calc(.035 + var(--night-weight) * .075)), transparent 17%), radial-gradient(circle at 78% 72%, rgba(var(--sodium-rgb), calc(.025 + var(--night-weight) * .065)), transparent 19%), #071a35; }
.diary-mast { display: grid; grid-template-columns: 1fr .45fr; gap: 10vw; margin: 80px 0 100px; align-items: end; }
.diary-mast > p { color: #89aaca; font: 11px/1.8 var(--font-mono); }
.borrowed-lamp { position: relative; margin: -22px 0 120px; border-top: 1px solid rgba(176, 210, 237, .22); border-bottom: 1px solid rgba(176, 210, 237, .16); background: linear-gradient(180deg, rgba(17, 48, 83, .13), rgba(2, 14, 31, .34)); }
.borrowed-lamp__intro { display: flex; justify-content: space-between; gap: 40px; padding: 22px 0 18px; color: #7598b7; font: 8px/1.55 var(--font-mono); letter-spacing: .12em; }
.borrowed-lamp__intro p { width: min(420px, 48%); margin: 0; color: #9cb9cf; letter-spacing: .04em; }
.lamp-street { position: relative; min-height: 440px; overflow: hidden; border-top: 1px solid rgba(154, 196, 225, .1); background: radial-gradient(ellipse at var(--lamp-x) 80%, rgba(var(--sodium-rgb), calc(.1 + var(--night-weight) * .12)) 0, rgba(var(--sodium-rgb), .04) calc(8% + var(--warm-reach) * 7%), transparent calc(22% + var(--warm-reach) * 8%)), linear-gradient(180deg, rgba(11, 42, 76, .54), rgba(4, 17, 36, .86)); transition: background .45s cubic-bezier(.16,.8,.2,1); }
.lamp-street::before { content: ''; position: absolute; left: -5%; right: -5%; bottom: 41px; height: 72px; background: #bfd8e9; clip-path: polygon(0 60%, 8% 48%, 15% 67%, 24% 45%, 32% 62%, 42% 40%, 51% 66%, 61% 42%, 72% 59%, 82% 38%, 91% 61%, 100% 48%, 100% 100%, 0 100%); box-shadow: 0 -20px 60px rgba(120, 173, 211, .1); }
.lamp-street::after { content: ''; position: absolute; left: calc(var(--lamp-x) - 15%); bottom: 28px; width: 30%; height: 45px; border: 1px solid rgba(var(--sodium-rgb), calc(.18 + var(--lamp-power) * .2)); border-radius: 50%; box-shadow: 0 0 38px rgba(var(--sodium-rgb), calc(.06 + var(--lamp-power) * .1)), inset 0 0 24px rgba(var(--sodium-rgb), .05); transition: left .34s cubic-bezier(.16,.8,.2,1), width .7s ease; }
.lamp-skyline { position: absolute; inset: 0; opacity: calc(.22 + var(--star-power) * .38); background-image: radial-gradient(circle, rgba(218,239,252,.7) 0 1px, transparent 1.4px), radial-gradient(circle, rgba(140,190,224,.55) 0 .7px, transparent 1.2px); background-position: 18px 24px, 63px 56px; background-size: 97px 83px, 131px 109px; }
.travelling-lamp { position: absolute; z-index: 4; left: var(--lamp-x); bottom: 54px; width: 2px; height: 142px; transform: translateX(-1px); background: #183b5b; transition: left .34s cubic-bezier(.16,.8,.2,1); }
.travelling-lamp::before { content: ''; position: absolute; left: -58px; top: 5px; width: 120px; height: 190px; transform-origin: 50% 0; background: linear-gradient(180deg, rgba(var(--sodium-rgb), calc(.17 + var(--lamp-power) * .12)), transparent 74%); clip-path: polygon(43% 0, 57% 0, 100% 100%, 0 100%); filter: blur(5px); }
.travelling-lamp i { position: absolute; left: -2px; top: 0; width: 31px; height: 2px; background: #254b68; }
.travelling-lamp i::after { content: ''; position: absolute; right: -1px; top: -2px; width: 9px; height: 6px; background: var(--sodium-bright); box-shadow: 0 0 calc(24px + 24px * var(--lamp-power)) calc(5px + 4px * var(--lamp-power)) rgba(var(--sodium-rgb), .62); }
.travelling-lamp b { position: absolute; left: -15px; bottom: -3px; width: 32px; height: 5px; border-radius: 50%; background: #183b5b; }
.lamp-windows { position: absolute; z-index: 5; inset: auto 0 58px; height: 100px; }
.lamp-windows button { position: absolute; bottom: 0; width: 64px; min-height: 76px; transform: translateX(-50%); border: 0; color: #648aa8; background: transparent; cursor: pointer; font: 6px/1.35 var(--font-mono); letter-spacing: .1em; transition: color .3s ease, transform .3s cubic-bezier(.16,.8,.2,1); }
.lamp-windows button:nth-child(1) { left: 22%; }.lamp-windows button:nth-child(2) { left: 43%; }.lamp-windows button:nth-child(3) { left: 67%; }.lamp-windows button:nth-child(4) { left: 88%; }
.lamp-windows button i { position: relative; display: block; width: 25px; height: 34px; margin: 0 auto 8px; border: 4px solid #173a5d; background: #09213f; box-shadow: inset 0 0 0 1px rgba(206,232,248,.05); transition: background .4s ease, box-shadow .4s ease; }
.lamp-windows button i::before, .lamp-windows button i::after { content: ''; position: absolute; background: #173a5d; }.lamp-windows button i::before { left: 50%; top: 0; width: 1px; height: 100%; }.lamp-windows button i::after { left: 0; right: 0; top: 50%; height: 1px; }
.lamp-windows button:hover, .lamp-windows button[aria-pressed="true"] { color: #ffd49a; transform: translateX(-50%) translateY(-3px); }
.lamp-windows button[aria-pressed="true"] i { background: #ffc475; box-shadow: 0 0 32px rgba(var(--sodium-rgb), calc(.36 + var(--night-weight) * .3)); }
.lamp-street blockquote { position: relative; z-index: 3; width: min(680px, 62%); margin: 0; padding: 78px 0 0 5vw; color: #d9ebf8; font-size: clamp(24px, 3vw, 46px); font-weight: 280; line-height: 1.25; letter-spacing: -.045em; text-wrap: balance; transition: opacity .18s ease, transform .28s cubic-bezier(.16,.8,.2,1); }
.lamp-street blockquote.is-changing { opacity: 0; transform: translateY(8px); }
.lamp-street > p { position: relative; z-index: 3; margin: 22px 0 0 5vw; color: var(--sodium-bright); font: 8px/1.4 var(--font-mono); letter-spacing: .12em; }
.lamp-slider-label { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; padding: 15px 0 0; color: #5f83a1; font: 7px/1 var(--font-mono); letter-spacing: .12em; }
.lamp-slider-label span:nth-child(2) { color: #a5bdd1; }.lamp-slider-label span:last-child { text-align: right; }
.lamp-slider { width: 100%; height: 44px; margin: 0 0 12px; appearance: none; background: transparent; cursor: ew-resize; }
.lamp-slider::-webkit-slider-runnable-track { height: 1px; background: linear-gradient(90deg, #365f82, #ffad50, #365f82); }
.lamp-slider::-moz-range-track { height: 1px; background: linear-gradient(90deg, #365f82, #ffad50, #365f82); }
.lamp-slider::-webkit-slider-thumb { appearance: none; width: 44px; height: 44px; margin-top: -22px; border: 1px solid rgba(255,208,138,.62); border-radius: 50%; background: radial-gradient(circle, #ffd08a 0 3px, #0a203e 4px 100%); box-shadow: 0 0 22px rgba(var(--sodium-rgb), .22); }
.lamp-slider::-moz-range-thumb { width: 42px; height: 42px; border: 1px solid rgba(255,208,138,.62); border-radius: 50%; background: radial-gradient(circle, #ffd08a 0 3px, #0a203e 4px 100%); box-shadow: 0 0 22px rgba(var(--sodium-rgb), .22); }
.diary-list { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.diary-entry { position: relative; grid-column: span 5; min-height: 480px; padding: 42px 34px 34px; overflow: hidden; border: 0; border-top: 1px solid rgba(176, 210, 237, .24); background: linear-gradient(155deg, rgba(18, 53, 91, .28), transparent 55%); display: flex; flex-direction: column; justify-content: space-between; }
.diary-entry::before { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 34%; background: linear-gradient(var(--sodium), transparent); opacity: calc(.3 + var(--night-weight) * .55); }
.diary-entry::after { content: attr(data-day); position: absolute; right: -8px; bottom: -34px; color: rgba(169, 205, 232, .035); font: 600 180px/.8 var(--font-display); letter-spacing: -.1em; pointer-events: none; }
.diary-entry--wide { grid-column: 2 / span 7; }
.diary-entry--offset { grid-column: 3 / span 5; margin-top: 70px; }
.diary-entry--blue { grid-column: 8 / span 5; margin-top: -70px; }
.entry-light { position: absolute; width: 360px; height: 360px; right: -130px; top: -150px; background: radial-gradient(circle, rgba(var(--sodium-rgb), calc(.11 + .23 * var(--night-weight))), rgba(var(--sodium-rgb), .018) 39%, transparent 68%); filter: blur(4px); }
.entry-date { display: flex; justify-content: space-between; color: #7da2c1; font: 8px/1 var(--font-mono); letter-spacing: .1em; }
.entry-date b { color: var(--sodium-bright); font-weight: 400; }
.diary-entry blockquote { position: relative; margin: auto 0; font-size: clamp(20px, 2.2vw, 34px); font-weight: 300; line-height: 1.45; letter-spacing: -.03em; }
.entry-person span, .entry-person small { display: block; font: 9px/1.6 var(--font-mono); letter-spacing: .1em; }
.entry-person small { color: #6f94b4; }
.keeper-note { width: min(760px, 70vw); margin: 140px 4vw 0 auto; padding: 28px 0 28px 12vw; border-top: 1px solid rgba(var(--sodium-rgb), .35); border-bottom: 1px solid var(--line); background: radial-gradient(circle at 84% 50%, rgba(var(--sodium-rgb), calc(.04 + var(--night-weight) * .09)), transparent 26%); }
.keeper-note span, .keeper-note small { color: #7e9fba; font: 8px/1.5 var(--font-mono); letter-spacing: .12em; }
.keeper-note p { max-width: 620px; margin: 20px 0; color: #d2e6f6; font-size: clamp(24px, 3.2vw, 46px); line-height: 1.25; letter-spacing: -.04em; font-weight: 300; }
.keeper-note small { color: var(--sodium-bright); }

.science { position: relative; min-height: 940px; padding: 105px clamp(24px, 6vw, 96px); overflow: hidden; color: #0a2a51; background: linear-gradient(165deg, #dceffe 0%, #b7d5ec 66%, #8eb6d4 100%); }
.science::after { content: ''; position: absolute; inset: auto -10% -25% 28%; height: 58%; background: rgba(244,250,255,.58); transform: rotate(-5deg); filter: blur(2px); }
.section-index--dark { position: relative; z-index: 2; color: #345f83; border-color: rgba(16, 53, 88, .28); }
.eyebrow--dark { color: #1f5a89 !important; }
.science-copy { position: relative; z-index: 2; width: min(850px, 72%); margin: 90px 0 0; }
.science-copy h2 { font-size: clamp(62px, 9vw, 140px); }
.science-lede { width: min(550px, 65%); margin: 42px 0 0 auto; color: #214b70; font-size: clamp(17px, 1.6vw, 23px); line-height: 1.6; }
.science-lede strong { color: #0b3159; font-weight: 600; }
.albedo-lab { position: relative; z-index: 3; display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; margin-top: 60px; }
.beam-diagram { position: relative; height: 330px; }
.lamp-post { position: absolute; z-index: 4; left: 20%; bottom: 44px; width: 10px; height: 240px; background: #315a7b; }
.lamp-post i { position: absolute; left: -3px; top: 0; width: 70px; height: 9px; background: #315a7b; border-radius: 8px; }
.lamp-post i::after { content: ''; position: absolute; right: 3px; top: 7px; width: 15px; height: 8px; background: #ffaf50; box-shadow: 0 0 40px 18px rgba(255, 173, 76, .54); }
.lamp-post span { position: absolute; left: -14px; bottom: -4px; width: 38px; height: 7px; background: #315a7b; border-radius: 50%; }
.beam { position: absolute; z-index: 2; transform-origin: 0 50%; height: 1px; background: linear-gradient(90deg, rgba(255,173,76,.78), transparent); }
.beam--one { width: 55%; left: calc(20% + 67px); bottom: 273px; transform: rotate(52deg); }
.beam--two { width: 63%; left: calc(20% + 67px); bottom: 273px; transform: rotate(40deg); }
.beam--three { width: 50%; left: calc(20% + 67px); bottom: 273px; transform: rotate(65deg); }
.return-arc { position: absolute; z-index: 3; bottom: 34px; left: 26%; width: 36%; height: 92px; border-top: 1px solid rgba(32, 91, 132, .42); border-radius: 50%; transform: rotate(-8deg); }
.return-arc--two { left: 41%; width: 28%; height: 125px; opacity: .55; transform: rotate(9deg); }
.beam-label { position: absolute; z-index: 4; color: #315d7d; font: 8px/1 var(--font-mono); letter-spacing: .12em; }
.beam-label--incident { left: 43%; top: 38%; transform: rotate(42deg); }.beam-label--return { left: 56%; bottom: 82px; }
.snow-line { position: absolute; left: 0; right: 0; bottom: 35px; height: 2px; background: rgba(255,255,255,.9); box-shadow: 0 -12px 48px 18px rgba(255,255,255,.34); }
.science-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid rgba(21,65,101,.22); }
.science-stats article { min-height: 195px; padding: 20px; border-right: 1px solid rgba(21,65,101,.22); display: flex; flex-direction: column; }
.science-stats span, .science-stats small, .science-caption { color: #396281; font: 8px/1.5 var(--font-mono); letter-spacing: .1em; }
.science-stats strong { margin: auto 0; font: 300 clamp(32px, 3.5vw, 56px)/1 var(--font-mono); }
.science-caption { position: relative; z-index: 3; margin: 16px 0 0; text-align: right; }

.sociology { background: #06162d; }
.sociology-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 8vw; align-items: center; margin-top: 80px; }
.window-wall { padding: 32px; border: 1px solid var(--line); background: #071b36; box-shadow: 0 50px 100px rgba(0,0,0,.26); }
.building-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.4vw, 22px); padding: 8% 5% 11%; aspect-ratio: 1.2; background: linear-gradient(155deg, #0b294e, #06152b); }
.building-grid i { position: relative; overflow: hidden; border: 5px solid #15375a; background: #08203f; box-shadow: inset 0 0 0 1px rgba(178, 213, 239, .04); }
.building-grid i.is-lit { opacity: calc(.58 + var(--night-weight) * .42); background: #ffc16e; box-shadow: 0 0 calc(18px + 22px * var(--lamp-power)) rgba(var(--sodium-rgb), calc(.18 + var(--night-weight) * .28)); transition: opacity .7s ease, box-shadow .7s ease; }
.building-grid i::before { content: ''; position: absolute; left: 0; right: 0; top: 48%; height: 1px; background: rgba(24, 54, 80, .35); }
.building-grid i::after { content: ''; position: absolute; width: 1px; height: 100%; left: 50%; background: rgba(26,56,79,.34); }
.building-grid i.is-lit:nth-child(3n)::before { top: auto; bottom: 0; left: 16%; right: auto; width: 48%; height: 44%; background: rgba(20, 47, 69, .32); border-radius: 40% 40% 0 0; }
.building-grid i.is-lit:nth-child(4n)::after { width: 38%; left: auto; right: 0; background: rgba(123, 67, 29, .22); }
.building-grid i.is-blue { background: #5b91bb; box-shadow: 0 0 24px rgba(103, 170, 218, .22); }
.window-legend { display: flex; gap: 28px; margin-top: 18px; color: #698eae; font: 8px/1 var(--font-mono); letter-spacing: .08em; }
.window-legend span { display: flex; align-items: center; gap: 8px; }
.window-legend i { width: 8px; height: 8px; background: var(--sodium); }
.window-legend span:last-child i { background: #5b91bb; }
.sociology-copy p:not(.eyebrow) { color: #99b6cf; font-size: 16px; line-height: 1.75; }
.sociology-copy dl { margin: 50px 0 0; }
.sociology-copy dl div { display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.sociology-copy dt { color: var(--sodium-bright); font: 11px/1.5 var(--font-mono); }
.sociology-copy dd { margin: 0; color: #86a7c3; font: 10px/1.6 var(--font-mono); }
.dose-line { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-top: 32px; color: #7094b1; font: 8px/1 var(--font-mono); letter-spacing: .09em; }
.dose-line > i { height: 3px; background: #102d4c; }
.dose-line > i b { display: block; width: 64%; height: 100%; background: linear-gradient(90deg, #6ca5cd, var(--sodium)); box-shadow: 0 0 12px rgba(var(--sodium-rgb), .28); }
.dose-line strong { color: #b4cee0; font-weight: 400; }

.return { position: relative; height: max(800px, 100svh); min-height: 720px; overflow: hidden; background: #06152b; }
#sunCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.return-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,13,30,.74), rgba(3,13,30,.12) 62%, rgba(3,13,30,.35)), linear-gradient(0deg, rgba(4,14,31,.72), transparent 45%); }
.return-copy { position: absolute; z-index: 2; top: 10%; left: clamp(24px, 7vw, 110px); width: min(700px, 58vw); }
.return-copy .section-index { margin-bottom: 70px; }
.return-copy h2 { font-size: clamp(75px, 10vw, 152px); line-height: .76; }
.return-copy h2 span { color: var(--sodium-bright); font-weight: 250; font-style: italic; }
.return-copy > p:not(.eyebrow) { width: min(440px, 75%); margin: 32px 0; color: #abc5da; line-height: 1.7; }
.sun-button { display: flex; align-items: center; gap: 16px; min-height: 52px; padding: 8px 8px 8px 20px; border: 1px solid rgba(var(--sodium-rgb), .5); border-radius: 40px; color: #ffe5bd; background: rgba(67, 41, 20, .25); cursor: pointer; font: 9px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.sun-button { transition: color .3s ease, border-color .3s ease, background .3s ease, transform .3s cubic-bezier(.16,.8,.2,1); }
.sun-button:hover, .sun-button:focus-visible { color: #fff4df; border-color: var(--sodium-bright); background: rgba(112, 67, 28, .34); transform: translateY(-2px); }
.sun-button i { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--sodium); box-shadow: 0 0 calc(32px * var(--gild)) calc(8px * var(--gild)) rgba(var(--sodium-rgb), .75); }
.sun-button i::after { content: ''; position: absolute; inset: 6px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; }
.sun-timer { position: absolute; z-index: 3; right: clamp(24px, 6vw, 96px); bottom: 76px; text-align: right; }
.sun-timer span, .return-note { display: block; color: #8baac4; font: 8px/1.6 var(--font-mono); letter-spacing: .13em; }
.sun-timer strong { display: block; margin-top: 8px; color: #ffd79d; font: 300 28px/1 var(--font-mono); }
.sun-progress { position: absolute; z-index: 3; right: clamp(24px, 6vw, 96px); top: 20%; width: min(360px, 28vw); padding-top: 14px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(228, 207, 171, .25); }
.sun-progress > i { position: absolute; left: 0; top: -1px; width: 100%; height: 2px; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, #ff9f42, #ffe4aa); box-shadow: 0 0 18px #ffb45c; }
.sun-progress span { color: #819eb4; font: 6px/1.4 var(--font-mono); letter-spacing: .09em; }
.return-note { position: absolute; z-index: 3; left: clamp(24px, 6vw, 96px); bottom: 30px; }

.afterlight { display: grid; grid-template-columns: .3fr 1fr .5fr; gap: 7vw; align-items: end; padding: 130px clamp(24px, 6vw, 96px) 150px; background: linear-gradient(180deg, #0a2344, #07162d); }
.after-coordinate { color: #688cab; font: 9px/1.7 var(--font-mono); letter-spacing: .1em; }
.afterlight h2 { font-size: clamp(46px, 6vw, 88px); }
.afterlight > p { margin: 0; color: #8facbf; font: 11px/1.8 var(--font-mono); }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; min-height: 160px; padding: 30px clamp(24px, 4vw, 72px); border-top: 1px solid var(--line); background: #051327; color: #8faac1; font: 9px/1.6 var(--font-mono); letter-spacing: .08em; }
.footer-mark { color: #bcd4e7; font-family: var(--font-display); font-size: 12px; font-weight: 500; }
.footer-mark span { color: var(--sodium); }
.site-footer p { text-align: center; }
.site-footer nav { justify-self: end; display: flex; gap: 24px; text-align: right; }

@media (max-width: 1100px) {
  .time-ribbon { display: none; }
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto auto; gap: 22px; }
  .site-header nav { gap: 18px; }
  .site-header nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .hero-meta { margin-left: 20vw; width: min(640px, 70vw); }
  .hero-noon-trace { right: -3vw; top: 19%; font-size: 27vw; }
  .clock-section, .forty-days, .diary, .sociology { padding-top: 90px; padding-bottom: 90px; }
  .clock-heading, .days-intro { grid-template-columns: 1fr .8fr; gap: 5vw; }
  .clock-instrument { grid-template-columns: 1fr; gap: 45px; }
  .clock-wrap { width: min(560px, 88vw); }
  .day-grid { grid-template-columns: repeat(8, 1fr); }
  .selected-day { grid-template-columns: .25fr 1fr; }
  .selected-day p { grid-column: 2; }
  .diary-mast { grid-template-columns: 1fr .55fr; gap: 5vw; }
  .lamp-street blockquote { width: 72%; }
  .diary-entry { grid-column: span 6; }
  .diary-entry--wide { grid-column: 1 / span 8; }
  .diary-entry--offset { grid-column: 1 / span 6; }
  .diary-entry--blue { grid-column: 7 / span 6; }
  .science { min-height: auto; }
  .science-copy { width: 88%; }
  .albedo-lab { grid-template-columns: .9fr 1.1fr; }
  .sociology-grid { grid-template-columns: 1fr; }
  .window-wall { width: min(640px, 100%); }
  .return-copy { width: min(700px, 72vw); }
  .sun-progress { top: auto; bottom: 145px; width: 42vw; }
  .afterlight { grid-template-columns: .25fr 1fr; }
  .afterlight > p { grid-column: 2; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer p { order: 3; grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 600px) {
  .site-header { height: 72px; padding: 0 14px; grid-template-columns: auto 1fr; gap: 8px; }
  .wordmark { font-size: 12px; }
  .wordmark-mark { width: 26px; height: 26px; }
  .site-header nav { justify-self: end; gap: 2px; }
  .site-header nav a { min-width: 44px; min-height: 44px; justify-content: center; font-size: 0; letter-spacing: 0; }
  .site-header nav a::before { font-size: 7px; letter-spacing: .08em; }
  .site-header nav a:nth-child(1)::before { content: 'CLOCK'; }
  .site-header nav a:nth-child(2)::before { content: 'DIARY'; }
  .site-header nav a:nth-child(3) { display: none; }
  .coordinates { display: none; }
  .hero { min-height: 680px; height: 100svh; }
  .hero-copy { padding: 110px 20px 110px; justify-content: center; }
  .hero h1 { font-size: clamp(60px, 22vw, 86px); line-height: .79; letter-spacing: -.1em; }
  .hero-noon-trace { right: -30vw; top: 24%; font-size: 46vw; opacity: .8; }
  .hero-meta { width: 100%; margin: 35px 0 0; align-items: center; }
  .hero-meta p { font-size: 9px; }
  .descend span { display: none; }
  .hero-status { left: 20px; right: auto; bottom: 24px; }
  .hero-gauge { display: none; }
  .clock-section, .forty-days, .diary, .sociology { padding: 74px 20px; }
  .section-index { font-size: 8px; }
  .clock-heading, .days-intro, .diary-mast { grid-template-columns: 1fr; margin: 52px 0 40px; }
  h2 { font-size: clamp(45px, 14vw, 62px); }
  .lede, .days-intro p { font-size: 14px; }
  .clock-instrument { margin-inline: -20px; padding: 30px 12px 20px; min-height: 0; gap: 25px; }
  .clock-wrap { width: min(100%, 420px); }
  .clock-readouts { grid-template-columns: 1fr; }
  .depth-card, .lamp-card { min-height: 210px; padding: 24px; }
  .depth-card strong { margin: 30px 0 22px; }
  .lamp-card { min-height: 230px; }
  .lamp-card { transform: none; }
  .town-circuit { grid-template-columns: auto repeat(3, 1fr) auto; gap: 6px; padding: 0 8px; }
  .town-circuit i:nth-of-type(n+4), .town-circuit span:last-of-type { display: none; }
  .preset-row { overflow-x: auto; grid-template-columns: repeat(4, minmax(92px, 1fr)); }
  .preset-row button { min-height: 64px; }
  .day-grid { grid-template-columns: repeat(5, 1fr); }
  .day-grid button { min-height: 58px; aspect-ratio: auto; }
  .selected-day { grid-template-columns: 1fr; gap: 25px; min-height: 0; }
  .selected-day p { grid-column: auto; }
  .selected-day span { display: flex; justify-content: space-between; gap: 20px; }
  .selected-day blockquote { font-size: 23px; }
  .diary-mast > p { font-size: 9px; }
  .borrowed-lamp { margin: -8px 0 82px; }
  .borrowed-lamp__intro { display: block; padding-top: 18px; }
  .borrowed-lamp__intro p { width: 100%; margin-top: 12px; }
  .lamp-street { min-height: 440px; margin-inline: -20px; }
  .lamp-street blockquote { width: 100%; padding: 52px 24px 0; font-size: 28px; text-wrap: pretty; }
  .lamp-street > p { margin: 18px 24px 0; }
  .lamp-windows button { width: 54px; }
  .lamp-windows button span { font-size: 0; }
  .lamp-windows button span::after { content: attr(data-short); }
  .lamp-slider-label { padding-top: 18px; }
  .diary-list { display: flex; flex-direction: column; }
  .diary-entry, .diary-entry--wide, .diary-entry--offset, .diary-entry--blue { min-height: 390px; margin: 0; padding: 26px; }
  .diary-entry blockquote { font-size: 23px; }
  .keeper-note { width: 100%; margin: 90px 0 0; padding: 28px 0 28px 22px; }
  .keeper-note p { font-size: 27px; }
  .science { padding: 74px 20px; min-height: 900px; }
  .science-copy { width: 100%; margin-top: 58px; }
  .science-copy h2 { font-size: 60px; }
  .science-lede { width: 100%; margin: 28px 0 0; font-size: 16px; }
  .albedo-lab { grid-template-columns: 1fr; margin-top: 15px; }
  .beam-diagram { height: 280px; }
  .beam-label { font-size: 6px; }
  .science-stats { grid-template-columns: repeat(3, 1fr); }
  .science-stats article { min-height: 145px; padding: 12px 8px; }
  .science-stats strong { font-size: 28px; }
  .science-caption { text-align: left; font-size: 7px; }
  .sociology-grid { margin-top: 50px; }
  .window-wall { padding: 15px; }
  .building-grid { gap: 7px; }
  .building-grid i { border-width: 3px; }
  .window-legend { flex-direction: column; gap: 8px; }
  .sociology-copy { margin-top: 24px; }
  .return { height: 800px; }
  .return-copy { top: 8%; left: 20px; width: calc(100% - 40px); }
  .return-copy .section-index { margin-bottom: 46px; }
  .return-copy h2 { font-size: 75px; }
  .return-copy > p:not(.eyebrow) { width: 88%; font-size: 14px; }
  .sun-progress { left: 20px; right: 20px; bottom: 136px; width: auto; }
  .sun-timer { right: 20px; bottom: 72px; }
  .sun-timer strong { font-size: 21px; }
  .return-note { left: 20px; bottom: 22px; width: 60%; }
  .afterlight { grid-template-columns: 1fr; padding: 80px 20px 90px; }
  .afterlight > p { grid-column: auto; }
  .after-coordinate { order: 3; }
  .site-footer { grid-template-columns: 1fr; padding: 38px 20px; gap: 24px; }
  .site-footer p { order: initial; grid-column: auto; margin: 0; text-align: left; }
  .site-footer nav { justify-self: start; flex-wrap: wrap; gap: 16px 22px; text-align: left; }
  .site-footer a { min-height: 44px; display: inline-flex; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .grain { animation: none; }
}
