/* =========================================================
   Jorich Consulting — design system
   Brand: green #05AD12, orange #FF9933, yellow #FFE24F on
   deep forest. Milestone-path motif. Poppins / Figtree / Plex Mono.
   ========================================================= */

:root {
  --ink:        #0E2A17;   /* deep forest — dark sections */
  --ink-2:      #163C24;
  --ink-3:      #245536;
  --gold:       #05AD12;   /* brand green — accents, CTAs, nodes */
  --gold-deep:  #0B7A12;   /* darker green — eyebrows, hovers, text on light */
  --gold-soft:  #E3F3E0;   /* light green tint — icon chips */
  --orange:     #FF9933;
  --orange-deep:#C56A12;
  --yellow:     #FFE24F;
  --paper:      #F5F7F3;
  --paper-2:    #E9EFE9;
  --card:       #FFFFFF;
  --slate:      #4B5A50;
  --slate-2:    #79867D;
  --line:       #DBE3DC;
  --line-ink:   rgba(255,255,255,.15);

  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body:    'Figtree', system-ui, -apple-system, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, monospace;

  --r:    6px;
  --r-sm: 4px;
  --maxw: 1120px;
  --pad:  clamp(20px, 5vw, 48px);
  --sp:   clamp(64px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0; }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: var(--sp); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--gold);
}
.eyebrow.on-ink { color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 15.5px;
  padding: 14px 24px;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-on-ink { background: var(--gold); color: var(--ink); }
.btn-on-ink:hover { background: #fff; color: var(--ink); }
.btn-outline-ink { background: transparent; color: #fff; border-color: var(--line-ink); }
.btn-outline-ink:hover { border-color: #fff; }

.link-arrow {
  font-family: var(--font-mono);
  font-size: 13px; letter-spacing: .04em;
  color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center; gap: 7px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: gap .18s ease;
}
.link-arrow:hover { gap: 12px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,247,243,.9);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 14px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  background: var(--ink); color: var(--gold);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 17px;
}
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand-name span { color: var(--slate-2); font-weight: 400; font-family: var(--font-mono); font-size: 12px; display: block; letter-spacing: .12em; text-transform: uppercase; margin-top: -2px; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em;
  text-decoration: none; color: var(--slate); transition: color .15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active { color: var(--gold-deep); }
.nav-cta { padding: 9px 16px; border: 1.5px solid var(--ink); border-radius: var(--r-sm); color: var(--ink) !important; }
.nav-cta:hover { background: var(--ink); color: #fff !important; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: .2s; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(56px, 8vw, 104px) var(--sp); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  margin: 20px 0 20px;
}
.hero h1 em { font-style: normal; color: var(--gold-deep); }
.hero-sub { font-size: clamp(17px, 2vw, 20px); color: var(--slate); max-width: 34ch; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* instructor credential card */
.cred-card {
  background: var(--ink); color: #fff;
  border-radius: var(--r); padding: 28px;
  position: relative;
}
.cred-card::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 3px;
  background: var(--gold);
}
.cred-role { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.cred-name { font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 25px); font-weight: 700; margin: 8px 0 4px; white-space: nowrap; }
.cred-title { color: #B9C6CC; font-size: 14.5px; margin-bottom: 20px; }
.cred-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cred-tags span {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
  padding: 6px 11px; border: 1px solid var(--line-ink); border-radius: 100px; color: #E7EDEF;
}

/* ---------- milestone path (signature) ---------- */
.path-rule {
  display: flex; align-items: center; gap: 0;
  margin: 0 auto; max-width: var(--maxw); padding-inline: var(--pad);
}
.path-rule .seg { flex: 1; height: 1px; background: var(--line); }
.path-rule .node { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex: none; }
.path-rule .node.hollow { background: var(--paper); border: 2px solid var(--gold); }

/* ---------- proof strip ---------- */
.proof { background: var(--ink); color: #fff; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 40px 28px; border-left: 1px solid var(--line-ink); }
.proof-item:first-child { border-left: 0; }
.proof-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4vw, 44px); color: var(--gold); line-height: 1; }
.proof-num.small { font-size: clamp(19px, 2.4vw, 25px); }
.proof-label { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: #A9B8BE; margin-top: 10px; }

/* ---------- section heading ---------- */
.head { max-width: 40ch; margin-bottom: 48px; }
.head h2 { font-size: clamp(28px, 4vw, 42px); margin: 16px 0 0; }
.head.center { margin-inline: auto; text-align: center; }
.head.center .eyebrow { justify-content: center; }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 30px 28px 32px;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(19,36,46,.45); border-color: var(--gold); }
.svc-ico {
  width: 46px; height: 46px; border-radius: var(--r-sm);
  background: var(--gold-soft); color: var(--gold-deep);
  display: grid; place-items: center; font-size: 22px; margin-bottom: 20px;
}
.svc-card h3 { font-size: 21px; margin-bottom: 10px; }
.svc-card p { color: var(--slate); font-size: 15.5px; flex: 1; margin-bottom: 20px; }

/* ---------- path / steps (real sequence) ---------- */
.steps { background: var(--paper-2); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; }
.step { padding: 0 28px; position: relative; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 13px; right: -1px; width: 2px; height: calc(100% - 13px);
  background: transparent;
}
.step-node {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
}
.step-dot {
  width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--gold);
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  display: grid; place-items: center; flex: none;
}
.step-line { flex: 1; height: 1px; background: var(--gold); opacity: .5; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--slate); font-size: 15px; }

/* ---------- bootcamp spotlight ---------- */
.boot { background: var(--ink); color: #fff; border-radius: 0; }
.boot-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.boot h2 { font-size: clamp(28px, 4vw, 44px); color: #fff; margin: 16px 0 18px; }
.boot p { color: #C3CFD4; font-size: 17px; margin-bottom: 26px; max-width: 46ch; }
.boot-facts { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.boot-facts li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: #E4EBED; }
.boot-facts i { color: var(--gold); margin-top: 3px; }
.boot-card {
  border: 1px solid var(--line-ink); border-radius: var(--r); padding: 30px; text-align: center;
}
.boot-card .kpi { font-family: var(--font-display); font-weight: 800; font-size: 58px; color: var(--gold); line-height: 1; }
.boot-card .kpi span { font-size: 20px; }
.boot-card .kpi-label { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: #A9B8BE; margin: 8px 0 22px; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.portrait {
  aspect-ratio: 4/5; background: var(--paper-2); border-radius: var(--r);
  display: grid; place-items: center; text-align: center; color: var(--slate-2);
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em;
  border: 1px dashed var(--line);
}
.about h2 { font-size: clamp(26px, 3.5vw, 38px); margin: 16px 0 20px; }
.about p { color: var(--slate); margin-bottom: 18px; font-size: 16.5px; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 12px; }
.quote {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px; position: relative;
}
.quote::before {
  content: "\201C"; font-family: var(--font-display); font-weight: 800;
  font-size: 60px; color: var(--gold-soft); position: absolute; top: 8px; left: 20px; line-height: 1;
}
.quote p { font-size: 18px; line-height: 1.55; margin: 22px 0 18px; position: relative; }
.quote cite { font-style: normal; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--slate-2); }

/* ---------- final cta ---------- */
.cta-band { background: var(--ink); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(30px, 4.5vw, 50px); color: #fff; max-width: 18ch; margin: 18px auto 16px; }
.cta-band p { color: #C3CFD4; font-size: 18px; max-width: 46ch; margin: 0 auto 30px; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- footer ---------- */
.footer { background: #0A2011; color: #9FB4A6; padding-block: 56px 32px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-ink); }
.footer .brand-name { color: #fff; }
.footer p { font-size: 14.5px; margin-top: 14px; max-width: 34ch; }
.footer h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #6E828A; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: #C4D0D4; text-decoration: none; font-size: 14.5px; }
.footer a:hover { color: var(--gold); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: #6E828A; }

/* ---------- blog list ---------- */
.blog-hero { padding-block: clamp(56px,8vw,96px) var(--sp); }
.blog-hero h1 { font-size: clamp(38px,6vw,60px); margin: 18px 0 16px; max-width: 16ch; }
.blog-hero p { color: var(--slate); font-size: 19px; max-width: 44ch; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(19,36,46,.45); border-color: var(--gold); }
.post-thumb {
  aspect-ratio: 16/9; background: var(--ink); position: relative;
  display: grid; place-items: center;
}
.post-thumb .tag {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); background: var(--gold); padding: 5px 11px; border-radius: 100px;
  position: absolute; top: 16px; left: 16px;
}
.post-thumb .num { font-family: var(--font-mono); color: var(--line-ink); font-size: 13px; color:#2E4A38; letter-spacing:.1em; }
.post-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--slate-2); margin-bottom: 12px; }
.post-body h3 { font-size: 21px; margin-bottom: 10px; line-height: 1.15; }
.post-body p { color: var(--slate); font-size: 15px; flex: 1; margin-bottom: 18px; }
.post-card.soon { opacity: .72; }
.post-card.soon .post-thumb { background: var(--paper-2); }
.post-card.soon .post-thumb .tag { background: var(--paper); color: var(--slate); border:1px solid var(--line); }

/* ---------- article ---------- */
.article { max-width: 720px; margin: 0 auto; padding-inline: var(--pad); }
.article-head { padding-block: clamp(48px,7vw,84px) 40px; text-align: center; }
.article-head .post-meta { justify-content: center; }
.article-head h1 { font-size: clamp(32px,5vw,50px); margin: 16px auto; max-width: 18ch; }
.article-lede { color: var(--slate); font-size: 20px; max-width: 30ch; margin: 0 auto; }
.prose { font-size: 18px; line-height: 1.75; }
.prose h2 { font-size: 27px; margin: 48px 0 16px; }
.prose p { margin-bottom: 22px; color: #23343C; }
.prose strong { font-weight: 600; }
.prose .callout {
  border-left: 3px solid var(--gold); background: var(--card);
  padding: 22px 26px; border-radius: 0 var(--r) var(--r) 0; margin: 32px 0;
}
.prose .callout p { margin: 0; color: var(--ink); }
.article-cta {
  margin: 48px 0 0; background: var(--ink); color: #fff; border-radius: var(--r);
  padding: 36px; text-align: center;
}
.article-cta h3 { font-family: var(--font-display); font-size: 25px; color: #fff; margin-bottom: 10px; }
.article-cta p { color: #C3CFD4; margin-bottom: 22px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,64px); align-items: start; }
.contact h1 { font-size: clamp(34px,5vw,52px); margin: 18px 0 18px; max-width: 14ch; }
.contact-lede { color: var(--slate); font-size: 19px; margin-bottom: 28px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list i { color: var(--gold-deep); font-size: 20px; width: 24px; text-align: center; }
.contact-list .lbl { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-2); }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 16px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- focus visibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .boot-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .cred-card { order: -1; }
  .about .portrait { max-width: 340px; }
  .svc-grid, .steps-grid, .quotes { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(-n+2) { border-top: 0; }
  .proof-item:nth-child(3) { border-left: 0; }
  .proof-item { border-top: 1px solid var(--line-ink); }
  .proof-item:nth-child(1), .proof-item:nth-child(2) { border-top: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .steps-grid .step { padding: 0 0 8px; }

  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 8px var(--pad) 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 15px; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-cta { border: 0 !important; padding: 12px 0 !important; }
  .nav-toggle { display: block; }
}

@media (max-width: 520px) {
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item { border-left: 0 !important; border-top: 1px solid var(--line-ink); }
  .proof-item:first-child { border-top: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-cta .btn, .cta-band .btn { width: 100%; justify-content: center; }
}

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

/* ---------- brand additions (logo + camps) ---------- */
.brand-logo { height: 42px; width: auto; display: block; }
.footer-logo { height: 40px; width: auto; margin-bottom: 4px; }

.camps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin: 10px 0 28px; }
.camp {
  border: 1px solid var(--line-ink); border-radius: var(--r);
  padding: 22px 24px; background: rgba(255,255,255,.035);
}
.camp.green  { border-top: 3px solid var(--gold); }
.camp.orange { border-top: 3px solid var(--orange); }
.camp.safe   { border-top: 3px solid var(--yellow); }
.camp .ctag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
.camp.green  .ctag { color: #8FE39A; }
.camp.orange .ctag { color: #FFC98A; }
.camp.safe   .ctag { color: #FFEB9A; }
.camp h4 { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: #fff; margin: 10px 0 6px; }
.camp .price { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: #fff; line-height: 1; }
.camp .price span { font-size: 14px; color: #A9C0B0; font-weight: 400; font-family: var(--font-body); }
.camp p { color: #B7C9BC; font-size: 13.5px; margin-top: 8px; }
.boot-note { font-size: 14px; color: #B7C9BC; margin-bottom: 26px; }
.boot-note strong { color: #fff; font-weight: 600; }
.boot-note .pill { display: inline-block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--ink); background: var(--gold); padding: 3px 10px; border-radius: 100px; margin: 0 2px; }
.boot-note .pill.orange { background: var(--orange); }
