/* ==========================================================================
   Entrepreneurial Capital — main.css
   Design tokens from the EC Identity Guide (04/2025)
   ========================================================================== */

/* ---- Fonts (self-hosted, variable weight 100–1000) ---------------------- */
/* Metrics-matched local fallback: while DM Sans downloads, text renders in a
   system font adjusted to DM Sans's width and vertical metrics, so the swap
   causes no layout shift (measured: DM Sans = 92.96% of Arial's width). */
@font-face {
  font-family: 'DM Sans Fallback';
  src: local('Arial'), local('Liberation Sans'), local('Helvetica Neue'), local('Helvetica');
  size-adjust: 92.96%;
  ascent-override: 106.71%;
  descent-override: 33.35%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('../fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('../fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Tokens ------------------------------------------------------------- */
:root {
  /* Brand palette (identity guide) */
  --capital-green: #294236;
  --bootstrap-blue: #A1BABA;
  --acquisition-mint: #C9E0BF;
  --folder-white: #FFF9E1;

  /* Derived */
  --green-deep: #1F3329;
  --green-soft: #35543F;
  --mint-tint: #EDF4E7;
  --blue-tint: #EEF3F3;
  --cream: #FBFAF2;
  --ink: #22342B;
  --ink-soft: #5B6A61;
  --ink-faint: #6d7a72;
  --line: rgba(41, 66, 54, 0.16);
  --line-on-dark: rgba(255, 249, 225, 0.22);

  --font-sans: 'DM Sans', 'DM Sans Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container: 1200px;
  --container-narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 10px;
  --radius-lg: 20px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

/* ---- Reset / base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: -0.005em;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--capital-green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { margin: 0 0 0.6em; line-height: 1.12; letter-spacing: -0.02em; font-weight: 430; color: var(--capital-green); text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: 0.35em; }
address { font-style: normal; }
mark {
  background: linear-gradient(transparent 58%, var(--acquisition-mint) 58%);
  color: inherit;
  padding: 0 0.08em;
}
::selection { background: var(--acquisition-mint); color: var(--green-deep); }
:focus-visible { outline: 2px solid var(--capital-green); outline-offset: 3px; border-radius: 2px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--capital-green); color: var(--folder-white);
  padding: 0.75rem 1.25rem; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- Type scale ----------------------------------------------------------- */
.display {
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  font-weight: 340;
  line-height: 1.06;
  letter-spacing: -0.025em;
}
h1, .h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 360; }
h2, .h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 390; }
h3, .h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 520; letter-spacing: -0.015em; }
h4, .h4 { font-size: 1.125rem; font-weight: 550; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.125rem, 1.8vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); font-weight: 400; }
.eyebrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 620;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}
.section--dark .eyebrow, .cta-banner__inner .eyebrow { color: var(--bootstrap-blue); }

