@font-face {
  font-family: "Manrope Local";
  src: url("assets/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk Local";
  src: url("assets/space-grotesk.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono Local";
  src: url("assets/dm-mono.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
}

:root {
  --ink: #090908;
  --ink-soft: #11110f;
  --paper: #f4f0e7;
  --paper-soft: #ddd9ce;
  --muted: #9f9c93;
  --line: rgba(244, 240, 231, 0.16);
  --dark-line: rgba(9, 9, 8, 0.16);
  --eclipse: #ff6b35;
  --meteor: #64e6d1;
  --signal: #ffc857;
  --display: "Space Grotesk Local", "PingFang SC", sans-serif;
  --body: "Manrope Local", "PingFang SC", sans-serif;
  --mono: "DM Mono Local", "PingFang SC", monospace;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
::selection { color: var(--ink); background: var(--meteor); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  padding: 0 42px;
  border-bottom: 1px solid var(--line);
}
.wordmark, .footer-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0;
}
.wordmark b { color: var(--eclipse); font-weight: 500; }
.wordmark-mark {
  width: 19px;
  height: 19px;
  border: 1px solid var(--paper);
  border-radius: 50%;
  box-shadow: inset 6px 0 0 var(--eclipse);
}
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  color: var(--paper-soft);
  font-size: 12px;
  font-weight: 600;
}
.main-nav a:hover { color: var(--paper); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.language-switch {
  display: flex;
  border: 1px solid var(--line);
}
.language-switch button {
  min-width: 42px;
  height: 32px;
  padding: 0 9px;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
}
.language-switch button + button { border-left: 1px solid var(--line); }
.language-switch button.is-active { color: var(--ink); background: var(--paper); }
.icon-button {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 7px;
  color: var(--paper);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(440px, .95fr);
  grid-template-rows: 1fr auto;
  min-height: 92vh;
  max-height: 960px;
  padding: 150px 42px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 72% 42%, rgba(255, 107, 53, .11), transparent 27%),
    linear-gradient(120deg, #090908 0%, #0e0f0e 62%, #0a1110 100%);
}
.star-field {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .48;
  background-image:
    radial-gradient(circle, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(100,230,209,.8) 0 1px, transparent 1.5px);
  background-position: 0 0, 77px 121px;
  background-size: 143px 167px, 191px 213px;
  mask-image: linear-gradient(to right, transparent 4%, black 48%, black 100%);
}
.hero-copy { align-self: center; max-width: 760px; padding-bottom: 60px; }
.eyebrow, .mini-label {
  margin: 0 0 20px;
  color: var(--eclipse);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}
.hero-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--meteor); }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--meteor); box-shadow: 0 0 0 7px rgba(100,230,209,.1); animation: pulse 2.2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 11px rgba(100,230,209,0); } }
.hero h1, h2, .selected-city h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  line-height: .98;
  letter-spacing: 0;
}
.hero h1 { max-width: 710px; font-size: 76px; }
.hero-intro { max-width: 620px; margin: 28px 0 0; color: var(--paper-soft); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 35px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 19px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}
.button svg { width: 18px; height: 18px; }
.button--primary { color: var(--ink); background: var(--paper); }
.button--primary:hover { background: var(--meteor); }
.button--ghost { color: var(--paper); background: rgba(9,9,8,.25); border-color: var(--line); }
.button--ghost:hover { border-color: var(--paper); }

