/* ============ FONTS ============ */
@font-face { font-family: 'Display'; src: url('/display-regular.WOFF') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Display'; src: url('/display-medium.WOFF') format('woff'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Display'; src: url('/display-bold.WOFF') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Display'; src: url('/display-black.WOFF') format('woff'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Display'; src: url('/display-italic.WOFF') format('woff'); font-weight: 400; font-style: italic; font-display: swap; }

/* ============ TOKENS ============ */
:root {
  --fg: #0a0a0a;
  --bg: #ffffff;
  --muted: #707070;            /* oklch(55.6% 0 0) */
  --muted-soft: #8f8f8f;       /* oklch(43.9% 0 0)-ish label grey */
  --faint: #e6e6e6;            /* oklch(92.2% 0 0) — faded hero text */
  --line: #0a0a0a;
  --accent: #6f8efb;           /* periwinkle link accent */
  --brand: #59E3D7;            /* logo accent */
  --maxw: 1460px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Display', 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.4;
}

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

/* ============ NAV ============ */
.nav {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
}
.logo {
  background: #59E3D7;
  color: #fff;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 0.02em;
  padding: 4px 16px;
  border-radius: 8px;
  font-style: italic;
}
/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  min-height: clamp(430px, 60vw, 760px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: -84px;            /* let hero text rise behind the nav */
  padding-top: 84px;
}
.hero-text {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: #E88CA0;
  font-weight: 900;
  font-size: clamp(80px, 14vw, 230px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-align: center;
  user-select: none;
  pointer-events: none;
}
.hero-character {
  position: relative;
  z-index: 10;
  height: clamp(460px, 72vw, 900px);
  width: auto;
  object-fit: contain;
  margin-bottom: -90px;         /* sink legs below the fold so they crop */
  pointer-events: none;
  user-select: none;
}

/* ============ LINK ROW ============ */
.link-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}
.link-row a {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  border-right: 1px solid var(--line);
  transition: color 0.15s;
}
.link-row a:last-child { border-right: none; }
.link-row a:hover { color: var(--accent); }

/* ============ STATS ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 28px 24px 32px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stat:last-child { border-right: none; }
.stat-label {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted-soft);
}
.stat-value {
  font-weight: 900;
  font-size: clamp(32px, 3.4vw, 44px);
  letter-spacing: -0.02em;
}

/* ============ ABOUT ============ */
.about {
  text-align: center;
  padding: 72px 24px 88px;
  border-bottom: 1px solid var(--line);
}
.about h2 {
  font-weight: 900;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.about p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
}

/* ============ FOOTER ============ */
.footer {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding: 36px 24px 56px;
  align-items: start;
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-eyebrow {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted-soft);
}
.footer-name {
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.01em;
}
.footer-legal {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--muted-soft);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 18px 80px;
  align-content: start;
}
.footer-links a {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--accent); }

/* ============ RESPONSIVE ============ */
@media (max-width: 760px) {
  .link-row { grid-template-columns: 1fr; }
  .link-row a { border-right: none; border-bottom: 1px solid var(--line); }
  .link-row a:last-child { border-bottom: none; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .footer { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; gap: 14px; }
}