/* ---- Layout --------------------------------------------------------------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--mint { background: var(--mint-tint); }
.section--folder { background: var(--folder-white); }
.section--dark { background: var(--capital-green); color: var(--folder-white); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--folder-white); }
.section--dark a { color: var(--acquisition-mint); }
.section--dark .lead { color: var(--bootstrap-blue); }
.section--dark mark { background: none; color: var(--acquisition-mint); }

/* Indented editorial split: heading left, content right */
.split { display: grid; gap: 2rem clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split > .split__head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.split__body > :last-child { margin-bottom: 0; }

.section-head { max-width: 46ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; max-width: 56ch; }
.section-head > :last-child { margin-bottom: 0; }

/* ---- Hairline grid (boxless cards) ---------------------------------------- */
.hairline-grid { display: grid; gap: 2rem 1.75rem; padding: 0; margin: 0; list-style: none; }
.hairline-grid > * {
  border-left: 1px solid var(--line);
  padding-left: 1.25rem;
  margin: 0;
}
.section--dark .hairline-grid > * { border-color: var(--line-on-dark); }
@media (min-width: 640px) { .hairline-grid--2, .hairline-grid--3, .hairline-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .hairline-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .hairline-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.hairline-grid .card-title { margin-bottom: 0.4em; }
.hairline-grid p:last-child { margin-bottom: 0; color: var(--ink-soft); }
.section--dark .hairline-grid p:last-child { color: var(--bootstrap-blue); }
.hairline-grid .card-icon { width: 46px; height: 46px; margin-bottom: 1rem; }
.hairline-grid li ul { list-style: none; padding-left: 0; margin-bottom: 0; }
.hairline-grid li ul li { border-top: 1px solid var(--line); padding: 0.45rem 0; margin: 0; font-size: 0.975rem; color: var(--ink-soft); }
.section--dark .hairline-grid li ul li { border-color: var(--line-on-dark); }
.card-num {
  display: block;
  font-size: 2.4rem; font-weight: 300; line-height: 1;
  color: var(--green-soft);
  margin-bottom: 0.75rem;
  font-variant-numeric: tabular-nums;
}

/* ---- Program band (two-tone color blocks with checklists) ------------------ */
.section--blue { background: var(--blue-tint); }
.program-band {
  display: grid;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 860px) { .program-band { grid-template-columns: 1fr 1fr; } }
.program-band__col { padding: clamp(1.75rem, 4vw, 3rem); color: var(--ink); }
.program-band__col--blue { background: var(--bootstrap-blue); }
.program-band__col--mint { background: var(--acquisition-mint); }
.program-band h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 500;
  color: var(--capital-green);
  margin-bottom: 0.8em;
}
.program-band h3:not(:first-child) { margin-top: 1.6em; }
.program-band p { color: var(--green-deep); }
.check-list { list-style: none; padding: 0; margin: 0 0 0.5rem; }
.check-list li {
  display: flex; align-items: flex-start; gap: 0.7rem;
  margin-bottom: 0.7rem;
  color: var(--green-deep);
}
.check-list svg { flex: none; margin-top: 0.25em; }
.check-list circle { fill: var(--capital-green); }
.check-list path { stroke: var(--folder-white); }

/* ---- Stats ---------------------------------------------------------------- */
.stat-num {
  display: block;
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--capital-green);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.35rem;
}
.section--dark .stat-num { color: var(--acquisition-mint); }
.stat-label { font-size: 1.0625rem; font-weight: 500; color: var(--ink); }
.section--dark .stat-label { color: var(--folder-white); }

/* ---- Venn diagram ------------------------------------------------------------ */
.venn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: clamp(2rem, 5vw, 3.5rem) auto clamp(1.5rem, 3vw, 2.5rem);
}
.venn__circle {
  flex: none;
  width: clamp(160px, 40vw, 330px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 540;
  font-size: clamp(0.78rem, 1.9vw, 1.0625rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: inherit;
}
.venn__circle span { max-width: 15ch; text-wrap: balance; }
.venn__circle--a {
  background: rgba(201, 224, 191, 0.16);
  border: 1.5px solid var(--acquisition-mint);
  padding: 1.25rem clamp(3rem, 9vw, 5.75rem) 1.25rem 1.25rem;
  margin-right: calc(-1 * clamp(30px, 7vw, 62px));
}
.venn__circle--b {
  background: rgba(161, 186, 186, 0.16);
  border: 1.5px solid var(--bootstrap-blue);
  padding: 1.25rem 1.25rem 1.25rem clamp(3rem, 9vw, 5.75rem);
}
@media (max-width: 560px) {
  .venn { flex-direction: column; }
  .venn__circle { width: clamp(230px, 72vw, 300px); font-size: 0.9375rem; }
  .venn__circle--a { margin-right: 0; margin-bottom: -44px; padding: 1.25rem 1.25rem 3.25rem; }
  .venn__circle--b { padding: 3.25rem 1.25rem 1.25rem; }
}
.venn__both,
.section--dark .venn__both {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  margin: 0;
  background: var(--acquisition-mint);
  color: var(--green-deep);
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.5em 1.1em;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.18);
}

/* ---- Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid var(--capital-green);
  background: var(--capital-green);
  color: var(--folder-white);
  font: inherit; font-size: 1rem; font-weight: 530; letter-spacing: 0;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn .btn-arrow { flex: none; transition: transform 0.25s var(--ease); }
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn--outline { background: transparent; color: var(--capital-green); }
.btn--outline:hover { background: var(--capital-green); color: var(--folder-white); }
.btn--light { background: var(--acquisition-mint); border-color: var(--acquisition-mint); color: var(--green-deep); }
.btn--light:hover { background: var(--folder-white); border-color: var(--folder-white); color: var(--green-deep); }
/* Buttons inside dark sections: beat the `.section--dark a` link color */
.section--dark a.btn--light, .section--dark a.btn--light:hover { color: var(--green-deep); }
.section--dark a.btn { color: var(--folder-white); }
.section--dark a.btn--light { color: var(--green-deep); }
.section--dark a.btn--outline { color: var(--folder-white); border-color: var(--line-on-dark); background: transparent; }
.section--dark a.btn--outline:hover { background: var(--folder-white); color: var(--capital-green); border-color: var(--folder-white); }
.text-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 550; text-decoration: none;
}
.text-link:hover { text-decoration: underline; text-decoration-thickness: 2px; }

