:root {
  color-scheme: light;
  --ink: #171512;
  --muted: #5e5a54;
  --paper: #fbfaf7;
  --soft: #f0eee8;
  --line: #d8d1c5;
  --night: #101012;
  --night-2: #1c1b1b;
  --gold: #f2b84b;
  --copper: #b95d3b;
  --teal: #1f8a8a;
  --ice: #dceff1;
  --white: #ffffff;
  --shadow: 0 18px 60px rgba(16, 16, 18, 0.18);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

::selection {
  color: var(--night);
  background: var(--gold);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  transform: translateY(-160%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px 28px;
  color: var(--white);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  border-bottom: 1px solid rgba(216, 209, 197, 0.9);
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 850;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid currentColor;
  background:
    radial-gradient(circle at 66% 42%, currentColor 0 5px, transparent 6px),
    radial-gradient(circle at center, transparent 0 9px, currentColor 10px 11px, transparent 12px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 13px;
  text-decoration: none;
  font-size: 0.94rem;
  color: inherit;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  outline: 0;
  background: rgba(255, 255, 255, 0.16);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible,
.site-header.is-open .site-nav a:hover,
.site-header.is-open .site-nav a:focus-visible {
  background: var(--soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: inherit;
  background: transparent;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: currentColor;
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before {
  top: -6px;
}

.nav-toggle-lines::after {
  top: 6px;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 86svh;
  overflow: hidden;
  color: var(--white);
  background: var(--night);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 16, 18, 0.84) 0%, rgba(16, 16, 18, 0.48) 43%, rgba(16, 16, 18, 0.1) 78%),
    linear-gradient(0deg, rgba(16, 16, 18, 0.78) 0%, transparent 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 128px 0 110px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--copper);
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: 5.2rem;
  line-height: 0.95;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.8rem;
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.14rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 11px 16px;
  text-decoration: none;
  font-weight: 760;
}

.button-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
}

.button-primary {
  color: var(--night);
  background: var(--gold);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffd27a;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.hero-panel {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  width: min(360px, calc(100% - 56px));
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(16, 16, 18, 0.58);
  backdrop-filter: blur(16px);
}

.hero-panel div {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-panel div:last-child {
  border-bottom: 0;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.section-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-band {
  background: var(--soft);
}

.split-grid,
.mechanics-grid,
.safety-grid,
.photo-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.intro-copy {
  display: grid;
  gap: 16px;
  color: var(--muted);
  font-size: 1.04rem;
}

.intro-copy p {
  margin-bottom: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:last-child,
.section-heading.compact p:last-child {
  color: var(--muted);
}

.section-heading.compact {
  margin-bottom: 0;
}

.tabbar {
  width: fit-content;
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 5px;
  background: var(--white);
}

.tab-button {
  min-width: 142px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 760;
}

.tab-button.is-active {
  color: var(--ink);
  background: var(--soft);
}

.tab-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.sun-dot {
  background: radial-gradient(circle, var(--gold) 0 43%, var(--copper) 44% 100%);
}

.moon-dot {
  background: radial-gradient(circle at 65% 35%, var(--white) 0 38%, var(--teal) 39% 100%);
  border: 1px solid var(--line);
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.type-card,
.event-card,
.planning-card,
.science-columns article,
.glossary-grid article,
.faq-list details,
.safety-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.type-card {
  min-height: 438px;
  padding: 18px;
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(16, 16, 18, 0.06);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.type-card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 93, 59, 0.28);
  box-shadow: 0 18px 48px rgba(16, 16, 18, 0.12);
}

.type-card p,
.planning-card p,
.science-columns p,
.event-card p,
.glossary-grid p,
.faq-list p {
  color: var(--muted);
}

.type-media {
  width: calc(100% + 36px);
  aspect-ratio: 16 / 10;
  margin: -18px -18px 20px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--night);
}

.type-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 500ms ease;
}

.type-card:hover .type-media img {
  transform: scale(1.045);
}

.type-icon {
  position: relative;
  width: 100%;
  height: 132px;
  display: block;
  margin-bottom: 20px;
  border: 1px solid rgba(216, 209, 197, 0.76);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: #111113;
  isolation: isolate;
}

.type-icon::before,
.type-icon::after {
  content: "";
  position: absolute;
  display: block;
  pointer-events: none;
}

.type-icon::before {
  z-index: 1;
}

.type-icon::after {
  z-index: 2;
}

.total-solar {
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.2) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 24%, rgba(255, 255, 255, 0.18) 0 1px, transparent 2px),
    linear-gradient(180deg, #0d1018 0%, #1c1b1b 100%);
}

.total-solar::before {
  left: 50%;
  top: 50%;
  width: 104px;
  height: 104px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    repeating-conic-gradient(
      from 8deg,
      rgba(255, 255, 255, 0.78) 0deg 5deg,
      rgba(255, 255, 255, 0.08) 7deg 15deg,
      transparent 18deg 28deg
    );
  filter: blur(1px);
  opacity: 0.95;
}

.total-solar::after {
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 38%, rgba(255, 255, 255, 0.08) 0 2px, transparent 3px),
    radial-gradient(circle at 68% 62%, rgba(255, 255, 255, 0.08) 0 4px, transparent 5px),
    radial-gradient(circle, #141414 0 66%, #070708 67% 100%);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.78),
    0 0 28px rgba(255, 255, 255, 0.7);
}

.annular-solar {
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.16) 0 1px, transparent 2px),
    linear-gradient(180deg, #151311 0%, #241b15 100%);
}

.annular-solar::before {
  left: 50%;
  top: 50%;
  width: 88px;
  height: 88px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 31px, #ffcf67 32px 39px, rgba(242, 184, 75, 0.22) 40px 48px, transparent 49px);
  box-shadow: 0 0 38px rgba(242, 184, 75, 0.32);
}

.annular-solar::after {
  left: 50%;
  top: 50%;
  width: 62px;
  height: 62px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 36%, rgba(255, 255, 255, 0.08) 0 2px, transparent 3px),
    #101012;
  box-shadow: 0 0 0 1px rgba(16, 16, 18, 0.8);
}

.partial-solar {
  background:
    linear-gradient(180deg, #f7f2e6 0%, #dceff1 100%);
}

.partial-solar::before {
  left: 50%;
  top: 50%;
  width: 78px;
  height: 78px;
  transform: translate(-38%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #ffe6a1 0 38%, var(--gold) 39% 70%, rgba(242, 184, 75, 0.18) 71% 100%);
  box-shadow: 0 0 34px rgba(242, 184, 75, 0.36);
}

.partial-solar::after {
  left: 50%;
  top: 50%;
  width: 70px;
  height: 70px;
  transform: translate(-78%, -58%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 34%, rgba(255, 255, 255, 0.08) 0 2px, transparent 3px),
    #101012;
  box-shadow: 10px 10px 0 rgba(16, 16, 18, 0.08);
}

.hybrid-solar {
  background:
    linear-gradient(90deg, transparent 0 49%, rgba(255, 255, 255, 0.22) 49% 51%, transparent 51%),
    radial-gradient(circle at 31% 48%, #101012 0 20px, rgba(255, 255, 255, 0.86) 21px 23px, rgba(255, 255, 255, 0.18) 24px 44px, transparent 45px),
    radial-gradient(circle at 70% 48%, #101012 0 18px, var(--gold) 19px 31px, rgba(242, 184, 75, 0.2) 32px 46px, transparent 47px),
    linear-gradient(180deg, #141319 0%, #2a2118 100%);
}

.hybrid-solar::before {
  left: 18px;
  right: 18px;
  bottom: 24px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(8px);
}

.hybrid-solar::after {
  left: 50%;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.42), transparent);
}

.total-lunar {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.2) 0 1px, transparent 2px),
    radial-gradient(circle at 84% 28%, rgba(255, 255, 255, 0.16) 0 1px, transparent 2px),
    linear-gradient(180deg, #11131c 0%, #241812 100%);
}

.total-lunar::before {
  left: -22px;
  right: -22px;
  top: 31px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(16, 16, 18, 0.94) 0 44%, rgba(16, 16, 18, 0.24) 63%, transparent 72%);
  filter: blur(2px);
}

.total-lunar::after {
  left: 50%;
  top: 50%;
  width: 62px;
  height: 62px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 32%, rgba(255, 222, 180, 0.22) 0 5px, transparent 6px),
    radial-gradient(circle at 62% 68%, rgba(82, 24, 16, 0.2) 0 8px, transparent 9px),
    radial-gradient(circle, #cf7650 0 54%, #88442f 100%);
  box-shadow: 0 0 28px rgba(185, 93, 59, 0.48);
}

.partial-lunar {
  background:
    linear-gradient(180deg, #121420 0%, #1d2628 100%);
}

.partial-lunar::before {
  left: 50%;
  top: 50%;
  width: 70px;
  height: 70px;
  transform: translate(-36%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.28) 0 5px, transparent 6px),
    radial-gradient(circle at 64% 68%, rgba(34, 70, 73, 0.22) 0 8px, transparent 9px),
    radial-gradient(circle, #edf3ec 0 56%, #a7bbc0 100%);
}

.partial-lunar::after {
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  transform: translate(-84%, -50%);
  border-radius: 50%;
  background: rgba(8, 8, 10, 0.86);
  box-shadow: 12px 0 24px rgba(8, 8, 10, 0.32);
}

.penumbral-lunar {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(31, 138, 138, 0.24) 0 38%, rgba(31, 138, 138, 0.1) 52%, transparent 70%),
    linear-gradient(180deg, #12151c 0%, #203034 100%);
}

.penumbral-lunar::before {
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 30%, rgba(255, 255, 255, 0.3) 0 5px, transparent 6px),
    radial-gradient(circle at 65% 62%, rgba(31, 138, 138, 0.16) 0 9px, transparent 10px),
    radial-gradient(circle, #eef6f2 0 58%, #aac0bf 100%);
}

.penumbral-lunar::after {
  left: 50%;
  top: 50%;
  width: 88px;
  height: 88px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 42% 50%, rgba(16, 16, 18, 0.18) 0 34%, rgba(16, 16, 18, 0.04) 58%, transparent 70%);
  mix-blend-mode: multiply;
}

.central-lunar {
  background:
    linear-gradient(180deg, #10131b 0%, #261611 100%);
}

.central-lunar::before {
  left: -16px;
  right: -16px;
  top: 50%;
  height: 92px;
  transform: translateY(-50%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(6, 6, 8, 0.96) 0 38%, rgba(6, 6, 8, 0.44) 55%, transparent 72%);
  filter: blur(1px);
}

.central-lunar::after {
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 34%, rgba(255, 209, 166, 0.18) 0 4px, transparent 5px),
    radial-gradient(circle at 66% 62%, rgba(45, 12, 8, 0.22) 0 8px, transparent 9px),
    radial-gradient(circle, #b95d3b 0 54%, #65301f 100%);
  box-shadow: 0 0 0 9px rgba(185, 93, 59, 0.08), 0 0 30px rgba(185, 93, 59, 0.38);
}

.mechanics-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 1.18fr) minmax(280px, 0.9fr);
  gap: 30px;
  align-items: stretch;
}

.mechanics .section-heading.compact {
  align-self: center;
}

.mechanics .section-heading.compact p {
  color: var(--muted);
}

.mechanics-visual {
  position: relative;
  min-height: 430px;
  margin: 0;
  border: 1px solid rgba(216, 209, 197, 0.74);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--night);
  box-shadow: var(--shadow);
}

.mechanics-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 16, 18, 0.02), rgba(16, 16, 18, 0.22)),
    linear-gradient(90deg, rgba(16, 16, 18, 0.18), transparent 40%, rgba(16, 16, 18, 0.12));
  pointer-events: none;
}

