*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--fog);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* type styles */
.label { font-family: var(--mono); font-weight: 500; font-size: var(--fs-label); line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; }
.h1 { font-weight: 500; font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.h2 { font-weight: 500; font-size: var(--fs-h2); line-height: 1; letter-spacing: -.04em; text-wrap: balance; }
.h3 { font-weight: 500; font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -.02em; }
.body-l { font-size: var(--fs-body-l); line-height: 1.5; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.acc { color: var(--accent); }

/* buttons */
.btn {
  display: inline-block; background: var(--ink); color: var(--paper);
  font-weight: 600; font-size: var(--fs-button); line-height: 1; letter-spacing: .06em; text-transform: uppercase;
  padding: 18px 28px; transition: background-color .2s var(--ease);
}
.btn:hover { background: var(--accent); }
.btn--sm { padding: 14px 22px; }
.lnk {
  font-weight: 600; font-size: var(--fs-button); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
}
.lnk:hover { color: var(--accent); }

/* nav */
.nav { position: relative; z-index: 10; }
.nav__in { height: 100px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-weight: 600; font-size: 22px; letter-spacing: -.03em; }
.logo sup { font-size: .55em; vertical-align: .55em; }
.nav__links { display: flex; gap: 40px; }
.nav__links a:hover { color: var(--accent); }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.burger i { display: block; width: 26px; height: 2px; background: var(--ink); box-shadow: 0 7px 0 var(--ink); transform: translateY(-3.5px); }
.menu { display: none; }

/* hero */
.hero { position: relative; overflow: hidden; min-height: clamp(680px, calc(100svh - 100px), 900px); display: flex; flex-direction: column; }
.hero__studio { position: absolute; inset: 0; background: radial-gradient(55% 55% at 50% 45%, rgba(255,255,255,.6), rgba(255,255,255,0) 70%); pointer-events: none; }
.hero__body { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 52px; }
.hero__claim { position: relative; z-index: 3; width: 290px; padding-top: 24px; }
.word {
  position: relative; z-index: 1; display: flex; justify-content: center;
  font-weight: 600; font-size: var(--fs-monoword); line-height: .8; letter-spacing: -.06em; white-space: nowrap;
  margin: 0 calc(-1 * var(--gutter));
}
.word span { display: inline-block; }
.hero__figure { position: absolute; z-index: 2; left: 50%; bottom: 0; width: min(420px, 27vw); height: 88%; transform: translateX(-50%); }
.hero__figure svg { width: 100%; height: 100%; }
.hero__bottom { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-32); }
.hero__txt { max-width: 380px; display: flex; flex-direction: column; gap: 24px; }
.hero__btns { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.hero__meta { text-align: right; }

@media (max-width: 900px) {
  .nav__in { height: 76px; }
  .nav__links, .nav__in > .btn { display: none; }
  .burger { display: flex; }
  .menu {
    position: fixed; inset: 0; z-index: 20; background: var(--ink); color: var(--paper);
    padding: 24px var(--gutter); flex-direction: column; gap: 8px;
  }
  .menu.is-open { display: flex; }
  .menu__top { display: flex; justify-content: space-between; align-items: center; height: 52px; margin-bottom: 40px; }
  .menu a.menu__item { font-size: 40px; font-weight: 500; letter-spacing: -.03em; line-height: 1.2; }
  .menu .btn { background: var(--paper); color: var(--ink); text-align: center; margin-top: auto; }

  .hero { min-height: calc(100svh - 76px); }
  .hero__body { padding-bottom: 32px; }
  .hero__claim { width: auto; max-width: 260px; padding-top: 8px; }
  .hero__stage { position: relative; height: clamp(340px, 52svh, 480px); margin: 8px 0 28px; }
  .hero__stage .word { position: absolute; left: 0; right: 0; top: 34%; }
  .hero__figure { width: 62vw; height: 86%; }
  .hero__bottom { flex-direction: column; align-items: stretch; }
  .hero__txt { max-width: none; gap: 20px; }
  .hero__btns { flex-direction: column; align-items: stretch; gap: 20px; text-align: center; }
  .hero__btns .lnk { align-self: center; }
  .hero__meta { display: none; }
}

/* motion */
.word span { animation: rise .6s var(--ease) both; }
.hero__figure { animation: lift .9s .25s var(--ease) both; }
@keyframes rise { from { transform: translateY(45%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes lift { from { transform: translate(-50%, 6%); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .word span, .hero__figure { animation: none; }
}
