/* Training Desk — public marketing site (PLACEHOLDER brand).
   Premium dark athletic system. Self-hosted fonts only (SIL OFL), no CDN.
   Palette: charcoal neutrals + one accent (#ff5a1f). No tan / beige / cream. */
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap;
  src: url("/fonts/BarlowCondensed-ExtraBold.woff2") format("woff2"), url("/fonts/BarlowCondensed-ExtraBold.ttf") format("truetype"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("/fonts/BarlowCondensed-SemiBold.woff2") format("woff2"), url("/fonts/BarlowCondensed-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 100 900; font-style: normal; font-display: swap;
  src: url("/fonts/Inter-Variable.woff2") format("woff2"); }

:root {
  /* neutrals (cool charcoal) */
  --bg: #0a0b0d;
  --bg-2: #0f1114;
  --bg-3: #15181c;
  --surface: #16191e;
  --surface-2: #1c2026;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
  --text: #f3f4f6;
  --muted: #a7acb6;       /* 8.4:1 on --bg */
  --faint: #8b919c;       /* 5.9:1 on --bg (small labels) */
  --accent: #ff5a1f;      /* 6.4:1 on --bg */
  --accent-2: #ff7a45;
  --accent-ink: #0a0b0d;
  --display: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", Impact, sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1200px;
  /* 8px spacing scale */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s8: 64px; --s10: 80px; --s12: 96px; --s16: 128px;
  --r-sm: 10px; --r: 16px; --r-lg: 24px;
  --shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 24px 48px -24px rgba(0,0,0,0.6);
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; max-width: 100%; }
body.mk {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans);
  font-size: 17px; line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column;
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  max-width: 100%; overflow-x: clip; -webkit-text-size-adjust: 100%;
  padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); padding-bottom: env(safe-area-inset-bottom);
}
/* film grain over the whole page — subtle, no image request */
body.mk::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200; opacity: .05; mix-blend-mode: overlay;
  background-image: url("/img/grain.svg");
}
.mk main { flex: 1; }
.mk a { color: inherit; }
.mk img, .mk svg { max-width: 100%; display: block; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; font-weight: 700; z-index: 300; border-radius: 8px; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type scale */
h1, h2, h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .92; letter-spacing: .005em; margin: 0 0 .35em; text-wrap: balance; }
h1 { font-size: clamp(3.5rem, 9vw, 7.75rem); }
h2 { font-size: clamp(2.5rem, 5vw, 4rem); }
h3 { font-size: 1.625rem; line-height: 1; letter-spacing: .01em; }
p { margin: 0 0 1em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--accent-2); font-size: .75rem; margin-bottom: var(--s2); }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.lede { font-size: 1.1875rem; line-height: 1.6; color: var(--muted); max-width: 38em; }
.muted { color: var(--muted); }
.num-font { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; }
/* inline body links: comfortable tap targets + clear affordance */
.inline-link, .lede a, .muted a, .ph-copy a, p a:not(.btn) {
  color: var(--text); text-decoration: underline; text-decoration-color: rgba(255,122,69,.6); text-underline-offset: 4px; text-decoration-thickness: 1.5px;
  display: inline-block; padding: 10px 2px; margin: -10px 0; min-height: 44px; line-height: 24px;
}
p a:not(.btn):hover { color: var(--accent-2); text-decoration-color: currentColor; }

