@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&display=swap");
:root {
  --sand: #e3d8c2;
  --sand-t1: #ede6d7;
  --sand-t2: #f7f3ed;
  --sand-s1: #c3b9a8;
  --sand-s2: #9d9687;
  --gold: #847347;
  --gold-t1: #a19164;
  --gold-t2: #c4b58c;
  --gold-s1: #6a5a32;
  --gold-s2: #4c4123;
  --green: #0f2805;
  --green-s1: #002000;
  --green-s2: #001700;
  --green-t1: #4e582d;
  --green-t2: #828750;
  --ink: #2b2417;
  --section-pad-y: clamp(64px, 9vw, 120px);
  --hero-pad-top: clamp(176px, 15vh, 204px);
  --section-pad-x: clamp(22px, 6vw, 90px);
  --nav-pad-x: clamp(22px, 5vw, 64px);
  --head-measure: 750px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Spectral", Georgia, serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: var(--green);
  background: var(--sand-t2);
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}

.eyebrow {
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
}
h1,
h2,
h3 {
  font-weight: 300;
  letter-spacing: -0.012em;
}
em {
  font-style: italic;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 0;
  transition: 0.25s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--green);
  color: var(--sand-t1);
}
.btn-primary:hover {
  background: #1c3d12;
}
.btn-ghost {
  border-color: rgba(132, 115, 71, 0.45);
  color: var(--gold-s1);
}
.btn-ghost:hover {
  background: rgba(132, 115, 71, 0.1);
}
.btn-light {
  background: var(--sand-t2);
  color: var(--green);
}
.btn-light:hover {
  background: #fff;
}

/* nav */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px max(var(--section-pad-x), calc((100% - 1180px) / 2));
  background: rgba(247, 243, 237, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(132, 115, 71, 0.14);
}
.brand {
  display: inline-flex;
  align-items: center;
  height: 28px;
}
.brand img {
  display: block;
  width: 180px;
  height: auto;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 36px);
}
.navlinks {
  display: flex;
  gap: clamp(22px, 2.4vw, 32px);
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.navlinks a {
  position: relative;
  color: var(--gold-s1);
  transition: color 0.2s ease;
}
.navlinks a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--gold-t1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.navlinks a:hover {
  color: var(--green);
}
.navlinks a:hover::after,
.navlinks a:focus-visible::after,
.navlinks a[aria-current="page"]::after {
  transform: scaleX(1);
}
.navlinks a[aria-current="page"] {
  color: var(--green);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-s1);
  transition: color 0.2s ease;
}
.nav-cta:hover {
  color: var(--green);
}
.nav-cta .arr {
  transition: transform 0.2s ease;
}
.nav-cta:hover .arr {
  transform: translateX(3px);
}
/* hamburger is desktop-hidden; revealed in the mobile block below */
.nav-toggle,
.nav-burger {
  display: none;
}
@media (max-width: 760px) {
  nav {
    flex-wrap: nowrap;
    gap: 12px;
  }
  /* keep logo from crowding the burger on the smallest phones */
  .brand img {
    width: clamp(140px, 42vw, 180px);
  }
  /* focusable (but visually hidden) checkbox drives the menu with no JS */
  .nav-toggle {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
  }
  .nav-burger {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 0;
    background: var(--green);
    transition:
      transform 0.3s ease,
      opacity 0.2s ease;
  }
  .nav-toggle:focus-visible ~ .nav-burger {
    outline: 2px solid var(--gold-s1);
    outline-offset: 3px;
    border-radius: 0;
  }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  /* the links + CTA become a dropdown panel under the bar */
  .nav-right {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px var(--section-pad-x) 16px;
    /* opaque so hero text never bleeds through (covers no-backdrop-filter
       browsers too) */
    background: #f7f3ed;
    border-bottom: 1px solid rgba(132, 115, 71, 0.16);
    box-shadow: 0 22px 44px -22px rgba(7, 20, 3, 0.5);
  }
  .nav-toggle:checked ~ .nav-right {
    display: flex;
  }
  .navlinks {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: 13px;
  }
  .navlinks a {
    padding: 14px 2px;
    border-top: 1px solid rgba(132, 115, 71, 0.12);
  }
  /* the bar already separates itself from the panel — drop the redundant
     rule above the first menu item */
  .navlinks a:first-child {
    border-top: 0;
  }
  .navlinks a::after {
    display: none;
  }
  .nav-cta {
    margin-top: 12px;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 0;
    font-size: 12px;
    color: var(--sand-t1);
    background: var(--green);
  }
  .nav-cta:hover {
    color: #fff;
  }
}