.mechanics-visual img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
}

.mechanics-visual figcaption {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.mechanics-visual span {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--white);
  background: rgba(16, 16, 18, 0.54);
  backdrop-filter: blur(12px);
  font-size: 0.76rem;
  font-weight: 850;
}

.mechanics-visual span:nth-child(1) {
  left: 18px;
  top: 18px;
}

.mechanics-visual span:nth-child(2) {
  left: 47%;
  top: 30%;
}

.mechanics-visual span:nth-child(3) {
  right: 18px;
  bottom: 18px;
}

.mechanics-visual span:nth-child(4) {
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  color: var(--night);
  border-color: rgba(242, 184, 75, 0.72);
  background: rgba(242, 184, 75, 0.9);
}

.steps {
  display: grid;
  gap: 12px;
  align-content: center;
}

.steps article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.74);
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--night);
  background: var(--gold);
  font-weight: 850;
}

.steps h3,
.steps p {
  margin-bottom: 0;
}

.steps p {
  color: var(--muted);
}

.event-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.event-card {
  position: relative;
  min-height: 330px;
  padding: 20px;
  overflow: hidden;
}

.event-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--teal);
}

.event-solar::before {
  background: var(--gold);
}

.event-lunar::before {
  background: var(--copper);
}

.featured-event {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(16, 16, 18, 0.08), rgba(16, 16, 18, 0.44)),
    var(--night);
}

