/* Ambitura Mentoring — palette taken from the green / black / gold mountain on the business card */
:root {
  --ink: #050608;
  --ink-2: #0a0f0d;
  --forest-900: #0d1a15;
  --forest-800: #12261e;
  --forest-700: #1c3a30;
  --forest-500: #3f6350;
  --sage: #7f9f8b;
  --gold: #d9ac6c;
  --gold-bright: #e9bd7d;
  --gold-dim: rgba(217, 172, 108, .35);
  --paper: #f3efe6;
  --text: #d6d2c7;
  --text-dim: #a8a59b;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-bright); }

:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 4px; text-decoration: none; font-weight: 500; }
.skip-link:focus { top: 12px; color: var(--ink); }

/* ── Header ─────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5, 6, 8, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(217, 172, 108, .18);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gold); }
.brand:hover { color: var(--gold-bright); }
.brand-emblem { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.brand-sub { font-family: var(--serif); font-size: .82rem; letter-spacing: .5em; text-transform: uppercase; margin-top: 5px; opacity: .85; padding-left: .1em; }

.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.site-nav a {
  font-family: var(--sans); font-weight: 500; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text); text-decoration: none; padding: 6px 0; position: relative;
}
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.site-nav a:hover { color: var(--gold-bright); }
.site-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.site-nav .nav-cta { color: var(--gold); border: 1px solid var(--gold-dim); padding: 9px 20px; border-radius: 999px; transition: background .25s, color .25s, border-color .25s; }
.site-nav .nav-cta:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--gold); position: relative; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle-bars { top: 21px; }
.nav-toggle-bars::before { left: 0; right: 0; top: -7px; }
.nav-toggle-bars::after  { left: 0; right: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(5, 6, 8, .97); border-bottom: 1px solid rgba(217, 172, 108, .2);
    padding: 12px var(--gutter) 28px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a { width: 100%; padding: 16px 0; font-size: .9rem; border-bottom: 1px solid rgba(217, 172, 108, .12); }
  .site-nav .nav-cta { margin-top: 18px; text-align: center; border-bottom: 1px solid var(--gold-dim); }
  .site-header { background: rgba(5, 6, 8, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .brand-name { font-size: 1.3rem; letter-spacing: .2em; }
  .brand-sub { font-size: .72rem; }
}

/* ── Hero ───────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 clamp(300px, 30vw, 380px);
  background:
    radial-gradient(70% 55% at 78% 62%, rgba(44, 84, 66, .32), transparent 70%),
    linear-gradient(180deg, #050608 0%, #070b09 100%);
}
.hero-mountain { position: absolute; inset: auto 0 0 0; height: clamp(300px, 46vw, 560px); z-index: -1; }
.hero-mountain img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.hero-inner { position: relative; }

.eyebrow { font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--text); letter-spacing: .04em; margin: 0 0 clamp(24px, 5vw, 48px); opacity: .9; }

.hero-title { margin: 0; font-family: var(--serif); font-weight: 300; color: var(--paper); font-size: clamp(3.4rem, 11vw, 8.2rem); line-height: .98; letter-spacing: -.01em; }
.hero-title span { display: block; }
.hero-title i { font-style: normal; color: var(--paper); display: inline-block; width: .11em; height: .11em; margin-left: .14em; background: var(--paper); vertical-align: baseline; }

.hero-lede { max-width: 30ch; margin: clamp(24px, 4vw, 40px) 0 0; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.4; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(28px, 4vw, 44px); }

.hero-inner > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-inner > :nth-child(2) { animation-delay: .08s; }
.hero-inner > :nth-child(3) { animation-delay: .18s; }
.hero-inner > :nth-child(4) { animation-delay: .28s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 500; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  padding: 15px 28px; border-radius: 999px; border: 1px solid var(--gold); transition: background .25s, color .25s, transform .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-solid { background: var(--gold); color: var(--ink); }
.btn-solid:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--ink); transform: translateY(-2px); }
.btn-ghost { background: rgba(5, 6, 8, .35); color: var(--gold); border-color: var(--gold-dim); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }

/* ── Sections ───────────────────────────────────── */
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.section-tint {
  background:
    linear-gradient(180deg, rgba(18, 38, 30, .0) 0%, rgba(18, 38, 30, .7) 12%, rgba(18, 38, 30, .7) 88%, rgba(18, 38, 30, 0) 100%);
}

