:root {
  --night: #183043;
  --deep: #0d2230;
  --twilight: #38566e;
  --mist: #dceceb;
  --paper: #fff9e8;
  --sand: #f1d69a;
  --sun: #ffb12b;
  --ember: #e9653f;
  --leaf: #57705e;
  --ink: #172a37;
  --display: "Arial Rounded MT Bold", "Avenir Next", "Trebuchet MS", sans-serif;
  --body: Verdana, Geneva, sans-serif;
  --data: "Lucida Console", Monaco, monospace;
  --page: min(1240px, calc(100% - 44px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 7rem; }

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: .8rem 1rem;
  background: var(--paper);
  color: var(--night);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--night);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--paper);
}

.topbar {
  width: var(--page);
  margin: 0 auto;
  padding: 1.1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--night);
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: -.05em;
  line-height: .8;
  text-decoration: none;
}

.brand small {
  display: block;
  margin-top: .45rem;
  color: var(--ember);
  font-family: var(--body);
  font-size: .52em;
  letter-spacing: .07em;
  text-transform: uppercase;
}

nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; }

nav a {
  padding: .45rem .8rem;
  border: 1px solid rgb(24 48 67 / .25);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover { background: var(--paper); border-color: var(--night); }

.hero {
  width: var(--page);
  margin: 0 auto;
  min-height: 690px;
  padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(8rem, 13vw, 11rem);
  display: grid;
  grid-template-columns: minmax(360px, .72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--ember);
  font-family: var(--data);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow span { color: var(--sun); }

h1 {
  margin-bottom: 1.5rem;
  font-family: var(--display);
  font-size: clamp(3.6rem, 7.4vw, 7.8rem);
  letter-spacing: -.085em;
  line-height: .82;
}

h1 em { color: var(--ember); font-style: normal; }
.hero-copy > p:not(.eyebrow) { max-width: 31rem; color: #3f5965; font-size: clamp(1rem, 1.4vw, 1.18rem); }

.sun-button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 50px;
  margin-top: 1rem;
  padding: .7rem .8rem .7rem 1.2rem;
  border-radius: 999px;
  background: var(--night);
  color: white;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}

.sun-button span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--sun);
  color: var(--night);
}

.sun-button:hover { background: var(--deep); }

.landscape-frame {
  position: relative;
  margin: 0;
  padding: .75rem;
  border: 1px solid rgb(24 48 67 / .22);
  border-radius: 48% 48% 1.2rem 1.2rem / 38% 38% 1.2rem 1.2rem;
  background: var(--paper);
  box-shadow: 0 30px 90px rgb(24 48 67 / .18);
  overflow: hidden;
}

.landscape-frame img {
  width: 100%;
  min-height: 500px;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  border-radius: 48% 48% .7rem .7rem / 38% 38% .7rem .7rem;
  filter: saturate(.9) contrast(1.03);
}

.landscape-frame figcaption {
  padding: .75rem .5rem .25rem;
  color: #60727a;
  font-size: .67rem;
}

.bearing {
  position: absolute;
  right: 2rem;
  top: 5rem;
  display: grid;
  width: 72px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgb(255 255 255 / .7);
  border-radius: 50%;
  background: rgb(24 48 67 / .72);
  color: white;
  backdrop-filter: blur(7px);
}

.bearing::after { content: ""; position: absolute; bottom: -30px; width: 1px; height: 36px; background: var(--sun); transform: rotate(11deg); transform-origin: top; }
.bearing span { font-family: var(--data); font-size: .76rem; }
.bearing b { position: absolute; bottom: -53px; color: var(--paper); font-family: var(--data); font-size: .7rem; }

