/* The AI Burrow — brand v3 · bricolage */
:root {
  /* ground & primary */
  --cream:     #F4EEDF;
  --cream-2:   #EAE3D2;
  --navy:      #1E2F4D;
  --navy-deep: #15233B;
  --ink:       #111111;
  --gray:      #5C544A;

  /* accents — reserved roles only */
  --klein:     #002FA7;   /* links · hover · small-rabbit eye */
  --cochineal: #9C1D33;   /* CTA fill (re-tuned from #C55A2B warm orange) */

  /* derived helpers */
  --rule:  rgba(30, 47, 77, 0.14);
  --muted: color-mix(in srgb, var(--navy) 72%, transparent);

  /* type — bricolage grotesque + inter, no serif, no UI mono */
  --display: "Bricolage Grotesque", system-ui, -apple-system, sans-serif;
  --body:    "Inter", system-ui, -apple-system, sans-serif;
  --code:    ui-monospace, SFMono-Regular, Menlo, monospace;

  /* scale & spacing */
  --t-base:1.0625rem; --t-md:1.25rem; --t-lg:1.75rem;
  --t-xl:2.5rem; --t-2xl:3.25rem; --t-4xl:6.5rem;

  --maxw: 1080px;
  --pad-x: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  background: var(--cream);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv11';
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: var(--klein); text-decoration: underline; text-underline-offset: 3px; }
.cta { background: var(--cochineal); color: #fff; padding: 14px 24px; font-weight: 600; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }

/* Pillar/section labels — replaces v2's "01 / FOO" numbered manifesto labels */
.pillar-label {
  font-family: var(--body);
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0;
  text-transform: none;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
}
.pillar-label .ico { font-size: 14px; line-height: 1; color: var(--navy); }
.pillar-label .ico--star { font-size: 22px; transform: translateY(4px); display: inline-block; }
.pillar-label .ico--arrow { font-size: 18px; transform: translateY(1px); display: inline-block; }

.eyebrow {
  font-family: var(--body);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.caption {
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* display headings — use Bricolage's opsz axis at large sizes */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.025em;
  font-variation-settings: 'opsz' 96;
  margin: 0;
}

.display {
  font-family: var(--display);
  font-size: clamp(46px, 8vw, var(--t-4xl));
  font-weight: 800;
  font-variation-settings: 'opsz' 96;
  line-height: 1.0;
  letter-spacing: -0.025em;
}
.display em { font-style: italic; color: var(--cochineal); }
.display .hi { color: var(--cochineal); }

.section-title {
  font-family: var(--display);
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.section-title em { font-style: italic; color: var(--cochineal); }

.lede {
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 620px;
}
.body {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 620px;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;   /* brand · centered links · spacer */
  align-items: center;
  gap: 24px;
  /* iPhone notch / dynamic-island: env(safe-area-inset-top) keeps the
     brand lockup clear of the status bar */
  padding: calc(env(safe-area-inset-top, 0px) + 16px) var(--pad-x) 16px;
  padding-left: calc(var(--pad-x) + env(safe-area-inset-left, 0px));
  padding-right: calc(var(--pad-x) + env(safe-area-inset-right, 0px));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in oklab, var(--cream) 80%, transparent);
  border-bottom: 1px solid transparent;
  transition: background 400ms, border-color 400ms, color 400ms;
}
.nav .brand { justify-self: start; }
.nav .brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 18px;
  color: var(--navy); text-decoration: none;
  letter-spacing: -0.01em;
}
.rabbit-glyph { color: var(--navy); display: inline-block; vertical-align: middle; flex-shrink: 0; }
.nav-links {
  justify-self: center;
  display: flex; align-items: center; gap: 28px; font-size: 14px;
  font-family: var(--body); color: var(--navy);
}
.nav-links a { color: var(--navy); text-decoration: none; transition: color 180ms; display: inline-flex; align-items: baseline; gap: 6px; }
.nav-links a:hover { color: var(--klein); }
.nav-ico { font-size: 11px; color: var(--navy); line-height: 1; }
/* Asterisk has a different optical weight than ▲ ■ ● — bump size + nudge down to share a baseline */
.nav-ico--star    { font-size: 18px; transform: translateY(3px); display: inline-block; }
.nav-ico--diamond { font-size: 10px; transform: translateY(-0.5px); display: inline-block; }
.nav-links a:hover .nav-ico { color: var(--klein); }
/* Single nav CTA — Cochineal pill, sits after About in the nav-links */
.nav-links .nav-cta {
  background: var(--cochineal);
  color: var(--cream) !important;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  transition: background 180ms, transform 180ms;
}
.nav-links .nav-cta:hover {
  background: var(--navy-deep);
  color: var(--cream) !important;
  transform: translateY(-1px);
}

/* Mobile nav toggle (hamburger) — hidden on desktop */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: color-mix(in oklab, var(--cream) 72%, transparent);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 999px;
  cursor: pointer;
  padding: 0; position: relative;
  margin-left: auto;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: none;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: currentColor; margin: 5px auto;
  transition: transform 240ms, opacity 240ms;
}
.nav-toggle:hover {
  border-color: rgba(11, 10, 8, 0.22);
  background: color-mix(in oklab, var(--cream-2) 78%, transparent);
}
.nav-toggle:active {
  transform: scale(0.97);
}
.nav-toggle:focus,
.nav-toggle:focus-visible {
  outline: none;
  border-color: rgba(197, 90, 43, 0.55);
  box-shadow: 0 0 0 4px rgba(197, 90, 43, 0.12);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-toggle[aria-expanded="true"] {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
@media (max-width: 820px) {
  :root { --pad-x: clamp(20px, 4.6vw, 24px); }
  .nav {
    /* On mobile: brand on left, hamburger on right. No middle column. */
    grid-template-columns: 1fr auto;
    padding: calc(env(safe-area-inset-top, 0px) + 10px) var(--pad-x) 10px;
    padding-left: calc(var(--pad-x) + env(safe-area-inset-left, 0px));
    padding-right: calc(var(--pad-x) + env(safe-area-inset-right, 0px));
  }
  .nav .brand { font-size: 18px; }
  .nav-toggle { display: block; justify-self: end; }
  /* In-flow grid row — avoids iOS Safari sticky+backdrop-filter containing-block bug */
  .nav-links {
    grid-column: 1 / -1;
    position: static;
    justify-self: stretch;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 0;
    padding: 0;
    font-size: 16px;
    /* Hide via max-height so items are always in-flow but collapsed */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 240ms ease, opacity 200ms ease;
  }
  .nav-links.open {
    max-height: 520px;
    opacity: 1;
    border-bottom: 1px solid var(--rule);
    padding: 6px 0;
  }
  .nav-links a {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
    padding: 11px var(--pad-x);
    border-top: 1px solid var(--rule);
    color: var(--navy);
  }
  .nav-links a:first-child { border-top: 0; }
  .nav-links .nav-cta {
    display: block;             /* block so margin defines bounds */
    width: auto;                /* override width:100% from .nav-links a */
    text-align: center;
    margin: 6px var(--pad-x);
    padding: 11px 18px;
    border-top: 0 !important;
    font-size: 16px;
  }
  .hero {
    padding: clamp(62px, 10vh, 92px) 0 clamp(56px, 9vh, 84px);
  }
  .display {
    font-size: clamp(42px, 9.3vw, 74px);
    line-height: 0.98;
  }
  .hero-sub {
    font-size: clamp(18px, 2.6vw, 22px);
    line-height: 1.46;
    margin-top: clamp(20px, 3vh, 28px);
  }
  .hero-cta-row {
    margin-top: clamp(18px, 3vh, 26px);
    gap: 10px;
  }
  .btn {
    padding: 12px 20px;
    font-size: 14px;
  }
  .section {
    padding: clamp(48px, 8vh, 80px) 0;
  }
  .section-title {
    font-size: clamp(34px, 6.3vw, 54px);
    line-height: 1.03;
  }
  .body {
    font-size: clamp(15px, 2.1vw, 18px);
    line-height: 1.55;
  }
  .section-head {
    gap: clamp(22px, 4vw, 40px);
    margin-bottom: clamp(28px, 5vh, 48px);
  }
  .pillar-label { margin-bottom: 12px; }
  .sec-consulting-grid,
  .workshop-list,
  .cohort-photos,
  .tiers {
    margin-top: clamp(28px, 4.5vh, 48px);
  }
  .workshop-row {
    gap: 8px;
    padding: 16px 0;
  }
  .workshops-note {
    margin-top: 24px;
    font-size: 18px;
    line-height: 1.42;
  }
  .tier {
    padding: clamp(20px, 3.2vw, 26px);
    gap: 14px;
  }
  .tier h3 { font-size: clamp(30px, 5.6vw, 34px); }
  .tier-meta { padding-top: 14px; }
  .founder-grid { gap: clamp(20px, 4vw, 36px); }
  .founder-text { padding-top: 0; }
  .founder-text p {
    font-size: clamp(18px, 3vw, 22px);
    line-height: 1.48;
    margin: 0 0 18px;
  }
  .sec-cta { padding: clamp(74px, 11.5vh, 116px) 0; }
  .sec-cta h2 {
    font-size: clamp(42px, 8.8vw, 70px);
    line-height: 1.02;
  }
  .sec-cta .hero-cta-row {
    margin-top: clamp(24px, 4vh, 36px);
  }
  .footer {
    padding: 36px var(--pad-x) 30px;
  }
  .footer .wrap {
    gap: 20px;
  }
}

@media (max-width: 700px) {
  .hero .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
    max-width: min(100%, 360px);
    margin: clamp(18px, 3vh, 26px) auto 0;   /* center horizontally on mobile */
  }
  .hero .hero-cta-row .btn {
    justify-content: center;
    width: 100%;
  }
}

/* Mobile tightening for hero & sections */
@media (max-width: 600px) {
  :root { --pad-x: 18px; }
  .nav { padding: 10px var(--pad-x); }
  .nav .brand { font-size: 17px; }
  .nav-links { font-size: 15px; padding: 5px 0; }
  .nav-links a { padding: 12px var(--pad-x); }
  .nav-links .nav-cta {
    margin: 6px var(--pad-x);
    padding: 11px 16px;
    font-size: 15px;
  }
  .display { font-size: clamp(36px, 10.6vw, 56px); line-height: 1; }
  .section-title { font-size: clamp(30px, 8.2vw, 42px); line-height: 1.04; }
  .hero { padding: clamp(46px, 7.5vh, 66px) 0 clamp(42px, 7vh, 60px); }
  .section { padding: clamp(50px, 7.4vh, 76px) 0; }
  .hero-sub {
    font-size: 17px;
    line-height: 1.44;
    margin-top: 16px;
  }
  .hero-cta-row {
    margin-top: 16px;
    gap: 8px;
  }
  .btn { padding: 11px 18px; font-size: 14px; }
  .section-head { margin-bottom: 24px; gap: 18px; }
  .pillar-label { margin-bottom: 10px; font-size: 15px; }
  .sec-consulting-grid,
  .workshop-list,
  .cohort-photos,
  .tiers { margin-top: 24px; }
  .sec-consulting-grid > div { padding: 20px 18px; }
  .workshop-row { gap: 8px; padding: 14px 0; }
  .workshop-row .title { font-size: 22px; }
  .workshop-row .meta { font-size: 14px; }
  .workshop-row .status { margin-top: 4px; }
  .workshops-note {
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.4;
  }
  .cohort-photos { gap: 10px; }
  .cohort-photos__col { gap: 10px; }
  .cohort-photos__main figcaption { padding: 12px 14px; }
  .tier {
    padding: 18px;
    gap: 12px;
  }
  .tier h3 { font-size: 30px; }
  .tier p { font-size: 15px; line-height: 1.5; }
  .tier-meta {
    padding-top: 12px;
    font-size: 11px;
  }
  .founder-grid { gap: 18px; }
  .founder-avatar { width: 240px; }
  .founder-text p {
    font-size: clamp(18px, 4.7vw, 20px);
    line-height: 1.44;
    margin: 0 0 16px;
  }
  .founder-text .founder-name { font-size: 12px; }
  .sec-cta { padding: clamp(64px, 10vh, 88px) 0; }
  .sec-cta h2 { font-size: clamp(38px, 10.8vw, 56px); line-height: 1.03; }
  .sec-cta .hero-cta-row { margin-top: 24px; }
  .footer {
    padding: 30px var(--pad-x) 24px;
    font-size: 12px;
  }
  .footer .wrap {
    gap: 14px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* HERO */
.hero {
  padding: clamp(56px, 9vh, 88px) 0 clamp(48px, 8vh, 80px);
  position: relative;
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 1; }

/* ASCII rabbit hero — selectable text, dynamic-sized to fit container */
.rabbit-hero-wrap { display: flex; justify-content: center; width: 100%; overflow: hidden; margin-bottom: clamp(24px, 4vh, 40px); }
.rabbit-hero {
  font-family: var(--code);
  color: var(--navy);
  font-size: 8px;      /* baseline — JS scales to fit container */
  line-height: 1.1;
  margin: 0;
  white-space: pre;
  user-select: text;
  font-variant-ligatures: none;
}
.hero-punctuation {
  margin-top: clamp(18px, 2vh, 28px);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(17px, 1.8vw, 22px);
  color: var(--navy);
  letter-spacing: -0.01em;
}
.hero-punctuation em { font-style: italic; color: var(--navy); }
.hero .intro-row {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: clamp(28px, 4vh, 44px);
}
.hero .intro-row .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border: 1px solid var(--rule);
  border-radius: 999px; font-family: var(--body);
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  background: color-mix(in oklab, var(--cream) 60%, transparent);
}
.hero .intro-row .pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cochineal); display: inline-block;
}

