@font-face { font-family: "Inter"; src: url("../fonts/Inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/EBGaramond-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

@property --halo-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --halo-b { syntax: "<angle>"; inherits: false; initial-value: 140deg; }

:root {
  --obsidian: #0b0d11;
  --ink: #06050b;
  --surface: #0c0e13;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --silver: #c9ced6;
  --silver-dim: #8d95a1;
  --white: #f3f5f8;
  --blue: #9fd4ff;
  --lilac: #cdbfff;
  --radius: 22px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --top: 64px;
  --edge: clamp(16px, 4vw, 40px);
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { background: var(--obsidian); -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
html.is-intro { overflow: hidden; }

body {
  margin: 0;
  color: var(--silver);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3 {
  color: var(--white);
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 { font-family: var(--mono); font-size: clamp(1.5rem, 3.3vw, 2.5rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(1.5rem, 3.3vw, 2.5rem); }
p { text-wrap: pretty; }

a { color: inherit; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.defs { position: absolute; }

.eyebrow {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.backdrop { position: fixed; inset: 0; z-index: 0; }
.backdrop video { width: 100%; height: 100%; object-fit: cover; display: block; }
.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--obsidian);
  opacity: 0.56;
  transition: opacity 900ms var(--ease);
}
.is-intro .backdrop::after { opacity: 0.3; }
.is-docked .backdrop::after { opacity: 0.82; }

main, .foot { position: relative; z-index: 1; }

.top, main { transition: opacity 800ms var(--ease); }
.is-intro .top, .is-intro main { opacity: 0; }

.intro { position: fixed; inset: 0; z-index: 20; transition: opacity 450ms var(--ease); }
.intro.is-leaving { opacity: 0; pointer-events: none; }
.intro.is-broken { pointer-events: none; }
.intro__stage { position: absolute; inset: 0; cursor: grab; touch-action: none; }
.intro__stage canvas { display: block; width: 100%; height: 100%; }

.intro__words {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(88px, 17vh, 160px);
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 0 var(--edge);
  text-align: center;
  opacity: 0;
  translate: 0 8px;
  pointer-events: none;
  transition: opacity 600ms var(--ease), translate 600ms var(--ease);
}
.intro.is-ready .intro__words { opacity: 1; translate: 0 0; }
.intro.is-broken .intro__words, .intro.is-broken .intro__skip { opacity: 0; }

.intro__offer {
  color: var(--white);
  font-family: var(--mono);
  font-size: clamp(0.8125rem, 1.5vw, 1.0625rem);
  letter-spacing: 0.02em;
  text-shadow: 0 0 18px rgba(11, 13, 17, 0.9);
}
.intro__hint { color: var(--silver); font-size: 0.875rem; text-shadow: 0 0 14px rgba(11, 13, 17, 0.9); }

.intro__skip {
  position: absolute;
  right: var(--edge);
  bottom: calc(clamp(16px, 3vh, 32px) + env(safe-area-inset-bottom));
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(6, 5, 11, 0.6);
  color: var(--silver);
  font-family: var(--mono);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: opacity 300ms var(--ease), transform 160ms var(--ease);
}
.intro__skip:active { transform: scale(0.97); }

.name-stage { position: fixed; top: 0; left: 0; z-index: 12; width: 100%; height: 100vh; pointer-events: none; }
.name-stage canvas { display: block; width: 100%; height: 100%; }

.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  height: var(--top);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--edge);
}

.top::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  z-index: -1;
  height: calc(var(--top) + 28px);
  background: linear-gradient(var(--obsidian) 50%, transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms var(--ease);
}
.is-docked .top::before { opacity: 1; }

.brand { display: flex; align-items: center; min-height: 44px; text-decoration: none; cursor: grab; touch-action: pan-y; user-select: none; }

.brand__name, .hero__name {
  display: flex;
  justify-content: center;
  gap: calc(var(--name) * 0.36) calc(var(--name) * 0.44);
  color: var(--silver);
  font-family: var(--mono);
  font-weight: 700;
  font-size: calc(var(--name) * 1.37);
  line-height: var(--name);
  text-transform: uppercase;
}

.brand__name span, .hero__name span { height: var(--name); aspect-ratio: 7.12; overflow: hidden; text-align: center; white-space: nowrap; }
.brand__name span:last-child, .hero__name span:last-child { aspect-ratio: 4.76; }

.brand__name { --name: 22px; }
.hero__name {
  --name: min(6.6vw, 84px);
  flex-wrap: wrap;
  margin-bottom: calc(var(--name) * 0.5);
  padding: calc(var(--name) * 0.4) 0;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
.hero__name.is-held { cursor: grabbing; }
.hero__hint { color: var(--silver-dim); font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; }
.is-named .brand__name { visibility: hidden; }
.is-named .hero__name { color: transparent; }

.top__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(6, 5, 11, 0.5);
  color: var(--white);
  font-family: var(--mono);
  font-size: 0.8125rem;
  text-decoration: none;
  transition: border-color 200ms var(--ease), transform 160ms var(--ease);
}
.top__link:active { transform: scale(0.97); }

.halo { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.halo i { position: absolute; inset: -1px; border-radius: inherit; }
.halo i:last-child { inset: -3px; filter: blur(var(--bloom, 6px)); opacity: 0.9; }

.halo i::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background:
    conic-gradient(from var(--halo-a),
      transparent 0deg, #2f6bff 12deg, #5fe1ff 20deg, #ffffff 32deg, #ffffff 62deg, #ffe66b 74deg, #ff8a3d 84deg, #ff3d6e 92deg, transparent 106deg,
      transparent 188deg, #7a5cff 200deg, #4db8ff 210deg, #ffffff 222deg, #ffffff 236deg, #ffd84d 246deg, #ff5f6d 256deg, transparent 270deg, transparent 360deg),
    conic-gradient(from var(--halo-b),
      transparent 0deg, #ff4fd8 10deg, #ffb347 18deg, #ffffff 30deg, #ffffff 50deg, #6ff0ff 60deg, #3b6cff 70deg, transparent 84deg, transparent 360deg);
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: halo-a 7s linear infinite, halo-b 11s linear infinite;
}
.halo i:last-child::before { padding: 5px; }

@keyframes halo-a { to { --halo-a: 360deg; } }
@keyframes halo-b { to { --halo-b: -220deg; } }

@media (prefers-reduced-motion: reduce) {
  .halo i::before, .beam i { animation: none; }
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px 0 22px;
  border-radius: 16px;
  background: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), inset 0 0 22px rgba(150, 130, 255, 0.14);
  color: #ece8ff;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: transform 160ms var(--ease);
}
.btn svg { width: 22px; height: 22px; fill: var(--lilac); }
.btn:active { transform: scale(0.97); }

@media (hover: hover) {
  .top__link:hover { border-color: var(--blue); }
  .btn:hover .halo i::before { animation-duration: 3s, 4.5s; }
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 16px;
  padding: calc(var(--top) + 16px) var(--edge) 72px;
  text-align: center;
}

.hero h1 { max-width: 22ch; }
.hero__lead { max-width: 34rem; font-size: clamp(1rem, 1.4vw, 1.125rem); }
.hero .btn { margin-top: 12px; }

.say {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 20px;
  min-height: 82svh;
  padding: clamp(72px, 12vh, 130px) var(--edge);
  text-align: center;
}
.say h2 { max-width: 20ch; font-size: clamp(1.75rem, 4.6vw, 3.5rem); line-height: 1.08; letter-spacing: -0.035em; }
.say__text { max-width: 36rem; font-size: clamp(1rem, 1.5vw, 1.1875rem); }
.say__list { display: grid; gap: 12px; max-width: 34rem; margin-top: 8px; text-align: left; }
.say__list li { display: grid; grid-template-columns: 22px 1fr; align-items: baseline; font-size: clamp(1rem, 1.4vw, 1.125rem); }
.say__list li::before { content: ""; width: 8px; height: 2px; background: var(--blue); translate: 0 -5px; }

.story { position: relative; }

.story__inner {
  height: 100svh;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  padding: calc(var(--top) + clamp(10px, 2.5vh, 28px)) var(--edge) clamp(16px, 3vh, 36px);
  overflow: hidden;
}

.table { position: relative; width: min(1060px, 100%); min-height: 0; margin-inline: auto; }

.card {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: var(--radius);
  will-change: transform;
}

.beam {
  position: absolute;
  inset: 0;
  padding: 1.5px;
  overflow: hidden;
  border-radius: inherit;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.beam i {
  position: absolute;
  inset: -150%;
  background: conic-gradient(transparent 0deg, transparent 280deg, rgba(159, 212, 255, 0.28) 312deg, #9fd4ff 344deg, #ffffff 356deg, transparent 360deg);
  will-change: transform;
  animation: beam 11s linear infinite;
}
@keyframes beam { to { rotate: 360deg; } }
.is-scrolling .beam i { animation-play-state: paused; }
.card:nth-child(2) .beam i { animation-delay: -3.9s; }
.card:nth-child(3) .beam i { animation-delay: -7.6s; }

.card__plate {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, #151920, #0c0e13 60%);
  box-shadow: inset 0 0 0 1px rgba(201, 206, 214, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}


.faces { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }

.face {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
  padding: clamp(14px, 2.2vw, 28px);
  opacity: 0;
  visibility: hidden;
}

.face--lead { align-content: space-between; justify-items: start; }

.face__num { color: var(--blue); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }

.face__say { display: grid; gap: 10px; }
.face__name { font-size: clamp(1.25rem, 2.9vw, 2.375rem); }
.face__pitch { color: var(--silver); font-size: clamp(0.9375rem, 1.4vw, 1.125rem); line-height: 1.4; }

.face--step { align-content: center; gap: 6px; }

.face--empty { justify-items: center; align-content: center; color: var(--silver-dim); font-family: var(--mono); font-size: 0.8125rem; text-align: center; }
.face--empty svg { width: 26px; height: 26px; color: var(--silver-dim); }

.face--lead { color: inherit; text-decoration: none; cursor: pointer; transition: scale 160ms var(--ease); }
.face--lead:active { scale: 0.98; }
.face__go { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; color: var(--blue); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.02em; }
.face__go svg { width: 18px; height: 18px; transition: translate 300ms var(--ease); }

@media (hover: hover) {
  .face--lead:hover .face__go svg { translate: 4px 0; }
}

.face__title { font-size: clamp(1.0625rem, 1.8vw, 1.375rem); }
.face__text { max-width: 34rem; color: var(--silver); font-size: clamp(0.875rem, 1.2vw, 1rem); }


.note {
  position: absolute;
  left: 0;
  right: 0;
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
}
.note--top { top: 0; }
.note--bottom { bottom: 0; gap: 12px; }
.note h2 { font-size: clamp(1.25rem, 2.6vw, 2rem); }
.note p { max-width: 32rem; }
.note .btn { margin-top: 6px; }

.chip {
  padding: 2px 10px;
  border-radius: 8px;
  background: rgba(159, 212, 255, 0.14);
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 400;
}

.foot {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 32px var(--edge) 40px;
  border-top: 1px solid var(--line);
  color: var(--silver-dim);
  font-size: 0.875rem;
  text-align: center;
}
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; }
.foot__links a, .foot__links button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--silver);
  font-family: var(--mono);
  font-size: 0.8125rem;
  text-decoration: none;
  cursor: pointer;
}
@media (hover: hover) {
  .foot__links a:hover, .foot__links button:hover { color: var(--white); }
}

.pack { width: min(600px, 100% - var(--edge) * 2); margin: 0 auto; padding: calc(var(--top) + 28px) 0 56px; color: var(--silver); }
.pack h1 { margin: 6px 0 20px; font-size: clamp(1.75rem, 5vw, 2.5rem); }

.top__back { gap: 8px; }
.top__back svg { width: 18px; height: 18px; rotate: 180deg; }

.pack__list { display: grid; gap: 10px; }
.pack__list li { display: grid; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.02); }
.pack__name { display: flex; align-items: center; gap: 10px; color: var(--white); font-family: var(--mono); font-size: 0.875rem; font-weight: 700; }
.pack__price { color: var(--white); font-family: "EB Garamond", Georgia, serif; font-size: 2rem; line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; }
.pack__price--quote { font-size: 1.375rem; }
.pack__from { color: var(--silver-dim); font-size: 1rem; }
.pack__text { font-size: 0.9375rem; }
.pack__label { margin-top: 10px; color: var(--blue); font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; }
.pack__list .pack__designs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pack__list .pack__designs li { gap: 6px; padding: 0; border: 0; border-radius: 0; background: none; color: var(--silver-dim); font-size: 0.75rem; }
.pack__designs img { display: block; width: 100%; height: auto; border: 1px solid var(--line-strong); border-radius: 10px; }
.pack__more { color: var(--silver-dim); font-size: 0.8125rem; }

.pack__sub { margin: 24px 0 10px; font-size: 1rem; }
.pack__steps { display: grid; gap: 8px; margin-bottom: 24px; counter-reset: step; }
.pack__steps li { display: grid; grid-template-columns: 28px 1fr; font-size: 0.9375rem; counter-increment: step; }
.pack__steps li::before { content: counter(step, decimal-leading-zero); color: var(--blue); font-family: var(--mono); font-size: 0.75rem; line-height: 1.9; }
.pack .btn { width: 100%; }
.pack__more a, .show__credit a { color: var(--blue); }
.note .top__link { gap: 8px; }
.note .top__link svg { width: 18px; height: 18px; }
.show { width: min(1040px, 100% - var(--edge) * 2); margin: 0 auto; padding: calc(var(--top) + 28px) 0 56px; color: var(--silver); }
.show h1 { margin: 6px 0 10px; font-size: clamp(1.75rem, 5vw, 2.5rem); }
.show__lead { max-width: 36rem; }
.show button.top__link { cursor: pointer; }
.show button.top__link[aria-pressed="true"] { border-color: var(--blue); color: var(--blue); }
.show__stage { position: relative; margin-top: 22px; height: min(68vh, 620px); min-height: 380px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #010102; }
.show__stage canvas { display: block; width: 100%; height: 100%; }
.show__status { position: absolute; inset: 45% 0 auto 0; margin: 0; color: var(--silver-dim); text-align: center; pointer-events: none; }
.show__tools { position: absolute; inset: auto 0 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 12px 16px; }
.show__tools .chip { gap: 8px; }
.show__tools .chip i { width: 16px; height: 16px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 50%; background: var(--c); }
.show__hint, .show__credit { margin-top: 10px; color: var(--silver-dim); font-size: 0.8125rem; }
.show__uses { display: grid; gap: 8px; margin: 12px 0 20px; padding: 0; list-style: none; }
.show__uses b { color: var(--white); font-weight: 600; }
.show .btn { width: min(100%, 420px); margin-top: 20px; }
.show .pack__more { margin-top: 14px; }

@media (max-width: 760px) {
  :root { --top: 56px; --radius: 18px; }

  .brand__name { --name: 15px; }
  .hero__name { --name: 11.2vw; }
  .top__link { padding: 0 12px; }

  .hero { gap: 14px; }
  .face { gap: 6px; }
  .face__text { line-height: 1.45; }
  .btn { min-height: 52px; font-size: 0.9375rem; }
}