.section-head { margin-bottom: clamp(36px, 6vw, 64px); max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { margin: 0 0 14px; font-weight: 500; font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
h2 { margin: 0; font-family: var(--serif); font-weight: 400; color: var(--paper); font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.1; }
h3 { margin: 0 0 12px; font-family: var(--serif); font-weight: 500; color: var(--paper); font-size: 1.6rem; line-height: 1.2; }
.rule { display: block; width: 72px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); margin-top: 26px; }
.center .rule { margin-inline: auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); width: 120px; }

.icon { display: inline-flex; width: 52px; height: 52px; color: var(--gold); margin-bottom: 20px; }
.icon svg { width: 100%; height: 100%; }

/* Essence */
.essence-grid { display: grid; gap: clamp(32px, 6vw, 80px); grid-template-columns: 1fr; align-items: start; }
.essence-intro p { font-family: var(--serif); font-size: 1.5rem; line-height: 1.4; color: var(--text); margin: 0; max-width: 22ch; }
.skills { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.skills li {
  position: relative; padding: 18px 20px 18px 46px; border: 1px solid rgba(217, 172, 108, .2); border-radius: 10px;
  background: linear-gradient(135deg, rgba(28, 58, 48, .55), rgba(13, 26, 21, .55));
  font-weight: 400; color: var(--paper); transition: border-color .3s, transform .3s;
}
.skills li::before {
  content: ""; position: absolute; left: 20px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; background: var(--gold); transform: rotate(45deg);
}
.skills li:hover { border-color: var(--gold); transform: translateY(-3px); }
@media (min-width: 900px) { .essence-grid { grid-template-columns: .8fr 1.4fr; } }

/* Cards */
.cards { display: grid; gap: 22px; }
.card {
  padding: clamp(26px, 3.2vw, 40px); border: 1px solid rgba(217, 172, 108, .2); border-radius: 14px;
  background: linear-gradient(160deg, rgba(28, 58, 48, .55) 0%, rgba(8, 14, 12, .75) 100%);
  transition: border-color .3s, transform .3s;
}
.card:hover { border-color: rgba(217, 172, 108, .55); transform: translateY(-4px); }
.card p { margin: 0 0 14px; color: var(--text); }
.card p:last-child { margin-bottom: 0; }
@media (min-width: 760px) { .cards.two { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 620px) and (max-width: 899px) { .cards.three { grid-template-columns: repeat(2, 1fr); } .cards.three .card:last-child { grid-column: 1 / -1; } }

.pull { margin: clamp(48px, 8vw, 88px) auto 0; max-width: 780px; text-align: center; }
.pull p { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 300; color: var(--gold-bright); font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.3; }
.pull footer { margin-top: 20px; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--text-dim); font-weight: 500; }

/* About */
.about-grid { display: grid; gap: clamp(36px, 6vw, 80px); grid-template-columns: 1fr; align-items: start; }
.about-mark {
  text-align: center; padding: clamp(28px, 4vw, 44px); border: 1px solid rgba(217, 172, 108, .25); border-radius: 14px;
  background: radial-gradient(90% 70% at 50% 30%, rgba(44, 84, 66, .4), rgba(5, 6, 8, .5));
}
.about-mark img { width: min(220px, 60%); height: auto; margin: 0 auto 24px; }
.about-name { margin: 0; font-family: var(--serif); font-size: 1.6rem; color: var(--paper); }
.about-role { margin: 4px 0 0; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.about-body p { margin: 0 0 20px; }
.about-body .kicker { margin-bottom: 14px; }
.about-body .rule { margin-bottom: 32px; }
.about-body .lead { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.5; color: var(--paper); }
@media (min-width: 900px) { .about-grid { grid-template-columns: 320px 1fr; } .about-mark { position: sticky; top: calc(var(--header-h) + 24px); } }

/* Contact */
.contact { padding-bottom: clamp(260px, 34vw, 420px); overflow: hidden; isolation: isolate; text-align: center; }
.contact-mountain { position: absolute; inset: auto 0 0 0; height: clamp(240px, 36vw, 440px); z-index: -1; opacity: .95; }
.contact-mountain img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.contact-name { margin: 0 0 32px; font-family: var(--serif); font-size: 1.5rem; color: var(--paper); }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* Footer */
.site-footer { border-top: 1px solid rgba(217, 172, 108, .2); background: #030405; padding: 44px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.brand-small .brand-name { font-size: 1.2rem; }
.brand-small .brand-sub { font-size: .66rem; }
.footer-line { margin: 0; font-family: var(--serif); font-size: 1.15rem; color: var(--text); }
.footer-fine { margin: 0; font-size: .82rem; color: var(--text-dim); letter-spacing: .04em; }

/* ── Scroll reveal (only when JS is on) ─────────── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .cards .reveal:nth-child(2), .js .skills.reveal { transition-delay: .08s; }
.js .cards .reveal:nth-child(3) { transition-delay: .16s; }

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

/* ── Generated footer (built from src/partials/footer.html) ─────────── */
.footer-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px 40px; width: 100%; max-width: 860px; margin: 14px 0 6px; text-align: center; }
.footer-group { min-width: 0; }
.footer-heading { margin: 0 0 12px; font-family: var(--sans); font-weight: 500; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.footer-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-group li { margin: 0; padding: 0; }
.footer-group a { color: var(--text); font-size: .92rem; text-decoration: none; overflow-wrap: anywhere; }
.footer-group a:hover, .footer-group a:focus-visible { color: var(--gold-bright); text-decoration: underline; }
.footer-email { margin: 0; font-size: .92rem; overflow-wrap: anywhere; }
.footer-email a { color: var(--text); text-decoration: none; }
.footer-email a:hover, .footer-email a:focus-visible { color: var(--gold-bright); text-decoration: underline; }
@media (max-width: 520px) {
  .site-footer { padding: 36px 0; }
  .footer-nav { grid-template-columns: 1fr; gap: 24px; }
}

/* ── Current page in the primary nav ─────────── */
.site-nav a[aria-current="page"] { color: var(--gold-bright); }
.site-nav a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); background: var(--gold-bright); }
.site-nav .nav-cta[aria-current="page"] { border-color: var(--gold); background: rgba(217, 172, 108, .12); }
.site-nav .nav-cta[aria-current="page"]:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ── Home page ─────────────────────────────────── */
.hero-h1 { margin: clamp(22px, 3.5vw, 36px) 0 0; max-width: 26ch; font-family: var(--serif); font-weight: 400; color: var(--paper); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.2; }
.hero-h1 + .hero-lede { margin-top: 14px; }
.hero-serving { margin: 18px 0 0; font-size: .95rem; letter-spacing: .04em; color: var(--text); }
.hero-inner > :nth-child(5) { animation-delay: .38s; }
.hero-inner > :nth-child(6) { animation-delay: .48s; }

/* Laptop/desktop: keep the buttons above the fold. The display title scales with the
   viewport height as well as the width (it never grows past its original 8.2rem), and the
   H1, lede and serving line are set on fewer lines. Scoped to the home hero only. */
@media (min-width: 900px) {
  .page-home .hero { padding-top: calc(var(--header-h) + 24px); }
  .page-home .hero .eyebrow { margin-bottom: clamp(12px, 2.4vh, 28px); }
  .page-home .hero-title { font-size: clamp(3.4rem, min(11vw, 14.3vh), 8.2rem); line-height: .94; }
  .page-home .hero-h1 { max-width: none; margin-top: clamp(14px, 2.4vh, 26px); }
  .page-home .hero-h1 + .hero-lede { max-width: 44ch; margin-top: 8px; font-size: clamp(1.15rem, 1.9vw, 1.4rem); }
  .page-home .hero-serving { margin-top: 12px; }
  .page-home .hero-actions { margin-top: clamp(16px, 3vh, 26px); }
}

.home-more { margin: 18px 0 0; font-weight: 500; letter-spacing: .04em; }
.home-more a::after { content: "\2192"; content: "\2192" / ""; display: inline-block; margin-left: .45em; transition: transform .25s ease; }
.home-more a:hover::after, .home-more a:focus-visible::after { transform: translateX(4px); }
.essence-intro .home-more { font-family: var(--sans); font-size: 1rem; max-width: none; margin-top: 18px; }
.home-more-center { text-align: center; margin: clamp(28px, 4vw, 44px) 0 0; }
.home-more-center a::after { content: none; }

/* Who I work with: five linked cards, direct children of .cards */
.home-who { grid-template-columns: 1fr; }
.home-who-card { position: relative; }
.home-who-card h3 { font-size: 1.5rem; }
.home-who-card h3 a { color: var(--paper); text-decoration: none; }
.home-who-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.home-who-card:hover h3 a, .home-who-card h3 a:focus-visible { color: var(--gold-bright); }
.home-who-card h3 a:focus-visible::after { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
@media (min-width: 620px) {
  .home-who { grid-template-columns: repeat(2, 1fr); }
  .home-who .home-who-card:last-child { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .home-who { grid-template-columns: repeat(6, 1fr); }
  .home-who .home-who-card { grid-column: span 2; }
  .home-who .home-who-card:nth-child(n+4) { grid-column: span 3; }
}
.js .home-who .home-who-card:nth-child(4) { transition-delay: .08s; }
.js .home-who .home-who-card:nth-child(5) { transition-delay: .16s; }

/* Care-team band: wider than a card */
.care-band {
  display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start;
  margin-top: clamp(22px, 3vw, 34px); padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(217, 172, 108, .35); border-radius: 14px;
  background: linear-gradient(135deg, rgba(28, 58, 48, .7) 0%, rgba(8, 14, 12, .8) 100%);
}
.care-band .icon { margin-bottom: 0; }
.care-band .kicker { margin-bottom: 10px; }
.care-band h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.care-band p { margin: 0 0 14px; max-width: 68ch; }
.care-band .care-band-note { color: var(--text-dim); font-size: .95rem; margin-bottom: 24px; }
.care-band .btn { text-align: center; }
@media (min-width: 700px) { .care-band { grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); } .care-band .icon { width: 64px; height: 64px; } }

/* About: portrait */
.home-portrait { margin: 0 auto; width: 100%; max-width: 360px; }
.home-portrait img { width: 100%; height: auto; border: 1px solid rgba(217, 172, 108, .45); border-radius: 14px; background: var(--forest-900); }
.home-portrait figcaption { margin-top: 18px; text-align: center; }
.home-portrait .about-name, .home-portrait .about-role { display: block; }
@media (min-width: 900px) { .home-portrait { max-width: none; position: sticky; top: calc(var(--header-h) + 24px); } }
.about-body .home-more { margin-top: 8px; }

.contact-serving { margin: 0 0 32px; font-size: .95rem; letter-spacing: .04em; color: var(--text); }
.contact-name + .contact-serving { margin-top: -20px; }

/* Narrow phones: the email address is long, so let it wrap inside the button instead of
   pushing the button past the page gutters. */
.contact-actions .btn { text-transform: none; letter-spacing: .02em; overflow-wrap: anywhere; }

/* ══════════════════════════════════════════════════════════════════════════
   Shared building blocks for inner pages (see docs/site-build.md, "Components").
   Nothing above this line is changed by these rules.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Page header band (emitted by the build's {{pageHeader}} token) ───────── */
.page-header {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(28px, 4vw, 48px)) 0 clamp(40px, 6vw, 72px);
  border-bottom: 1px solid rgba(217, 172, 108, .35);
  background:
    radial-gradient(60% 90% at 82% 100%, rgba(44, 84, 66, .34), transparent 72%),
    linear-gradient(180deg, #050608 0%, #070b09 100%);
}
/* Subtle ridgeline motif behind the text: sized by the band, faded out towards the top. */
.page-header::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: min(100%, 300px); z-index: -1;
  background: url("../assets/mountain.svg") 50% 100% / cover no-repeat; opacity: .26;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 92%);
  mask-image: linear-gradient(to top, #000 0%, transparent 92%);
}
.page-header .kicker { margin-bottom: 12px; }
.page-header h1 {
  margin: 0; max-width: 24ch; text-wrap: balance; font-family: var(--serif); font-weight: 400; color: var(--paper);
  font-size: clamp(2.3rem, 6vw, 4.2rem); line-height: 1.05; letter-spacing: -.005em; overflow-wrap: break-word;
}
.lede {
  margin: 0 0 1.4em; max-width: 60ch; font-family: var(--serif); font-weight: 400; color: var(--text);
  font-size: clamp(1.2rem, 2.3vw, 1.55rem); line-height: 1.4; overflow-wrap: break-word;
}
.page-header .lede { margin: clamp(16px, 2.4vw, 24px) 0 0; }
.page-header + .section { padding-top: clamp(48px, 7vw, 88px); }

/* ── Breadcrumb (last crumb is <li aria-current="page">, not a link) ──────── */
.breadcrumb { margin: 0 0 clamp(20px, 3vw, 32px); }
.breadcrumb ol {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0;
  font-weight: 500; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1.3;
}
.breadcrumb li { display: inline-flex; align-items: center; min-width: 0; margin: 0; color: var(--text-dim); }
.breadcrumb li + li::before { content: "/"; content: "/" / ""; color: var(--gold); margin: 0 .85em; }
.breadcrumb a { display: inline-block; padding: 8px 0; color: var(--text); text-decoration: none; }
.breadcrumb a:hover, .breadcrumb a:focus-visible { color: var(--gold-bright); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--paper); overflow-wrap: anywhere; }

