/* Layout concept: a steady single column with a "survey line" rule along the left,
   bands of deep alpine ink for emphasis, and amber waypoints marking the six-week ascent. */
:root {
  --paper: #f3f6f7;
  --surface: #ffffff;
  --ink: #102231;
  --muted: #4b5b68;
  --line: #d3dbe1;
  --accent: #c9821f;
  --accent-strong: #9a5f0f;
  --on-accent: #102231;
  --band: #102231;
  --band-fg: #e9eff3;
  --band-muted: #a9b8c4;
  --ph-bg: #fff1c9;
  --ph-fg: #5a3b00;
  --ok: #1d6b4a;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: 2.15rem;
  --step-4: clamp(2.4rem, 5vw + 1rem, 3.9rem);
  --max: 72rem;
  --radius: 6px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0c1620; --surface: #122230; --ink: #e6edf2; --muted: #9eadb9; --line: #263a4b;
    --accent: #e3a347; --accent-strong: #f0bd6c; --on-accent: #0c1620;
    --band: #07111a; --band-fg: #e6edf2; --band-muted: #93a4b2;
    --ph-bg: #4a3610; --ph-fg: #ffe3a3; --ok: #6fcf9f;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0c1620; --surface: #122230; --ink: #e6edf2; --muted: #9eadb9; --line: #263a4b;
  --accent: #e3a347; --accent-strong: #f0bd6c; --on-accent: #0c1620;
  --band: #07111a; --band-fg: #e6edf2; --band-muted: #93a4b2;
  --ph-bg: #4a3610; --ph-fg: #ffe3a3; --ok: #6fcf9f;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: var(--step-4); font-weight: 800; font-stretch: 85%; }
h2 { font-size: var(--step-3); font-weight: 750; font-stretch: 90%; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: 20px; }
.prose { max-width: 40rem; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.eyebrow {
  font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-strong); font-weight: 500;
}
.lede { font-size: var(--step-1); color: var(--muted); max-width: 38rem; }
.muted { color: var(--muted); }
.ph { background: var(--ph-bg); color: var(--ph-fg); padding: 0 0.3em; border-radius: 3px; font-family: var(--font-mono); font-size: 0.9em; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.85rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand svg { flex: none; }
.brand small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 0.7rem; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 1.6rem; font-family: var(--font-display); font-size: 0.98rem; font-weight: 600; }
.nav a { text-decoration: none; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: var(--radius); padding: 0.45rem 0.7rem; font: 600 0.95rem var(--font-display); cursor: pointer; }
@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 0.5rem 20px 1rem; }
  .nav.open { display: flex; }
  .nav a { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 0.75rem; text-align: center; border-bottom: none; }
}

/* Buttons */
.btn {
  display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 0.85rem 1.35rem; border-radius: var(--radius); text-decoration: none;
  background: var(--accent); color: var(--on-accent); border: 2px solid var(--accent); cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--accent-strong); border-color: var(--accent-strong); color: var(--paper); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.ghost:hover { background: transparent; color: inherit; }
.nav .btn { padding: 0.55rem 1rem; }

/* Sections */
section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.band { background: var(--band); color: var(--band-fg); }
.band .muted, .band .lede { color: var(--band-muted); }
.band .eyebrow { color: var(--accent); }
.rule-top { border-top: 1px solid var(--line); }

/* Hero */
.hero { padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 em { font-style: normal; color: var(--accent-strong); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.5rem; }
.ascent { width: 100%; height: auto; display: block; }
.ascent .ridge { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.ascent .fillarea { fill: var(--line); opacity: 0.55; }
.ascent .grid { stroke: var(--line); stroke-width: 1; }
.ascent .pt { fill: var(--accent); stroke: var(--paper); stroke-width: 3; }
.ascent text { fill: var(--muted); font-family: var(--font-mono); font-size: 11px; }
.ascent .lbl { fill: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 12.5px; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } }

.credentials { display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem; font-family: var(--font-mono); font-size: var(--step--1); color: var(--muted); padding-block: 1.1rem; border-block: 1px solid var(--line); }
.credentials strong { color: var(--ink); font-weight: 500; }

/* Grids */
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 820px) { .cols-2, .cols-3 { grid-template-columns: 1fr; } }
.split-head { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2rem; align-items: end; margin-bottom: 2.5rem; }
.split-head > * { min-width: 0; }
@media (max-width: 820px) { .split-head { grid-template-columns: 1fr; } }

