@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cobalt: #1B29CE;
  --cream: #F4EDDF;
  --ink: #15140F;
  --paper: #F7F1E4;
  --muted: #5B5547;
  --pad: clamp(20px, 4.45vw, 64px);
  --gutter: clamp(14px, 1.667vw, 24px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--cream);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 5px;
}

main:focus { outline: none; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 16px;
  background: var(--cobalt);
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
}
.skip:focus { left: 16px; top: 16px; color: var(--paper); }
.skip:focus-visible { outline-color: var(--paper); }

::selection { background: var(--paper); color: var(--cobalt); }

/* cover */

.cover {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 24px var(--pad) 0;
  overflow: hidden;
  background: var(--cobalt);
  color: var(--cream);
}

.cover-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(247, 241, 228, 0.35);
  color: var(--cream);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cover-clock {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}
.cover-clock time { font-variant-numeric: tabular-nums; }
.cover-clock time[hidden] { display: none; }
.cover-year { color: rgba(247, 241, 228, 0.65); }

.cover-name {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: auto 0;
  color: var(--cream);
  font-size: clamp(64px, 18vw, 266px);
  font-weight: 600;
  line-height: 0.76;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}
.cover-name span { display: block; }
.cover-name span:last-child {
  align-self: flex-end;
  margin-right: -0.025em;
}

.cover-intro {
  max-width: 430px;
  margin: 0 0 clamp(22px, 3vh, 34px);
  color: var(--cream);
  font-size: clamp(18px, 1.45vw, 22px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.012em;
}

.cover-cue {
  position: absolute;
  right: var(--pad);
  bottom: 82px;
  width: 1px;
  height: 44px;
  overflow: hidden;
  background: rgba(247, 241, 228, 0.28);
}
.cover-cue::after {
  content: "";
  position: absolute;
  left: 0;
  top: -100%;
  width: 1px;
  height: 100%;
  background: var(--cream);
  animation: cue 2.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.marquee {
  position: relative;
  overflow: hidden;
  margin-inline: calc(var(--pad) * -1);
  padding: 12px 0;
  border-top: 1px solid rgba(247, 241, 228, 0.35);
  white-space: nowrap;
}

.marquee-track {
  display: inline-block;
  color: var(--cream);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  animation: marquee 34s linear infinite;
  will-change: transform;
}
.marquee-track span { padding-right: 2.4em; }

/* early */

.early {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  min-height: 100svh;
  background: var(--cream);
  color: var(--ink);
}

.early-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--pad);
}