section {
  padding: var(--section-pad-y) var(--section-pad-x);
  scroll-margin-top: 78px;
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
}
.narrow {
  max-width: 1180px;
}
/* defense-in-depth: never let a long email/URL/word force horizontal scroll */
p,
li,
a,
dd,
h1,
h2,
h3 {
  overflow-wrap: break-word;
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--hero-pad-top) var(--section-pad-x) var(--section-pad-y);
  background:
    radial-gradient(62% 74% at 6% 4%, #fffdf7 0%, rgba(255, 253, 247, 0) 52%),
    radial-gradient(80% 92% at -4% 112%, rgba(132, 138, 82, 0.62) 0%, rgba(132, 138, 82, 0) 56%),
    linear-gradient(232deg, #f6f1e7 0%, #ece2cf 56%, #dccfb2 108%);
}
.hero .wrap {
  padding: 0;
}
.hero .eyebrow {
  color: var(--gold-s1);
  display: block;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(36px, 4.7vw, 60px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.018em;
  color: var(--green);
  max-width: 800px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero .lede {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.55vw, 18.5px);
  line-height: 1.6;
  color: var(--gold-s2);
  max-width: 750px;
  margin-top: 26px;
}
.hero .cta {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero .btn {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 12.5px;
  padding: 15px 28px;
}
.hero-top {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 2.2vw, 32px);
}
.hero-copy {
  flex: 1 1 auto;
  min-width: 0;
}
.hero-illo {
  flex: 0 0 430px;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  margin-top: -60px;
}
.hero-illo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 540px;
}
@media (max-width: 860px) {
  .hero-top {
    display: block;
  }
  .hero-illo {
    display: none;
  }
}
@media (max-width: 760px) {
  /* the desktop hero offset (176px+) clears the fixed nav with room to spare;
     on phones that reads as too much dead space above the first section —
     one var drives every page's first section (.hero / .about-hero / etc.) */
  :root {
    --hero-pad-top: clamp(120px, 16vh, 144px);
  }
}
.hero-quote {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 4vw, 52px) var(--section-pad-x);
  color: var(--sand-t1);
  background:
    radial-gradient(80% 90% at 84% 6%, rgba(255, 255, 255, 0.12), transparent 46%),
    radial-gradient(90% 100% at 10% 100%, rgba(78, 88, 45, 0.55), transparent 56%),
    linear-gradient(150deg, var(--green-s2), var(--green) 56%, var(--green-t1) 132%);
}
.hero-quote-inner {
  display: flex;
  flex-direction: column;
}
.hero-quote::before {
  content: "\201C";
  position: absolute;
  left: clamp(16px, 3vw, 58px);
  top: clamp(22px, 3.5vw, 46px);
  z-index: 1;
  font-family: "Spectral", Georgia, serif;
  font-size: clamp(120px, 12vw, 190px);
  line-height: 1;
  color: rgba(196, 181, 140, 0.14);
  pointer-events: none;
}
.hero-quote-body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  gap: clamp(28px, 4vw, 56px);
}
.hero-quote-eyebrow {
  display: block;
  position: relative;
  z-index: 2;
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-t2);
  margin-top: clamp(15px, 1.8vw, 21px);
}
.hero-quote blockquote {
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.hero-quote blockquote em {
  font-style: italic;
  color: var(--gold-t2);
}
.hero-quote figcaption {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  align-self: center;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: clamp(22px, 3vw, 44px);
}
.hero-quote figcaption::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: clamp(48px, 4.8vw, 58px);
  background: rgba(196, 181, 140, 0.28);
}
.hero-cite-avatar {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: 52% 14%;
  border: 1px solid rgba(196, 181, 140, 0.4);
}
.hero-cite-text {
  display: flex;
  flex-direction: column;
}
.hero-cite-name {
  font-family: Inter, system-ui, sans-serif;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.hero-cite-role {
  font-family: Inter, system-ui, sans-serif;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(247, 243, 237, 0.6);
}
@media (max-width: 820px) {
  .hero-quote-body {
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(22px, 4vw, 30px);
  }
  .hero-quote figcaption {
    align-self: stretch;
    border-top: 1px solid rgba(196, 181, 140, 0.22);
    padding-left: 0;
    padding-top: clamp(20px, 4vw, 26px);
  }
  .hero-quote figcaption::before {
    display: none;
  }
}
/* reveal */
.rv {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.rv.in {
  opacity: 1;
  transform: none;
}
/* No-JS / pre-JS safety: content is visible by default. The reveal only hides
   content once JS has removed .no-js from <html> (see the inline head script).
   This guarantees no blank page for no-JS visitors, crawlers, or JS failures. */
html.no-js .rv {
  opacity: 1;
  transform: none;
}

/* Visible keyboard focus (WCAG 2.4.7) — keyboard nav only, not mouse clicks */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 0;
}

/* generic section heads */
.shead .eyebrow {
  color: var(--gold-s1);
  margin-bottom: 16px;
  display: block;
}
.shead h1,
.shead h2 {
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.1;
  max-width: var(--head-measure);
}
.shead h1 em,
.shead h2 em {
  color: var(--gold);
}

/* Skip-to-content link — off-screen until keyboard-focused */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--green);
  color: var(--sand-t2);
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  border-radius: 0;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}
main:focus {
  outline: none;
}
.lead-p {
  font-weight: 300;
  font-size: clamp(16px, 1.9vw, 21px);
  line-height: 1.6;
  color: var(--ink);
  max-width: 54ch;
  margin-top: 22px;
}
.lead-p b {
  font-weight: 500;
  color: var(--green);
}