.featured-event p {
  color: rgba(255, 255, 255, 0.78);
}

.event-card time {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.featured-event time {
  color: var(--gold);
}

.safety-grid {
  grid-template-columns: 0.8fr 1fr 1fr;
}

.safety-list {
  padding: 24px;
}

.safety-list h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.safety-list h3::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
}

.dont-list h3::before {
  background: var(--copper);
}

.safety-list ul {
  padding-left: 20px;
  margin: 0;
  color: var(--muted);
}

.safety-list li + li {
  margin-top: 10px;
}

.planning-grid,
.science-columns,
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.planning-card,
.science-columns article,
.glossary-grid article {
  padding: 22px;
}

.photo-grid {
  align-items: center;
}

.checklist {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.checklist label {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
}

.checklist label:has(input:checked) {
  color: var(--ink);
  border-color: rgba(31, 138, 138, 0.32);
  background: rgba(31, 138, 138, 0.08);
}

.checklist input {
  width: 20px;
  height: 20px;
  accent-color: var(--teal);
}

.science-columns {
  grid-template-columns: repeat(3, 1fr);
}

.glossary-search {
  display: block;
  max-width: 520px;
  margin-bottom: 22px;
}

.glossary-search input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
}

.glossary-grid {
  grid-template-columns: repeat(5, 1fr);
}

