:root {
  --ink: #f0e6d2;
  --muted: #a09b8c;
  --night: #010a13;
  --panel: #071824;
  --panel-2: #0a2230;
  --line: rgba(200, 155, 60, 0.2);
  --mint: #0ac8b9;
  --mint-bright: #b4f5ef;
  --amber: #c89b3c;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.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; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 10%, rgba(10, 200, 185, .12), transparent 30rem),
    radial-gradient(circle at 12% 45%, rgba(200, 155, 60, .11), transparent 28rem),
    var(--night);
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 20; background: var(--mint); color: #06100c; padding: .7rem 1rem; }

.site-header { border-bottom: 1px solid var(--line); background: rgba(1,10,19,.9); backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 10; }
.nav { max-width: var(--max); margin: auto; min-height: 72px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 30px; aspect-ratio: 1; border: 1px solid var(--amber); rotate: 45deg; display: grid; place-items: center; box-shadow: inset 0 0 16px rgba(200,155,60,.2); }
.brand-mark::after { content: ""; width: 9px; height: 9px; background: var(--mint); box-shadow: 0 0 13px var(--mint); }
.brand span:last-child { margin-left: 3px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 650; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--mint-bright); }

.page-shell { max-width: var(--max); margin: auto; padding: 0 24px; }
.layout { display: block; }
.main-column { min-width: 0; }