/* the why — Ragy film */
.why-section {
  background:
    radial-gradient(58% 70% at 6% 0%, #fffdf7 0%, rgba(255, 253, 247, 0) 54%),
    radial-gradient(80% 92% at -6% 116%, rgba(132, 138, 82, 0.4) 0%, rgba(132, 138, 82, 0) 58%),
    linear-gradient(216deg, #f4eee1 0%, #efe7d6 56%, #e6dbc4 112%);
}
/* Luminous overlay for light sections — white halo + olive glow + gentle
   deepen, layered over each section's own base color (brand: halo = white only). */
section.lum {
  background-image:
    radial-gradient(58% 68% at 6% 0%, rgba(255, 253, 247, 0.9), rgba(255, 253, 247, 0) 56%),
    radial-gradient(84% 96% at -6% 118%, rgba(132, 138, 82, 0.34), rgba(132, 138, 82, 0) 60%),
    radial-gradient(76% 86% at 114% 112%, rgba(157, 150, 135, 0.16), rgba(157, 150, 135, 0) 62%);
}
.why-head {
  max-width: 900px;
}
.why-head .eyebrow {
  display: block;
  color: var(--gold-s1);
}
.why-head h2 {
  margin-top: 16px;
  font-family: Spectral, Georgia, serif;
  font-weight: 300;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--green);
  max-width: var(--head-measure);
}
.why-head h2 em {
  font-style: italic;
  color: var(--gold-s1);
}
.why-head .lead-p {
  margin-top: clamp(18px, 2vw, 24px);
  max-width: 85ch;
}
.film-frame {
  position: relative;
  margin-top: clamp(36px, 4.5vw, 60px);
  aspect-ratio: 21 / 9;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  cursor: pointer;
  background:
    radial-gradient(58% 78% at 20% 16%, #fffefb 0%, rgba(255, 254, 251, 0) 52%),
    linear-gradient(130deg, #ddd6bf 0%, #aaa97a 38%, #5c6630 82%, #3f4a22 116%);
}
.film-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.film-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(42% 56% at 50% 48%, rgba(15, 40, 5, 0.4), rgba(15, 40, 5, 0) 76%),
    linear-gradient(180deg, rgba(15, 40, 5, 0.1), rgba(15, 40, 5, 0.24));
}
.film-play {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.65);
  display: grid;
  place-items: center;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}
.film-frame:hover .film-play {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.92);
}
.film-play::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-left: 15px solid rgba(255, 255, 255, 0.9);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}
.film-label {
  position: relative;
  z-index: 2;
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.film-credit {
  margin-top: clamp(16px, 2vw, 22px);
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(13px, 1.05vw, 14.5px);
  line-height: 1.5;
  color: var(--gold-s2);
}
.film-credit em {
  font-family: Spectral, Georgia, serif;
  font-style: italic;
}

/* dark band */
.dark {
  color: var(--sand-t1);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(80% 90% at 84% 6%, rgba(255, 255, 255, 0.12), transparent 46%),
    radial-gradient(90% 100% at 10% 100%, rgba(78, 88, 45, 0.55), transparent 56%),
    linear-gradient(150deg, var(--green-s2), var(--green) 56%, var(--green-t1) 132%);
}
.dark .eyebrow {
  color: var(--gold-t2);
}
.dark h2 {
  color: #fff;
}
.dark h2 em {
  color: var(--gold-t2);
}
.dark .lead-p {
  color: var(--sand-s1);
}
.dark .lead-p b {
  color: #fff;
}

/* the divide */
.divide-section h2 {
  max-width: var(--head-measure);
}
.divide-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 32px);
  align-items: stretch;
  margin-top: clamp(40px, 5vw, 64px);
}
.divide-col {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  background: var(--sand-t1);
  border: 1px solid rgba(132, 115, 71, 0.18);
  box-shadow:
    0 2px 4px rgba(7, 20, 3, 0.16),
    0 18px 40px -16px rgba(7, 20, 3, 0.5);
  transition:
    transform 0.45s cubic-bezier(0.215, 0.61, 0.355, 1),
    box-shadow 0.45s cubic-bezier(0.215, 0.61, 0.355, 1),
    border-color 0.45s ease;
}
.divide-plate {
  position: relative;
  /* plate owns the square ratio so the image can't be stretched by the
     grid's equal-height columns (the img's width/height attrs would
     otherwise win over an aspect-ratio set on the img itself) */
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.divide-illo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.divide-caption {
  position: relative;
  z-index: 1;
  padding: clamp(22px, 1.8vw, 26px) clamp(18px, 1.5vw, 22px);
}
.divide-col h3 {
  margin-top: 0;
  font-family: Spectral, Georgia, serif;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(22px, 1.7vw, 26px);
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--green-t1);
}
.divide-col p {
  margin-top: 10px;
  max-width: 34ch;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(13.5px, 1.1vw, 14.5px);
  line-height: 1.6;
  color: var(--ink);
}
.divide-col--win {
  border-top: 2px solid var(--gold);
}
@media (hover: hover) {
  .divide-col:hover {
    transform: translateY(-4px);
    border-color: rgba(132, 115, 71, 0.35);
    box-shadow:
      0 4px 8px rgba(7, 20, 3, 0.2),
      0 30px 56px -16px rgba(7, 20, 3, 0.55);
  }
  .divide-col:hover .divide-illo {
    transform: scale(1.03);
  }
}
.divide-close {
  margin-top: clamp(34px, 4.2vw, 52px);
  max-width: 640px;
  font-weight: 300;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.5;
  color: var(--sand-t1);
}
.divide-close::before {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin-bottom: clamp(22px, 2.6vw, 30px);
  background: rgba(196, 181, 140, 0.5);
}
.divide-close em {
  font-style: normal;
  color: var(--gold-t2);
}
@media (max-width: 760px) {
  .divide-cols {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  /* Reveal everything immediately — no slide-up for motion-sensitive users */
  .rv {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* curriculum */
.curriculum-section {
  background: #ebe3d0;
  padding-block: var(--section-pad-y);
}
#curriculum .shead h2 {
  max-width: var(--head-measure);
}
.curriculum-list {
  margin-top: clamp(24px, 3vw, 38px);
  border-bottom: 1px solid rgba(132, 115, 71, 0.18);
}
.module-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(18px, 2.5vw, 44px);
  align-items: start;
  padding: clamp(15px, 1.7vw, 21px) 0;
  border-top: 1px solid rgba(132, 115, 71, 0.18);
}
.module-num {
  font-family: Spectral, Georgia, serif;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--gold);
  letter-spacing: 0.02em;
}
.module-label {
  padding-top: 3px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}