/* ---- Header ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: transform 0.4s var(--ease);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-hidden:focus-within { transform: none; }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; min-height: var(--header-h);
}
.site-header .logo { display: inline-flex; align-items: center; }
.site-header .logo img { width: clamp(200px, 24vw, 268px); height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2rem); }
.site-nav a {
  text-decoration: none; color: var(--ink);
  font-size: 0.9375rem; font-weight: 480;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.site-nav a:hover { color: var(--capital-green); border-bottom-color: var(--bootstrap-blue); }
.site-nav a[aria-current="page"] { color: var(--capital-green); border-bottom-color: var(--capital-green); font-weight: 560; }
.site-nav a.btn {
  padding: 0.55rem 1.2rem;
  font-size: 0.9375rem;
  color: var(--capital-green);
  border-bottom: 1.5px solid var(--capital-green);
}
.site-nav a.btn:hover,
.site-nav a.btn[aria-current="page"]:hover {
  color: var(--folder-white);
  background: var(--capital-green);
  border-bottom-color: var(--capital-green);
}
.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer; padding: 0.5rem;
  color: var(--capital-green);
}
@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.25rem;
    box-shadow: 0 24px 40px -24px rgba(31, 51, 41, 0.25);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.85rem 0.25rem; font-size: 1.0625rem; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .site-nav .btn { margin-top: 1rem; justify-content: center; }
}

/* ---- Hero ---------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(4rem, 10vw, 7.5rem); }
.hero__content { max-width: 60ch; position: relative; z-index: 1; }
.hero__content .lead { max-width: 48ch; margin-top: 1.4rem; }
.hero__content .btn { margin-top: 1.9rem; }
.hero--interior { background: linear-gradient(180deg, var(--mint-tint) 0%, var(--cream) 100%); }

/* Home hero: statement text with the tilted brand mark behind it */
.hero--home {
  background: linear-gradient(180deg, var(--mint-tint) 0%, var(--cream) 100%);
  padding-block: clamp(5.5rem, 15vh, 9.5rem) clamp(5rem, 13vh, 8rem);
  /* Horizontal-only clip: the brand mark may run past the hero's bottom
     edge and show through the (transparent) section below it. */
  overflow-x: clip;
  overflow-y: visible;
}
.hero--home h1 { max-width: 15ch; }
.hero__motif {
  position: absolute; z-index: 0;
  /* Bleeds off the right edge on laptop widths; on screens wider than the
     layout it anchors to the content column instead of drifting right. */
  right: max(clamp(-8rem, -4vw, -3rem), calc((100vw - var(--container)) / 2 - 8rem));
  top: 50%;
  width: clamp(340px, 40vw, 620px);
  transform: translateY(-50%) rotate(8deg);
  opacity: 0.5;
  pointer-events: none;
}
@media (max-width: 720px) { .hero__motif { opacity: 0.16; } }

/* ---- Accordion (native details) ------------------------------------------- */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex; align-items: baseline; gap: 1.1rem;
  cursor: pointer; list-style: none;
  padding: 1.15rem 0.25rem;
  font-size: 1.155rem; font-weight: 530; color: var(--capital-green);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--green-soft); }