.early-title {
  max-width: 820px;
  margin: 0;
  font-size: clamp(48px, 8.6vw, 124px);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.early-context {
  max-width: 24ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(13px, 1.1vw, 14px);
  line-height: 1.5;
}

.early-side {
  display: flex;
  align-items: center;
  padding: var(--pad);
  background: var(--cobalt);
  color: var(--cream);
}

.early-side p {
  max-width: 30ch;
  margin: 0;
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

/* now */

.now {
  min-height: 100svh;
  background: var(--ink);
  color: var(--paper);
}

.now-inner {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--pad);
  border-top: 2px solid var(--cobalt);
}

.now-title {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(40px, 5.8vw, 86px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.045em;
  text-wrap: pretty;
}

.now-body {
  max-width: 580px;
  margin: clamp(24px, 4vh, 52px) 0 0;
  color: #D8D1C2;
  font-size: clamp(19px, 1.5vw, 24px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.012em;
}

.now-meta {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(247, 241, 228, 0.25);
  color: #C9C2B2;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* contact */

.contact {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--pad);
  background: var(--cobalt);
  color: var(--paper);
}

.next-title {
  max-width: 1030px;
  margin: 0;
  font-size: clamp(34px, 4.5vw, 66px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: pretty;
}

.contact-mail {
  margin: clamp(30px, 6vw, 64px) 0 clamp(24px, 5vw, 48px);
  color: var(--paper);
  font-size: clamp(22px, 5vw, 72px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
  overflow-wrap: anywhere;
}
.contact-mail:hover { color: #FFFFFF; text-decoration-thickness: 2px; }

.contact-bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-top: clamp(22px, 3vw, 32px);
  border-top: 1px solid rgba(247, 241, 228, 0.3);
}

.contact-invite {
  max-width: 34ch;
  margin: 0;
  color: var(--paper);
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.contact-links {
  margin: 0;
  color: var(--paper);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.008em;
  white-space: nowrap;
}
.contact-links a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
.contact-links a:hover { color: #FFFFFF; }
.contact :focus-visible { outline-color: var(--paper); }

/* 404 */

.missing {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: var(--pad);
  background: var(--cream);
  color: var(--ink);
}
.missing-brand {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.missing h1 {
  margin: auto 0;
  font-size: clamp(140px, 25vw, 380px);
  font-weight: 600;
  line-height: 0.76;
  letter-spacing: -0.07em;
}
.missing-foot { margin: 0; font-size: 18px; }
.missing-foot a { text-decoration: underline; text-underline-offset: 0.22em; }
.missing-foot a:hover { color: var(--cobalt); }

/* motion */

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes cue {
  0% { transform: translateY(0); }
  60%, 100% { transform: translateY(200%); }
}

.js .cover-intro {
  opacity: 0;
  transform: translateY(18px);
  animation: intro-in 0.9s 0.42s cubic-bezier(0.2, 0.8, 0.1, 1) forwards;
}
.js .cover-name span {
  transform: translateY(110%);
  animation: name-rise 1s cubic-bezier(0.2, 0.8, 0.1, 1) forwards;
}
.js .cover-name span:nth-child(2) { animation-delay: 0.09s; }

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.1, 1);
}
.js .reveal.in { opacity: 1; transform: none; }
.js .early-side .reveal { transition-delay: 0.1s; }

@keyframes name-rise { to { transform: translateY(0); } }
@keyframes intro-in { to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .cover { padding-top: 18px; }
  .cover-name { font-size: clamp(64px, 21vw, 190px); }
  .cover-intro { max-width: 380px; }
  .cover-cue { display: none; }

  .early { display: block; min-height: 0; }
  .early-main { min-height: 62svh; }
  .early-title { font-size: clamp(42px, 8.2vw, 72px); }
  .early-side { min-height: 340px; }

  .now-inner { min-height: 92svh; }
  .now-title { font-size: clamp(38px, 7vw, 56px); }

  .contact { min-height: 0; }
  .contact-bottom { display: block; }
  .contact-invite { max-width: 38ch; }
  .contact-links { margin-top: 22px; }
  .contact-mail { font-size: clamp(20px, 4.4vw, 30px); }
}

@media (max-width: 620px) {
  .cover { padding-top: 16px; }
  .cover-top { font-size: 9px; letter-spacing: 0.13em; }
  .cover-name { font-size: clamp(62px, 23vw, 120px); line-height: 0.78; }
  .cover-intro { max-width: 320px; font-size: 17px; line-height: 1.5; }
  .marquee-track { font-size: 9px; }
  .marquee { padding: 10px 0; }

  .early-main { min-height: 58svh; padding: 30px 20px; }
  .early-title { font-size: 43px; line-height: 0.94; }
  .early-context { font-size: 13px; }
  .early-side { min-height: 300px; padding: 30px 20px; }
  .early-side p { font-size: 20px; line-height: 1.5; }

  .now-inner { min-height: 88svh; padding: 30px 20px; }
  .now-title { font-size: 38px; line-height: 1.05; }
  .now-body { font-size: 18px; }
  .now-meta { font-size: 9px; }

  .contact { padding: 30px 20px; }
  .next-title { font-size: 32px; line-height: 1.08; }
  .contact-invite { font-size: 17px; }
  .contact-mail { font-size: 21px; }
  .contact-links { font-size: 14px; white-space: normal; }
}

@media (max-width: 360px) {
  .cover-name { font-size: 61px; }
  .early-title { font-size: 37px; }
  .now-title { font-size: 34px; }
  .next-title { font-size: 30px; }
  .contact-mail { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .cover-cue::after { animation: none !important; }
  .js .cover-intro,
  .js .cover-name span,
  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}