.module-desc {
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(13.5px, 1.1vw, 15px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--gold-s2);
}
.curriculum-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  column-gap: clamp(24px, 4vw, 48px);
  row-gap: 16px;
}
.curriculum-head .shead {
  display: contents;
}
.curriculum-head .eyebrow {
  flex: 0 0 100%;
  margin-bottom: 0;
}
.curriculum-head .btn {
  margin-top: 6px;
}
@media (max-width: 720px) {
  .module-row {
    /* size the number column to "01" so the label sits right next to it
       instead of across a 44px gutter */
    grid-template-columns: auto 1fr;
    row-gap: 8px;
    column-gap: 12px;
  }
  .module-desc {
    grid-column: 1 / -1;
  }
}

/* community */
.community-section {
  background: var(--sand-t2);
}
#community .shead h2 {
  max-width: var(--head-measure);
}
.community-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
}
.community-intro {
  flex: 1 1 560px;
  min-width: min(100%, 340px);
}
.community-intro .lead-p {
  margin-top: clamp(16px, 2vw, 22px);
  max-width: 46ch;
}
.community-illo {
  flex: 1 1 460px;
  min-width: min(100%, 300px);
  max-width: 500px;
}
.community-illo img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(20px);
}
.community-cta {
  flex: none;
}
@media (max-width: 760px) {
  .community-top {
    flex-direction: column;
    align-items: stretch;
  }
  /* in the column layout flex-basis becomes height — drop it so the intro
     is content-height (was leaving ~280px of dead space under the button) */
  .community-intro {
    flex: none;
  }
  .community-illo {
    flex: none;
    align-self: center;
    width: 100%;
    max-width: 460px;
    margin-left: 0;
  }
}
.community-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 56px);
  margin-top: clamp(40px, 5vw, 60px);
  border-top: 1px solid rgba(132, 115, 71, 0.22);
  padding-top: clamp(26px, 3vw, 36px);
}
.community-col {
  padding-left: clamp(20px, 2.2vw, 32px);
  border-left: 1px solid rgba(132, 115, 71, 0.18);
}
.community-col:first-child {
  padding-left: 0;
  border-left: 0;
}
.community-col h3 {
  font-family: Spectral, Georgia, serif;
  font-weight: 500;
  font-size: clamp(17px, 1.4vw, 20px);
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--green);
}
.community-col p {
  margin-top: 10px;
  max-width: 34ch;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(13.5px, 1.1vw, 14.5px);
  line-height: 1.6;
  color: var(--ink);
}
/* home #community on dark bg */
#community.dark .community-col h3 {
  color: #fff;
}
#community.dark .community-col p {
  color: var(--sand-s1);
}
/* home #community columns: match the enterprise "For teams" treatment
   (top hairline rule + vertical dividers, no icons) */
#community .community-cols {
  gap: clamp(28px, 3.5vw, 56px);
  border-top: 1px solid rgba(196, 181, 140, 0.2);
  padding-top: clamp(26px, 3vw, 36px);
}
#community .community-col {
  padding-left: clamp(20px, 2.2vw, 32px);
  border-left: 1px solid rgba(196, 181, 140, 0.2);
}
#community .community-col:first-child {
  padding-left: 0;
  border-left: 0;
}
#community .community-col h3 {
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 21px);
}
@media (max-width: 760px) {
  #community .community-col {
    padding-left: 0;
    border-left: 0;
  }
  #community .community-col + .community-col {
    border-top-color: rgba(196, 181, 140, 0.18);
  }
}
.community-cta {
  margin-top: clamp(28px, 3vw, 38px);
}
.btn-gold {
  background: var(--gold);
  color: var(--sand-t1);
}
.btn-gold:hover {
  background: var(--gold-s1);
}
@media (max-width: 760px) {
  .community-cols {
    grid-template-columns: 1fr;
    gap: clamp(22px, 5vw, 28px);
  }
  .community-col {
    padding-left: 0;
    border-left: 0;
  }
  .community-col + .community-col {
    border-top: 1px solid rgba(132, 115, 71, 0.16);
    padding-top: clamp(20px, 5vw, 26px);
  }
}