.accordion summary .acc-num {
  flex: none;
  font-size: 0.85rem; font-weight: 600; color: var(--green-soft);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}
.accordion summary .acc-chevron {
  margin-left: auto; flex: none; align-self: center;
  transition: transform 0.3s var(--ease);
  color: var(--green-soft);
}
.accordion details[open] summary .acc-chevron { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 0.25rem 1.35rem 0; color: var(--ink-soft); max-width: 62ch; }
.accordion .acc-body > :last-child { margin-bottom: 0; }
@media (min-width: 640px) { .accordion .acc-body { padding-left: 2.4rem; } }

/* ---- CTA banner (pre-footer) ------------------------------------------------ */
.cta-banner { padding-block: clamp(1rem, 3vw, 2.5rem) clamp(3rem, 6vw, 5rem); }
.cta-banner__inner {
  background: var(--capital-green);
  color: var(--folder-white);
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 5vw, 3.75rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem 2.5rem;
  position: relative; overflow: hidden;
}
.cta-banner__inner::after {
  content: "";
  position: absolute; right: -3rem; bottom: -4rem;
  width: 240px; height: 100%;
  background: url('../img/logos/icon-mint.svg') no-repeat center / contain;
  opacity: 0.16;
  pointer-events: none;
}
.cta-banner h2 { color: var(--folder-white); margin-bottom: 0.35em; }
.cta-banner p { color: var(--bootstrap-blue); margin: 0; max-width: 46ch; }
.cta-banner .btn { position: relative; z-index: 1; flex: none; }

/* ---- Cards with photos (team / advisors) ------------------------------------ */
.person-grid { display: grid; gap: 2.5rem 1.75rem; padding: 0; margin: 0; list-style: none; }
@media (min-width: 620px) { .person-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .person-grid--4 { grid-template-columns: repeat(4, 1fr); } .person-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.person-card__photo {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mint-tint);
  margin-bottom: 1.1rem;
}
.person-card__photo img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.person-card:hover .person-card__photo img { transform: scale(1.035); }
.person-card__photo--landscape img { aspect-ratio: 4 / 3; }
.person-card h3 { margin-bottom: 0.15em; }
.person-card .person-role { color: var(--ink-soft); font-weight: 520; font-size: 0.95rem; margin-bottom: 0.7em; }
.person-card .person-bio { font-size: 0.975rem; color: var(--ink-soft); }
.person-card .person-links { display: flex; gap: 1.1rem; margin-top: 0.65rem; }
.person-card .person-links a { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; font-weight: 550; text-decoration: none; padding-block: 0.5rem; }
.person-card .person-links a:hover { text-decoration: underline; }
.person-card .person-links svg { color: var(--bootstrap-blue); }

/* ---- Media cards --------------------------------------------------------------- */
.media-grid { display: grid; gap: 2.25rem 1.75rem; padding: 0; margin: 0; list-style: none; }
@media (min-width: 640px) { .media-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .media-grid { grid-template-columns: repeat(3, 1fr); } }
.media-card { display: flex; flex-direction: column; }
.media-card__thumb {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mint-tint);
  margin-bottom: 1rem;
  position: relative;
}
.media-card__thumb img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
/* Video/podcast thumbs are 16:9 with text baked in — don't crop them to 3:2 */
.media-card__thumb--video img { aspect-ratio: 16 / 9; }
.media-card:hover .media-card__thumb img { transform: scale(1.04); }
.media-card__thumb .play-badge {
  position: absolute; left: 0.85rem; bottom: 0.85rem;
  width: 42px; height: 42px; border-radius: 50%;
  background: color-mix(in srgb, var(--capital-green) 82%, transparent);
  display: grid; place-items: center; color: var(--folder-white);
}
.cat-chip {
  display: inline-block;
  font-size: 0.72rem; font-weight: 620; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green-soft);
  background: var(--acquisition-mint);
  border-radius: 999px;
  padding: 0.22rem 0.7rem;
  margin-bottom: 0.6rem;
  width: fit-content;
}
.media-card h3 { font-size: 1.155rem; margin-bottom: 0.35em; }
.media-card h3 a { text-decoration: none; color: inherit; }
.media-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.media-card .media-meta { font-size: 0.875rem; color: var(--ink-soft); margin: 0 0 0.75rem; }
.media-card .text-link { margin-top: auto; font-size: 0.9375rem; padding-block: 0.5rem; }