.hero-sub {
  max-width: 620px;
  font-family: var(--display);
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.45;
  color: var(--muted);
  margin-top: clamp(28px, 4vh, 44px);
}
.hero-sub em { font-style: italic; color: var(--ink); }

.hero-cta-row {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: clamp(28px, 4vh, 44px);
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-size: 15px; font-family: var(--body); font-weight: 500;
  transition: all 180ms; cursor: pointer; border: 1px solid transparent;
  text-decoration: none;
}
.btn-primary { background: var(--cochineal); color: var(--cream); }
.btn-primary:hover { background: var(--navy-deep); }
.btn-secondary { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-secondary:hover { border-color: var(--klein); color: var(--klein); }
/* Proof strip */
.proof {
  display: flex; align-items: center; gap: clamp(18px, 3vw, 40px);
  flex-wrap: wrap;
  margin-top: clamp(48px, 8vh, 88px);
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  font-family: var(--body); font-size: 13px;
  color: var(--muted); letter-spacing: 0.04em;
}
.proof em { font-family: var(--display); font-style: italic; font-size: 18px; color: var(--ink); letter-spacing: -0.01em; }

/* SECTION base */
.section {
  padding: clamp(56px, 9vh, 96px) 0;
  position: relative;
  border-top: 1px solid var(--rule);
}
.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 88px);
  align-items: end; margin-bottom: clamp(32px, 5vh, 56px);
}
.section-head .right { justify-self: end; max-width: 460px; text-align: right; }
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head .right { text-align: left; justify-self: start; }
}
/* Trust strip — social proof band between hero and story */
.trust-strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
  background: var(--cream-2);
}
.trust-strip-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.trust-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.trust-stats span { white-space: nowrap; }
.trust-stats span + span::before {
  content: '·';
  margin: 0 14px;
  opacity: 0.3;
  font-weight: 400;
}
.trust-industries {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 6px;
  font-family: var(--body);
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
  letter-spacing: 0.01em;
}
.trust-industries span { white-space: nowrap; }
@media (max-width: 700px) {
  .trust-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .trust-stats span + span::before { content: ''; margin: 0; }
  .trust-industries { font-size: 12px; gap: 2px 4px; }
}