/* ── Prose: comfortable long-form text ────────────────────────────────────── */
.prose { max-width: 68ch; line-height: 1.75; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin: 0 0 1.25em; }
.prose h2 { margin: 2.1em 0 .6em; font-size: clamp(1.75rem, 3.2vw, 2.3rem); line-height: 1.15; }
.prose h3 { margin: 1.8em 0 .5em; font-size: clamp(1.35rem, 2.3vw, 1.6rem); }
.prose h2 + h3 { margin-top: 1.2em; }
.prose h4 { margin: 1.6em 0 .4em; font-family: var(--sans); font-weight: 500; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; line-height: 1.4; color: var(--gold); }
.prose strong { color: var(--paper); font-weight: 500; }
.prose em { font-style: italic; }
.prose a:not(.btn) { color: var(--gold); text-decoration: underline; overflow-wrap: anywhere; }
.prose a:not(.btn):hover { color: var(--gold-bright); }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.prose li { margin: 0 0 .55em; padding-left: .3em; }
.prose li:last-child { margin-bottom: 0; }
.prose li::marker { color: var(--gold); }
.prose ol li::marker { font-weight: 500; }
.prose li > ul, .prose li > ol { margin: .55em 0 0; }
.prose blockquote {
  margin: 1.8em 0; padding: .2em 0 .2em 1.4em; border-left: 1px solid var(--gold-dim);
  font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--paper); font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.45;
}
.prose blockquote p { margin: 0 0 .8em; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose blockquote footer, .prose blockquote cite {
  display: block; margin-top: .9em; font-family: var(--sans); font-style: normal; font-weight: 500; font-size: .78rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--text-dim);
}
.prose hr { border: 0; height: 1px; margin: 2.4em 0; background: linear-gradient(90deg, var(--gold-dim), transparent); }
.prose dl { margin: 0 0 1.4em; }
.prose dt { margin: 1em 0 .2em; font-weight: 500; color: var(--paper); }
.prose dt:first-child { margin-top: 0; }
.prose dd { margin: 0 0 .6em; padding-left: 1.4em; border-left: 1px solid var(--gold-dim); }
.prose table { width: 100%; margin: 0 0 1.6em; border-collapse: collapse; font-size: .98rem; line-height: 1.5; }
.prose th, .prose td { padding: .7em .9em; border: 1px solid var(--gold-dim); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.prose th { font-weight: 500; color: var(--paper); background: rgba(217, 172, 108, .08); overflow-wrap: break-word; }
.prose code { padding: .1em .35em; border-radius: 4px; background: rgba(217, 172, 108, .1); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; overflow-wrap: anywhere; }
.prose pre { margin: 0 0 1.6em; padding: 1em 1.2em; overflow-x: auto; border: 1px solid var(--gold-dim); border-radius: 8px; background: rgba(13, 26, 21, .8); font-size: .9rem; line-height: 1.55; }
.prose pre code { padding: 0; background: none; font-size: inherit; overflow-wrap: normal; }
.prose figure { margin: 1.8em 0; }
.prose img { max-width: 100%; height: auto; border-radius: 10px; }
.prose figcaption { margin-top: .7em; font-size: .9rem; line-height: 1.5; color: var(--text-dim); }
/* A callout inside prose adds vertical spacing only on the sides that face a sibling, so a
   callout that is the first or last child never adds outer margin. */
.prose > .callout { margin-block: 0; }
.prose > .callout:not(:first-child) { margin-top: 2em; }
.prose > .callout:not(:last-child) { margin-bottom: 2em; }

/* ── Split: prose + sticky aside ──────────────────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 56px); align-items: start; }
.split > * { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(48px, 6vw, 88px); }
  .split > .aside-card { position: sticky; top: calc(var(--header-h) + 24px); }
}
.aside-card {
  padding: clamp(24px, 3vw, 34px); border: 1px solid rgba(217, 172, 108, .3); border-radius: 14px;
  background: linear-gradient(160deg, rgba(28, 58, 48, .6) 0%, rgba(8, 14, 12, .8) 100%);
}
.aside-card > :first-child { margin-top: 0; }
.aside-card > :last-child { margin-bottom: 0; }
.aside-card .kicker { margin: 0 0 10px; }
.aside-card h2, .aside-card h3 { margin: 0 0 12px; font-size: 1.5rem; line-height: 1.2; }
.aside-card p:not(.kicker) { margin: 0 0 14px; font-size: .98rem; line-height: 1.6; color: var(--text); }
.aside-card ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; font-size: .98rem; }
.aside-card li { margin: 0; padding: 0; }
.aside-card a:not(.btn) { color: var(--gold); overflow-wrap: anywhere; }
.aside-card a:not(.btn):hover { color: var(--gold-bright); }

/* ── Callout: a highlighted note ──────────────────────────────────────────── */
.callout {
  margin: clamp(24px, 4vw, 40px) 0; padding: clamp(18px, 2.6vw, 26px) clamp(20px, 3vw, 32px);
  border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0;
  background: linear-gradient(135deg, rgba(28, 58, 48, .6) 0%, rgba(13, 26, 21, .75) 100%);
  color: var(--text); overflow-wrap: break-word;
}
.callout > :first-child { margin-top: 0; }
.callout > :last-child { margin-bottom: 0; }
.callout p { margin: 0 0 .8em; font-size: 1.0625rem; line-height: 1.6; }
.callout strong { color: var(--paper); font-weight: 500; }
.callout .callout-title { margin: 0 0 .5em; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; line-height: 1.25; color: var(--paper); }
.callout a:not(.btn) { color: var(--gold); overflow-wrap: anywhere; }
.callout a:not(.btn):hover { color: var(--gold-bright); }
/* A card grid followed directly by a callout (or a prose block that holds one) needs a gap. */
.link-cards + .callout, .cards + .callout, .callout + .link-cards, .cards + .prose, .callout + .cards, .prose + .cards { margin-top: 32px; }

/* ── Link cards: a .cards grid whose cards are whole-card links ───────────── */
.link-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.link-cards .card { position: relative; padding-bottom: calc(clamp(26px, 3.2vw, 40px) + 26px); }
.link-cards .card h3 { font-size: 1.5rem; }
.link-cards .card h3 a { color: var(--paper); text-decoration: none; }
.link-cards .card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.link-cards .card:hover h3 a, .link-cards .card h3 a:focus-visible { color: var(--gold-bright); }
.link-cards .card h3 a:focus-visible { outline: none; }
.link-cards .card h3 a:focus-visible::after { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.link-cards .card::after {
  content: "\2192"; content: "\2192" / ""; position: absolute; right: clamp(24px, 3vw, 36px); bottom: clamp(18px, 2.4vw, 26px);
  color: var(--gold); line-height: 1; transition: transform .25s ease; pointer-events: none;
}
.link-cards .card:hover::after { transform: translateX(4px); }

/* ── CTA band: dark green contact panel (src/partials/cta-contact.html) ───── */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  width: min(calc(100% - 2 * var(--gutter)), calc(var(--wrap) - 2 * var(--gutter)));
  margin: 0 auto clamp(56px, 8vw, 96px); padding: clamp(40px, 6vw, 72px) clamp(22px, 5vw, 64px) clamp(96px, 12vw, 136px);
  border: 1px solid rgba(217, 172, 108, .4); border-radius: 18px;
  background: linear-gradient(135deg, #1c3a30 0%, #0d1a15 100%);
}
.cta-band::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: clamp(90px, 14vw, 150px); z-index: -1;
  background: url("../assets/mountain.svg") 50% 100% / cover no-repeat; opacity: .42;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 100%);
  mask-image: linear-gradient(to top, #000 0%, transparent 100%);
}
.wrap .cta-band { width: 100%; }
.cta-band .kicker { margin: 0 0 12px; }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.cta-band-text { margin: 14px auto 0; max-width: 52ch; color: var(--text); }
.cta-band-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(22px, 3vw, 32px); }