/* book section */
.book-row {
  display: flex;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  flex-wrap: wrap;
}
.book-body {
  flex: 1 1 420px;
  min-width: min(100%, 300px);
}
.book-body h2 {
  margin-top: 0;
}
.book-body .lead-p {
  margin-top: 22px;
  max-width: 700px;
}
.book-note {
  margin-top: 16px;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(13px, 1.05vw, 14px);
  font-style: italic;
  line-height: 1.5;
  color: var(--gold-s1);
}
.book-spec {
  margin: clamp(28px, 3vw, 36px) 0 0;
  border-top: 1px solid rgba(132, 115, 71, 0.24);
}
.book-spec-row {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: clamp(14px, 2vw, 28px);
  align-items: baseline;
  padding: clamp(13px, 1.5vw, 17px) 0;
  border-bottom: 1px solid rgba(132, 115, 71, 0.16);
}
.book-spec dt {
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-s1);
}
.book-spec dd {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(14px, 1.1vw, 15px);
  line-height: 1.5;
  color: var(--ink);
}
@media (max-width: 480px) {
  .book-spec-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* architecture (CCRAG teaser, dark) */
.architecture-section .shead h2 {
  max-width: var(--head-measure);
}
.arch-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid rgba(196, 181, 140, 0.22);
}
.arch-col {
  padding: clamp(26px, 2.4vw, 36px) clamp(16px, 1.4vw, 24px) clamp(22px, 2vw, 30px);
  border-left: 1px solid rgba(196, 181, 140, 0.16);
}
.arch-col:first-child {
  border-left: 0;
  padding-left: 0;
}
.arch-letter {
  display: block;
  font-family: Spectral, Georgia, serif;
  font-weight: 400;
  font-size: clamp(34px, 3vw, 46px);
  line-height: 1;
  color: var(--gold-t2);
  margin-bottom: clamp(8px, 1vw, 12px);
}
.arch-col h3 {
  font-family: Spectral, Georgia, serif;
  font-weight: 400;
  font-size: clamp(17px, 1.4vw, 20px);
  letter-spacing: -0.01em;
  color: #fff;
}
.arch-cta {
  margin-top: clamp(36px, 4vw, 52px);
}
@media (max-width: 760px) {
  /* keep a 2-up grid (C C / R A / G) so the section stays compact on phones */
  .arch-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: clamp(18px, 5vw, 28px);
    border-top: 0;
  }
  .arch-col {
    border-left: 0;
    border-top: 1px solid rgba(196, 181, 140, 0.16);
    padding-left: 0;
    padding-right: 0;
  }
}
.book-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: clamp(28px, 3vw, 38px);
}
.book-cover {
  flex: 0 0 auto;
  align-self: flex-start;
  margin-top: 29px;
  border-radius: 4px 10px 10px 4px;
  overflow: hidden;
  box-shadow: 0 40px 72px -34px rgba(15, 40, 5, 0.55);
}
/* height-driven so the cover spans from the H2 down to the CREDENTIAL stroke;
   width follows the 2:3 aspect (no crop) */
.book-cover img {
  display: block;
  height: 460px;
  width: auto;
}
@media (max-width: 760px) {
  .book-row {
    gap: 36px;
  }
  .book-cover {
    /* span the full content width to match the copy/CTA above it */
    flex: 0 0 100%;
    align-self: stretch;
  }
  .book-cover img {
    width: 100%;
    height: auto;
  }
}

/* praise */
.praise {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
  /* Carousel-safe luminosity: white halo behind the heading, fading to plain
     var(--sand) before the carousel band so its edge-fades stay seamless. */
  background:
    radial-gradient(62% 60% at 6% -8%, rgba(255, 253, 247, 0.9), rgba(255, 253, 247, 0) 56%),
    var(--sand);
}
.praise-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
}
.praise-head .shead h2 {
  max-width: var(--head-measure);
}
.bestseller {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  border: 1px solid rgba(132, 115, 71, 0.3);
  border-radius: 0;
  background: rgba(247, 243, 237, 0.55);
  color: var(--gold-s2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 5px 11px;
}
.bestseller span {
  color: var(--green-t1);
  font-size: 11px;
}
.praise-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.praise-kicker .eyebrow {
  margin-bottom: 0;
}
.carousel-controls {
  position: absolute;
  top: 50%;
  right: clamp(10px, 2vw, 28px);
  left: clamp(10px, 2vw, 28px);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}
/* on touch the track is swipeable (cards peek) — the overlay arrows just
   sit on top of the card text, so hide them where there's no hover pointer */
@media (hover: none) {
  .carousel-controls {
    display: none;
  }
}
.carousel-btn {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(76, 65, 35, 0.66);
  cursor: pointer;
  font-size: 0;
  line-height: 1;
  pointer-events: auto;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}
.carousel-btn:hover,
.carousel-btn:focus-visible {
  background: rgba(247, 243, 237, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(132, 115, 71, 0.16),
    0 10px 26px rgba(15, 40, 5, 0.08);
  transform: translateY(-1px);
  outline: none;
}
.carousel-btn::before {
  display: block;
  width: 42px;
  height: 42px;
  background: url("/chevron-circle-right.svg") center / contain no-repeat;
  content: "";
  opacity: 0.76;
  transition:
    filter 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}
.carousel-btn:hover::before,
.carousel-btn:focus-visible::before {
  filter: saturate(1.15) contrast(1.05);
  opacity: 1;
  transform: scale(1.08);
}
.carousel-btn[data-praise-prev]::before {
  transform: rotate(180deg);
}
.carousel-btn[data-praise-prev]:hover::before,
.carousel-btn[data-praise-prev]:focus-visible::before {
  transform: rotate(180deg) scale(1.08);
}
.carousel-btn:disabled {
  cursor: default;
  opacity: 0.38;
}
.carousel-btn:disabled:hover {
  background: transparent;
  box-shadow: none;
  transform: none;
}
.carousel-btn:disabled:hover::before {
  filter: none;
  opacity: 0.76;
  transform: none;
}
.carousel-btn[data-praise-prev]:disabled:hover::before {
  transform: rotate(180deg);
}
.praise-carousel {
  position: relative;
  overflow: visible;
  margin-inline: calc(-1 * var(--section-pad-x));
}
.praise-carousel::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 8px;
  width: min(118px, 11vw);
  background: linear-gradient(
    90deg,
    rgba(227, 216, 194, 0) 0%,
    rgba(227, 216, 194, 0.72) 58%,
    var(--sand) 100%
  );
  content: "";
  pointer-events: none;
  z-index: 2;
}
.praise-carousel::before {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 8px;
  width: min(118px, 11vw);
  background: linear-gradient(
    90deg,
    var(--sand) 0%,
    rgba(227, 216, 194, 0.72) 42%,
    rgba(227, 216, 194, 0) 100%
  );
  content: "";
  pointer-events: none;
  z-index: 2;
}
.praise-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px var(--section-pad-x) 8px max(var(--section-pad-x), calc((100% - 1180px) / 2));
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-left: max(var(--section-pad-x), calc((100% - 1180px) / 2));
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}
.praise-track::-webkit-scrollbar {
  display: none;
}
.praise-card {
  display: flex;
  flex: 0 0 clamp(300px, 26vw, 430px);
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(132, 115, 71, 0.18);
  border-radius: 0;
  background: rgba(247, 243, 237, 0.5);
  flex-direction: column;
  scroll-snap-align: start;
}
.quote-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 24px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.72);
  margin: 0;
  padding: 32px 32px 20px;
}
.quote-mark {
  width: 46px;
  height: 31px;
  background: rgba(132, 115, 71, 0.62);
  font-size: 0;
  line-height: 0;
  mask: url("/quote-marks.svg") center / contain no-repeat;
  -webkit-mask: url("/quote-marks.svg") center / contain no-repeat;
}
.quote-body p {
  color: var(--ink);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.32;
}
.quote-person {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: auto;
}
.initial {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(132, 115, 71, 0.25);
  border-radius: 999px;
  background: var(--sand-t2);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}
