/* Hyperbolic. Layout and type follow the owner's Claude Design mockup (2026-10-31).
   No framework, no external requests: fonts are self-hosted (SIL OFL 1.1, see fonts/). */

@font-face {
  font-family: "Michroma";
  src: url("fonts/michroma-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --bg: #000;
  --text: #edeae4;
  --soft: #c9c5be;
  --muted: #a9a59e;          /* 8.4:1 on black */
  --faint: #8a867f;          /* 5.6:1 on black */
  --line: rgba(255, 255, 255, 0.14);
  --accent: #ff7a2f;         /* 7.3:1 on black */
  --display: "Michroma", "Eurostile", "Arial Black", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "IBM Plex Mono", Menlo, Consolas, monospace;
  --pad: clamp(20px, 5vw, 64px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: #d8d4cc; text-decoration: none; }
a:hover { color: #ff9a5c; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 10; background: var(--accent); color: #000; padding: 8px 14px; font-weight: 600; }
.skip:focus { left: 12px; top: 12px; color: #000; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--pad); }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.display { font-family: var(--display); font-weight: 400; }

/* ---------- Hero ---------- */
.hero {
  position: relative; display: flex; flex-direction: column; align-items: center;
  min-height: 920px; overflow: hidden; text-align: center;
  background: radial-gradient(70% 45% at 50% 100%, rgba(255,122,47,0.16), transparent 70%), #030303;
}
.hero__inner {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 28px;
  padding: 128px 24px 0;
}
.hero__icon { width: 104px; height: 104px; border-radius: 24px; box-shadow: 0 0 0 1px rgba(255,255,255,0.14), 0 18px 50px rgba(0,0,0,0.6); }
.hero__titles { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.wordmark {
  margin: 0; font-family: var(--display); font-weight: 400;
  font-size: clamp(26px, 6.2vw, 84px); letter-spacing: 0.16em; line-height: 1.1;
  padding-left: 0.16em; /* balance the trailing tracking */
}
.hero__sub { margin: 0; font-size: clamp(17px, 1.6vw, 21px); color: var(--soft); letter-spacing: 0.01em; }
.badge { margin-top: 12px; display: inline-block; border-radius: 12px; }
.badge img { height: 56px; width: auto; }
.hero__meta { margin: -10px 0 0; color: var(--faint); font-size: 11px; letter-spacing: 0.16em; }

/* IMAGE SLOT: hero. The art sits under the text and fades up into the black. */
.hero__art {
  position: relative; width: 100%; margin-top: auto;
  aspect-ratio: 2034 / 665; min-height: 340px; max-height: 620px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 34%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 34%);
}
.hero__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }

/* ---------- Levels ---------- */
.level { padding-top: 168px; display: flex; flex-direction: column; gap: 48px; }
.level__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 48px; }
.level__title { display: flex; flex-direction: column; gap: 16px; }
.level__count { color: var(--accent); }
.level__count .where { color: var(--faint); }
.level h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 4.2vw, 54px); letter-spacing: 0.04em; line-height: 1.15; }
.level__line { margin: 0; max-width: 400px; font-size: 19px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }

/* IMAGE SLOTS: one full-bleed band per level. */
.band { position: relative; width: 100%; aspect-ratio: 12 / 5; min-height: 380px; max-height: 640px; overflow: hidden; background: #050505; margin: 0; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Feature grids ---------- */
.block { padding: 200px 0 0; }
.block:last-of-type { padding-bottom: 168px; }
.block__head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 56px; max-width: 720px; }
.block__head h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.8vw, 34px); letter-spacing: 0.04em; line-height: 1.25; }
.block__head p { margin: 0; font-size: 19px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 56px 48px; margin: 0; padding: 0; list-style: none; }
.grid li { display: flex; flex-direction: column; gap: 18px; padding-top: 28px; border-top: 1px solid var(--line); }
.grid svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.grid h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.4; }
.grid p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid rgba(255,255,255,0.1); }
.foot .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-top: 40px; padding-bottom: 56px; }
.foot__mark { font-family: var(--display); font-size: 13px; letter-spacing: 0.3em; color: var(--text); }
.foot nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 36px; font-size: 14px; }
.foot__copy { color: var(--faint); }

/* ---------- Document pages ---------- */
.topbar { border-bottom: 1px solid rgba(255,255,255,0.1); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.topbar__home { display: inline-flex; align-items: center; gap: 14px; color: var(--text); }
.topbar__home img { width: 36px; height: 36px; border-radius: 8px; }
.topbar__home span { font-family: var(--display); font-size: 13px; letter-spacing: 0.3em; }
.doc { max-width: 760px; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(80px, 10vw, 140px); }
.doc .level__count { display: block; margin-bottom: 16px; }
.doc h1 { margin: 0 0 14px; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.6vw, 42px); letter-spacing: 0.04em; line-height: 1.2; }
.doc .lede { margin: 0 0 56px; font-size: 19px; color: var(--muted); }
.doc h2 { margin: 56px 0 14px; font-family: var(--display); font-weight: 400; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.5; }
.doc p, .doc li { color: #d2cec7; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 10px; }
.doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.doc a:hover { color: #ff9a5c; }
.doc .contact { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.doc .fine { font-size: 15px; color: var(--muted); }

@media (max-width: 640px) {
  .hero { min-height: 0; }
  .hero__inner { padding-top: 96px; gap: 24px; }
  .hero__icon { width: 88px; height: 88px; border-radius: 20px; }
  .hero__art { min-height: 300px; margin-top: 24px; }
  .hero__art img { object-position: 52% 75%; }
  .level { padding-top: 112px; gap: 32px; }
  .level__line { font-size: 17px; }
  .band { aspect-ratio: 3 / 2; min-height: 0; }
  .block { padding-top: 136px; }
  .block:last-of-type { padding-bottom: 112px; }
  .foot .container { flex-direction: column; align-items: flex-start; }
  .foot nav { gap: 8px 24px; }
}