/* Filter chips */
.filter-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.25rem; }
.filter-chip {
  font: inherit; font-size: 0.9rem; font-weight: 530;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent; color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.filter-chip:hover { border-color: var(--capital-green); color: var(--capital-green); }
.filter-chip[aria-pressed="true"] { background: var(--capital-green); border-color: var(--capital-green); color: var(--folder-white); }

/* ---- Article (media detail) -------------------------------------------------- */
.article-header { padding-block: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 3vw, 2.5rem); background: linear-gradient(180deg, var(--mint-tint), var(--cream)); }
.article-header .media-meta { color: var(--ink-soft); font-size: 0.95rem; }
.article-body { padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(3.5rem, 7vw, 5.5rem); padding-inline: var(--gutter); }
.article-body > * { max-width: var(--container-narrow); margin-left: auto; margin-right: auto; }
.article-body h2 { margin-top: 1.8em; font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.article-body h3 { margin-top: 1.5em; }
.article-body img { border-radius: var(--radius); margin-block: 1.5rem; }
.article-body blockquote {
  border-left: 3px solid var(--acquisition-mint);
  margin: 1.5rem auto; padding: 0.25rem 0 0.25rem 1.4rem;
  color: var(--ink-soft); font-size: 1.125rem;
}
.article-body table { border-collapse: collapse; width: 100%; font-size: 0.95rem; margin-block: 1.5rem; display: block; overflow-x: auto; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 0.6rem 0.8rem; text-align: left; vertical-align: top; }
.article-body th { background: var(--mint-tint); font-weight: 580; }

/* Video embed / facade */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--green-deep);
  max-width: 900px;
  margin: 0 auto;
}
.video-frame iframe, .video-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-facade { cursor: pointer; border: 0; padding: 0; width: 100%; height: 100%; position: absolute; inset: 0; background: none; }
.video-facade .play-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--capital-green);
  display: grid; place-items: center;
  color: var(--folder-white);
  border: 2px solid rgba(255, 249, 225, 0.85);
  transition: transform 0.3s var(--ease), background-color 0.3s, color 0.3s;
  box-shadow: 0 12px 40px rgba(31, 51, 41, 0.35);
}
.video-facade:hover .play-btn { transform: translate(-50%, -50%) scale(1.09); background: var(--folder-white); color: var(--capital-green); }