.initial img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}
.quote-person b {
  color: var(--green);
  font-size: 19px;
  font-weight: 500;
}
.company-line {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 21px 32px;
}
.company-logo {
  display: block;
  width: 54px;
  height: 54px;
  flex: none;
  filter: saturate(0.92);
  object-fit: contain;
}
.company-logo.logo-wide {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.company-line b {
  display: block;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}
.company-line > div {
  display: flex;
  min-height: 54px;
  flex-direction: column;
  justify-content: center;
}
.company-line span {
  display: block;
  color: var(--gold-s2);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.45;
  margin-top: 3px;
  text-transform: uppercase;
}
@media (max-width: 980px) {
  .praise-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .praise-card {
    flex-basis: min(82vw, 390px);
    min-height: 0;
  }
  .carousel-controls {
    right: 8px;
    left: 8px;
  }
}
@media (max-width: 560px) {
  .praise-head {
    margin-bottom: 28px;
  }
  .praise-card {
    flex-basis: 86vw;
  }
  .carousel-controls {
    right: 8px;
    left: 8px;
  }
  .carousel-btn {
    width: 44px;
    height: 44px;
  }
  .quote-body {
    padding: 28px 22px 22px;
  }
  .quote-body p {
    font-size: 18px;
  }
  .company-line {
    padding: 16px 22px 22px;
  }
}

/* enterprise */
.enterprise {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
}
.enterprise .shead h2 {
  max-width: var(--head-measure);
}
.enterprise-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
}
.enterprise-intro {
  /* never narrower than the 2-line heading needs (~620px), so it can't wrap to a 3rd row */
  flex: 1 1 620px;
  min-width: min(100%, 620px);
}
.enterprise-illo {
  flex: 1 1 500px;
  min-width: min(100%, 320px);
  max-width: 540px;
}
.enterprise-illo img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(30px);
}
.enterprise-lead {
  max-width: 62ch;
  margin-top: clamp(18px, 2vw, 24px);
}
.enterprise-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 56px);
  margin-top: clamp(40px, 5vw, 60px);
  border-top: 1px solid rgba(196, 181, 140, 0.2);
  padding-top: clamp(26px, 3vw, 36px);
}
.enterprise-col {
  padding-left: clamp(20px, 2.2vw, 32px);
  border-left: 1px solid rgba(196, 181, 140, 0.2);
}
.enterprise-col:first-child {
  padding-left: 0;
  border-left: 0;
}
.enterprise-col h3 {
  font-family: Spectral, Georgia, serif;
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 21px);
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #fff;
}
.enterprise-col p {
  margin-top: 12px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(13.5px, 1.1vw, 14.5px);
  line-height: 1.6;
  color: var(--sand-s1);
}
.enterprise-cta {
  margin-top: clamp(38px, 4.5vw, 56px);
}
@media (max-width: 760px) {
  .enterprise-top {
    flex-direction: column;
    align-items: stretch;
  }
  /* flex-basis becomes height in the column layout — reset so the intro is
     content-height (was leaving ~370px of dead space above the illustration) */
  .enterprise-intro {
    flex: none;
  }
  .enterprise-illo {
    flex: none;
    align-self: center;
    width: 100%;
    max-width: 420px;
  }
  .enterprise-cols {
    grid-template-columns: 1fr;
    row-gap: 26px;
  }
  .enterprise-col {
    padding-left: 0;
    border-left: 0;
  }
}