/* Story · bricolage section — sits between hero and consulting */
.sec-story .story-lede {
  max-width: 720px;
  margin-top: clamp(24px, 4vh, 36px);
  font-size: clamp(17px, 1.4vw, 19px);
}
.sec-story .story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(36px, 5vh, 56px);
  padding-top: clamp(28px, 4vh, 40px);
  border-top: 1px solid var(--rule);
}
.sec-story .story-grid h3 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(22px, 2vw, 28px);
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.sec-story .story-grid p {
  font-family: var(--body); font-size: 16px; line-height: 1.55;
  color: var(--navy); opacity: 0.85; margin: 0;
}
@media (max-width: 700px) {
  .sec-story .story-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Consulting — cream section */
.sec-consulting { background: var(--cream); color: var(--ink); }
.sec-consulting .lede, .sec-consulting .body { color: var(--muted); }
.sec-consulting-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-top: clamp(40px, 6vh, 72px);
}
.sec-consulting-grid > div {
  padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 32px);
  background: var(--cream);
}
.sec-consulting-grid h3 {
  font-family: var(--display); font-size: 32px; font-style: italic;
  color: var(--cochineal); margin-bottom: 14px; letter-spacing: -0.01em;
}
.sec-consulting-grid p { color: var(--muted); line-height: 1.55; margin: 0; font-size: 16px; }
@media (max-width: 860px) { .sec-consulting-grid { grid-template-columns: 1fr; } }