.eclipse-stage { position: relative; align-self: center; justify-self: center; width: min(40vw, 560px); aspect-ratio: 1; }
.sun-corona, .moon-disc, .diamond-ring { position: absolute; border-radius: 50%; }
.sun-corona {
  inset: 11%;
  background: radial-gradient(circle, #fff9e7 0 32%, #ffc98f 33%, rgba(255,107,53,.45) 42%, rgba(255,107,53,.08) 56%, transparent 68%);
  box-shadow: 0 0 70px rgba(255,107,53,.28), 0 0 150px rgba(255,200,87,.11);
  animation: corona 8s ease-in-out infinite;
}
.sun-corona::before, .sun-corona::after {
  content: "";
  position: absolute;
  inset: -8%;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  transform: scaleX(1.14) rotate(-12deg);
}
.sun-corona::after { inset: -15%; opacity: .45; transform: scaleY(1.12) rotate(18deg); }
.moon-disc {
  inset: 21%;
  background: radial-gradient(circle at 32% 30%, #181a19, #020202 66%);
  box-shadow: inset 16px -12px 40px rgba(255,255,255,.04), 0 0 0 1px rgba(255,255,255,.06);
}
.diamond-ring { top: 24%; right: 23%; width: 10px; height: 10px; background: #fff; box-shadow: 0 0 8px 3px #fff, 0 0 25px 10px #ffc857, 0 0 80px 30px rgba(255,107,53,.55); }
.meteor { position: absolute; width: 150px; height: 1px; transform: rotate(-30deg); background: linear-gradient(90deg, transparent, rgba(100,230,209,.8), #fff); }
.meteor::after { content: ""; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 11px var(--meteor); }
.meteor-a { top: 11%; right: -4%; }
.meteor-b { bottom: 12%; left: -8%; width: 95px; opacity: .7; }
.meteor-c { bottom: 26%; right: -13%; width: 65px; opacity: .5; }
.orbit-label { position: absolute; color: var(--muted); font-family: var(--mono); font-size: 9px; }
.orbit-label--one { left: 4%; top: 38%; }
.orbit-label--two { right: -4%; bottom: 33%; color: var(--meteor); }
@keyframes corona { 50% { transform: rotate(2deg) scale(1.025); filter: brightness(1.08); } }

.hero-readout { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.25fr 1fr; border-top: 1px solid var(--line); }
.event-readout, .countdown { min-height: 126px; padding: 23px 26px; }
.event-readout + .event-readout, .countdown { border-left: 1px solid var(--line); }
.event-readout .mini-label { margin: 0 0 11px; }
.event-readout--meteor .mini-label { color: var(--meteor); }
.event-readout div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.event-readout span, .event-readout small { color: var(--muted); font-size: 11px; }
.event-readout strong { font-family: var(--mono); font-size: 15px; font-weight: 500; }
.event-readout small { display: block; margin-top: 6px; }
.countdown { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
.countdown p { max-width: 160px; margin: 0; color: var(--muted); font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.countdown-grid { display: flex; gap: 20px; }
.countdown-grid span { display: grid; text-align: center; }
.countdown-grid b { font-family: var(--mono); font-size: 27px; font-weight: 300; line-height: 1; }
.countdown-grid small { margin-top: 5px; color: var(--muted); font-family: var(--mono); font-size: 8px; text-transform: uppercase; }

.section { max-width: var(--max); margin: auto; padding: 120px 42px; }
.section-heading { margin-bottom: 58px; }
.split-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10vw; align-items: end; }
h2 { max-width: 810px; font-size: 52px; }
.section-heading p:not(.eyebrow), .path-copy > p:not(.eyebrow), .safety-copy > p:not(.eyebrow), .source-band > div > p:not(.eyebrow) { margin: 0; color: #aaa79e; font-size: 15px; line-height: 1.8; }

.city-workbench { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.city-tools { display: grid; grid-template-columns: minmax(220px, 1fr) auto 48px; gap: 22px; align-items: center; min-height: 78px; border-bottom: 1px solid var(--line); }
.search-field { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 14px; border: 1px solid var(--line); }
.search-field svg { width: 18px; height: 18px; color: var(--muted); }
.search-field input { width: 100%; color: var(--paper); background: transparent; border: 0; outline: 0; font-size: 13px; }
.search-field input::placeholder { color: #6f6e68; }
.filter-group { display: flex; border: 1px solid var(--line); }
.filter-group button { height: 44px; padding: 0 14px; color: var(--muted); background: transparent; border: 0; cursor: pointer; font-size: 11px; font-weight: 600; }
.filter-group button + button { border-left: 1px solid var(--line); }
.filter-group button.is-active { color: var(--ink); background: var(--paper); }
.result-count { color: var(--eclipse); font-family: var(--mono); text-align: right; }
.selected-city { display: grid; grid-template-columns: minmax(280px, 1.4fr) auto repeat(3, minmax(95px, .5fr)); gap: 20px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.selected-city .mini-label { margin: 0 0 5px; }
.selected-city h3 { margin-bottom: 5px; font-size: 26px; }
.selected-city > div > span { color: var(--muted); font-family: var(--mono); font-size: 9px; }
.visibility { display: inline-flex; width: max-content; padding: 4px 8px; border: 1px solid currentColor; font-family: var(--mono); font-size: 9px; font-weight: 500; text-transform: uppercase; }
.visibility--total { color: var(--eclipse); }
.visibility--partial { color: var(--meteor); }
.visibility--unavailable { color: var(--muted); }
.selected-time { display: grid; gap: 3px; }
.selected-time small { color: var(--muted); font-family: var(--mono); font-size: 8px; text-transform: uppercase; }
.selected-time strong { font-family: var(--mono); font-size: 18px; font-weight: 400; }
.selected-time--key strong { color: var(--eclipse); }
.selected-city > p { grid-column: 1 / -1; margin: -8px 0 0; color: var(--muted); font-size: 11px; }
.city-header, .city-row { display: grid; grid-template-columns: 1.2fr .65fr .45fr .7fr .45fr 1.2fr; gap: 20px; align-items: center; }
.city-header { min-height: 42px; color: #77756f; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 8px; text-transform: uppercase; }
.city-row { width: 100%; min-height: 82px; padding: 12px 0; color: var(--paper); background: transparent; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; text-align: left; }
.city-row:last-child { border-bottom: 0; }
.city-row:hover, .city-row[aria-selected="true"] { background: rgba(244,240,231,.035); }
.city-row[aria-selected="true"] { box-shadow: inset 2px 0 var(--eclipse); padding-left: 14px; padding-right: 14px; }
[hidden] { display: none !important; }
.city-place, .city-note, .city-row > span:nth-child(2) { display: grid; gap: 3px; }
.city-place strong, .city-note strong { font-size: 12px; }
.city-place small, .city-note small, .city-row > span:nth-child(2) small { color: var(--muted); font-size: 9px; line-height: 1.45; }
.time-cell { font-family: var(--mono); font-size: 12px; }
.city-key-time { color: var(--eclipse); }
.empty-state { margin: 0; padding: 48px 0; color: var(--muted); text-align: center; }
.china-note { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; margin-top: 24px; padding: 20px 22px; color: var(--ink); background: var(--signal); }
.china-note-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--ink); font-family: var(--mono); font-size: 10px; }
.china-note strong { font-size: 12px; }
.china-note p { margin: 2px 0 0; font-size: 11px; line-height: 1.5; }
.china-note a { font-family: var(--mono); font-size: 10px; font-weight: 500; }

.path-band { display: grid; grid-template-columns: .82fr 1.18fr; min-height: 760px; color: var(--ink); background: var(--paper); }
.path-copy { display: flex; flex-direction: column; justify-content: center; padding: 90px max(42px, calc((100vw - var(--max)) / 2 + 42px)); padding-right: 7vw; }
.path-copy h2 { margin-bottom: 30px; }
.path-copy .eyebrow { color: #b44321; }
.text-link { width: max-content; margin-top: 30px; padding-bottom: 4px; border-bottom: 1px solid; font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.path-map-wrap { position: relative; margin: 0; min-height: 760px; overflow: hidden; background: #d3d0c6; }
.path-map-wrap::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 40px 0 80px rgba(9,9,8,.16); }
.path-map-wrap img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.05); }
.path-map-wrap figcaption { position: absolute; z-index: 1; left: 18px; bottom: 18px; padding: 8px 10px; color: var(--paper); background: rgba(9,9,8,.82); font-family: var(--mono); font-size: 8px; }

.relay-track { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.relay-track article { position: relative; min-height: 270px; padding: 28px 24px; }
.relay-track article + article { border-left: 1px solid var(--line); }
.relay-track article > span { color: var(--eclipse); font-family: var(--mono); font-size: 10px; }
.relay-track time { display: block; margin: 55px 0 12px; color: var(--meteor); font-family: var(--mono); font-size: 11px; }
.relay-track h3 { margin: 0; font-family: var(--display); font-size: 20px; font-weight: 500; line-height: 1.25; }
.relay-track p { margin: 13px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.relay-track article::before { content: ""; position: absolute; top: -4px; left: 22px; width: 7px; height: 7px; border-radius: 50%; background: var(--eclipse); box-shadow: 0 0 0 6px var(--ink); }
.relay-track article:nth-child(n+3)::before { background: var(--meteor); }

.safety-band { display: grid; grid-template-columns: .78fr 1.22fr; color: var(--ink); background: var(--eclipse); }
.safety-copy { display: flex; flex-direction: column; min-height: 650px; padding: 90px 6vw 55px max(42px, calc((100vw - var(--max)) / 2 + 42px)); }
.safety-copy .eyebrow { color: var(--ink); }
.safety-copy h2 { margin-bottom: 28px; }
.safety-copy > p:not(.eyebrow) { color: rgba(9,9,8,.75); }
.safety-footer { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: auto; padding-top: 40px; border-top: 1px solid rgba(9,9,8,.28); }
.safety-footer span { display: grid; }
.safety-footer b { font-family: var(--mono); font-size: 30px; font-weight: 400; }
.safety-footer small { font-size: 9px; }
.safety-footer a { font-size: 10px; font-weight: 700; text-decoration: underline; }
.safety-list { background: #181713; }
.safety-check { display: grid; grid-template-columns: 28px 30px 1fr; gap: 17px; align-items: center; min-height: 130px; padding: 25px 6vw 25px 40px; color: var(--paper); border-bottom: 1px solid var(--line); cursor: pointer; }
.safety-check:last-child { border-bottom: 0; }
.safety-check input { position: absolute; opacity: 0; }
.check-box { width: 24px; height: 24px; border: 1px solid #64615a; }
.safety-check input:checked + .check-box { background: var(--meteor); box-shadow: inset 0 0 0 5px #181713; }
.safety-check b { color: var(--eclipse); font-family: var(--mono); font-size: 10px; }
.safety-check > span:last-child { font-family: var(--display); font-size: 18px; font-weight: 500; }

.settings-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.setting { min-height: 390px; padding: 30px; }
.setting + .setting { border-left: 1px solid var(--line); }
.setting-icon { position: relative; width: 100px; height: 100px; margin-bottom: 55px; }
.setting-icon span, .setting-icon::before, .setting-icon::after { position: absolute; border-radius: 50%; }
.setting-icon span { inset: 18px; border: 1px solid var(--paper); }
.setting-icon::before { content: ""; inset: 8px; border: 1px solid var(--line); }
.setting-icon::after { content: ""; inset: 37px; background: var(--eclipse); box-shadow: 0 0 22px rgba(255,107,53,.6); }
.setting--total .setting-icon::after { inset: 22px; background: var(--ink); border: 4px solid var(--paper); box-shadow: 0 0 20px rgba(255,255,255,.55); }
.setting--meteor .setting-icon { border: 0; transform: rotate(-35deg); }
.setting--meteor .setting-icon span { inset: 49px 4px; height: 1px; border: 0; border-radius: 0; background: linear-gradient(90deg, transparent, var(--meteor), #fff); }
.setting--meteor .setting-icon::before { display: none; }
.setting--meteor .setting-icon::after { inset: 46px 2px auto auto; width: 7px; height: 7px; background: #fff; box-shadow: 0 0 16px var(--meteor); }
.setting .mini-label { margin-bottom: 12px; }
.setting--meteor .mini-label { color: var(--meteor); }
.setting h3 { margin: 0; font-family: var(--mono); font-size: 17px; font-weight: 400; }
.setting > p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 11px; line-height: 1.75; }
.phone-note { display: grid; grid-template-columns: 52px 1fr; gap: 20px; align-items: center; margin-top: 18px; padding: 20px 24px; color: var(--ink); background: var(--meteor); }
.phone-note > span { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 50%; font-family: var(--mono); font-size: 11px; }
.phone-note strong { font-size: 12px; }
.phone-note p { margin: 2px 0 0; font-size: 11px; line-height: 1.5; }

.dark-band { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; padding: 110px max(42px, calc((100vw - var(--max)) / 2 + 42px)); overflow: hidden; background: #0b1110; }
.dark-band::before { content: ""; position: absolute; inset: 0; opacity: .38; background-image: radial-gradient(circle, #fff 0 1px, transparent 1.4px); background-size: 171px 203px; }
.dark-heading, .dark-protocol { position: relative; z-index: 1; }
.dark-heading .eyebrow { color: var(--meteor); }
.dark-band ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.dark-band li { display: grid; grid-template-columns: 45px 1fr; gap: 22px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.dark-band li span { color: var(--meteor); font-family: var(--mono); font-size: 10px; }
.dark-band li p { margin: 0; color: var(--paper-soft); font-size: 13px; }
.location-notes { margin-top: 34px; border-top: 1px solid var(--line); }
.location-notes article { padding: 18px 0; border-bottom: 1px solid var(--line); }
.location-notes b { color: var(--meteor); font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.location-notes p { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.65; }

.faq-section { padding-bottom: 140px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: grid; grid-template-columns: 40px 1fr 24px; gap: 20px; align-items: center; min-height: 88px; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--eclipse); font-family: var(--mono); font-size: 10px; }
.faq-list summary b { font-family: var(--display); font-size: 18px; font-weight: 500; }
.faq-list summary i { color: var(--muted); font-style: normal; font-size: 20px; transition: transform .2s ease; }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list details > p { max-width: 830px; margin: -8px 0 28px 60px; color: var(--muted); font-size: 13px; }

.source-band { display: grid; grid-template-columns: .9fr 1.1fr; gap: 10vw; padding: 100px max(42px, calc((100vw - var(--max)) / 2 + 42px)); color: var(--ink); background: var(--paper); }
.source-band .eyebrow { color: #b44321; }
.source-band h2 { margin-bottom: 28px; font-size: 42px; }
.source-links { border-top: 1px solid var(--dark-line); }
.source-links a { display: grid; grid-template-columns: 35px 1fr auto; gap: 15px; align-items: center; min-height: 68px; border-bottom: 1px solid var(--dark-line); }
.source-links span { color: #b44321; font-family: var(--mono); font-size: 9px; }
.source-links b { font-size: 12px; }
.source-links i { font-style: normal; }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; min-height: 110px; padding: 20px 42px; }
.site-footer p { color: var(--muted); font-family: var(--mono); font-size: 8px; text-align: center; }
.footer-actions { display: flex; justify-content: flex-end; gap: 10px; }
.button--download { color: var(--ink); background: var(--meteor); }
.button--share { color: var(--paper); background: transparent; border-color: var(--line); }
.noscript { position: fixed; z-index: 50; bottom: 0; left: 0; right: 0; margin: 0; padding: 12px; color: var(--ink); background: var(--signal); text-align: center; }

.reveal-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible, .city-row:focus-visible { outline: 2px solid var(--meteor); outline-offset: 3px; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1.08fr .92fr; padding-left: 30px; padding-right: 30px; }
  .hero h1 { font-size: 60px; }
  .site-header { padding: 0 30px; }
  .main-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .selected-city { grid-template-columns: 1.4fr auto repeat(3, .65fr); }
  .city-header, .city-row { grid-template-columns: 1.1fr .65fr .45fr .65fr .45fr; }
  .city-header span:last-child, .city-note { display: none; }
  .path-band, .safety-band { grid-template-columns: 1fr 1fr; }
  .site-footer { grid-template-columns: auto 1fr; }
  .site-footer p { display: none; }
}

@media (max-width: 820px) {
  .site-header { min-height: 66px; padding: 0 20px; }
  .icon-button { display: none; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; min-height: auto; max-height: none; padding: 120px 20px 0; }
  .hero-copy { padding-bottom: 20px; }
  .hero h1 { max-width: 620px; font-size: 56px; }
  .eclipse-stage { grid-row: 2; width: min(72vw, 500px); margin: 0 auto 25px; }
  .hero-readout { grid-row: 3; grid-template-columns: 1fr 1fr; }
  .countdown { grid-column: 1 / -1; border-top: 1px solid var(--line); border-left: 0; }
  .section { padding: 90px 24px; }
  .split-heading { grid-template-columns: 1fr; gap: 28px; }
  h2 { font-size: 44px; }
  .city-tools { grid-template-columns: 1fr auto; padding: 16px 0; }
  .filter-group { grid-column: 1 / -1; width: max-content; }
  .result-count { grid-column: 2; grid-row: 1; }
  .selected-city { grid-template-columns: 1fr auto; }
  .selected-city .visibility { justify-self: end; }
  .selected-time { padding-top: 15px; border-top: 1px solid var(--line); }
  .selected-city > p { margin-top: 0; }
  .city-header { display: none; }
  .city-row { grid-template-columns: 1.2fr .8fr repeat(3, .65fr); gap: 12px; min-height: 96px; }
  .city-row .city-note { display: none; }
  .path-band { grid-template-columns: 1fr; }
  .path-copy { padding: 80px 24px; }
  .path-map-wrap { min-height: 580px; }
  .relay-track { grid-template-columns: 1fr 1fr; }
  .relay-track article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .relay-track article:nth-child(4) { border-top: 1px solid var(--line); }
  .safety-band { grid-template-columns: 1fr; }
  .safety-copy { min-height: 500px; padding: 80px 24px 45px; }
  .safety-check { padding: 24px; }
  .settings-grid { grid-template-columns: 1fr; }
  .setting { min-height: 300px; }
  .setting + .setting { border-left: 0; border-top: 1px solid var(--line); }
  .setting-icon { margin-bottom: 30px; }
  .dark-band { grid-template-columns: 1fr; padding: 80px 24px; }
  .source-band { grid-template-columns: 1fr; padding: 80px 24px; }
  .site-footer { padding: 28px 24px; }
}

@media (max-width: 560px) {
  .wordmark { font-size: 11px; }
  .wordmark-mark { width: 16px; height: 16px; }
  .language-switch button { min-width: 38px; }
  .hero { padding-top: 105px; }
  .hero h1 { font-size: 44px; }
  .hero-intro { font-size: 15px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .button { padding: 0 8px; font-size: 11px; }
  .eclipse-stage { width: 62vw; margin-top: -4px; margin-bottom: 0; }
  .event-readout, .countdown { padding: 20px 14px; }
  .event-readout div { display: grid; gap: 2px; }
  .event-readout strong { font-size: 11px; }
  .countdown { grid-template-columns: 1fr; }
  .countdown-grid { justify-content: space-between; }
  .section { padding: 76px 18px; }
  h2 { font-size: 36px; }
  .section-heading { margin-bottom: 40px; }
  .city-tools { grid-template-columns: 1fr auto; gap: 12px; }
  .filter-group { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .filter-group button:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .filter-group button:nth-child(4) { border-top: 1px solid var(--line); }
  .selected-city { grid-template-columns: 1fr 1fr; }
  .selected-city > div:first-child { grid-column: 1 / -1; }
  .selected-city .visibility { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
  .selected-time:last-of-type { grid-column: 1 / -1; }
  .city-row { grid-template-columns: repeat(3, 1fr); gap: 8px 10px; min-height: 156px; padding: 16px 5px; }
  .city-row .city-place { grid-column: 1 / 3; }
  .city-row > span:nth-child(2) { grid-column: 3; justify-self: end; }
  .city-row .time-cell { padding-top: 10px; border-top: 1px solid var(--line); }
  .city-row .time-cell::before { content: attr(data-label); display: block; margin-bottom: 4px; color: var(--muted); font-family: var(--mono); font-size: 7px; text-transform: uppercase; }
  .city-row[aria-selected="true"] { padding-left: 10px; padding-right: 10px; }
  .china-note { grid-template-columns: auto 1fr; }
  .china-note a { grid-column: 2; }
  .path-copy { padding: 70px 18px; }
  .path-map-wrap { min-height: 430px; }
  .relay-track { grid-template-columns: 1fr; }
  .relay-track article { min-height: 220px; }
  .relay-track article + article { border-left: 0; border-top: 1px solid var(--line); }
  .safety-copy { padding: 70px 18px 40px; }
  .safety-footer { display: grid; }
  .safety-check { grid-template-columns: 24px 25px 1fr; gap: 12px; min-height: 110px; padding: 18px; }
  .safety-check > span:last-child { font-size: 16px; }
  .setting { padding: 25px 20px; }
  .phone-note { grid-template-columns: 44px 1fr; padding: 18px; }
  .dark-band { padding: 70px 18px; }
  .faq-list summary { grid-template-columns: 28px 1fr 20px; gap: 12px; }
  .faq-list details > p { margin-left: 40px; }
  .source-band { padding: 70px 18px; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-mark { justify-content: center; }
  .footer-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .footer-actions .button { padding: 0 10px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  :root { --paper: #fff; --ink: #000; --muted: #444; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .site-header, .hero, .city-tools, .path-band, .photo-section, .dark-band, .faq-section, .source-band, .site-footer, .china-note, .safety-footer { display: none !important; }
  .section, .safety-band { display: block; max-width: none; padding: 16mm; color: #000; background: #fff; }
  .times-section { padding-bottom: 5mm; }
  .section-heading { margin-bottom: 8mm; }
  h2 { font-size: 24pt; }
  .city-workbench { border-color: #bbb; }
  .selected-city { border-color: #bbb; }
  .city-table { display: none; }
  .relay-track { break-inside: avoid; border-color: #aaa; }
  .relay-track article { min-height: 0; padding: 8mm 5mm; color: #000; border-color: #aaa !important; }
  .relay-track p, .relay-track time { color: #333; }
  .safety-copy { min-height: 0; padding: 12mm 16mm 5mm; }
  .safety-copy > p:not(.eyebrow) { color: #222; }
  .safety-list { background: #fff; }
  .safety-check { min-height: 15mm; padding: 3mm 16mm; color: #000; border-color: #bbb; }
  .check-box { border-color: #000; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
}