.hero { min-height: 660px; padding: 72px 0 58px; display: grid; align-content: center; justify-items: center; position: relative; text-align: center; }
.eyebrow { color: var(--mint); text-transform: uppercase; letter-spacing: .18em; font-size: .73rem; font-weight: 800; display: flex; gap: 10px; align-items: center; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; margin-top: 0; }
h1 { font-size: clamp(3.4rem, 8vw, 7.4rem); margin: 18px 0 20px; max-width: 900px; }
h1 em { color: transparent; -webkit-text-stroke: 1px rgba(200,155,60,.82); font-style: normal; }
.hero-copy { color: var(--muted); max-width: 630px; font-size: 1.08rem; margin-inline: auto; }
.timer-panel { position: relative; width: min(100%, 700px); margin-top: 35px; border: 1px solid rgba(200,155,60,.44); background: linear-gradient(135deg, rgba(8,31,43,.96), rgba(2,13,22,.98) 58%); box-shadow: 0 28px 80px rgba(0,0,0,.38), inset 0 1px rgba(240,230,210,.035), 0 0 45px rgba(10,200,185,.035); overflow: hidden; }
.timer-panel::before, .timer-panel::after { content: ""; position: absolute; width: 42px; height: 2px; background: var(--amber); z-index: 1; }
.timer-panel::before { left: 0; top: 0; }
.timer-panel::after { right: 0; bottom: 0; }
.timer-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.event-switch { display: inline-flex; gap: 4px; }
.event-switch button { border: 0; background: transparent; color: var(--muted); padding: 8px 13px; font: inherit; font-size: .72rem; font-weight: 800; letter-spacing: .02em; cursor: pointer; }
.event-switch button[aria-pressed="true"] { background: rgba(200,155,60,.13); color: #f0c75e; box-shadow: inset 0 -1px var(--amber); }
.timer-status { display: flex; align-items: center; gap: 8px; color: #71867d; text-transform: uppercase; letter-spacing: .14em; font-size: .59rem; font-weight: 800; white-space: nowrap; }
.timer-status span { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); animation: timer-pulse 1.8s ease-in-out infinite; }
.countdown { display: grid; grid-template-columns: 1.15fr repeat(3, 1fr); grid-auto-flow: column; padding: 13px 20px 10px; white-space: nowrap; }
.time-card { position: relative; min-width: 0; padding: 22px 20px 18px; text-align: center; }
.time-card:not(:last-child) { border-right: 1px solid var(--line); }
.time-card:not(:last-child)::after { content: ":"; position: absolute; right: -5px; top: 27px; z-index: 1; color: var(--mint); background: #071923; font-size: 1rem; line-height: 1.2; }
.time-value { display: block; color: #f0c75e; font-family: "Arial Narrow", "Roboto Condensed", Inter, sans-serif; font-size: clamp(3rem, 5vw, 5rem); font-weight: 700; line-height: .9; letter-spacing: -.065em; font-variant-numeric: tabular-nums; text-shadow: 0 0 28px rgba(200,155,60,.13); }
.time-label { display: block; color: #7f938b; font-size: .59rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; margin-top: 13px; }
.target-note { color: var(--muted); font-size: .73rem; margin: 0; padding: 13px 22px 15px; border-top: 1px solid var(--line); text-align: center; }
.target-note strong { color: var(--ink); }
@keyframes timer-pulse { 0%, 100% { opacity: .45; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }

.section { padding: 76px 0; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(280px, 520px); gap: 40px; align-items: end; margin-bottom: 42px; }
.section h2 { font-size: clamp(2.1rem, 4vw, 4rem); margin-bottom: 0; }
.section-heading p, .lede { color: var(--muted); margin: 0; }
.stage-list { list-style: none; padding: 0; margin: 0; display: grid; }
.stage { display: grid; grid-template-columns: 155px 1fr auto; gap: 25px; align-items: center; border-top: 1px solid var(--line); padding: 25px 0; }
.stage:last-child { border-bottom: 1px solid var(--line); }
.stage-date { color: var(--amber); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.stage h3 { margin: 0 0 5px; font-size: 1.35rem; }
.stage p { color: var(--muted); margin: 0; font-size: .9rem; }
.stage-number { color: rgba(197,255,222,.18); font-size: 2.2rem; font-weight: 900; letter-spacing: -.05em; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); padding: 28px; min-height: 220px; text-decoration: none; transition: border-color .2s, transform .2s; }
.card:hover { border-color: rgba(200,155,60,.7); transform: translateY(-3px); }
.card-index { color: var(--mint); font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; }
.card h3 { font-size: 1.45rem; margin: 38px 0 10px; }
.card p { color: var(--muted); margin: 0; font-size: .9rem; }
.cta { border: 1px solid rgba(200,155,60,.42); background: linear-gradient(115deg, rgba(10,37,49,.9), rgba(3,17,27,.9)); padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.8rem); margin-bottom: 8px; }
.cta p { color: var(--muted); margin: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 13px 20px; background: var(--amber); color: #09131b; text-decoration: none; font-weight: 800; white-space: nowrap; border: 0; cursor: pointer; font: inherit; }

.page-hero { padding: 90px 0 55px; }
.page-hero h1 { font-size: clamp(3rem, 7vw, 6rem); max-width: 950px; }
.page-hero .lede { max-width: 720px; font-size: 1.1rem; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 3rem; font-size: 2rem; }
.prose h3 { margin-top: 2rem; font-size: 1.25rem; }
.prose p, .prose li { color: #b5c3bd; }
.prose a { color: var(--mint-bright); }
.info-table { width: 100%; border-collapse: collapse; margin: 30px 0; }
.info-table th, .info-table td { padding: 16px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { color: var(--mint); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.info-table td { color: #bac8c2; }
.notice { border-left: 2px solid var(--amber); padding: 16px 20px; background: rgba(239,198,108,.06); color: #d8ceb6; margin: 26px 0; }
.faq-item { border-top: 1px solid var(--line); padding: 24px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h2 { font-size: 1.35rem; margin-bottom: 9px; }
.faq-item p { color: var(--muted); margin: 0; }

.site-footer { border-top: 1px solid var(--line); margin-top: 70px; }
.footer-inner { max-width: var(--max); margin: auto; padding: 38px 24px; display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; }
.footer-copy { color: #74867f; max-width: 610px; font-size: .75rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: .78rem; }
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 680px) {
  .nav { min-height: 64px; }
  .nav-links a:not(:last-child) { display: none; }
  .page-shell { padding: 0 18px; }
  .hero { min-height: auto; padding: 62px 0 45px; }
  h1 { font-size: clamp(3rem, 17vw, 5rem); }
  .timer-panel { margin-top: 28px; }
  .timer-toolbar { padding: 11px 10px; }
  .event-switch button { padding: 8px 9px; font-size: .64rem; }
  .timer-status { font-size: 0; gap: 0; }
  .timer-status span { width: 7px; height: 7px; }
  .countdown { grid-template-columns: 1.12fr repeat(3, 1fr); padding: 8px 5px 5px; }
  .time-card { padding: 17px 5px 15px; }
  .time-card:not(:last-child)::after { top: 19px; right: -4px; font-size: .8rem; }
  .time-value { font-size: clamp(2rem, 10.5vw, 2.65rem); }
  .time-label { font-size: .48rem; letter-spacing: .12em; margin-top: 10px; }
  .target-note { padding: 12px 14px 13px; font-size: .65rem; line-height: 1.5; }
  .stage { grid-template-columns: 1fr auto; gap: 7px 14px; }
  .stage-date { grid-column: 1 / -1; }
  .section { padding: 55px 0; }
  .cta { align-items: flex-start; flex-direction: column; padding: 28px; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 360px) {
  .countdown { grid-template-columns: 1.15fr repeat(3, 1fr); padding-inline: 2px; }
  .time-card { padding-inline: 2px; }
  .time-value { font-size: 1.85rem; }
  .time-label { font-size: .42rem; letter-spacing: .08em; }
}

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