/* Workshops — earth section */
.sec-workshops { position: relative; }
.sec-workshops .lede, .sec-workshops .body { color: var(--muted); }
.sec-workshops .lede em, .sec-workshops .body em, .sec-workshops .body strong { color: var(--cochineal); font-style: normal; font-weight: 700; font-family: var(--display); }

.workshop-list {
  margin-top: clamp(40px, 6vh, 72px);
  border-top: 1px solid var(--rule);
}
.workshop-row {
  display: grid; grid-template-columns: 120px 1fr 1fr 160px;
  gap: 28px; align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
}
.workshop-row--link {
  text-decoration: none; color: inherit;
  transition: background 200ms, padding 200ms;
}
.workshop-row--link:hover {
  background: rgba(212,165,116,0.04);
  padding-left: 12px;
}
.workshop-row--link:hover .title { color: var(--cochineal); }
.workshop-row .date {
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--body);
}
.workshop-row .date-main {
  font-size: 22px; color: var(--navy); font-family: var(--display);
  font-weight: 700; letter-spacing: -0.01em; line-height: 1;
}
.workshop-row .date-sub {
  font-family: var(--body); font-size: 14px; color: var(--navy);
  font-weight: 500; letter-spacing: 0; text-transform: none;
  opacity: 0.75;
}
.workshop-row .title {
  font-family: var(--display); font-size: 24px; font-style: italic; color: var(--klein);
  transition: color 200ms;
}
.workshop-row .meta { font-size: 15px; color: var(--navy); opacity: 0.85; }
.workshop-row .meta .meta-fineprint { font-size: 13px; opacity: 0.7; }
.workshop-row .status {
  justify-self: end; font-family: var(--body); font-size: 13px;
  font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 3px; white-space: nowrap;
  text-decoration: none;
  transition: all 200ms;
}
a.status-open { color: var(--klein); border: 1px solid var(--klein); }
a.status-open:hover { background: var(--klein); color: var(--ink); }
.status-soldout { border: 1px solid var(--cochineal); color: var(--cochineal); transform: rotate(-1deg); }
.status-open { border: 1px solid var(--klein); color: var(--klein); }
.status-tbd { border: 1px dashed var(--rule); color: var(--muted); }