/* ---- Forms ---------------------------------------------------------------------- */
.form-grid { display: grid; gap: 0.9rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
select {
  width: 100%;
  font: inherit; color: var(--ink);
  background: #fff;
  border: 1.5px solid rgba(41, 66, 54, 0.62);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23294236' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
select:focus {
  outline: none;
  border-color: var(--capital-green);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--acquisition-mint) 55%, transparent);
}
select:invalid { color: var(--ink-soft); }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  font: inherit; color: var(--ink);
  background: #fff;
  border: 1.5px solid rgba(41, 66, 54, 0.62);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--capital-green);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--acquisition-mint) 55%, transparent);
}
input::placeholder, textarea::placeholder { color: var(--ink-soft); }
textarea { resize: vertical; min-height: 150px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.inline-form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.inline-form input[type="email"] { flex: 1 1 220px; }
.form-success { display: none; background: var(--mint-tint); border: 1px solid var(--acquisition-mint); border-radius: var(--radius); padding: 1rem 1.25rem; color: var(--green-deep); font-weight: 500; }
.form-success.is-error { background: #FAECE7; border-color: #E3BBAD; color: #7A3B2B; }

/* Dark section form fields (footer) */
.section--dark input[type="email"], .site-footer input[type="email"] {
  background: color-mix(in srgb, var(--folder-white) 8%, transparent);
  border-color: rgba(255, 249, 225, 0.5);
  color: var(--folder-white);
}
.site-footer input[type="email"]::placeholder { color: rgba(255, 249, 225, 0.78); }
.site-footer input[type="email"]:focus { border-color: var(--acquisition-mint); box-shadow: 0 0 0 3px rgba(201, 224, 191, 0.25); }

/* ---- Price card / program page --------------------------------------------------- */
.price-card {
  background: var(--folder-white);
  border: 1.5px solid var(--acquisition-mint);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 560px;
}
.price-card .price-label { color: var(--ink-soft); font-weight: 520; margin-bottom: 1.25rem; }
.guarantee-note {
  border-left: 3px solid var(--acquisition-mint);
  background: var(--mint-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
}
.guarantee-note p:last-child { margin-bottom: 0; }
.calendly-frame { margin-top: 1.5rem; }
.calendly-frame iframe {
  width: 100%;
  height: 1060px;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
}
@media (max-width: 720px) { .calendly-frame iframe { height: 1250px; } }
.quote-block {
  border-left: 3px solid var(--acquisition-mint);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.5;
  color: var(--capital-green);
  font-weight: 430;
}
.quote-block cite { display: block; margin-top: 0.75rem; font-style: normal; font-size: 0.95rem; color: var(--ink-soft); font-weight: 480; }
.section--dark .quote-block { color: var(--folder-white); }
.section--dark .quote-block cite { color: var(--bootstrap-blue); }


/* ---- Trades Accelerator page components ------------------------------------ */
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 920px) { .hero-grid { grid-template-columns: 11fr 9fr; } }
.hero-grid .side-photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.chip-row li { display: inline-flex; gap: 0.45rem; align-items: center; font-size: 0.9rem; font-weight: 540; color: var(--green-soft); margin: 0; }
.chip-row svg { flex: none; }
.receipt {
  background: var(--mint-tint);
  border-left: 3px solid var(--acquisition-mint);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.8rem 1.1rem;
  margin-top: 0.9rem;
  font-size: 0.95rem;
  color: var(--ink);
  max-width: 56ch;
}
.receipt .receipt-label { display: block; font-size: 0.72rem; font-weight: 660; letter-spacing: 0.13em; text-transform: uppercase; color: var(--green-soft); margin-bottom: 0.25rem; }
.check-list--x circle { fill: var(--ink-soft); }
.steps p { margin-bottom: 0; color: var(--ink-soft); }
.story-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.story-list li { border-left: 3px solid var(--acquisition-mint); padding: 0.15rem 0 0.15rem 1.1rem; margin-bottom: 0.9rem; }
.avatar-row { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.75rem; }
.avatar-row img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line-on-dark); }
.avatar-row .avatar-names { font-size: 0.95rem; color: var(--bootstrap-blue); }
.hl-bold { font-weight: 640; }
.hero-bullets { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.hero-bullets li { position: relative; padding-left: 1.15rem; margin: 0 0 0.55rem; color: var(--green-soft); }
.hero-bullets li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 5px; height: 5px; border-radius: 50%; background: var(--capital-green); }
.btn--split { display: flex; width: 100%; max-width: 540px; justify-content: space-between; align-items: center; text-align: left; }
.chart-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(0.6rem, 1.5vw, 1rem);
  max-width: 880px;
  margin: 2.5rem auto 0;
}
.chart-card img { width: 100%; height: auto; display: block; border-radius: calc(var(--radius-lg) - 6px); }
.stats-lines { font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.stats-lines p { margin-bottom: 0.4rem; }

/* Application journey (EOS-style proven-process path) */
.journey-wrap { position: relative; margin-top: 3rem; }
.journey-path { position: absolute; top: 0; left: 0; width: 100%; height: 170px; pointer-events: none; }
.journey { display: grid; grid-template-columns: repeat(6, 1fr); position: relative; list-style: none; margin: 0; padding: 0; }
.journey > li { text-align: center; margin: 0; padding: 0 0.5rem; }
.journey .stop-dot {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--capital-green); color: var(--folder-white);
  display: grid; place-items: center;
  font-weight: 640; font-size: 1.15rem;
  margin: 0 auto 1rem; position: relative; z-index: 1;
  border: 3px solid var(--folder-white);
  box-shadow: 0 0 0 1px var(--line);
}
.journey > li:nth-child(even) .stop-dot { margin-top: 52px; }
.journey > li:nth-child(even) { margin-bottom: -52px; }
.journey .stop-dot--goal { background: var(--acquisition-mint); color: var(--green-deep); }
.journey h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 0.3em; letter-spacing: -0.01em; }
.journey p { font-size: 0.85rem; color: var(--ink-soft); margin: 0; line-height: 1.45; }
.rhythm-band {
  background: var(--mint-tint); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem);
  /* Even journey columns hang 52px below the grid, so this needs to clear them too */
  margin-top: 7rem;
}
@media (max-width: 859px) { .rhythm-band { margin-top: 2.5rem; } }
.rhythm-band .eyebrow { margin-bottom: 0.5rem; display: block; }
.rhythm-band h3 { margin-bottom: 1.5rem; }
.rhythm-grid { display: grid; gap: 1.5rem; }
@media (min-width: 860px) { .rhythm-grid { grid-template-columns: 1fr 1fr 1fr; } }
.rhythm-grid > div { border-left: 3px solid var(--acquisition-mint); padding-left: 1.1rem; }
.rhythm-grid h4 { font-size: 1rem; margin-bottom: 0.35em; }
.rhythm-grid .cadence { display: inline-block; font-size: 0.72rem; font-weight: 660; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-soft); margin-bottom: 0.4rem; }
.rhythm-grid p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 859px) {
  .journey { grid-template-columns: 1fr; }
  .journey-path { display: none; }
  .journey > li { text-align: left; display: grid; grid-template-columns: 58px 1fr; gap: 0 1.1rem; padding: 0 0 1.6rem; position: relative; }
  .journey > li:nth-child(even) .stop-dot { margin-top: 0; }
  .journey > li:nth-child(even) { margin-bottom: 0; }
  .journey > li::before { content: ""; position: absolute; left: 28px; top: 58px; bottom: 0; width: 1px; background: var(--line); }
  .journey > li:last-child::before { display: none; }
  .journey .stop-dot { margin: 0; grid-row: 1 / 3; }
  .journey h3 { padding-top: 0.6rem; }
}