/* ── Buttons inside components: the email address is long, so never all caps, and it wraps
   inside its container instead of spilling out (min-width: 0 lets a flex item shrink). ───── */
.aside-card .btn, .prose .btn, .callout .btn, .faq details .btn, .cta-band .btn {
  text-transform: none; letter-spacing: .02em; overflow-wrap: anywhere; max-width: 100%; min-width: 0; text-align: center;
}

/* ── FAQ: native <details>, no JavaScript ─────────────────────────────────── */
.faq { max-width: 68ch; overflow-wrap: break-word; border-top: 1px solid rgba(217, 172, 108, .25); }
.faq details { border-bottom: 1px solid rgba(217, 172, 108, .25); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; padding: 18px 0; cursor: pointer;
  list-style: none; font-family: var(--serif); font-weight: 500; font-size: clamp(1.25rem, 2.3vw, 1.5rem); line-height: 1.25; color: var(--paper);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary:hover { color: var(--gold-bright); }
.faq summary:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; border-radius: 4px; }
.faq summary::after {
  content: ""; flex: none; width: 16px; height: 16px; color: var(--gold);
  background:
    linear-gradient(currentColor, currentColor) 50% 50% / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) 50% 50% / 1.5px 100% no-repeat;
  transition: background-size .2s ease;
}
.faq details[open] summary::after {
  background:
    linear-gradient(currentColor, currentColor) 50% 50% / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) 50% 50% / 1.5px 0 no-repeat;
}
.faq details > :not(summary) { margin: 0 0 1.1em; }
.faq details > :not(summary):not(.btn) { padding-right: 36px; }
.faq details > :not(summary):last-child { margin-bottom: 22px; }
.faq details a:not(.btn) { color: var(--gold); overflow-wrap: anywhere; }
.faq details a:not(.btn):hover { color: var(--gold-bright); }
.faq details ul, .faq details ol { padding-left: 1.4em; }
.faq details li { margin: 0 0 .5em; padding-left: .3em; }
.faq details li:last-child { margin-bottom: 0; }
.faq details li::marker { color: var(--gold); }