@media (max-width: 860px) {
  .workshop-row { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .workshop-row .status { justify-self: start; margin-top: 6px; }
}

.workshops-note {
  margin-top: 32px;
  font-family: var(--body); font-size: 16px;
  color: var(--navy); opacity: 0.85;
  max-width: 620px; line-height: 1.55;
}
.workshops-note a { color: var(--klein); }

/* "40+ builders so far" stat line — sits between section head and first cohort block */
.workshops-stat {
  margin-top: clamp(32px, 5vh, 56px);
  padding: clamp(20px, 2.4vw, 28px) clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--cochineal);
  border-radius: 6px;
  background: rgba(212,165,116,0.04);
  display: flex; align-items: baseline; gap: clamp(16px, 2vw, 24px);
  flex-wrap: wrap;
  max-width: 880px;
}
.workshops-stat .stat-num {
  font-family: var(--display); font-style: italic;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 0.9;
  color: var(--klein);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.workshops-stat .stat-text {
  font-family: var(--display); font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.4; color: var(--navy);
  max-width: 600px;
}
.workshops-stat .stat-text em {
  font-style: normal; font-weight: 700; color: var(--cochineal);
}
@media (max-width: 540px) {
  .workshops-stat { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Luma embed */
.luma-embed {
  margin-top: clamp(40px, 6vh, 72px);
}
.luma-embed iframe { display: block; }
.luma-embed__footer {
  margin-top: 14px;
  font-family: var(--body); font-size: 14px;
  color: var(--navy); opacity: 0.8;
}
.luma-embed__footer a {
  color: var(--klein); text-decoration: none;
  border-bottom: 1px solid rgba(212,165,116,0.3);
  transition: border-color 200ms;
}
.luma-embed__footer a:hover { border-color: var(--klein); }

.workshop-list__label {
  font-family: var(--body); font-size: 14px;
  font-weight: 500; letter-spacing: 0; text-transform: none;
  color: var(--navy); opacity: 0.8; padding: 14px 0 6px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 0;
}

/* Cohort photo strip — hero on top, 50/50 below */
.cohort-photos {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: clamp(40px, 6vh, 64px);
}
/* Extra breathing room between successive cohort blocks so each batch reads as its own moment */
.cohort-photos + .cohort-photos {
  margin-top: clamp(72px, 11vh, 128px);
  padding-top: clamp(48px, 7vh, 80px);
  border-top: 1px solid var(--rule);
}
.cohort-photos figure { margin: 0; overflow: hidden; border-radius: 8px; position: relative; background: var(--cream-2); }
.cohort-photos figure picture {
  display: contents;
}
.cohort-photos img {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
  transition: transform 800ms ease, filter 400ms ease;
}
.cohort-photos figure:hover img { transform: scale(1.03); filter: saturate(1.05) contrast(1.05); }
.cohort-photos__main {
  aspect-ratio: 3/2;
  width: 100%;
}
.cohort-photos__main img {
  object-fit: cover;
  object-position: center 55%;
}
.cohort-photos__col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cohort-photos__col figure { aspect-ratio: 4/3; }
/* Right thumbnail: source is top-heavy (ceiling/cabinets); bias crop toward students */
.cohort-photos__thumb--subject-focus img {
  object-position: 50% 76%;
}
.cohort-photos__main figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 22px;
  background: linear-gradient(to top, rgba(11,10,8,0.82), rgba(11,10,8,0) 80%);
  color: var(--cream);
  font-family: var(--body); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .cohort-photos { gap: 12px; }
  .cohort-photos__main { aspect-ratio: 4/3; }
  .cohort-photos__col { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cohort-photos__col figure { aspect-ratio: 1/1; }
  .cohort-photos__thumb--subject-focus img { object-position: 50% 71%; }
  .cohort-photos__main figcaption { padding: 14px 16px; font-size: 11px; }
}

/* Community — ink section */
.sec-community { position: relative; }
.sec-community .lede, .sec-community .body { color: var(--muted); }

.tiers {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2vw, 28px);
  margin-top: clamp(40px, 6vh, 64px);
}
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }

.tier {
  padding: clamp(24px, 2.4vw, 32px);
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: rgba(255,255,255,0.015);
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
  transition: border-color 240ms, transform 240ms;
}
.tier:hover { border-color: var(--klein); transform: translateY(-2px); }
.tier-tag {
  font-family: var(--body); font-size: 14px;
  font-weight: 500; letter-spacing: 0; text-transform: none;
  color: var(--navy); opacity: 0.7;
}
.tier h3 {
  font-family: var(--display); font-weight: 700; font-size: 32px;
  color: var(--navy); letter-spacing: -0.01em;
}
.tier p { font-size: 16px; line-height: 1.55; color: var(--navy); margin: 0; }
.tier-meta {
  margin-top: auto; padding-top: 18px;
  border-top: 1px dashed var(--rule);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--body); font-size: 13px; letter-spacing: 0;
  color: var(--navy); opacity: 0.75; text-transform: none;
}
.tier .join {
  font-family: var(--body); font-size: 13px; color: var(--klein);
  text-transform: none; letter-spacing: normal; font-weight: 500;
}
.tier--warroom { border-color: var(--cochineal); background: rgba(197,90,43,0.05); }
.tier--warroom h3 { color: var(--cochineal); }
.tier--warroom .join { color: var(--cochineal); }