.signal { display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1rem; border-top: 3px solid var(--accent); }
.signal h3 { font-size: 1.1rem; }

/* Week list (route) */
.route { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.route > li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1.5rem; padding-block: 1.6rem; border-top: 1px solid var(--line); }
.band .route > li { border-top-color: color-mix(in srgb, var(--band-fg) 18%, transparent); }
.route .wk { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.route .wk b { display: block; font-family: var(--font-display); font-size: 2.4rem; line-height: 1; letter-spacing: -0.02em; color: inherit; font-weight: 800; }
.route h3 { margin-bottom: 0.35rem; }
@media (max-width: 560px) { .route > li { grid-template-columns: 1fr; gap: 0.5rem; } }

.week { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 2rem; padding-block: 2.5rem; border-top: 1px solid var(--line); scroll-margin-top: 5rem; }
.week .wk { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-strong); position: sticky; top: 6rem; align-self: start; }
.week .wk b { display: block; font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: var(--ink); font-weight: 800; letter-spacing: -0.03em; }
.week .body { display: flex; flex-direction: column; gap: 1.25rem; }
.week .goal { font-size: var(--step-1); color: var(--muted); max-width: 40rem; }
.week .lists { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; }
.week .lists > * { min-width: 0; }
.week h4 { font-family: var(--font-mono); font-weight: 500; font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.week ul { margin: 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.week ul li::marker { color: var(--accent); }
.deliver { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.deliver ul { list-style: none; padding: 0; }
.deliver li { padding-left: 1.4rem; position: relative; }
.deliver li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.6rem; height: 0.6rem; border: 2px solid var(--accent); transform: rotate(45deg); }
.formula { font-family: var(--font-mono); font-size: 0.95rem; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 0.75rem 1rem; overflow-x: auto; }
@media (max-width: 820px) { .week { grid-template-columns: 1fr; gap: 1rem; } .week .wk { position: static; } .week .lists { grid-template-columns: 1fr; } }

/* Service blocks */
.service { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2rem; padding-block: 2.5rem; border-top: 1px solid var(--line); }
.service > * { min-width: 0; }
.service ul { margin: 0; padding-left: 1.1rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem 1.5rem; }
.service ul li::marker { color: var(--accent); }
@media (max-width: 820px) { .service { grid-template-columns: 1fr; gap: 1rem; } .service ul { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding-block: 1.1rem; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent-strong); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 0.6rem; color: var(--muted); max-width: 44rem; }

/* CTA band */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta > div { min-width: 0; max-width: 40rem; }

/* About */
.portrait { aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--radius); background: repeating-linear-gradient(135deg, var(--surface) 0 12px, var(--paper) 12px 24px); border: 1px dashed var(--line); display: grid; place-items: center; text-align: center; color: var(--muted); font-family: var(--font-mono); font-size: var(--step--1); padding: 1rem; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.facts div { border-top: 3px solid var(--accent); padding-top: 0.75rem; }
.facts b { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1.1; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-grid > * { min-width: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 1.1rem; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.field .opt { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 0.7rem 0.8rem; width: 100%;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.75rem; align-items: start; font-size: 0.9rem; line-height: 1.5; color: var(--muted); }
.consent input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--accent); }
.consent strong { color: var(--ink); }
.form-legal { font-size: 0.85rem; color: var(--muted); }
.form-status { font-family: var(--font-display); font-weight: 600; color: var(--ok); }
.form-status.err { color: #b3261e; }
.contact-card { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-card dl { margin: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.contact-card dt { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact-card dd { margin: 0.15rem 0 0; overflow-wrap: anywhere; }

/* Legal pages */
.legal { max-width: 46rem; }
.legal h1 { font-size: var(--step-3); margin-bottom: 0.5rem; }
.legal h2 { font-size: var(--step-1); margin-top: 2.2rem; margin-bottom: 0.6rem; }
.legal p, .legal li { color: var(--ink); }
.legal p + p { margin-top: 0.8rem; }
.legal ul { padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.35rem; }
.legal .callout { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); padding: 1rem 1.2rem; border-radius: var(--radius); margin-top: 1rem; }

/* Footer */
.site-footer { background: var(--band); color: var(--band-fg); padding-block: 3rem 2rem; font-size: 0.95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer .cols > * { min-width: 0; }
.site-footer h4 { font-family: var(--font-mono); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--band-muted); margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .legal-line { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid color-mix(in srgb, var(--band-fg) 18%, transparent); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; color: var(--band-muted); font-size: 0.85rem; }
.site-footer .legal-line a { color: var(--band-fg); text-decoration: underline; }
@media (max-width: 820px) { .site-footer .cols { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Three pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid color-mix(in srgb, var(--band-fg) 18%, transparent); }
.pillar { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.75rem 1.5rem 0.5rem 0; }
.pillar + .pillar { padding-left: 1.5rem; border-left: 1px solid color-mix(in srgb, var(--band-fg) 18%, transparent); }
.pillar-name { font-family: var(--font-display); font-weight: 800; font-stretch: 80%; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--accent); letter-spacing: -0.02em; }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } .pillar, .pillar + .pillar { padding: 1.5rem 0; border-left: none; border-top: 1px solid color-mix(in srgb, var(--band-fg) 18%, transparent); } }
.ascent .bracket { fill: none; stroke: var(--accent); stroke-width: 2; }
.ascent .big { fill: var(--accent-strong); font-family: var(--font-display); font-weight: 800; font-size: 22px; }

/* Guarantee */
.guarantee { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.g-line { font-family: var(--font-display); font-weight: 750; font-stretch: 90%; font-size: clamp(1.6rem, 2.5vw + 0.8rem, 2.5rem); line-height: 1.12; max-width: 26ch; text-wrap: balance; letter-spacing: -0.02em; }
.fine { font-size: var(--step--1); color: var(--muted); font-family: var(--font-mono); }
.band .fine { color: var(--band-muted); }

/* Results */
.result { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.r-who { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.r-num { font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); line-height: 1.15; }

/* Fit */
.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.fit > * { min-width: 0; }
.fit h4 { font-family: var(--font-mono); font-weight: 500; font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.fit ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.fit li { padding-left: 1.6rem; position: relative; }
.fit .yes li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-strong); font-weight: 700; }
.fit .no li::before { content: "–"; position: absolute; left: 0.2rem; color: var(--muted); font-weight: 700; }
@media (max-width: 560px) { .fit { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.steps li { display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1rem; border-top: 3px solid var(--accent); }
.steps b { font-family: var(--font-mono); font-weight: 500; color: var(--accent); font-size: var(--step--1); }
@media (max-width: 820px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.facts-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 820px) { .facts-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 960px) { .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cols-4 { grid-template-columns: 1fr; } }

/* Results v2 */
.result { margin: 0; }
.r-when { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-strong); }
.result blockquote { margin: 0.25rem 0 0; color: var(--muted); }

/* About: compact profile */
.about-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.profile { margin: 0; width: 200px; display: flex; flex-direction: column; gap: 0.75rem; }
.profile img { width: 100%; height: auto; aspect-ratio: 5 / 7; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); display: block; }
.profile figcaption { display: flex; flex-direction: column; gap: 0.1rem; }
.profile figcaption b { font-family: var(--font-display); font-weight: 700; }
.profile figcaption span { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; }
@media (max-width: 700px) { .about-hero { grid-template-columns: 1fr; } .profile { width: 160px; } }

/* Mobile refinements */
.contact-card a, .site-footer .cols a[href^="tel"], .site-footer .cols a[href^="mailto"] { text-decoration: none; }
@media (max-width: 560px) {
  .consent input { width: 1.4rem; height: 1.4rem; margin-top: 0.1rem; }
  .consent { padding-block: 0.25rem; }
  .form .btn { width: 100%; text-align: center; }
}