/* ── Portrait: framed photo with optional caption ─────────────────────────── */
.portrait { margin: 0 auto; width: 100%; max-width: 360px; }
.portrait img { width: 100%; height: auto; border: 1px solid rgba(217, 172, 108, .45); border-radius: 14px; background: var(--forest-900); }
.portrait figcaption { margin-top: 18px; text-align: center; }
.portrait-name { display: block; font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; color: var(--paper); }
.portrait-role { display: block; margin-top: 4px; font-weight: 500; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }

/* ── Link list (404 page and other plain lists of pages) ──────────────────── */
.link-list { list-style: none; margin: 0; padding: 0; max-width: 34rem; border-top: 1px solid rgba(217, 172, 108, .25); }
.link-list li { margin: 0; padding: 0; border-bottom: 1px solid rgba(217, 172, 108, .25); }
.link-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 12px 0;
  font-family: var(--serif); font-weight: 500; font-size: 1.4rem; line-height: 1.25; color: var(--gold); text-decoration: none;
}
.link-list a::after { content: "\2192"; content: "\2192" / ""; flex: none; transition: transform .25s ease; }
.link-list a:hover, .link-list a:focus-visible { color: var(--gold-bright); }
.link-list a:hover::after, .link-list a:focus-visible::after { transform: translateX(4px); }