.glossary-grid article.is-hidden {
  display: none;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 880px;
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 780;
}

.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--night);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  margin: 0;
  padding: 0 18px 18px;
}

.site-footer {
  color: var(--white);
  background: var(--night);
}

.footer-shell {
  width: min(var(--max), calc(100% - 40px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 0 auto;
  padding: 54px 0;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer p,
.site-footer li {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h2 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.site-footer ul {
  padding-left: 18px;
  margin: 0;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--gold);
}

@media (max-width: 1040px) {
  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-content {
    margin-left: 28px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(760px, calc(100% - 56px));
    margin: -84px auto 28px;
  }

  .split-grid,
  .mechanics-grid,
  .safety-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .type-grid,
  .planning-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .glossary-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 740px) {
  .site-header {
    min-height: 64px;
    padding: 10px 16px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 12px;
    right: 12px;
    display: none;
    grid-template-columns: 1fr;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 8px;
    color: var(--ink);
    background: rgba(251, 250, 247, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    border-radius: 6px;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 16, 18, 0.88), rgba(16, 16, 18, 0.42)),
      linear-gradient(0deg, rgba(16, 16, 18, 0.9) 0%, transparent 58%);
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 auto;
    padding: 104px 0 116px;
  }

  h1 {
    font-size: 3.05rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .tabbar {
    width: 100%;
  }

  .button,
  .tab-button {
    flex: 1 1 100%;
  }

  .tabbar {
    display: grid;
  }

  .section-shell {
    width: calc(100% - 32px);
    padding: 64px 0;
  }

  .type-grid,
  .event-timeline,
  .planning-grid,
  .science-columns,
  .glossary-grid,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .type-card,
  .event-card {
    min-height: auto;
  }

  .mechanics-visual,
  .mechanics-visual img {
    min-height: 300px;
  }

  .mechanics-visual span {
    min-height: 28px;
    padding: 4px 8px;
    font-size: 0.7rem;
  }

  .mechanics-visual span:nth-child(2) {
    left: 43%;
    top: 34%;
  }

  .steps article {
    grid-template-columns: 44px 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