/* ---- Footer ---------------------------------------------------------------------- */
.site-footer { background: var(--capital-green); color: var(--folder-white); padding-block: clamp(3rem, 6vw, 4.5rem) 1.75rem; }
.site-footer a { color: var(--folder-white); text-decoration: none; }
.site-footer a:hover { color: var(--acquisition-mint); text-decoration: underline; }
.footer-grid { display: grid; gap: 2.5rem; margin-bottom: 3rem; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 4fr 3fr 5fr; } }
.site-footer .logo img { width: 210px; }
.site-footer h4, .site-footer .footer-h { color: var(--bootstrap-blue); font-size: 0.8125rem; font-weight: 620; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer address { color: var(--bootstrap-blue); line-height: 1.6; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 0.35rem; }
.footer-nav a { display: inline-block; padding-block: 0.3rem; }
.footer-bottom {
  border-top: 1px solid var(--line-on-dark);
  padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: 0.875rem; color: var(--bootstrap-blue);
}
.footer-bottom a { color: var(--bootstrap-blue); }
.social-row { display: flex; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.social-row a {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-on-dark);
  color: var(--folder-white);
  transition: all 0.25s var(--ease);
}
.social-row a:hover { background: var(--acquisition-mint); border-color: var(--acquisition-mint); color: var(--green-deep); text-decoration: none; }

/* ---- Scroll reveals ----------------------------------------------------------------
   The hidden initial state only applies when main.js is running (html.js is set
   by an inline head script), so content stays visible with JS off or blocked. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.reveal-stagger.in-view > * { opacity: 1; transform: none; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: 0.4s; }
@media print {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .site-header, .btn, .btn .btn-arrow, .person-card__photo img, .media-card__thumb img, .acc-chevron, .video-facade .play-btn { transition: none !important; }
}

/* ---- Utility ---------------------------------------------------------------------- */
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.btn-row--center { justify-content: center; }
.two-col { display: grid; gap: 2rem clamp(2rem, 5vw, 4rem); }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; } }
.side-photo { border-radius: var(--radius-lg); overflow: hidden; }
.side-photo img { width: 100%; height: 100%; object-fit: cover; }
