@font-face {
  font-family: 'Geist';
  src: url('assets/fonts/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist Mono';
  src: url('assets/fonts/GeistMono-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --ink: #111110;
  --muted: #706f6a;
  --faint: #a8a7a1;
  --line: rgba(17, 17, 16, 0.14);
  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.wip-page {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
  background: #ffffff;
}

.wip-nav,
.wip-main {
  width: 100%;
  padding-inline: clamp(20px, 4vw, 64px);
}

.wip-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  border-bottom: 1px solid var(--line);
}

.wip-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 560;
}

.wip-brand img {
  width: 23px;
  height: 23px;
}

.wip-nav__link {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 520;
  transition: color 0.25s var(--ease);
}

.wip-nav__link:hover {
  color: var(--ink);
}

.wip-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(36px, 7vw, 120px);
  align-items: end;
  padding-block: clamp(54px, 9vw, 124px);
}

.wip-main--simple {
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.wip-copy {
  max-width: 1040px;
}

.wip-kicker {
  margin: 0 0 clamp(24px, 4vw, 48px);
  color: var(--muted);
  font-size: clamp(1.05rem, 0.98rem + 0.28vw, 1.24rem);
  font-weight: 520;
}

.wip-code {
  display: block;
  margin: 0 0 clamp(18px, 3vw, 32px);
  color: var(--faint);
  font-family: var(--mono);
  font-size: clamp(0.86rem, 0.8rem + 0.22vw, 0.96rem);
  font-weight: 560;
  letter-spacing: 0;
}

.wip-title {
  max-width: 10.8ch;
  margin: 0;
  font-size: clamp(4.5rem, 14.6vw, 14.5rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: 0;
  text-wrap: balance;
}

.wip-title span {
  color: var(--faint);
}

.wip-lead {
  max-width: 34rem;
  margin: clamp(28px, 5vw, 58px) 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 0.98rem + 0.5vw, 1.44rem);
  line-height: 1.42;
  letter-spacing: -0.01em;
}

.wip-run {
  width: min(100%, 980px);
  margin-top: clamp(108px, 12vw, 170px);
}

.wip-run__stage {
  position: relative;
  height: clamp(260px, 30vw, 340px);
  overflow: hidden;
}

.ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(34px, 5vw, 58px);
  height: 1px;
  background: transparent;
}

.runner {
  position: absolute;
  left: 0;
  bottom: clamp(34px, 5vw, 58px);
  width: 190px;
  height: 240px;
  transform: translateX(-230px);
  animation: runAcross 5s linear infinite;
}

.runner svg {
  width: 190px;
  height: 240px;
  overflow: visible;
  animation: bounce 0.48s ease-in-out infinite;
}

.line {
  fill: none;
  stroke: #111;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.soft {
  stroke: #aaa;
  opacity: 0.8;
}

.head {
  fill: white;
  stroke: #111;
  stroke-width: 5;
}

.eye,
.hand {
  fill: #111;
}

.far-hand {
  fill: #aaa;
  opacity: 0.8;
}

.shadow {
  fill: rgba(0, 0, 0, 0.08);
  animation: shadow 0.48s ease-in-out infinite;
  transform-origin: center;
}

.box-front {
  fill: #c99556;
  stroke: #8b5e34;
  stroke-width: 2;
}

.box-side {
  fill: #b88448;
  stroke: #8b5e34;
  stroke-width: 2;
}

.box-top {
  fill: #d8aa6a;
  stroke: #8b5e34;
  stroke-width: 2;
}

.box-tape {
  fill: #ead7a4;
  opacity: 0.95;
}

@keyframes runAcross {
  from { transform: translateX(-230px); }
  to { transform: translateX(calc(100vw + 230px)); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shadow {
  0%, 100% {
    transform: scaleX(1);
    opacity: 1;
  }
  50% {
    transform: scaleX(0.72);
    opacity: 0.55;
  }
}

@media (max-width: 880px) {
  .wip-main {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .wip-title {
    max-width: 9ch;
  }
}

@media (max-width: 620px) {
  .wip-nav,
  .wip-main {
    padding-inline: 20px;
  }

  .wip-nav {
    min-height: 66px;
  }

  .wip-nav__link {
    display: none;
  }

  .wip-main {
    padding-block: 44px 38px;
    gap: 42px;
  }

  .wip-title {
    font-size: clamp(4.15rem, 24vw, 6.2rem);
    max-width: 7.3ch;
  }

  .wip-lead {
    max-width: 29rem;
  }

  .wip-run {
    width: 100%;
    margin-top: 92px;
  }

  .wip-run__stage {
    height: 260px;
  }

  .runner {
    bottom: 36px;
  }

  .ground {
    bottom: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