/* Placeholder strip + header */
.ph-strip { background: #07080a; color: var(--faint); text-align: center; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: max(8px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 8px max(12px, env(safe-area-inset-left)); border-bottom: 1px solid var(--line); }
.ph-strip b { color: var(--accent-2); font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(10,11,13,.72); -webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px); border-bottom: 1px solid var(--line); padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
.site-header .wrap { display: flex; align-items: center; gap: var(--s4); min-height: 72px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; text-decoration: none; letter-spacing: .06em; display: flex; align-items: center; gap: 12px; white-space: nowrap; min-height: 44px; }
.logo i { width: 22px; height: 22px; display: inline-block; border-radius: 6px; background: linear-gradient(135deg, var(--accent-2), var(--accent) 60%, #d9400a); box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 6px 18px -6px rgba(255,90,31,.7); position: relative; }
.logo i::after { content: ""; position: absolute; inset: 6px 5px; border-top: 3px solid var(--accent-ink); border-bottom: 3px solid var(--accent-ink); }
.nav { display: flex; align-items: center; gap: var(--s3); margin-left: auto; }
.nav a { text-decoration: none; font-family: var(--sans); font-weight: 500; font-size: .9375rem; color: var(--muted); padding: 10px 0; min-height: 44px; display: inline-flex; align-items: center; position: relative; transition: color .2s var(--ease); }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:not(.btn):hover { color: var(--text); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--text); }
.nav .btn { padding: 0 18px; min-height: 44px; font-size: .9375rem; }
.nav .btn.ghost { color: var(--text); }
.nav-toggle { display: none; margin-left: auto; background: rgba(255,255,255,.04); color: var(--text); border: 1px solid var(--line-2); padding: 0 16px; min-height: 44px; min-width: 44px; font-family: var(--sans); font-weight: 600; font-size: .9375rem; border-radius: 999px; cursor: pointer; align-items: center; gap: 10px; }
.nav-toggle::before { content: ""; width: 16px; height: 10px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; min-width: 44px; font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: .005em; text-decoration: none; padding: 0 24px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); border: 1px solid transparent; cursor: pointer; line-height: 1.1; box-sizing: border-box; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); box-shadow: 0 10px 30px -12px rgba(255,90,31,.65), inset 0 1px 0 rgba(255,255,255,.25); }
.btn:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn.ghost { background: rgba(255,255,255,.04); color: var(--text); border-color: var(--line-2); box-shadow: none; }
.btn.ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); }
.btn.lg { min-height: 56px; padding: 0 30px; font-size: 1.0625rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s4); }

/* Chips / tags */
.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .6875rem; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); background: rgba(255,255,255,.03); margin-bottom: var(--s2); }
.tag.live { color: var(--accent-2); border-color: rgba(255,90,31,.4); background: rgba(255,90,31,.08); }
.tag.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(255,90,31,.2); }
.ph-tag, .ph-label, .ph-img figcaption.ph-cap { position: absolute; left: 12px; bottom: 12px; z-index: 2; background: rgba(10,11,13,.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--muted); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line-2); }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); min-height: min(88vh, 860px); display: flex; align-items: flex-end; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; transform: scale(1.04); animation: heroIn 1.6s var(--ease) both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(10,11,13,.96) 0%, rgba(10,11,13,.82) 34%, rgba(10,11,13,.2) 70%, rgba(10,11,13,.35) 100%),
  linear-gradient(0deg, var(--bg) 0%, rgba(10,11,13,0) 40%),
  radial-gradient(700px 400px at 78% 30%, rgba(255,90,31,.18), transparent 70%); }
.hero .wrap { position: relative; padding: var(--s16) 0 var(--s10); }
.hero-copy { max-width: 720px; }
.hero h1 em { font-style: normal; display: block; background: linear-gradient(92deg, var(--accent) 0%, var(--accent-2) 60%, #ff9a6b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: 1.25rem; color: #c3c7cf; }
.hero-meta { margin-top: var(--s3); color: var(--faint); font-size: .9375rem; }
.hero .ph-tag { left: auto; right: max(24px, env(safe-area-inset-right)); bottom: 24px; position: absolute; }
.hero-stats { display: flex; gap: var(--s5); flex-wrap: wrap; margin-top: var(--s8); padding-top: var(--s3); border-top: 1px solid var(--line); max-width: 640px; }
.hero-stats div { min-width: 120px; }
.hero-stats b { display: block; font-family: var(--display); font-size: 1.75rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.hero-stats span { color: var(--faint); font-size: .8125rem; }
@keyframes heroIn { from { opacity: 0; transform: scale(1.1); } to { opacity: 1; transform: scale(1.04); } }

.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: var(--s16) 0 var(--s10); border-bottom: 1px solid var(--line); }
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,11,13,.97) 10%, rgba(10,11,13,.7) 55%, rgba(10,11,13,.4)), linear-gradient(0deg, var(--bg), transparent 50%), radial-gradient(600px 300px at 85% 0%, rgba(255,90,31,.16), transparent 70%); }
.page-hero h1 { font-size: clamp(3.25rem, 8vw, 6.5rem); }
.page-hero .ph-tag { left: auto; right: 24px; bottom: 20px; }

/* Sections */
.section { padding: var(--s16) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section-head { max-width: 46em; margin-bottom: var(--s8); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.grid { display: grid; gap: var(--s3); }
.grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; }

/* Cards */
.card { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s4); position: relative; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }
.card .num { font-family: var(--display); font-weight: 800; font-size: 1rem; letter-spacing: .14em; color: var(--faint); display: block; margin-bottom: var(--s3); }
.card.accent::before { content: ""; position: absolute; left: var(--s4); right: var(--s4); top: -1px; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); border-radius: 2px; }
.ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,90,31,.1); border: 1px solid rgba(255,90,31,.25); color: var(--accent-2); margin-bottom: var(--s3); }
.ico svg { width: 24px; height: 24px; }
.card .ico + .num { position: absolute; top: var(--s4); right: var(--s4); margin: 0; }

