:root {
  color-scheme: dark;
  --night: #000;
  --ink: #f3f2f8;
  --pad: clamp(24px, 4.8vw, 84px);
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--night);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, p { margin: 0; }
body { min-width: 320px; }
a { color: inherit; text-decoration: none; }
::selection { color: var(--night); background: #c2b1e9; }
:focus-visible { outline: 2px solid #c8b8ee; outline-offset: 7px; }
.hero {
  position: relative;
  isolation: isolate;
  min-height: max(700px, 100svh);
  display: grid;
  grid-template-rows: auto auto minmax(310px, 1fr) auto auto;
  overflow: clip;
  background: var(--night);
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 29px var(--pad);
}
.brand { display: inline-flex; }
.brand img { display: block; width: 156px; height: auto; filter: grayscale(1) brightness(0) invert(1); }
.contact-links { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(213,208,231,.24);
  border-radius: 50%;
  transition: background .2s, color .2s, border-color .2s;
}
.icon-link svg { display: block; }
.icon-link:hover { background: #eeeafa; color: #111321; border-color: #eeeafa; }
.intro { position: relative; z-index: 2; text-align: center; padding: 8px 24px 0; }
h1 { font-size: clamp(40px, 4.25vw, 78px); line-height: 1.1; letter-spacing: -.052em; font-weight: 500; }
h1 span { color: #b5a8d7; font-weight: 400; }
.intro > p { margin-top: 21px; font-size: clamp(13px, 1.1vw, 17px); color: #a5a3b2; line-height: 1.6; }
.stage { position: relative; width: 100%; max-width: 1500px; min-height: 310px; margin: 6px auto 0; }
.scene { position: absolute; inset: 0; pointer-events: none; }
.scene video, .scene-poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.scene-poster { object-fit: contain; opacity: .6; transition: opacity 1s ease; }
/* The loop has the page background (--night) baked in, so it needs no blending. */
.scene video { object-fit: contain; background: var(--night); opacity: 0; transition: opacity 1s ease; }
.scene.ready video { opacity: 1; }
.scene.ready .scene-poster { opacity: 0; }
.sequence {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 48px);
  width: min(920px, calc(100% - var(--pad) * 2));
  padding: 0;
  margin: 0 auto;
}
.sequence li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-top: 1px solid rgba(201,190,226,.16);
  padding: 17px 0 16px;
  color: #858291;
  transition: color .8s ease, border-color .8s ease;
}
.sequence li.is-active { color: #f3f2f8; border-color: #b5a8d7; }
.phase-name { display: block; font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: -.015em; }
.phase-description { display: block; margin-top: 4px; color: #8e8b9b; font-size: 11px; line-height: 1.5; }
.footer { padding: 22px var(--pad); color: #9693a3; font-size: 12px; line-height: 1.5; letter-spacing: .02em; }
@media (max-height: 850px) and (min-width: 761px) {
  .header { padding-top: 22px; padding-bottom: 22px; }
  h1 { font-size: clamp(40px, 4vw, 64px); }
  .intro > p { margin-top: 16px; }
  .sequence li { padding-top: 12px; padding-bottom: 12px; }
  .footer { padding-top: 14px; padding-bottom: 14px; }
}
@media (min-height: 900px) and (min-width: 761px) {
  .header { padding-top: 38px; padding-bottom: 38px; }
  .intro { padding-top: 12px; }
}
@media (max-width: 760px) {
  .hero { min-height: max(680px, 100svh); grid-template-rows: auto auto minmax(285px, 1fr) auto auto; }
  .header { padding-top: 24px; padding-bottom: 24px; }
  .brand img { width: 130px; }
  .intro { padding-top: 17px; }
  h1 { font-size: clamp(32px, 8.4vw, 52px); }
  .intro > p { max-width: 300px; margin: 16px auto 0; font-size: 13px; }
  .stage { min-height: 285px; }
  .sequence { gap: 18px; }
  .sequence li { gap: 9px; padding-top: 13px; padding-bottom: 12px; }
  .phase-name { font-size: 14px; }
  .phase-description { display: none; }
  .footer { padding-top: 17px; padding-bottom: 17px; }
}
@media (max-width: 360px) {
  .brand img { width: 118px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
