:root {
  color-scheme: dark;
  --bg-canvas: #191813;
  --bg-surface: #24221c;
  --bg-surface-hover: #302b20;
  --text-primary: #f4f1ea;
  --text-muted: #c1b9aa;
  --accent-primary: #d4a84b;
  --accent-secondary: #b77d32;
  --border-subtle: rgba(244, 241, 234, .12);
  --ease-kinetic: cubic-bezier(.16, 1, .3, 1);
  --shadow-elevation: 0 12px 32px -4px rgba(0, 0, 0, .32);
  --glow-accent: 0 0 24px -8px var(--accent-primary);
  --glass-backdrop: blur(16px) saturate(140%);
  --page-width: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text-primary);
  background: var(--bg-canvas);
  font: 16px/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-wrap: anywhere;
  hyphens: auto;
}
img { display: block; max-width: 100%; object-fit: cover; }
a { color: var(--accent-primary); text-underline-offset: .22em; }
a:hover { color: #f0ca72; }
button, input, textarea, select { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent-primary); outline-offset: 4px; }
h1, h2, h3, p { overflow-wrap: anywhere; hyphens: auto; }
h1, h2, h3 { line-height: 1.14; }
h1 { font-size: clamp(2.5rem, 6vw, 5.4rem); letter-spacing: -.055em; max-width: 13ch; margin: .2em 0 .35em; }
h2 { font-size: clamp(1.8rem, 3vw, 3rem); letter-spacing: -.035em; }
h3 { font-size: 1.25rem; }
p { color: var(--text-muted); }
.container { width: min(var(--page-width), calc(100% - 2.5rem)); margin-inline: auto; }
.site-header { position: relative; z-index: 5; padding: 1.15rem 0 .8rem; border-bottom: 1px solid var(--border-subtle); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; flex: 0 0 auto; color: var(--text-primary); text-decoration: none; font-weight: 750; letter-spacing: -.03em; }
.brand-mark { display: grid; width: 2.25rem; aspect-ratio: 1; place-items: center; border-radius: 50%; background: var(--accent-primary); color: #211b10; font: 700 .82rem/1 ui-monospace, Consolas, monospace; }
.primary-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .35rem; }
.primary-nav a { padding: .55rem .7rem; color: var(--text-muted); text-decoration: none; font-size: .88rem; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--text-primary); background: rgba(212,168,75,.1); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--text-primary); font-size: 1.8rem; cursor: pointer; line-height: 1; }
.eyebrow, .step-label, .meta-label { font: 700 .75rem/1.4 ui-monospace, Consolas, monospace; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-primary); }
.hero { position: relative; padding: clamp(3rem, 7vw, 6rem) 0; background: radial-gradient(ellipse at 85% 12%, rgba(212,168,75,.13), transparent 36%), linear-gradient(125deg, #191813, #211e17 58%, #191813); }
.hero::after { position: absolute; inset: auto 0 -1px; height: 36px; content: ""; background: var(--bg-canvas); clip-path: polygon(0 100%,100% 0,100% 100%); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero-copy { max-width: 620px; }
.hero-copy > p { max-width: 62ch; font-size: 1.1rem; }
.hero-image { width: 100%; aspect-ratio: 4 / 3; box-shadow: var(--shadow-elevation); }
.hero-image-wrap { position: relative; }
.image-note { position: absolute; right: 1rem; bottom: 1rem; padding: .45rem .7rem; background: rgba(25,24,19,.88); color: var(--text-primary); font: .72rem ui-monospace, Consolas, monospace; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; margin-top: 1.6rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3rem; padding: .7rem 1.1rem; border: 1px solid var(--accent-primary); background: var(--accent-primary); color: #211b10; box-shadow: 4px 4px 0 #785a24; font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease-kinetic), box-shadow .25s var(--ease-kinetic), background .25s; }
.button:hover { color: #211b10; transform: translate(4px,4px); box-shadow: 0 0 0 transparent; background: #e6bd63; }
.button.secondary { background: transparent; color: var(--text-primary); border-color: var(--border-subtle); box-shadow: 4px 4px 0 rgba(212,168,75,.35); }
.button.secondary:hover { color: var(--text-primary); background: var(--bg-surface-hover); }
.pathway { position: relative; padding: 2rem 0 4rem; }
.pathway::before { position: absolute; content: ""; left: max(calc((100% - var(--page-width))/2 + 20px), 1.4rem); top: 4rem; bottom: 5rem; width: 1px; background: linear-gradient(var(--accent-primary), rgba(212,168,75,.08)); }
.path-section { position: relative; padding: clamp(2.4rem, 5vw, 4.4rem) 0 clamp(2.8rem, 5vw, 4.5rem) 4.6rem; }
.path-section:nth-child(even) { background: linear-gradient(110deg, rgba(255,255,255,.025), transparent 65%); clip-path: polygon(0 3%,100% 0,100% 97%,0 100%); }
.path-number { position: absolute; left: 0; top: 2.55rem; display: grid; width: 2.6rem; aspect-ratio: 1; place-items: center; border: 1px solid var(--accent-primary); border-radius: 50%; background: var(--bg-canvas); color: var(--accent-primary); font: 700 .82rem ui-monospace, Consolas, monospace; }
.section-heading { max-width: 72ch; margin: 0 auto 1.8rem; }
.section-heading p { max-width: 68ch; }
.content-width { max-width: 72ch; margin-inline: auto; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
.card { min-width: 0; padding: 1.35rem; background: var(--bg-surface); box-shadow: 0 8px 22px rgba(0,0,0,.16); transition: transform .35s var(--ease-kinetic), box-shadow .35s var(--ease-kinetic), background .3s; }
.card:hover { transform: translateY(-5px) scale(1.015); box-shadow: var(--shadow-elevation), var(--glow-accent); background: var(--bg-surface-hover); }
.card p:last-child { margin-bottom: 0; }
.card-image { width: 100%; aspect-ratio: 4/3; margin-bottom: 1rem; }
.horizontal-card { display: grid; grid-template-columns: minmax(150px,.75fr) 1.25fr; gap: 1.2rem; align-items: center; }
.horizontal-card .card-image { aspect-ratio: 1 / 1; margin: 0; }
.feature-card { position: relative; min-height: 250px; display: flex; align-items: end; overflow: clip; background: #29251d; }
.feature-card img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .52; }
.feature-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(15,14,11,.94), transparent 85%); }
.feature-card .feature-copy { position: relative; z-index: 1; padding: 1.3rem; }
.feature-copy p { color: #e1d8c7; }
.checklist { display: grid; gap: .7rem; padding: 0; list-style: none; }
.checklist label { display: flex; gap: .75rem; align-items: flex-start; padding: .85rem 1rem; background: var(--bg-surface); color: var(--text-primary); }
.checklist input { width: 1.1rem; height: 1.1rem; margin-top: .25rem; accent-color: var(--accent-primary); }
.checklist input:checked + span { text-decoration: line-through; color: var(--text-muted); }
.question-panel { padding: clamp(1.3rem,4vw,2.3rem); border-left: 3px solid var(--accent-primary); background: var(--bg-surface); }
.question-panel li { color: var(--text-muted); margin: .35rem 0; }
details { padding: 1rem 0; border-bottom: 1px solid var(--border-subtle); }
summary { color: var(--text-primary); font-weight: 700; cursor: pointer; }
details p { max-width: 68ch; }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { padding: .85rem; border-bottom: 1px solid var(--border-subtle); text-align: left; vertical-align: top; }
th { color: var(--accent-primary); font: 700 .8rem ui-monospace, Consolas, monospace; }
.table-wrap { overflow-x: auto; background: var(--bg-surface); }
.prose { max-width: 72ch; margin: 0 auto; }
.prose h2 { margin-top: 2.2rem; font-size: 1.65rem; }
.prose li { color: var(--text-muted); margin: .45rem 0; }
.page-intro { padding: 3.5rem 0 2.2rem; }
.page-intro h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.page-intro p { max-width: 68ch; font-size: 1.08rem; }
.page-body { padding: 1rem 0 5rem; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field.full { grid-column: 1/-1; }
.field label { color: var(--text-primary); font-weight: 650; }
.field input, .field textarea, .field select { width: 100%; padding: .8rem; border: 1px solid var(--border-subtle); border-radius: 0; background: #171611; color: var(--text-primary); }
.field textarea { min-height: 130px; resize: vertical; }
.form-output { min-height: 3rem; padding: .7rem; color: var(--text-muted); }
.site-footer { padding: 2.5rem 0; border-top: 1px solid var(--border-subtle); background: #14130f; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; }
.footer-grid p { font-size: .92rem; }
.footer-links { display: grid; align-content: start; gap: .45rem; }
.footer-links a { color: var(--text-muted); }
.copyright { border-top: 1px solid var(--border-subtle); margin-top: 1.5rem; padding-top: 1rem; font-size: .85rem; }
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.reveal-visible { opacity: 1; transform: translateY(0); transition: all .7s var(--ease-kinetic); }
@media (min-width:1025px) { .container { width: min(var(--page-width), calc(100% - 4rem)); } }
@media (min-width:769px) and (max-width:1024px) { .hero-grid { gap: 2rem; } .primary-nav a { padding-inline: .45rem; } }
@media (max-width:768px) {
  .header-row { position: relative; }
  .menu-toggle { display: block; margin-left: auto; }
  .primary-nav { display: none; position: absolute; top: calc(100% + .8rem); left: 0; right: 0; z-index: 8; padding: .8rem; background: var(--bg-surface); box-shadow: var(--shadow-elevation); }
  .primary-nav.is-open { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .primary-nav a { padding: .75rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { aspect-ratio: 16/10; }
  .path-section { padding-left: 3.8rem; }
  .pathway::before { left: 1.3rem; }
  .path-number { width: 2.4rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width:481px) and (max-width:768px) { .container { width: min(100% - 2rem, 720px); } }
@media (max-width:480px) {
  .container { width: calc(100% - 1.4rem); }
  .hero { padding: 2.7rem 0 3.2rem; }
  .path-section { padding-left: 3.2rem; }
  .pathway::before { left: 1.1rem; }
  .path-number { width: 2.1rem; }
  .horizontal-card { grid-template-columns: 1fr; }
  .horizontal-card .card-image { aspect-ratio: 16/9; }
  .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}