.portal { display: flex; flex-direction: column; text-decoration: none; padding: var(--s5); border-radius: var(--r-lg); background: linear-gradient(160deg, var(--surface-2), var(--surface) 60%); border: 1px solid var(--line); position: relative; overflow: hidden; isolation: isolate; min-height: 320px; transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); box-shadow: var(--shadow); }
.portal::before { content: ""; position: absolute; inset: auto -20% -60% 30%; height: 120%; z-index: -1; background: radial-gradient(closest-side, rgba(255,90,31,.22), transparent); opacity: .6; transition: opacity .3s var(--ease); }
.portal:hover { transform: translateY(-4px); border-color: rgba(255,90,31,.4); box-shadow: 0 30px 60px -30px rgba(255,90,31,.35); }
.portal:hover::before { opacity: 1; }
.portal h3 { font-size: clamp(2rem, 3.2vw, 2.75rem); }
.portal .go { margin-top: auto; padding-top: var(--s3); display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--accent-2); min-height: 44px; }
.portal .go::after { content: "→"; transition: transform .25s var(--ease); }
.portal:hover .go::after { transform: translateX(4px); }

/* Image cards */
.img-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; padding: var(--s4); isolation: isolate; border: 1px solid var(--line); }
.img-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.img-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,11,13,.95) 8%, rgba(10,11,13,.35) 55%, rgba(10,11,13,.1)); }
.img-card:hover img { transform: scale(1.05); }
.img-card h3 { font-size: 2.5rem; }
.img-card p { color: #c3c7cf; }
.img-card .go { display: inline-flex; gap: 10px; align-items: center; color: var(--accent-2); font-weight: 600; min-height: 44px; }
.img-card .go::after { content: "→"; transition: transform .25s var(--ease); }
.img-card:hover .go::after { transform: translateX(4px); }
.img-card .ph-tag { top: 16px; bottom: auto; left: 16px; }

.photo { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); margin: 0; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.wide { aspect-ratio: 21 / 9; }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,11,13,.5), transparent 40%); pointer-events: none; }

/* Check lists */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 14px 0 14px 36px; border-bottom: 1px solid var(--line); position: relative; color: #d5d8de; }
.checks li:last-child { border-bottom: 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: 16px; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,90,31,.12) url("/img/check.svg") center / 12px no-repeat; border: 1px solid rgba(255,90,31,.3); }

