/* ============================================================
   home.css — homepage only (index.html)
   Built from Joe's "Homepage — warm-up draft" design mockup
   (homepage-mockup/). Kept separate from styles.css so the
   rest of the site's pages are untouched by the new look.
   ============================================================ */

:root {
  --h-navy: #000B27;
  --h-navy-2: #0D1A3A;
  --h-rule: #1E2A47;
  --h-accent: #F26522;
  --h-accent-hover: #FF8A4C;
  --h-amber: #F2A33A;
  --h-gold: #F2C14E;
  --h-teal: #2FC49B;
  --h-teal-soft: #7BD8BC;
  --h-teal-dark: #13795B;
  --h-rust: #B4410C;
  --h-ink: #1B2235;
  --h-body: #3A4458;
  --h-muted: #5A6378;
  --h-on-dark: #D5DAE5;
  --h-on-dark-2: #C9D0DE;
  --h-on-dark-3: #9AA5BC;
  --h-wash: #F5F6F9;
  --h-border: #E3E6EE;
  --h-sans: 'Montserrat', sans-serif;
  --h-serif: 'Source Serif 4', Georgia, serif;
  --h-shadow: 0 12px 36px rgba(0, 11, 39, 0.12);
}

* { box-sizing: border-box; }
body.home { margin: 0; font-family: var(--h-serif); color: var(--h-ink); background: #FFFFFF; }
body.home a { color: var(--h-accent); }
body.home a:hover { color: var(--h-accent-hover); }
body.home img { max-width: 100%; height: auto; display: block; }

.h-wrap { max-width: 1200px; margin: 0 auto; padding: 96px 24px; }
.h-dark { background: var(--h-navy); color: #FFFFFF; }
.h-wash { background: var(--h-wash); }
.h-white { background: #FFFFFF; }
.h-stack { display: flex; flex-direction: column; gap: 16px; }
.h-stack-lg { display: flex; flex-direction: column; gap: 40px; }
.h-intro { max-width: 780px; }
.h-center { align-items: center; text-align: center; }

/* ── type ── */
.h-eyebrow { font-family: var(--h-sans); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--h-rust); }
.h-dark .h-eyebrow { color: var(--h-teal); }
.h-eyebrow.teal { color: var(--h-teal-dark); }
.h-h2 { margin: 0; font-family: var(--h-sans); font-weight: 800; font-size: clamp(32px, 4.4vw, 44px); line-height: 1.1; color: var(--h-navy); }
.h-dark .h-h2 { color: #FFFFFF; }
.h-lede { margin: 0; font-size: clamp(18px, 2vw, 20px); line-height: 1.6; color: var(--h-body); }
.h-dark .h-lede { color: var(--h-on-dark); }
.h-callout { margin: 0; font-family: var(--h-sans); font-weight: 700; font-size: 20px; color: var(--h-navy); }
.h-fine { margin: 0; font-size: 15px; color: var(--h-muted); }
.h-dark .h-fine { color: var(--h-on-dark-3); }

/* ── buttons ── */
.h-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 8px; border: none; font-family: var(--h-sans); font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; }
body.home .h-btn-accent { background: var(--h-accent); color: var(--h-navy); }
body.home .h-btn-accent:hover { background: var(--h-accent-hover); color: var(--h-navy); }
body.home .h-btn-navy { background: var(--h-navy); color: #FFFFFF; }
body.home .h-btn-navy:hover { background: var(--h-navy-2); color: #FFFFFF; }
.h-btn:disabled { opacity: 0.6; cursor: wait; }
.h-link { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--h-sans); font-weight: 600; font-size: 15px; }
body.home .h-dark .h-link { color: #FFFFFF; }
body.home .h-link.ink { color: var(--h-ink); }
.h-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }

/* ── header / nav ── */
.h-header { max-width: 1200px; margin: 0 auto; padding: 24px 24px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.h-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.h-brand-mark { width: 44px; height: 44px; border-radius: 8px; background: var(--h-accent); color: var(--h-navy); font-family: var(--h-sans); font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.h-brand-name { font-family: var(--h-sans); font-weight: 700; font-size: 17px; letter-spacing: 0.02em; color: #FFFFFF; }
.h-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: var(--h-sans); font-size: 15px; font-weight: 600; }
body.home .h-nav a { color: #FFFFFF; text-decoration: none; padding: 6px 0; }
body.home .h-nav a:hover { color: var(--h-accent-hover); }
body.home .h-nav a.muted { color: var(--h-on-dark-2); }

/* ── welcome back ── */
.h-welcome { background: var(--h-navy-2); border-bottom: 1px solid var(--h-rule); }
.h-welcome-inner { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--h-sans); font-size: 15px; color: var(--h-on-dark); }
.h-welcome-inner p { margin: 0; }

/* ── hero ── */
.h-hero { max-width: 1200px; margin: 0 auto; padding: 72px 24px 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 56px; align-items: center; }
.h-hero-copy { display: flex; flex-direction: column; gap: 24px; }
.h-pill { align-self: flex-start; font-family: var(--h-sans); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--h-navy); background: var(--h-teal); padding: 8px 14px; border-radius: 999px; }
.h-h1 { margin: 0; font-family: var(--h-sans); font-weight: 800; font-size: clamp(40px, 6vw, 60px); line-height: 1.05; letter-spacing: -0.02em; }
.h-h1 em { color: var(--h-accent); }
.h-hook { margin: 0; font-size: clamp(20px, 2.4vw, 24px); line-height: 1.4; font-style: italic; color: var(--h-teal); }
.h-hero-body { margin: 0; font-size: 19px; line-height: 1.6; color: var(--h-on-dark); max-width: 560px; }
.h-hero-art { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.h-hero-art img { width: 100%; max-width: 560px; border-radius: 12px; }
.h-hero-caption { font-family: var(--h-sans); font-size: 14px; font-weight: 600; color: var(--h-on-dark-2); text-align: center; }
.h-stats { border-top: 1px solid var(--h-rule); }
.h-stats-inner { max-width: 1200px; margin: 0 auto; padding: 32px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; }
.h-stat { display: flex; flex-direction: column; gap: 6px; }
.h-stat-val { font-family: var(--h-sans); font-weight: 800; font-size: 40px; color: var(--h-accent); }
.h-stat-lbl { font-size: 16px; line-height: 1.5; color: var(--h-on-dark); }

/* ── shared layouts ── */
.h-figure { border-radius: 12px; box-shadow: var(--h-shadow); width: 100%; }
.h-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.h-split > .h-split-art { flex: 3 1 480px; min-width: 0; }
.h-split > .h-split-side { flex: 2 1 340px; min-width: 0; }
.h-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 56px; align-items: start; }
.h-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.h-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }

/* cards */
.h-card { background: #FFFFFF; border-radius: 10px; padding: 18px 22px; display: flex; flex-direction: column; gap: 4px; }
.h-card-title { font-family: var(--h-sans); font-weight: 700; font-size: 17px; color: var(--h-navy); }
.h-card-body { font-size: 17px; line-height: 1.5; color: var(--h-body); }
.h-check { display: flex; gap: 16px; align-items: flex-start; background: #FFFFFF; border-radius: 10px; padding: 18px 20px; font-size: 18px; line-height: 1.5; color: var(--h-ink); }
.h-check svg, .h-tick svg { flex-shrink: 0; margin-top: 2px; }
.h-tick { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; line-height: 1.5; }
.h-tick b { font-family: var(--h-sans); }
.h-dark-card { background: var(--h-navy-2); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.h-big-num { font-family: var(--h-sans); font-weight: 800; font-size: clamp(44px, 5vw, 56px); color: #FFFFFF; }
.h-big-num.accent { color: var(--h-accent); }
.h-dark-card .h-card-body { color: var(--h-on-dark); font-size: 18px; }
.h-source { font-family: var(--h-sans); font-size: 12px; line-height: 1.5; color: var(--h-on-dark-3); }
.h-statement { margin: 0; font-family: var(--h-sans); font-weight: 700; font-size: clamp(22px, 2.6vw, 26px); line-height: 1.35; color: #FFFFFF; }
.h-question { background: var(--h-wash); border-radius: 10px; padding: 22px 24px; font-family: var(--h-sans); font-weight: 700; font-size: 18px; line-height: 1.4; color: var(--h-navy); }
.h-split-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; }

/* ── Dave's chart ── */
.h-chart { display: flex; flex-direction: column; gap: 12px; }
.h-chart-row { display: flex; gap: 10px; }
.h-chart-row > * { flex: 1 1 0; min-width: 0; }
.h-ordeal { text-align: center; font-family: var(--h-sans); font-size: 13px; font-weight: 700; color: var(--h-amber); border-bottom: 2px solid var(--h-amber); padding-bottom: 6px; }
.h-bars { align-items: flex-end; height: 300px; border-bottom: 1px solid #3A4662; }
.h-bar { border-radius: 6px 6px 0 0; display: flex; justify-content: center; padding-top: 8px; font-family: var(--h-sans); font-weight: 800; font-size: 18px; color: var(--h-navy); }
.h-bar.s1, .h-key.s1 { background: var(--h-accent); }
.h-bar.s2, .h-key.s2 { background: var(--h-amber); }
.h-bar.s3, .h-key.s3 { background: var(--h-teal-soft); }
.h-bar.s4, .h-key.s4 { background: var(--h-teal); }
.h-quarters { font-family: var(--h-sans); font-size: 14px; font-weight: 600; color: var(--h-on-dark-2); text-align: center; }
.h-legend { display: flex; flex-wrap: wrap; gap: 20px; font-family: var(--h-sans); font-size: 13px; font-weight: 600; color: var(--h-on-dark-2); padding-top: 4px; }
.h-legend span { display: flex; align-items: center; gap: 8px; }
.h-key { width: 14px; height: 14px; border-radius: 3px; }
.h-phase { font-family: var(--h-sans); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.h-phase.s1 { color: var(--h-accent); }
.h-phase.s2 { color: var(--h-amber); }
.h-phase.s4 { color: var(--h-teal); }

/* ── what changes / how it works ── */
.h-pillar { background: var(--h-navy); border-radius: 12px; padding: 32px 28px; display: flex; flex-direction: column; gap: 10px; }
.h-pillar-name { font-family: var(--h-sans); font-weight: 800; font-size: 16px; letter-spacing: 0.1em; text-transform: uppercase; }
.h-pillar-body { font-size: 19px; line-height: 1.5; color: #FFFFFF; }
.h-h3 { margin: 0; font-family: var(--h-sans); font-weight: 800; font-size: 28px; color: var(--h-navy); text-align: center; }
.h-step { border: 2px solid var(--h-border); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.h-step-head { display: flex; align-items: center; gap: 14px; font-family: var(--h-sans); font-weight: 800; font-size: 20px; color: var(--h-navy); }
.h-step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--h-navy); color: #FFFFFF; font-size: 17px; display: flex; align-items: center; justify-content: center; }

/* ── register ── */
.h-register { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 56px; align-items: center; }
.h-register-h2 { font-size: clamp(34px, 4.6vw, 48px); line-height: 1.08; }
.h-form { background: #FFFFFF; color: var(--h-ink); border-radius: 14px; padding: 40px 32px; display: flex; flex-direction: column; gap: 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.h-form-title { font-family: var(--h-sans); font-weight: 800; font-size: 24px; color: var(--h-navy); }
.h-field { display: flex; flex-direction: column; gap: 8px; }
.h-field label { font-family: var(--h-sans); font-weight: 600; font-size: 15px; color: var(--h-ink); }
.h-field input { min-height: 48px; border: 1.5px solid #8C95A8; border-radius: 8px; padding: 0 14px; font-size: 17px; font-family: var(--h-serif); color: var(--h-ink); }
.h-field input:focus { outline: 2px solid var(--h-accent); outline-offset: 1px; border-color: var(--h-accent); }
.h-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--h-body); }
.h-consent input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; }
body.home .h-consent a { color: var(--h-navy); text-decoration: underline; }
.h-form-error { display: none; margin: 0; font-size: 15px; color: #B42318; }
.h-form-note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--h-muted); text-align: center; }
.h-form-done { display: none; flex-direction: column; gap: 12px; text-align: center; }
.h-form-done p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--h-body); }

/* ── assessment ── */
.h-assess { border: 2px solid var(--h-border); border-radius: 16px; padding: 48px 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px; align-items: center; }

/* ── series ── */
.h-series-art { border-radius: 12px; background: var(--h-navy); padding: 24px; }
.h-book-tag { font-family: var(--h-sans); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--h-rust); }
.h-book-title { font-family: var(--h-sans); font-weight: 800; font-size: 22px; color: var(--h-navy); }
body.home .h-book-title a { color: inherit; text-decoration: none; }
body.home .h-book-title a:hover { color: var(--h-accent); }
.h-book { background: #FFFFFF; border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }

/* ── Joe ── */
.h-joe { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.h-joe-photo { flex: 1 1 260px; display: flex; justify-content: center; }
.h-joe-mono { width: 100%; max-width: 300px; aspect-ratio: 1 / 1; border-radius: 50%; background: var(--h-navy); color: var(--h-accent); font-family: var(--h-sans); font-weight: 800; font-size: 88px; display: flex; align-items: center; justify-content: center; }
.h-joe-copy { flex: 2 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.h-joe-copy p { margin: 0; font-size: 19px; line-height: 1.65; color: var(--h-body); }

/* ── footer ── */
.h-footer { background: var(--h-navy); color: var(--h-on-dark); }
.h-footer-inner { max-width: 1200px; margin: 0 auto; padding: 48px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-family: var(--h-sans); font-size: 14px; line-height: 1.6; }
.h-footer-col { display: flex; flex-direction: column; gap: 4px; }
.h-footer-name { font-weight: 700; font-size: 16px; color: #FFFFFF; }
body.home .h-footer a { color: #FFFFFF; }
body.home .h-footer .h-footer-legal, body.home .h-footer .h-footer-legal a { color: var(--h-on-dark-3); }

@media (max-width: 640px) {
  .h-wrap { padding: 64px 16px; }
  .h-header, .h-hero, .h-stats-inner, .h-welcome-inner, .h-footer-inner { padding-left: 16px; padding-right: 16px; }
  .h-hero { padding-top: 48px; padding-bottom: 48px; gap: 40px; }
  .h-assess { padding: 32px 20px; }
  .h-form { padding: 28px 20px; }
  .h-bars { height: 220px; }
  .h-bar { font-size: 14px; }
  .h-chart-row { gap: 4px; }
  .h-quarters { font-size: 12px; }
}