/* Founder */
.sec-founder { padding-bottom: clamp(100px, 16vh, 180px); }
.founder-grid {
  display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 860px) { .founder-grid { grid-template-columns: 1fr; } }
.founder-avatar {
  width: 280px; max-width: 100%; aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, var(--klein), #6a4226 75%, #2a1810 100%);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  background-image: url('media/hosan.jpg');
  background-size: cover;
  background-position: center 30%;
}
.founder-avatar::after {
  content: ''; display: none;
}
.founder-text { padding-top: 8px; }
.founder-text p {
  font-family: var(--display); font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.55; color: var(--muted); margin: 0 0 22px;
  max-width: 720px;
}
.founder-text p em { color: var(--cochineal); font-style: normal; font-weight: 600; }
.founder-text .founder-name {
  font-family: var(--body); font-size: 13px; letter-spacing: 0.12em;
  color: var(--klein); text-transform: uppercase; margin-bottom: 10px;
}

/* CTA / Footer */
.sec-cta {
  padding: clamp(64px, 10vh, 100px) 0;
  text-align: center; position: relative;
  border-top: 1px solid var(--rule);
}
.sec-cta .wrap { position: relative; }
.sec-cta h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.0; letter-spacing: -0.025em;
  max-width: 900px; margin: 0 auto;
  font-variation-settings: 'opsz' 96;
}
.sec-cta h2 em { font-style: normal; color: var(--cochineal); }
.sec-cta .hero-cta-row { justify-content: center; }

