:root {
    --ink: #0B0B0C;
    --paper: #E8E6E1;
    --paper-hi: #F2F1EE;
    --light: #F2F4F7;
    --accent: #FF8A3D;
    --muted: rgba(11, 11, 12, 0.66);
    --faint: rgba(11, 11, 12, 0.55);
    --sans: Archivo, system-ui, sans-serif;
    --mono: 'IBM Plex Mono', ui-monospace, monospace;
    --gutter: clamp(18px, 4vw, 48px);
    --gap: clamp(72px, 9vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 60px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

.wrap { max-width: 1320px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--gap); }
.section--last { padding-bottom: var(--gap); }

.badge { font: 600 10px/1 var(--mono); letter-spacing: 0.14em; background: var(--ink); color: var(--light); padding: 5px 8px; }
.label { display: flex; align-items: baseline; gap: 12px; margin-bottom: 32px; }
.label__text { font: 500 11px/1 var(--mono); letter-spacing: 0.14em; color: rgba(11, 11, 12, 0.6); }
.section__name { font: 700 15px/1 var(--sans); }
.caption { font: 500 11px/1 var(--mono); letter-spacing: 0.1em; color: var(--faint); }
.mono { font: 400 12.5px/1.6 var(--mono); color: var(--muted); text-wrap: pretty; }
.tag { font: 600 9.5px/1 var(--mono); letter-spacing: 0.12em; border: 1px solid var(--ink); padding: 5px 7px; }
.accent { color: var(--accent); }

/* Header */
.bar { position: sticky; top: 0; z-index: 5; background: rgba(232, 230, 225, 0.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--ink); }
.bar__inner { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bar__brand { font: 800 17px/1 var(--sans); letter-spacing: 0.16em; }
.bar__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: clamp(14px, 2.4vw, 32px); font: 500 11px/1 var(--mono); letter-spacing: 0.12em; }

/* Hero */
.hero { padding-top: clamp(48px, 8vw, 112px); }
.hero .label { align-items: center; margin-bottom: clamp(28px, 4vw, 48px); }
.hero__title { font: 900 clamp(64px, 13vw, 196px)/0.86 var(--sans); letter-spacing: -0.045em; text-transform: uppercase; }

/* About */
.about { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 64px); }
.about__head { flex: 1 1 240px; display: flex; align-items: baseline; gap: 12px; }
.about__body { flex: 2 1 min(100%, 480px); min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.about__lead { font: 600 clamp(24px, 2.8vw, 38px)/1.18 var(--sans); letter-spacing: -0.02em; text-wrap: pretty; }
.about__body .mono { max-width: 720px; font-size: 13px; line-height: 1.7; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.feature { border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 28px 26px 32px; min-height: 240px; display: flex; flex-direction: column; gap: 14px; transition: background 0.15s; }
.feature:hover { background: var(--paper-hi); }
.feature__top { display: flex; justify-content: space-between; align-items: center; }
.feature__n { font: 500 11px/1 var(--mono); letter-spacing: 0.12em; color: var(--faint); }
.feature__title { margin-top: auto; font: 800 clamp(22px, 2vw, 27px)/1.05 var(--sans); letter-spacing: -0.025em; }

/* Free */
.free { background: var(--accent); padding: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.free__main { flex: 1 1 min(100%, 560px); min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.free__eyebrow { font: 600 11px/1 var(--mono); letter-spacing: 0.14em; }
.free__title { font: 900 clamp(40px, 6.4vw, 96px)/0.9 var(--sans); letter-spacing: -0.04em; text-transform: uppercase; text-wrap: balance; }
.free__cta { font: 800 clamp(22px, 2.4vw, 32px)/1.1 var(--sans); letter-spacing: -0.02em; }

/* Disciplines and grades */
.grades { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 4vw, 56px); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.disciplines { border-top: 1px solid var(--ink); }
.discipline { height: 52px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--ink); }
.discipline__name { flex: 1; font: 700 16px/1 var(--sans); letter-spacing: -0.01em; }
.swatch { width: 28px; height: 28px; flex: none; }
.swatch--boulder { background: #E0402A; }
.swatch--sport { background: #2F6FE0; }
.swatch--trad { background: #FF8A3D; }
.swatch--buildering { background: #8A4FD8; }
.swatch--dws { background: #1FB5C9; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.tier { min-height: 176px; padding: 22px 18px; display: flex; flex-direction: column; justify-content: space-between; }
.tier span { font: 500 10.5px/1 var(--mono); letter-spacing: 0.12em; }
.tier strong { font: 900 clamp(32px, 4vw, 52px)/0.9 var(--sans); letter-spacing: -0.04em; }
.tier--easy { background: #2FA866; color: #FFFFFF; }
.tier--mid { background: #E8A317; color: var(--ink); }
.tier--hard { background: #E0402A; color: #FFFFFF; }

/* Footer */
.footer { background: var(--ink); color: var(--light); }
.footer a { color: var(--light); }
.footer a:hover { color: var(--accent); }
.footer__top { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.footer__brand { font: 900 clamp(48px, 9vw, 128px)/0.85 var(--sans); letter-spacing: -0.04em; }
.footer__copy { font: 500 11px/1.6 var(--mono); letter-spacing: 0.1em; opacity: 0.6; }
.footer__links { border-top: 1px solid rgba(242, 244, 247, 0.2); }
.footer__nav { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; gap: 12px 32px; font: 500 11px/1 var(--mono); letter-spacing: 0.1em; }
.footer__mail { margin-left: auto; }