/* faq */
.faq-section {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
  background:
    radial-gradient(70% 80% at 78% 12%, rgba(132, 115, 71, 0.1), transparent 54%), var(--sand-t2);
}
.faq-section .wrap {
  max-width: 1180px;
}
.faq-head {
  margin-bottom: clamp(30px, 4vw, 44px);
}
.faq-head h2 {
  max-width: var(--head-measure);
}
.faq-head .lead-p {
  max-width: 68ch;
  color: rgba(43, 36, 23, 0.64);
}
.faq-list {
  border-top: 1px solid rgba(132, 115, 71, 0.2);
}
.faq-item {
  border-bottom: 1px solid rgba(132, 115, 71, 0.2);
}
.faq-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  color: var(--green);
  cursor: pointer;
  font-family: Spectral, Georgia, serif;
  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  display: block;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(132, 115, 71, 0.22);
  border-radius: 999px;
  content: "";
  justify-self: end;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a5a32' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 13px;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}
.faq-item[open] summary {
  padding-bottom: 8px;
}
.faq-item[open] summary::after {
  border-color: transparent;
  background-color: var(--gold-t2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2805' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
  transform: rotate(45deg);
}
.faq-answer {
  max-width: 760px;
  padding: 0 58px 24px 0;
}
.faq-answer p {
  font-family: Inter, system-ui, sans-serif;
  color: rgba(43, 36, 23, 0.68);
  font-size: clamp(13.5px, 1.1vw, 15px);
  font-weight: 400;
  line-height: 1.6;
}
.faq-answer strong {
  color: var(--green);
  font-weight: 600;
}
.faq-answer a {
  color: var(--gold-s1);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease;
}
.faq-answer a:hover {
  color: var(--green);
}
/* inline brand link (Lyearn) — inherits text color so it reads on light + dark */
a.lyearn-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 0.2s ease;
}
a.lyearn-link:hover {
  text-decoration-color: currentColor;
}
@media (max-width: 900px) {
  .faq-item summary {
    grid-template-columns: minmax(0, 38px) 1fr 38px;
    gap: 14px;
    padding: 24px 0;
    font-size: clamp(19px, 5.8vw, 24px);
  }
  .faq-item summary::before {
    color: var(--gold-s1);
    content: attr(data-num);
    font-family: Inter, system-ui, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
  }
  .faq-item summary::after {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
  .faq-answer {
    padding-right: 0;
    padding-bottom: 28px;
  }
  .faq-answer p {
    font-size: 15.5px;
  }
}

/* final cta */
.final {
  text-align: center;
}
.final h2 {
  font-size: clamp(32px, 5.4vw, 64px);
  line-height: 1.08;
  max-width: 18ch;
  margin: 0 auto;
}
.final p {
  margin: clamp(14px, 1.6vw, 20px) auto 0;
  max-width: 52ch;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.55;
  color: var(--sand-s1);
}
.final .cta {
  margin-top: 38px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

footer {
  padding: 40px var(--section-pad-x);
  border-top: 1px solid rgba(196, 181, 140, 0.2);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  font-size: 12.5px;
  color: var(--sand-s2);
  background: var(--green-s2);
}
footer .fl {
  color: #fff;
  font-size: 25px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
footer .ftag {
  color: var(--gold-t2);
  font-size: 13px;
  margin-top: 4px;
}
footer a {
  color: var(--sand-s1);
}
footer a:hover {
  color: #fff;
}
footer .fnav {
  display: flex;
  gap: 22px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
footer .powered {
  grid-column: 1 / -1;
  color: var(--sand-s2);
}
@media (max-width: 720px) {
  footer {
    grid-template-columns: 1fr;
  }
  footer .fnav {
    justify-content: flex-start;
  }
}

/* ===== Site footer (rich) ===== */
.site-footer {
  display: block;
  border-top: 1px solid rgba(0, 0, 0, 0.35);
  padding: clamp(54px, 7vw, 88px) var(--section-pad-x) clamp(26px, 3vw, 38px);
  background: #07160b;
  color: var(--sand-s1);
}

/* Newsletter */
.foot-news {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 72px);
  flex-wrap: wrap;
}
.foot-news-copy {
  flex: 1 1 360px;
  min-width: 0;
}
.foot-news-head {
  font-family: "Spectral", Georgia, serif;
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.16;
  letter-spacing: -0.012em;
  color: var(--sand-t1);
}
.foot-news-head em {
  font-style: italic;
  color: var(--gold-t2);
}
.foot-news-sub {
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--sand-s2);
  margin-top: 14px;
}
.foot-news-embed {
  flex: 0 1 440px;
  min-width: 0;
  /* reserve space so the footer doesn't jump when the embed mounts (CLS) */
  min-height: 84px;
}
/* the Beehiiv loader injects its own wrapper + iframe at runtime — constrain
   whatever it injects so a stray inline min-width can't overflow a 320px slot */
.foot-news-embed,
.foot-news-embed * {
  max-width: 100%;
  box-sizing: border-box;
}
.foot-news-embed > div {
  min-width: 0;
}
.foot-news-embed iframe {
  width: 100% !important;
  max-width: 100%;
  border: 0;
  /* Beehiiv sets a 6px radius inline on the iframe — override to match the
     sharp system (the input's own corners are a Beehiiv Form Builder setting) */
  border-radius: 0 !important;
  display: block;
}

/* Divider */
.foot-rule {
  height: 0;
  border: none;
  border-top: 1px solid rgba(196, 181, 140, 0.16);
  margin: clamp(38px, 5vw, 58px) 0;
}

/* Columns */
.foot-cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
}
.foot-brand {
  max-width: 320px;
}
.foot-logo {
  display: inline-flex;
  align-items: center;
}
.foot-logo-word {
  font-family: "Spectral", Georgia, serif;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--sand-s1);
}
.foot-brand-blurb {
  font-family: Inter, system-ui, sans-serif;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--sand-s2);
  margin-top: 18px;
  max-width: 300px;
}
.foot-social {
  margin-top: 14px;
  display: flex;
  align-items: center;
  /* pull the row left so the first 20px glyph lines up with the text above
     despite the 44px hit areas */
  margin-left: -12px;
}
.foot-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--sand-s2);
  transition: color 0.2s ease;
}
.foot-social svg {
  width: 20px;
  height: 20px;
  display: block;
}
.foot-social a:hover {
  color: #fff;
}

