:root {
  color-scheme: dark;
  --ink: #08110f;
  --paper: #f2f3e9;
  --accent: #d4f88b;
  --gutter: clamp(1.4rem, 6vw, 7rem);
  font-family: "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
[hidden] { display: none !important; }
body { background: var(--ink); color: var(--paper); }
.cover {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
  position: relative;
}
.scene { position: absolute; z-index: -1; inset: 0; overflow: hidden; }
.photograph {
  position: absolute;
  width: max(100%, 150vh);
  width: max(100%, 150svh);
  aspect-ratio: 3 / 2;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
.photograph img { display: block; width: 100%; height: 100%; }
.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgb(5 13 11 / 72%), transparent 22%, transparent 86%, rgb(5 13 11 / 26%)),
    linear-gradient(90deg, var(--ink) 0%, rgb(8 17 15 / 95%) 23%, rgb(8 17 15 / 74%) 40%, rgb(8 17 15 / 12%) 70%, transparent);
}
.beacon {
  position: absolute;
  left: 74.5%;
  top: 55.3%;
  width: .52rem;
  height: .52rem;
  border-radius: 50%;
  background: #efffc3;
  box-shadow: 0 0 .8rem var(--accent);
}
.beacon::before, .beacon::after {
  content: "";
  position: absolute;
  inset: -.55rem;
  border: 1px solid rgb(218 255 162 / 80%);
  border-radius: 50%;
}
@media (prefers-reduced-motion: no-preference) {
  .beacon::after { animation: ripple 4.5s ease-out infinite; }
  @keyframes ripple {
    0% { transform: scale(.65); opacity: 0; }
    16% { opacity: .85; }
    85%, 100% { transform: scale(3.8); opacity: 0; }
  }
}
.masthead, footer { margin-inline: var(--gutter); }
.masthead { padding-block: clamp(1.35rem, 4vh, 2.8rem); border-bottom: 1px solid rgb(217 235 213 / 21%); }
.wordmark { display: block; width: clamp(6.5rem, 8vw, 7.5rem); height: auto; filter: invert(1); }
main { align-self: center; margin-inline: var(--gutter); padding-block: clamp(3rem, 9vh, 7rem); }
h1 { max-width: 10em; font-size: clamp(4rem, 7.4vw, 8.3rem); font-weight: 500; letter-spacing: -.075em; line-height: .99; }
h1 em { display: block; color: var(--accent); font: italic 1.04em/.99 Georgia, "Times New Roman", serif; letter-spacing: -.065em; }
.intro { max-width: 28rem; margin-top: 1.55rem; color: #d6ddd5; font-size: clamp(1rem, 1.45vw, 1.3rem); line-height: 1.5; text-wrap: pretty; }
.countdown { margin-top: clamp(2.7rem, 7vh, 5.5rem); width: min(100%, 28rem); }
.clock-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .45rem 1rem; padding-bottom: .9rem; border-bottom: 1px solid rgb(217 235 213 / 36%); }
.clock-heading, .clock small { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }
.clock-heading h2 { color: var(--accent); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.clock-heading time { color: #c4d0c7; font-size: .7rem; }
.clock { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: .95rem; }
.clock div { display: grid; justify-items: start; gap: .38rem; }
.clock div + div { border-inline-start: 1px solid rgb(217 235 213 / 18%); padding-inline-start: clamp(.6rem, 1.9vw, 1.7rem); }
.clock span { font-size: clamp(2rem, 3.45vw, 3.45rem); line-height: 1; font-weight: 400; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.clock small { color: #bdc9bf; font-size: .64rem; letter-spacing: .075em; text-transform: uppercase; }
.complete { margin-top: 1rem; color: var(--accent); font-size: .9rem; }
.updates { width: min(100%, 28rem); margin-top: clamp(1.4rem, 3.5vh, 2.25rem); }
.updates label { display: block; margin-bottom: .55rem; font-size: .9rem; font-weight: 600; }
.email-row { display: flex; gap: .4rem; }
.updates input[type="email"] {
  flex: 1 1 0; min-width: 0; padding: .78rem .9rem; border: 1px solid #718478;
  border-radius: .4rem; color: var(--paper); background: rgb(8 17 15 / 85%); font: inherit;
}
.updates input::placeholder { color: #aebbb2; }
.updates button {
  min-height: 2.8rem; padding: .65rem 1rem; border: 0; border-radius: .4rem; background: var(--accent);
  color: #142413; font: 600 .94rem/1.2 "Helvetica Neue", Arial, sans-serif; cursor: pointer;
}
.updates button:hover { background: #e4ffa9; }
.updates button:disabled { opacity: .65; cursor: wait; }
.updates button span { margin-left: .3rem; }
.updates :focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.bot-field { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-note { color: #d8e9cd; font-size: .87rem; line-height: 1.45; }
.form-note:not(:empty) { margin-top: .65rem; }
.form-note[data-error] { color: #ffc6a9; }
footer { padding-block: 1.3rem; border-top: 1px solid rgb(217 235 213 / 21%); font-size: .75rem; color: #b7c4ba; line-height: 1.4; }
@media (max-width: 52rem) {
  .cover { grid-template-areas: "brand" "copy" "picture" "footer"; grid-template-rows: auto auto minmax(13rem, 1fr) auto; }
  .masthead { grid-area: brand; }
  main { grid-area: copy; padding-block: clamp(2.5rem, 7vw, 4rem) 1.5rem; }
  h1 { font-size: clamp(3.25rem, 9.6vw, 5.65rem); }
  .intro { margin-top: 1rem; }
  .countdown { margin-top: 2rem; }
  .scene { grid-area: picture; position: relative; min-height: clamp(13rem, 37vw, 20rem); z-index: 0; }
  .photograph { width: 100%; top: 50%; }
  .scene::after { background: linear-gradient(180deg, var(--ink), transparent 28%, transparent 85%, rgb(8 17 15 / 32%)); }
  footer { grid-area: footer; }
}
@media (max-width: 25rem) {
  :root { --gutter: 1.25rem; }
  h1 { font-size: clamp(2.5rem, 13vw, 3.24rem); }
  .clock-heading { gap: .4rem .6rem; }
}