/* Product preview (demo UI mock, built in HTML — labeled demo data) */
.mock { background: linear-gradient(180deg, #14171c, #0f1115); border: 1px solid var(--line-2); border-radius: 28px; padding: var(--s3); box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.03) inset, 0 40px 120px -60px rgba(255,90,31,.5); position: relative; }
.mock-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: var(--s2); }
.mock-label { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.mock-big { font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 7vw, 5.5rem); line-height: .85; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.mock-big small { font-size: .32em; color: var(--muted); letter-spacing: .06em; margin-left: 6px; }
.mock-sub { color: var(--accent-2); font-weight: 600; font-size: .9375rem; margin-top: 8px; }
.mock-chart { margin-top: var(--s2); }
.mock-chart svg { width: 100%; height: auto; }
.mock-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: var(--s2); }
.mock-tile { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.mock-tile b { display: block; font-family: var(--display); font-size: 1.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.mock-tile span { font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.mock .ph-tag { position: static; display: inline-block; }
.board { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.board li { display: grid; grid-template-columns: 36px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.board .rk { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .875rem; background: rgba(255,255,255,.06); color: var(--muted); }
.board li:nth-child(1) .rk { background: linear-gradient(135deg, #ffd34d, #f0a500); color: #1a1405; }
.board li:nth-child(2) .rk { background: linear-gradient(135deg, #e3e8ee, #9aa4b0); color: #12161c; }
.board li:nth-child(3) .rk { background: linear-gradient(135deg, #ff9a5c, #d9480f); color: #1a0a03; }
.board b { font-family: var(--display); font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.board .pr { font-size: .625rem; font-weight: 700; letter-spacing: .12em; color: var(--accent-2); border: 1px solid rgba(255,90,31,.4); border-radius: 999px; padding: 2px 7px; margin-left: 8px; vertical-align: middle; }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s10); align-items: center; }
.feature.rev > :first-child { order: 2; }

/* Table */
.tbl-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); -webkit-overflow-scrolling: touch; max-width: 100%; overscroll-behavior-x: contain; }
table.cmp { border-collapse: collapse; width: 100%; }
.cmp th, .cmp td { text-align: left; padding: 18px 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; color: var(--faint); background: rgba(255,255,255,.02); }
.cmp tbody th { font-weight: 600; width: 24%; color: var(--text); }
.cmp td { color: #cdd1d8; }
.cmp tr:last-child > * { border-bottom: 0; }
.cmp tbody tr:hover > * { background: rgba(255,255,255,.02); }

/* CTA band */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: var(--s16) 0; border-top: 1px solid var(--line); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 420px at 80% 110%, rgba(255,90,31,.38), transparent 70%), radial-gradient(600px 300px at 10% -20%, rgba(255,90,31,.12), transparent 70%), var(--bg-2); }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 96px); mask-image: linear-gradient(0deg, #000, transparent); -webkit-mask-image: linear-gradient(0deg, #000, transparent); }
.cta h2 { font-size: clamp(3rem, 7vw, 5.5rem); }
.cta p { max-width: 38em; font-size: 1.1875rem; color: var(--muted); }

/* Placeholder visuals (non-photo) */
.ph-img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: radial-gradient(120% 90% at 80% 0%, rgba(255,90,31,.16), transparent 60%), linear-gradient(160deg, var(--surface-2), var(--bg-2)); display: grid; place-items: center; margin: 0; }
.ph-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-img svg { width: 50%; opacity: .9; }
figure { margin: 0; }
.avatar { aspect-ratio: 1; border-radius: 20px; position: relative; overflow: hidden; display: grid; place-items: center; margin-bottom: var(--s3); border: 1px solid var(--line); background: radial-gradient(90% 80% at 30% 20%, rgba(255,90,31,.28), transparent 60%), linear-gradient(160deg, #23272e, #121418); }
.avatar .mono { font-family: var(--display); font-weight: 800; font-size: 5rem; color: rgba(255,255,255,.9); letter-spacing: .02em; }
.avatar::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 10px); }
.ph-copy { color: var(--muted); }
.ph-copy::before { content: "Placeholder · "; font-weight: 600; color: var(--accent-2); font-size: .75em; letter-spacing: .12em; text-transform: uppercase; }

/* Form */
.form { display: grid; gap: var(--s3); max-width: 640px; }
.field label { display: block; font-family: var(--sans); font-weight: 600; font-size: .875rem; color: #d5d8de; margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; background: rgba(255,255,255,.03); color: var(--text); border: 1px solid var(--line-2); padding: 12px 16px; font: inherit; font-size: 16px; min-height: 52px; border-radius: 12px; transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease); -webkit-appearance: none; appearance: none; }
.field select { background-image: url("/img/chev.svg"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field select option { background: var(--surface); color: var(--text); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255,255,255,.24); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--accent); background: rgba(255,90,31,.04); box-shadow: 0 0 0 4px rgba(255,90,31,.18); }
.field textarea { min-height: 160px; resize: vertical; }
.field .hint { color: var(--faint); font-size: .875rem; margin-top: 8px; }
.check { display: flex; gap: 12px; align-items: center; min-height: 44px; }
.check input { width: 24px; height: 24px; min-width: 24px; margin: 10px; accent-color: var(--accent); flex: none; }
.check label { font-weight: 400 !important; font-size: 1rem !important; color: var(--muted) !important; margin: 0 !important; }
.notice { border: 1px solid rgba(255,90,31,.3); background: rgba(255,90,31,.06); padding: 14px 18px; border-radius: 14px; margin-bottom: var(--s1); color: #e6e8ec; font-size: .9375rem; }
.form-status { display: none; border: 1px solid var(--accent); background: rgba(255,90,31,.08); padding: 16px 18px; border-radius: 14px; font-weight: 600; }
.form-status.show { display: block; }
.side-card { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); padding: var(--s4); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.side-card hr { border: 0; border-top: 1px solid var(--line); margin: var(--s4) 0; }

/* Footer */
.site-footer { background: #07080a; border-top: 1px solid var(--line); padding: var(--s10) 0 max(var(--s5), env(safe-area-inset-bottom)); margin-top: auto; font-size: .9375rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s4); }
.site-footer h2 { font-family: var(--sans); font-size: .75rem; letter-spacing: .14em; color: var(--faint); font-weight: 600; margin-bottom: var(--s2); line-height: 1.2; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0; }
.site-footer a { text-decoration: none; color: #d5d8de; min-height: 44px; display: inline-flex; align-items: center; transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--accent-2); }
.legal { border-top: 1px solid var(--line); margin-top: var(--s6); padding-top: var(--s3); color: var(--faint); font-size: .8125rem; max-width: 62em; }

/* Scroll reveal (progressive; only when JS + motion allowed) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (min-width: 1024px) and (max-width: 1200px) {
  .site-header .wrap { gap: 16px; }
  .nav { gap: 18px; }
  .nav .btn { padding: 0 14px; }
}
@media (max-width: 1023px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: rgba(10,11,13,.98); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); flex-direction: column; align-items: stretch; gap: 0; padding: 8px max(24px, env(safe-area-inset-right)) 24px max(24px, env(safe-area-inset-left)); border-bottom: 1px solid var(--line); margin: 0; max-height: calc(100vh - 72px); overflow-y: auto; }
  .js .nav.open { display: flex; }
  .js .nav a:not(.btn) { padding: 14px 0; min-height: 52px; border-bottom: 1px solid var(--line); font-size: 1.0625rem; color: var(--text); }
  .js .nav a:not(.btn)::after { display: none; }
  .js .nav .btn { margin-top: 12px; min-height: 52px; }
  .no-js .nav { flex-wrap: wrap; gap: 14px; }
  .no-js .site-header .wrap { flex-wrap: wrap; padding: 10px 0; }
  .feature, .feature.rev { grid-template-columns: 1fr; gap: var(--s6); }
  .feature.rev > :first-child { order: 0; }
  .section { padding: var(--s12) 0; }
  .hero .wrap { padding: var(--s12) 0 var(--s8); }
}
@media (max-width: 960px) {
  .grid.three, .grid.four { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split { grid-template-columns: 1fr; gap: var(--s5); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .img-card { min-height: 360px; }
  .grid.three > .img-card:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 300px; }
}
@media (max-width: 620px) {
  body.mk { font-size: 16px; }
  .wrap { width: min(var(--wrap), 100% - 40px); }
  .section, .cta { padding: var(--s10) 0; }
  .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; }
  .grid.three > .img-card:last-child:nth-child(odd) { grid-column: auto; }
  .card { padding: var(--s3); border-radius: 20px; }
  .portal { padding: var(--s3); min-height: 0; border-radius: 20px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child, .foot-grid > :last-child { grid-column: 1 / -1; }
  .btn.lg { width: 100%; }
  .btn-row .btn { flex: 1 1 100%; }
  .hero { min-height: 0; }
  .hero .wrap { padding: var(--s12) 0 var(--s6); }
  .hero::before { background: linear-gradient(180deg, rgba(10,11,13,.15) 0%, rgba(10,11,13,.35) 22%, rgba(10,11,13,.9) 48%, var(--bg) 100%), radial-gradient(400px 300px at 80% 10%, rgba(255,90,31,.18), transparent 70%); }
  .hero-media { bottom: auto; height: 520px; }
  .hero-media img { object-position: 68% 30%; }
  .hero .wrap { padding-top: 220px; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .hero-stats div { min-width: 0; }
  .hero-stats b { font-size: 1.2rem; }
  .hero-stats span { font-size: .75rem; display: block; line-height: 1.35; margin-top: 4px; }
  .hero .lede { font-size: 1.0625rem; }
  .hero-stats { gap: var(--s3); margin-top: var(--s6); }
  .hero .ph-tag { top: 16px; bottom: auto; right: 16px; }
  .page-hero { padding: var(--s12) 0 var(--s6); }
  .section-head { margin-bottom: var(--s5); }
  .img-card { min-height: 320px; padding: var(--s3); }
  .mock { padding: var(--s2); border-radius: 22px; }
  .mock-tiles { gap: 8px; }
  .mock-tile { padding: 10px; }
  .mock-tile b { font-size: 1.3rem; }
  .cmp th, .cmp td { padding: 14px 16px; }
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: 100%; }
  .cmp tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .cmp tr:last-child { border-bottom: 0; }
  .cmp tbody th { width: 100%; border: 0; padding-bottom: 4px; font-size: 1.0625rem; }
  .cmp td { border: 0; padding-top: 4px; padding-bottom: 4px; }
  .cmp td::before { content: attr(data-label); display: block; font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
  .photo.wide { aspect-ratio: 4 / 3; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 0; }
  .hero .wrap { padding: var(--s8) 0 var(--s5); }
}
.portal .tag, .card .tag { align-self: flex-start; }