.footer {
  background: var(--cream);
  color: var(--muted);
  padding: 48px var(--pad-x) 40px;
  border-top: 1px solid var(--rule);
  font-family: var(--body); font-size: 14px;
}
.footer .wrap {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 0;
}
.footer .brand-lockup {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--navy); text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: 16px;
}
.footer .footer-meta {
  display: flex; flex-direction: column; gap: 4px;
  align-items: flex-end; text-align: right;
  color: var(--muted);
}
.footer .footer-meta a { color: var(--klein); }
@media (max-width: 600px) {
  .footer .wrap { flex-direction: column; align-items: flex-start; }
  .footer .footer-meta { align-items: flex-start; text-align: left; }
}

/* Tweaks panel */
.tweaks-panel {
  position: fixed; bottom: 24px; left: 24px;
  width: 320px;
  background: var(--ink); color: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 20px;
  font-family: var(--body); font-size: 12px;
  z-index: 100;
  display: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.tweaks-panel.visible { display: block; }
.tweaks-panel h4 {
  font-family: var(--body); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--klein);
  margin: 0 0 14px; font-weight: 600;
}
.tweaks-panel label { display: block; margin-bottom: 14px; }
.tweaks-panel label > span {
  display: block; margin-bottom: 6px; color: var(--muted);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
}
.tweaks-panel select, .tweaks-panel input[type="text"] {
  width: 100%; padding: 8px 10px;
  background: var(--navy-deep); color: var(--cream);
  border: 1px solid var(--rule); border-radius: 6px;
  font-family: var(--body); font-size: 12px;
}

/* Motion: fade-in on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 800ms, transform 800ms; }
.reveal.in { opacity: 1; transform: none; }

/* Testimonials — bento grid (3 cols desktop, 2 tablet, 1 mobile) */
.testimonial { background: var(--cream); }
.testimonial .wrap.testimonial-head { margin-bottom: clamp(24px, 4vh, 40px); }
.testimonial .wrap.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--maxw);
}
.testimonial .quote {
  position: relative;
  margin: 0;
  padding: 28px 28px 24px;
  background: var(--cream-2);
  border: 1px solid var(--rule);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.testimonial .quote--featured { grid-column: span 2; }
.testimonial .quote--featured blockquote { font-size: clamp(20px, 1.9vw, 26px); }
.testimonial .quote-mark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  color: var(--cochineal);
  opacity: 0.7;
  margin: 0;
}
.testimonial blockquote {
  margin: 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.55;
  color: var(--navy);
  letter-spacing: 0;
  text-wrap: pretty;
}
@media (max-width: 900px) {
  .testimonial .wrap.testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial .quote--featured { grid-column: span 2; }
}
@media (max-width: 600px) {
  .testimonial .wrap.testimonial-grid { grid-template-columns: 1fr; }
  .testimonial .quote--featured { grid-column: auto; }
  .testimonial .quote { padding: 22px; }
}
.testimonial figcaption {
  margin-top: auto;        /* push to bottom of card so names align across row */
  padding-top: 24px;       /* preserves visual spacing under the quote */
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--body);
  font-size: 15px;
  letter-spacing: 0;
}
.testimonial figcaption .who {
  color: var(--navy);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.testimonial figcaption .what {
  color: var(--navy);
  opacity: 0.7;
}

@media (max-width: 640px) {
  .testimonial .quote { padding-left: 40px; }
  .testimonial .quote-mark { font-size: 80px; top: -10px; }
}
