@charset "UTF-8";

:root {
  color-scheme: dark;
  --night: #030817;
  --sapphire: #102d61;
  --ice: #d8e9ff;
  --text: #f3f5fc;
  --muted: #adbad0;
  --gold: #edce8d;
  --gold-light: #fff0c5;
  --line: rgb(178 200 236 / 15%);
  --font: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 280px; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100svh;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--night);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #ade4ff; outline-offset: 6px; }
::selection { background: #ebce8d; color: #081124; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 20;
  transform: translateY(-180%);
  border-radius: 4px;
  padding: 12px 18px;
  background: var(--gold-light);
  color: var(--night);
  font-weight: 600;
}
.skip-link:focus { transform: translateY(0); }

.atmosphere {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 30%, rgb(23 66 129 / 23%), transparent 56%),
    radial-gradient(ellipse at 50% 110%, rgb(22 65 137 / 25%), transparent 52%),
    linear-gradient(180deg, #050c1d, #030817 70%);
}
.atmosphere__halo {
  position: absolute;
  top: -280px;
  left: calc(50% - 470px);
  width: 940px;
  height: 880px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgb(52 112 216 / 14%), rgb(34 65 121 / 3%) 52%, transparent 70%);
  animation: breathe 16s ease-in-out infinite alternate;
}
.atmosphere__orbit {
  position: absolute;
  left: 50%;
  top: -710px;
  width: 1450px;
  height: 1450px;
  margin-left: -725px;
  border: 1px solid rgb(113 159 232 / 9%);
  border-radius: 50%;
  box-shadow: 0 0 48px rgb(49 89 148 / 3%), inset 0 0 55px rgb(64 102 172 / 3%);
  animation: orbit 100s linear infinite;
}
.atmosphere__orbit::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  background: #c8ad71;
  top: 22%;
  left: 8.5%;
  border-radius: 50%;
  box-shadow: 0 0 18px 3px rgb(249 214 146 / 40%);
}
.atmosphere__orbit--inner {
  top: -510px;
  width: 1130px;
  height: 1130px;
  margin-left: -565px;
  border-color: rgb(235 206 154 / 7%);
  animation-duration: 130s;
  animation-direction: reverse;
}
.atmosphere__stars {
  position: absolute;
  inset: 0;
  opacity: .6;
  background-image:
    radial-gradient(circle at 13% 25%, #c4d9fd 0 1px, transparent 1.8px),
    radial-gradient(circle at 84% 22%, #d5ba80 0 1px, transparent 2px),
    radial-gradient(circle at 7% 68%, #91b0e8 0 .8px, transparent 1.5px),
    radial-gradient(circle at 91% 71%, #91b0e8 0 1px, transparent 1.6px),
    radial-gradient(circle at 22% 78%, #a3b8da 0 .7px, transparent 1.5px),
    radial-gradient(circle at 74% 82%, #d0b583 0 .9px, transparent 1.5px),
    radial-gradient(circle at 35% 15%, #6b8abd 0 .8px, transparent 1.4px);
}
.atmosphere__horizon {
  position: absolute;
  bottom: -180px;
  left: -25%;
  width: 150%;
  height: 400px;
  border-top: 1px solid rgb(142 177 229 / 10%);
  border-radius: 50% 50% 0 0;
  box-shadow: 0 -16px 90px rgb(36 83 161 / 9%);
}

.site-header {
  width: min(1440px, 100%);
  min-height: 90px;
  padding: 20px clamp(24px, 5vw, 80px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .17em;
  white-space: nowrap;
}
.wordmark__light { font-weight: 350; }
.wordmark__gem {
  width: 15px;
  height: 21px;
  display: inline-block;
  clip-path: polygon(50% 0, 100% 48%, 50% 100%, 0 48%);
  background: conic-gradient(from 30deg at 50% 45%, #fae9b9, #c79440, #f0d89b, #2c65b6, #7ba3e2, #e4c580, #fae9b9);
}
.header-actions { display: flex; align-items: center; gap: clamp(16px, 2.8vw, 42px); }
.header-link {
  text-decoration: none;
  font-size: 13px;
  color: var(--ice);
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 44px;
}
.header-link span { color: var(--gold); font-size: 19px; }
.header-link:hover { color: var(--gold-light); }
.motion-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 0;
  min-height: 44px;
  border: 0;
  border-radius: 3px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}
.motion-toggle:hover { color: var(--text); }
.motion-toggle__icon { width: 21px; height: 21px; }

.main-content { width: 100%; flex: 1; display: grid; place-items: center; }
.hero { width: min(1100px, 100%); padding: 10px 30px 50px; text-align: center; }
.identity-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 174px;
  height: 174px;
  margin: 0 auto 25px;
}
.identity-stage__ring {
  position: absolute;
  inset: -10px;
  border: 1px solid rgb(193 154 84 / 18%);
  border-radius: 50%;
  background: radial-gradient(circle, rgb(45 96 175 / 14%), transparent 72%);
  box-shadow: 0 0 75px rgb(45 92 169 / 15%);
}
.identity-stage__ring::before, .identity-stage__ring::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid transparent;
  border-top-color: rgb(214 183 123 / 24%);
  border-bottom-color: rgb(100 151 223 / 14%);
  border-radius: 50%;
  animation: orbit 35s linear infinite;
}
.identity-stage__ring::after { inset: -19px; animation-duration: 48s; animation-direction: reverse; opacity: .5; }
.crest {
  display: block;
  position: relative;
  width: 174px;
  height: 174px;
  object-fit: contain;
  filter: drop-shadow(0 8px 22px rgb(0 0 0 / 40%));
}
.eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .27em;
  margin: 0 0 15px;
}
.eyebrow > span { display: block; height: 1px; width: 34px; background: linear-gradient(90deg, transparent, rgb(226 192 126 / 70%)); }
.eyebrow > span:last-child { transform: rotate(180deg); }
h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 6.7vw, 85px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: .065em;
  color: #f1e5c9;
  text-shadow: 0 0 44px rgb(130 165 237 / 14%);
}
h1 span { color: var(--text); }
.hero-description {
  margin: 19px 0 35px;
  color: var(--muted);
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.6;
  letter-spacing: .015em;
}

.time-panel {
  position: relative;
  width: min(790px, 100%);
  margin: 0 auto;
  padding: 20px 34px 24px;
  border: 1px solid rgb(140 172 223 / 20%);
  border-radius: 15px;
  background:
    radial-gradient(ellipse at 50% 0, rgb(35 70 130 / 18%), transparent 75%),
    linear-gradient(150deg, rgb(18 35 64 / 72%), rgb(5 14 31 / 85%) 72%);
  box-shadow: 0 30px 90px rgb(0 0 0 / 18%), inset 0 1px 0 rgb(215 231 255 / 5%);
}
.time-panel::before, .time-panel::after {
  content: "";
  position: absolute;
  top: -1px;
  width: 62px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .75;
}
.time-panel::before { left: 9%; }
.time-panel::after { right: 9%; }
.time-panel__upper {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  margin-bottom: 12px;
}
.time-panel h2 {
  margin: 0;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .23em;
  color: #ccd8eb;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.section-marker { color: #8496b3; font-size: 10px; letter-spacing: .14em; text-align: left; }
.time-panel__spark { text-align: right; font-size: 15px; color: var(--gold); }
.time-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.has-days .time-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.time-cell { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; padding: 1px 9px 14px; }
.time-cell:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 18%;
  height: 58%;
  width: 1px;
  background: linear-gradient(transparent, rgb(172 190 222 / 20%), transparent);
}
.time-cell__value {
  display: block;
  color: #f1f6ff;
  font-family: "Cascadia Code", "Consolas", "SFMono-Regular", monospace;
  font-size: clamp(66px, 10vw, 106px);
  font-variant-numeric: tabular-nums;
  font-weight: 300;
  letter-spacing: -.075em;
  text-indent: -.075em;
  line-height: 1.14;
  text-shadow: 0 0 26px rgb(94 164 255 / 25%), 0 0 65px rgb(47 104 207 / 15%);
}
.time-cell__value--seconds { color: var(--gold-light); text-shadow: 0 0 26px rgb(232 191 112 / 22%); }
.time-cell__label { margin-top: 7px; font-size: 9px; letter-spacing: .23em; text-transform: uppercase; color: var(--muted); }
.has-days .time-cell__value { font-size: clamp(44px, 8vw, 84px); }
.time-cell--days .time-cell__value { font-size: clamp(34px, 6.5vw, 72px); line-height: 1.33; overflow-wrap: anywhere; }
.counter-detail { min-height: 18px; margin: 5px 0 0; color: #aab9d0; font-size: 11px; line-height: 1.6; letter-spacing: .025em; }
.time-panel__line { position: absolute; bottom: -1px; left: 17%; width: 66%; height: 1px; overflow: hidden; background: linear-gradient(90deg, transparent, rgb(175 198 236 / 20%), transparent); }
.time-panel__line span { display: block; width: 45%; height: 1px; background: linear-gradient(90deg, transparent, rgb(255 226 169 / 80%), transparent); animation: sweep 12s ease-in-out infinite alternate; }
.is-reached .time-cell__value { color: var(--gold-light); }
.noscript-note { margin: 15px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.access-section { margin-top: 30px; }
.application-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  min-width: 300px;
  min-height: 66px;
  padding: 16px 18px 16px 29px;
  border: 1px solid #ecd098;
  border-radius: 7px;
  background: linear-gradient(120deg, #f0dcae, #d8b977 60%, #efdba9);
  color: #111b2d;
  text-decoration: none;
  box-shadow: 0 0 0 5px rgb(232 196 125 / 4%), 0 10px 40px rgb(169 129 54 / 13%), inset 0 1px 0 rgb(255 255 255 / 55%);
  transition: transform .22s ease, box-shadow .22s ease;
}
.application-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 5px rgb(232 196 125 / 9%), 0 15px 50px rgb(207 168 91 / 20%), inset 0 1px 0 rgb(255 255 255 / 65%);
}
.application-button:active { transform: translateY(0); }
.application-button__text { position: relative; font-size: 16px; font-weight: 650; letter-spacing: .01em; }
.application-button__arrow { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-left: 1px solid rgb(35 35 40 / 20%); padding-left: 11px; }
.application-button__arrow svg { width: 22px; height: 22px; transition: transform .22s ease; }
.application-button:hover .application-button__arrow svg { transform: translateX(3px); }
.application-button__shine {
  position: absolute;
  top: -30%;
  left: -65%;
  width: 40%;
  height: 160%;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 22%), transparent);
  transform: skewX(-25deg);
  animation: button-sheen 10s ease-in-out infinite;
}
.access-note { margin: 15px 0 0; font-size: 11px; color: #a4b2c9; letter-spacing: .035em; line-height: 1.6; }
.access-note span { padding: 0 7px; color: var(--gold); }

.site-footer {
  width: calc(100% - clamp(48px, 10vw, 160px));
  max-width: 1280px;
  min-height: 72px;
  padding: 22px 0;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  color: #92a2bc;
  font-size: 10px;
  letter-spacing: .08em;
}
.site-footer__signature { display: inline-flex; align-items: center; gap: 12px; color: #bda36f; }
.site-footer__signature > span { width: 30px; height: 1px; background: linear-gradient(90deg, transparent, #655b45); }
.site-footer__signature > span:last-child { transform: rotate(180deg); }

@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes breathe { from { opacity: .6; transform: scale(.94); } to { opacity: 1; transform: scale(1.06); } }
@keyframes sweep { from { transform: translateX(0); } to { transform: translateX(130%); } }
@keyframes button-sheen { 0%, 55% { left: -65%; } 80%, 100% { left: 140%; } }

[data-motion="off"] *, [data-motion="off"] *::before, [data-motion="off"] *::after {
  animation-play-state: paused !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html:not([data-motion="on"]) *, html:not([data-motion="on"]) *::before, html:not([data-motion="on"]) *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (min-width: 1400px) and (min-height: 1000px) {
  .hero { padding-top: 20px; padding-bottom: 70px; }
  .identity-stage, .crest { width: 210px; height: 210px; }
  .hero-description { margin-bottom: 43px; }
  .time-panel { padding-top: 25px; padding-bottom: 28px; }
  .access-section { margin-top: 40px; }
}

@media (max-width: 680px) {
  .site-header { min-height: 77px; padding: 14px 22px; }
  .wordmark { font-size: 11px; letter-spacing: .12em; gap: 9px; }
  .wordmark__gem { width: 12px; height: 18px; }
  .header-actions { gap: 12px; }
  .header-link { font-size: 11px; gap: 7px; }
  .motion-toggle { width: 44px; padding: 10px; }
  .motion-toggle > span { display: none; }
  .hero { padding: 28px 23px 44px; }
  .identity-stage, .crest { width: 151px; height: 151px; }
  .identity-stage { margin-bottom: 31px; }
  .eyebrow { font-size: 8px; letter-spacing: .18em; gap: 11px; }
  .eyebrow > span { width: 18px; }
  h1 { font-size: clamp(36px, 8.5vw, 57px); letter-spacing: .035em; }
  .hero-description { font-size: 13px; margin: 15px 0 28px; }
  .time-panel { padding: 18px 13px 21px; border-radius: 12px; }
  .time-panel__upper { grid-template-columns: 30px 1fr 30px; margin-bottom: 13px; }
  .time-panel h2 { font-size: 9px; letter-spacing: .15em; }
  .section-marker { font-size: 8px; }
  .time-cell { padding: 2px 6px 10px; }
  .time-cell__value { font-size: clamp(43px, 13vw, 78px); letter-spacing: -.085em; }
  .time-cell__label { font-size: 8px; letter-spacing: .13em; }
  .counter-detail { font-size: 10px; margin-top: 4px; }
  .has-days .time-cell__value { font-size: clamp(29px, 9.5vw, 54px); }
  .time-cell--days .time-cell__value { font-size: clamp(24px, 7.8vw, 45px); }
  .application-button { min-width: min(300px, 100%); min-height: 62px; padding-left: 24px; gap: 22px; }
  .application-button__text { font-size: 15px; }
  .access-section { margin-top: 29px; }
  .site-footer { width: calc(100% - 44px); font-size: 8px; min-height: 63px; }
  .site-footer__signature { gap: 7px; }
  .site-footer__signature > span { width: 15px; }
}

@media (max-width: 360px) {
  .site-header { padding-left: 16px; padding-right: 16px; gap: 8px; }
  .header-link { font-size: 10px; gap: 5px; }
  .wordmark { font-size: 10px; gap: 7px; }
  .header-actions { gap: 3px; }
  .hero { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: 34px; letter-spacing: .015em; }
  .time-panel { padding-left: 8px; padding-right: 8px; }
  .time-cell__value { font-size: 44px; }
  .has-days .time-cell__value { font-size: 29px; }
  .time-cell--days .time-cell__value { font-size: 24px; }
  .site-footer__signature { display: none; }
}

@media (forced-colors: active) {
  .atmosphere, .identity-stage__ring, .application-button__shine { display: none; }
  .time-panel, .application-button { border: 1px solid CanvasText; }
  .time-cell__value, .time-cell__value--seconds, h1, h1 span { color: CanvasText; text-shadow: none; }
  .application-button { color: LinkText; background: Canvas; }
  :focus-visible { outline-color: Highlight; }
}