/* Nav columns */
.foot-nav-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.foot-nav-col h3 {
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-t1);
  margin-bottom: 16px;
}
.foot-nav-col a {
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--sand-s1);
  padding: 6px 0;
  transition: color 0.2s ease;
}
.foot-nav-col a:hover {
  color: #fff;
}
.foot-ext {
  font-size: 0.82em;
  color: var(--gold-t1);
}

/* Legal */
.foot-legal {
  margin-top: clamp(34px, 5vw, 54px);
  padding-top: clamp(20px, 2.5vw, 28px);
  border-top: 1px solid rgba(196, 181, 140, 0.16);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: Inter, system-ui, sans-serif;
  font-size: 12.5px;
  color: var(--sand-s2);
}
.foot-legal em {
  font-style: italic;
}

@media (max-width: 900px) {
  .foot-cols {
    grid-template-columns: 1fr 1fr;
    row-gap: clamp(32px, 6vw, 44px);
  }
  .foot-brand {
    grid-column: 1 / -1;
    max-width: 440px;
  }
}
@media (max-width: 620px) {
  .foot-news {
    flex-direction: column;
    align-items: stretch;
  }
  .foot-news-copy {
    flex: 0 0 auto;
  }
  .foot-news-embed {
    flex: 0 0 auto;
    margin-top: 4px;
  }
  .foot-cols {
    grid-template-columns: 1fr;
  }
  /* taller rows so the stacked footer links clear the 44px tap target */
  .foot-nav-col a {
    padding: 12px 0;
  }
  .foot-legal {
    flex-direction: column;
    gap: 8px;
  }
}

/* ===== Modal — enterprise inquiry form ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
}
.modal.open {
  display: flex;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 22, 11, 0.55);
  backdrop-filter: blur(3px);
}
.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  /* dvh tracks the dynamic viewport so the iOS toolbar/keyboard can't hide
     the submit button; the dialog scrolls internally if it's taller */
  max-height: min(90dvh, calc(100vh - 32px));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--sand-t2);
  border-radius: 0;
  padding: clamp(28px, 4vw, 46px);
  padding-bottom: max(clamp(28px, 4vw, 46px), env(safe-area-inset-bottom));
  box-shadow: 0 40px 90px -40px rgba(15, 40, 5, 0.55);
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  color: var(--gold-s1);
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.modal-close:hover {
  background: rgba(132, 115, 71, 0.12);
  color: var(--green);
}
.modal-title {
  font-family: "Spectral", Georgia, serif;
  font-weight: 400;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
  color: var(--green);
  margin-top: 10px;
}
.modal-sub {
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--gold-s2);
  margin-top: 10px;
  max-width: 44ch;
}
.ent-form {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.8vw, 18px);
  margin-top: clamp(22px, 3vw, 30px);
}
.ent-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.6vw, 16px);
}
.ent-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ent-field span {
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-s1);
}
.ent-field input,
.ent-field select,
.ent-field textarea {
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(132, 115, 71, 0.3);
  border-radius: 0;
  padding: 11px 13px;
  transition: border-color 0.2s ease;
}
.ent-field input:focus,
.ent-field select:focus,
.ent-field textarea:focus {
  border-color: var(--green);
}
.ent-field textarea {
  resize: vertical;
  min-height: 72px;
}
.ent-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.ent-submit {
  align-self: flex-start;
  margin-top: 4px;
}
.ent-status {
  font-family: Inter, system-ui, sans-serif;
  font-size: 13.5px;
  min-height: 1em;
}
.ent-status.ok {
  color: var(--green-t1);
}
.ent-status.err {
  color: #9a3b2e;
}
.ent-status a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ent-privacy {
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: var(--gold-s2);
}
.ent-privacy a {
  color: var(--gold-s1);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ent-privacy a:hover {
  color: var(--green);
}
@media (max-width: 520px) {
  .ent-row {
    grid-template-columns: 1fr;
  }
}

/* ===== Analytics consent banner ===== */
.consent {
  display: none;
  position: fixed;
  z-index: 300;
  left: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  width: min(420px, calc(100% - 32px));
  padding: 18px 20px 16px;
  background: var(--sand-t2);
  border: 1px solid rgba(132, 115, 71, 0.28);
  box-shadow: 0 24px 54px -26px rgba(7, 20, 3, 0.45);
}
.consent.show {
  display: block;
}
.consent-text {
  margin: 0 0 14px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}
.consent-text a {
  color: var(--gold-s1);
  text-decoration: underline;
}
.consent-text a:hover {
  color: var(--green);
}
.consent-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.consent-btn {
  font-family: Inter, system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: 0.2s;
}
.consent-accept {
  background: var(--green);
  color: var(--sand-t1);
}
.consent-accept:hover {
  background: #1c3d12;
}
.consent-decline {
  background: transparent;
  border-color: rgba(132, 115, 71, 0.42);
  color: var(--gold-s1);
}
.consent-decline:hover {
  border-color: var(--green);
  color: var(--green);
}
@media (max-width: 520px) {
  .consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }
}