.countdown-card {
  position: relative;
  z-index: 4;
  width: min(1080px, calc(100% - 44px));
  margin: -6rem auto 0;
  padding: clamp(1.6rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: .75fr 1.6fr;
  gap: 2rem;
  align-items: center;
  border-radius: 2.2rem;
  background: var(--ember);
  color: white;
  box-shadow: 0 20px 60px rgb(110 58 39 / .2);
}

.countdown-card .eyebrow { color: var(--sand); }
.countdown-intro h2 { margin-bottom: 0; font-family: var(--display); font-size: clamp(2.6rem, 5vw, 4.7rem); letter-spacing: -.08em; line-height: 1; }
.countdown-intro > p:last-child { margin-bottom: 0; color: rgb(255 255 255 / .72); font-size: .68rem; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); }
.countdown > div { padding: .75rem clamp(.4rem, 2vw, 1.5rem); border-left: 1px solid rgb(255 255 255 / .3); }
.countdown strong { display: block; font-family: var(--display); font-size: clamp(2.5rem, 6vw, 5.5rem); line-height: 1; letter-spacing: -.08em; font-variant-numeric: tabular-nums; }
.countdown span { color: rgb(255 255 255 / .7); font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.countdown-message { grid-column: 2; margin: -1.2rem 0 0 1.5rem; color: rgb(255 255 255 / .78); font-size: .73rem; }
.countdown-card.is-past { background: var(--twilight); }

.horizon-section {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(7rem, 12vw, 12rem) 0;
}

.section-title { display: grid; grid-template-columns: .7fr 1.3fr; gap: 1rem 4rem; align-items: end; }
.section-title .eyebrow { grid-column: 1 / -1; }
.section-title h2 { margin-bottom: 0; font-family: var(--display); font-size: clamp(3rem, 6vw, 6.5rem); letter-spacing: -.08em; line-height: .88; }
.section-title > p:last-child { max-width: 31rem; margin-bottom: .4rem; color: #49616b; }

.horizon-instrument {
  position: relative;
  min-height: 430px;
  margin-top: 5rem;
  border-radius: 2rem;
  background: linear-gradient(#badbd8 0%, #f5c775 68%, #6c826b 68.2%, #314b3c 100%);
  overflow: hidden;
}

.terrain {
  position: absolute;
  right: -3%;
  bottom: 68px;
  left: -3%;
  height: 160px;
  background: var(--night);
  clip-path: polygon(0 75%, 9% 66%, 18% 71%, 27% 46%, 36% 68%, 44% 60%, 54% 69%, 64% 48%, 74% 64%, 84% 55%, 92% 68%, 100% 58%, 100% 100%, 0 100%);
}

.sun-mark {
  position: absolute;
  z-index: 2;
  left: 55%;
  bottom: 195px;
  width: 90px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 22px rgb(255 177 43 / .17), 0 0 0 44px rgb(255 177 43 / .09);
}

.sun-mark::after { content: ""; position: absolute; top: 24px; left: 30px; width: 61px; height: 61px; border-radius: 50%; background: var(--night); }
.sun-mark span { position: absolute; left: 110px; top: 30px; color: var(--night); font-family: var(--data); font-size: .8rem; }

.compass-scale {
  position: absolute;
  z-index: 3;
  right: 2rem;
  bottom: 1rem;
  left: 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: white;
  font-family: var(--data);
  font-size: .75rem;
}

.compass-scale::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 1px; background: rgb(255 255 255 / .45); }
.compass-scale span, .compass-scale strong { display: grid; }
.compass-scale small { color: rgb(255 255 255 / .6); font-family: var(--body); font-size: .7em; }
.compass-scale strong { color: var(--sun); text-align: center; }

.field-list { list-style: none; margin: 4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border: 1px solid rgb(24 48 67 / .2); background: rgb(24 48 67 / .2); border-radius: 1.5rem; overflow: hidden; }
.field-list li { display: grid; grid-template-columns: 75px 1fr; gap: 1rem; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--mist); }
.field-list li > span { color: var(--ember); font-family: var(--data); font-size: .66rem; font-weight: 700; text-transform: uppercase; }
.field-list h3 { margin-bottom: .5rem; font-family: var(--display); font-size: 1.3rem; line-height: 1.15; }
.field-list p { margin-bottom: 0; color: #526872; font-size: .85rem; }

.not-official { margin-top: 1.2rem; padding: 1.3rem 1.6rem; display: flex; align-items: center; gap: 1.5rem; border: 2px dashed var(--ember); border-radius: 1.2rem; background: rgb(255 249 232 / .56); }
.not-official svg { flex: 0 0 auto; color: var(--ember); }
.not-official p { margin: 0; font-size: .83rem; }

.timeline-section { padding: clamp(6rem, 11vw, 11rem) max(22px, calc((100% - 1240px) / 2)); background: var(--night); color: white; }
.section-title.light > p:last-child { color: rgb(255 255 255 / .62); }
.section-title.light .eyebrow { color: var(--sun); }
.skyline-times { position: relative; list-style: none; margin: 6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.skyline-times::before { content: ""; position: absolute; top: 19px; right: 5%; left: 5%; height: 2px; background: linear-gradient(90deg, var(--sand), var(--sun), white, var(--sun), var(--sand)); }
.skyline-times li { position: relative; z-index: 1; text-align: center; }
.phase-dot { display: block; width: 40px; aspect-ratio: 1; margin: 0 auto 1.4rem; border: 6px solid var(--night); border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 1px rgb(255 255 255 / .28); }
.phase-total { background: white; box-shadow: 0 0 22px var(--sun); }
.phase-maximum { background: var(--night); border-color: white; box-shadow: 0 0 0 3px var(--sun), 0 0 30px var(--sun); }
.skyline-times small { display: block; min-height: 2.8rem; padding: 0 .5rem; color: rgb(255 255 255 / .55); font-size: .63rem; }
.skyline-times time { display: block; font-family: var(--data); font-size: clamp(.78rem, 1.7vw, 1.16rem); font-variant-numeric: tabular-nums; }
.skyline-times .peak time { color: var(--sun); }

.safety-section { width: var(--page); margin: 0 auto; padding: clamp(6rem, 11vw, 11rem) 0; }
.safety-section .section-title { grid-template-columns: 1fr; }
.safety-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 4rem; }
.safety-cards article { padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 45% 45% 1.5rem 1.5rem / 22% 22% 1.5rem 1.5rem; background: var(--paper); box-shadow: 0 12px 35px rgb(24 48 67 / .08); }
.safety-cards article > span { display: grid; width: 62px; aspect-ratio: 1; margin-bottom: 3rem; place-items: center; border-radius: 50%; background: var(--sun); color: var(--night); font-size: 1.8rem; }
.safety-cards h3 { font-family: var(--display); font-size: 1.4rem; line-height: 1.15; }
.safety-cards p { margin-bottom: 0; color: #526872; font-size: .85rem; }

.official-links { margin-top: 4rem; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.official-links p { width: 100%; margin-bottom: .3rem; color: var(--ember); font-family: var(--data); font-size: .69rem; font-weight: 700; text-transform: uppercase; }
.official-links a { padding: .8rem 1rem; border: 1px solid rgb(24 48 67 / .25); border-radius: 999px; font-size: .75rem; font-weight: 700; text-decoration: none; }
.official-links a:hover { background: var(--night); color: white; }

footer {
  padding: 3rem max(22px, calc((100% - 1240px) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 3rem;
  align-items: center;
  background: var(--deep);
  color: rgb(255 255 255 / .66);
  font-size: .72rem;
}

.footer-brand { color: white; font-family: var(--display); font-size: 1.2rem; line-height: .9; }
.footer-brand small { display: block; color: var(--sun); font-family: var(--body); font-size: .48em; letter-spacing: .08em; text-transform: uppercase; }
footer p { margin: 0; max-width: 650px; }
footer a { color: var(--sun); font-weight: 700; text-decoration: none; }

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 750px; }
  .landscape-frame { max-width: 760px; }
  .countdown-card { grid-template-columns: 1fr; margin-top: -5rem; }
  .countdown-message { grid-column: 1; margin: -1rem 0 0; }
  .section-title { grid-template-columns: 1fr; }
  .field-list { grid-template-columns: 1fr; }
  .safety-cards { grid-template-columns: 1fr; }
  .safety-cards article { border-radius: 1.5rem; }
}

@media (max-width: 680px) {
  :root { --page: min(100% - 28px, 1240px); }
  .topbar { align-items: center; flex-wrap: wrap; }
  .brand { font-size: 1rem; }
  .brand svg { width: 38px; }
  nav { width: 100%; max-width: none; justify-content: flex-start; padding-top: .6rem; border-top: 1px solid rgb(24 48 67 / .2); }
  nav a { min-height: 44px; display: inline-flex; align-items: center; padding: .55rem .75rem; font-size: .68rem; }
  .hero { min-height: 0; padding-top: 3rem; padding-bottom: 8rem; }
  .landscape-frame { border-radius: 46% 46% 1rem 1rem / 25% 25% 1rem 1rem; }
  .landscape-frame img { min-height: 380px; border-radius: 46% 46% .6rem .6rem / 25% 25% .6rem .6rem; }
  .bearing { right: 1.2rem; top: 3rem; }
  .countdown-card { width: calc(100% - 20px); padding: 1.4rem; border-radius: 1.5rem; }
  .countdown { grid-template-columns: repeat(2, 1fr); }
  .countdown > div:nth-child(n+3) { border-top: 1px solid rgb(255 255 255 / .3); }
  .horizon-instrument { min-height: 340px; border-radius: 1.25rem; }
  .sun-mark { left: 45%; bottom: 165px; width: 72px; }
  .sun-mark::after { width: 50px; height: 50px; top: 18px; left: 24px; }
  .sun-mark span { left: 82px; }
  .terrain { bottom: 60px; }
  .compass-scale { right: 1rem; left: 1rem; }
  .field-list li { grid-template-columns: 1fr; }
  .not-official { align-items: flex-start; }
  .skyline-times { grid-template-columns: 1fr; gap: 0; margin-top: 4rem; }
  .skyline-times::before { top: 0; bottom: 0; left: 19px; width: 2px; height: auto; background: linear-gradient(var(--sand), var(--sun), white, var(--sun), var(--sand)); }
  .skyline-times li { display: grid; grid-template-columns: 40px 1fr; gap: 1rem; padding-bottom: 1.5rem; text-align: left; }
  .phase-dot { margin: 0; }
  .skyline-times small { min-height: 0; padding: 0; }
  .official-links { align-items: stretch; flex-direction: column; }
  footer { grid-template-columns: 1fr; gap: 1.2rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .sun-mark { animation: sun-breathe 7s ease-in-out infinite; }
  .sun-button, nav a, .official-links a { transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
  .sun-button:hover { transform: translateY(-2px); }
}

@keyframes sun-breathe {
  50% { box-shadow: 0 0 0 30px rgb(255 177 43 / .14), 0 0 0 56px rgb(255 177 43 / .06); }
}

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

@media print {
  .topbar nav, .sun-button, .bearing { display: none; }
  body { background: white; }
  .hero { min-height: 0; }
  .countdown-card, .timeline-section { background: white; color: black; border: 2px solid black; box-shadow: none; }
  .countdown-card *, .timeline-section * { color: black !important; }
}




body { padding-bottom: 88px; }

.acquisition-rail {
  position: fixed;
  inset: auto 0 0;
  z-index: 100;
  min-height: 88px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: .8rem max(22px, calc((100% - 1240px) / 2));
  border-top: 2px solid var(--deep);
  background: var(--sun);
  box-shadow: 0 -14px 48px rgba(13,34,48,.3);
  color: var(--deep);
}
.acquisition-rail > span { width: .95rem; aspect-ratio: 1; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 7px rgba(233,101,63,.17); }
.acquisition-rail p { min-width: 0; margin: 0; }
.acquisition-rail strong, .acquisition-rail small { display: block; }
.acquisition-rail strong { font-family: var(--display); font-size: clamp(1rem, 1.8vw, 1.4rem); font-weight: 900; letter-spacing: -.025em; }
.acquisition-rail small { margin-top: .18rem; font: 700 .57rem var(--data); letter-spacing: .06em; text-transform: uppercase; }
.acquisition-rail a { min-height: 54px; display: inline-flex; align-items: center; gap: 1rem; padding: 0 1.25rem; border-radius: 999px; background: var(--deep); color: white; font-size: .67rem; font-weight: 900; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
.acquisition-rail a:hover { background: var(--ember); }
.acquisition-rail a:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.acquisition-rail b { color: var(--sun); font-size: 1.15rem; }

@media (max-width: 700px) {
  body { padding-bottom: 142px; }
  .acquisition-rail { min-height: 0; grid-template-columns: auto 1fr; gap: .65rem .8rem; padding: .7rem 14px; }
  .acquisition-rail a { grid-column: 1 / -1; justify-content: space-between; width: 100%; border-radius: 14px; }
  .acquisition-rail small { font-size: .51rem; }
}

@media print {
  body { padding-bottom: 0; }
  .acquisition-rail { display: none; }
}
