/* ==========================================================================
   YOKE site styles. Colors and fonts come from tokens.css only.
   ========================================================================== */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; border-radius: 4px; }

.serif { font-family: var(--font-serif); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--soft-black); color: var(--soft-white);
  padding: 10px 16px; border-radius: 6px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }
.section { padding: var(--section-space) 0; }
.section--tight { padding: calc(var(--section-space) * .6) 0; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0 auto; max-width: calc(var(--container) - 2 * var(--gutter)); }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-size: var(--fs-eyebrow); letter-spacing: .16em; text-transform: uppercase;
  font-weight: 600; color: var(--text-muted); margin: 0 0 8px;
}
.h-display { font-family: var(--font-serif); font-weight: 600; font-size: var(--fs-display); line-height: 1.1; letter-spacing: -.02em; }
.h-xl { font-family: var(--font-serif); font-weight: 600; font-size: var(--fs-h2-xl); line-height: 1.06; letter-spacing: -.02em; }
.h-lg { font-family: var(--font-serif); font-weight: 600; font-size: var(--fs-h2-lg); line-height: 1.1; letter-spacing: -.02em; }
.h-2 { font-family: var(--font-serif); font-weight: 600; font-size: var(--fs-h2); line-height: 1.14; letter-spacing: -.02em; }
.h-3 { font-family: var(--font-serif); font-weight: 600; font-size: var(--fs-h3); line-height: 1.14; letter-spacing: -.02em; }
.h-4 { font-family: var(--font-serif); font-weight: 600; font-size: var(--fs-h4); line-height: 1.2; }
.lead { font-size: var(--fs-lead); line-height: 1.75; color: var(--text-muted); }
.body-muted { color: var(--text-muted); }
.measure { max-width: 58ch; }
.measure-wide { max-width: 66ch; }
.accent-text { color: var(--accent); }
.on-dark { color: var(--soft-white); }
.on-dark .eyebrow, .on-dark .body-muted, .on-dark .lead { color: var(--text-muted-on-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px; line-height: 1.2;
  padding: 14px 26px; border-radius: var(--radius-pill);
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-text); border-color: var(--btn-primary-border); }
.btn-primary:hover { background: var(--btn-primary-bg-hover); }
.btn-secondary { background: transparent; color: var(--soft-black); border: 2px solid var(--soft-black); padding: 13px 24px; }
.btn-secondary:hover { background: var(--soft-black); color: var(--soft-white); }
.btn-tertiary {
  display: inline; padding: 0 0 2px; border: 0; border-radius: 0; background: none;
  font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 5px;
  text-decoration-thickness: 1px; text-decoration-color: currentColor;
}
.btn-tertiary:hover { color: var(--accent); }
.btn-sm { font-size: 13px; padding: 9px 20px; letter-spacing: .02em; }
.on-dark .btn-primary { background: var(--btn-primary-bg-on-dark); color: var(--btn-primary-text-on-dark); }
.on-dark .btn-primary:hover { background: var(--btn-primary-bg-hover-on-dark); }
/* Exception (owner's choice): the Core tier card keeps the Clay Red button on its dark background.
   The text still passes contrast (6.3:1); only the button edge against Soft Black is low (2.2:1). */
.tier--core .btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-text); }
.tier--core .btn-primary:hover { background: var(--btn-primary-bg-hover); }
.on-dark .btn-secondary { color: var(--soft-white); border-color: var(--soft-white); }
.on-dark .btn-secondary:hover { background: var(--soft-white); color: var(--soft-black); }
.on-dark .btn-tertiary:hover { color: var(--soft-sage); }
.btn-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--page-bg);
  box-shadow: 0 1px 0 var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 28px;
  max-width: var(--container); margin: 0 auto; padding: 22px var(--gutter);
  min-height: var(--header-h);
}
.site-header__logo { display: block; line-height: 0; flex: none; }
.site-header__logo img { height: 30px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; font-size: 14px; font-weight: 500; }
.site-nav a:not(.btn) { text-decoration: none; color: var(--text); }
.site-nav a:not(.btn):hover { color: var(--accent); }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--accent); }
.site-header__secondary {
  font-size: 13px; text-decoration: none; color: var(--text-muted);
  border-left: 1px solid var(--line); padding-left: 20px; white-space: nowrap;
}
.site-header__secondary:hover { color: var(--text); }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; padding: 12px 9px;
  background: none; border: 0; cursor: pointer; color: var(--text);
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.mobile-panel { display: none; }

@media (max-width: 960px) {
  .site-nav, .site-header__secondary { display: none; }
  .nav-toggle { display: flex; }
  .site-header__inner { padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
  .mobile-panel[data-open="true"] {
    display: flex; flex-direction: column; gap: 18px; width: 100%;
    padding: 18px 0 8px; font-size: 16px; font-weight: 500;
  }
  .mobile-panel a:not(.btn) { color: var(--text); text-decoration: none; padding: 4px 0; }
  .mobile-panel .muted-link { color: var(--text-muted); }
  .mobile-panel .btn { align-self: stretch; }
}

/* ---------- Footer ---------- */
.site-footer { padding: 40px 0 38px; }
.site-footer__top {
  display: flex; align-items: center; gap: 24px 32px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 32px; margin-bottom: 24px;
}
.site-footer__logo img { height: 24px; width: auto; }
.site-footer__nav { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-left: auto; font-size: 14px; }
.site-footer__nav a { color: var(--text); text-decoration: none; }
.site-footer__nav a:hover { color: var(--accent); }
.site-footer__bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px;
  padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-muted);
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer__legal a { color: var(--text-muted); text-decoration: none; }
.site-footer__legal a:hover { color: var(--text); text-decoration: underline; }
@media (max-width: 700px) { .site-footer__nav { margin-left: 0; } }

/* ==========================================================================
   HOMEPAGE
   ========================================================================== */
.home-hero { position: relative; padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.home-hero__media {
  /* Spans the hero's full height so the top and bottom fades both finish inside it */
  position: absolute; top: 0; bottom: 0; right: max(-160px, calc((100% - var(--container)) / 2 - 160px));
  width: 780px; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, var(--mask-40) 38%, var(--mask-40) 85%, transparent 100%), linear-gradient(to bottom, transparent 0%, var(--mask-solid) 25%, var(--mask-solid) 70%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, var(--mask-40) 38%, var(--mask-40) 85%, transparent 100%), linear-gradient(to bottom, transparent 0%, var(--mask-solid) 25%, var(--mask-solid) 70%, transparent 100%);
  mask-composite: intersect;
}
.home-hero__media video, .home-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.home-hero__media img { display: none; }
@media (prefers-reduced-motion: reduce) {
  .home-hero__media video { display: none; }
  .home-hero__media img { display: block; }
}
.home-hero__content { position: relative; z-index: 1; }
.home-hero__eyebrow { color: var(--text-muted); font-size: 18px; margin: 0 0 24px; }
.home-hero h1 { margin: 0 0 24px; }
.typed { display: inline-block; min-height: 1.12em; white-space: nowrap; font-size: clamp(26px, 3.3vw, 44px); }
.typed__caret {
  display: inline-block; width: .5em; height: .85em; background: var(--accent);
  vertical-align: -.1em; margin-left: 2px; animation: caret-blink 1s step-end infinite;
}
@keyframes caret-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .typed__caret { animation: none; } }
@media (max-width: 600px) { .typed { white-space: normal; } }
.home-hero__copy { font-size: 18px; line-height: 32px; color: var(--text-muted); margin: 0 0 34px; max-width: 60ch; }
@media (max-width: 900px) {
  .home-hero__media { right: -260px; opacity: .7; }
  .home-hero__copy br { display: none; }
}

/* Tenets */
.tenets-intro h2 { max-width: 32ch; margin-bottom: 20px; }
.tenets-intro p { max-width: 58ch; color: var(--text-muted); }
.tenets { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; }
.tenets__wheel-wrap { flex: none; width: min(710px, 100%); }
.tenets__label {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  color: var(--text-muted); text-align: center; margin-bottom: 16px;
}
.tenets__practice { flex: 0 1 500px; }
.tenets__practice h2 { margin-bottom: 20px; }
.tenets__practice p { color: var(--text-muted); margin: 0; }

.wheel { position: relative; width: 100%; aspect-ratio: 444 / 390; container-type: inline-size; }
.wheel svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wheel .seg { fill: none; stroke-width: 18; transition: opacity .18s ease, filter .18s ease; }
.wheel .seg-grow { opacity: 0; transition: opacity .18s ease; filter: drop-shadow(0 3px 4px var(--shadow)) drop-shadow(0 14px 24px var(--shadow)); }
.wheel .seg-hit { fill: none; stroke: transparent; stroke-width: 30; cursor: pointer; pointer-events: stroke; }
/* Each label sits the same distance outside the ring, on its segment's center line.
   --c / --s are the cosine / sine of that angle (set in index.njk). The translate moves the
   label so the edge facing the ring touches the anchor point: right-side labels start at it,
   left-side labels end at it, the top label sits above it, bottom labels hang below it. */
.wheel__tenet {
  position: absolute;
  transform: translate(calc((var(--c) - 1) * 50%), calc((var(--s) - 1) * 50%));
  display: flex; flex-direction: column; align-items: center; gap: 0;
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  font-family: var(--font-sans); text-align: center; color: var(--text); white-space: nowrap;
}
.wheel__tenet svg { position: static; display: block; width: max(20px, 5.4cqi); height: max(20px, 5.4cqi); margin: 0 0 1cqi; flex: none; }
.wheel__tenet-name.t1, .wheel__tenet-name.t2, .wheel__tenet-name.t3, .wheel__tenet-name.t4, .wheel__tenet-name.t5 { color: var(--text); }
.wheel__tenet-name { display: block; font-size: max(13px, 3.1cqi); font-weight: 700; line-height: 1.2; }
.wheel__tenet-sub { display: block; font-size: max(11px, 2.25cqi); color: var(--text-muted); line-height: 1.3; margin-top: .2cqi; }
.wheel__center {
  position: absolute; left: 50%; top: 53.85%; width: 38.3cqi; height: 38.3cqi; transform: translate(-50%, -50%);
  display: grid; place-items: center; text-align: center; pointer-events: none;
}
.wheel__info { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .15s ease, visibility .15s ease; max-width: 32cqi; }
.wheel__info--default { opacity: 1; visibility: visible; }
.hint-tap { display: none; }
@media (hover: none) { .hint-hover { display: none; } .hint-tap { display: inline; } }
.wheel__info img { height: 7.2cqi; width: auto; margin: 0 auto 1.8cqi; }
.wheel__info-title { font-size: max(14px, 3.4cqi); font-weight: 700; margin-bottom: .9cqi; line-height: 1.2; }
.wheel__info-text { font-size: max(12px, 2.5cqi); line-height: 1.35; color: var(--text-muted); margin: 0; }
.wheel__info-hint { font-size: max(11px, 2.5cqi); color: var(--text-muted); line-height: 1.2; }
.wheel[data-active] .seg { opacity: .32; filter: saturate(.55); }
.wheel[data-active] .wheel__info--default { opacity: 0; visibility: hidden; }
.wheel[data-active="1"] .seg-grow-1, .wheel[data-active="2"] .seg-grow-2, .wheel[data-active="3"] .seg-grow-3,
.wheel[data-active="4"] .seg-grow-4, .wheel[data-active="5"] .seg-grow-5 { opacity: 1; }
.wheel[data-active="1"] .wheel__info-1, .wheel[data-active="2"] .wheel__info-2, .wheel[data-active="3"] .wheel__info-3,
.wheel[data-active="4"] .wheel__info-4, .wheel[data-active="5"] .wheel__info-5 { opacity: 1; visibility: visible; }
@media (max-width: 600px) {
  .wheel__info-text, .wheel__tenet-sub, .wheel__info-hint { display: none; }
  .wheel__tenet-name { font-size: 12px; }
}
.t1 { color: var(--tenet-1); stroke: var(--tenet-1); fill: var(--tenet-1); }
.t2 { color: var(--tenet-2); stroke: var(--tenet-2); fill: var(--tenet-2); }
.t3 { color: var(--tenet-3); stroke: var(--tenet-3); fill: var(--tenet-3); }
.t4 { color: var(--tenet-4); stroke: var(--tenet-4); fill: var(--tenet-4); }
.t5 { color: var(--tenet-5); stroke: var(--tenet-5); fill: var(--tenet-5); }
.wheel .seg.t1, .wheel .seg.t2, .wheel .seg.t3, .wheel .seg.t4, .wheel .seg.t5 { fill: none; }
.wheel__tenet svg { fill: none; }

.tenet-list { display: none; flex-direction: column; gap: 20px; max-width: 480px; margin: 32px auto 0; padding: 0; list-style: none; }
.tenet-list li { display: flex; gap: 14px; align-items: flex-start; }
.tenet-list__num {
  flex: none; width: 26px; height: 26px; border-radius: 50%; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; color: var(--soft-white);
}
.tenet-list__num.n1 { background: var(--tenet-1); } .tenet-list__num.n2 { background: var(--tenet-2); }
.tenet-list__num.n3 { background: var(--tenet-3); }
.tenet-list__num.n4 { background: var(--tenet-4); color: var(--soft-black); }
.tenet-list__num.n5 { background: var(--tenet-5); color: var(--soft-black); }
.tenet-list strong { display: block; font-size: 15px; margin-bottom: 4px; }
.tenet-list p { font-size: 14px; color: var(--text-muted); margin: 0; }
@media (max-width: 1090px) {
  .tenets { flex-direction: column; align-items: stretch; }
  .tenets__wheel-wrap { margin: 0 auto; width: min(560px, 100%); }
  .tenets__practice { flex-basis: auto; order: -1; }
  .tenet-list { display: flex; }
}

/* Membership */
.membership h2 { margin-bottom: 8px; }
.membership__launch { font-family: var(--font-serif); font-size: clamp(18px, 1.9vw, 24px); font-weight: 600; line-height: 1.3; color: var(--accent); margin: 0 0 12px; }
.membership__intro { color: var(--text-muted); max-width: 58ch; margin: 0 0 16px; }
.membership .btn-row { margin-bottom: 28px; }
.callout-sage { background: var(--soft-sage); border-radius: var(--radius); padding: 22px 26px; margin: 0 0 44px; max-width: 760px; }
.callout-sage .eyebrow { font-size: 11px; }
.callout-sage p { margin: 0; }
.membership__choose { margin: 0 0 6px; }
.membership__choose-intro { color: var(--text-muted); max-width: 60ch; margin: 0 0 18px; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; align-items: stretch; padding: 28px 0; }
.tier { display: flex; flex-direction: column; background: var(--soft-sage); color: var(--soft-black); padding: 30px 28px 34px; border-radius: var(--radius); }
.tier--pro { padding: 38px 28px 40px; }
.tier--core { background: var(--soft-black); color: var(--soft-white); padding: 44px 34px 46px; border-radius: var(--radius-lg); box-shadow: 0 18px 44px var(--shadow); margin: -28px 0; }
.tier__kicker { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--text-muted); margin-bottom: 14px; }
.tier h3 { font-family: var(--font-serif); font-size: 26px; line-height: 1.15; margin: 0 0 6px; }
.tier--core h3 { color: var(--soft-sage); }
.tier__tagline { font-size: 16px; font-weight: 700; line-height: 1.4; margin-bottom: 20px; }
.tier__label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--text-muted); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.tier__who { font-size: 14px; line-height: 1.55; padding: 10px 0 12px; margin: 0 0 20px; border-bottom: 1px solid var(--line); }
.tier ul { list-style: none; padding: 0; margin: 0 0 24px; }
.tier li { font-size: 14px; line-height: 1.55; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text-muted); }
.tier li strong { color: var(--text); }
.tier .btn { margin-top: auto; align-self: flex-start; }
.tier--core .tier__kicker, .tier--core .tier__label, .tier--core li { color: var(--text-muted-on-dark); }
.tier--core .tier__label, .tier--core .tier__who, .tier--core li { border-color: var(--line-on-dark); }
.tier--core li strong { color: var(--soft-white); }
@media (max-width: 880px) { .tier--core { margin: 0; } .tiers { padding: 0; } }

.dig-deeper { display: flex; align-items: center; justify-content: space-between; gap: 18px 24px; flex-wrap: wrap; }
.dig-deeper h3 { margin: 0 0 6px; }
.dig-deeper p { font-size: 15px; color: var(--text-muted); margin: 0; max-width: 58ch; }
.link-accent { font-size: 15px; font-weight: 600; color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-accent:hover { color: var(--clay-red-dark); }

.quote-panel { position: relative; border-radius: 16px; overflow: hidden; padding: clamp(24px, 3vw, 36px); }
.quote-panel__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.quote-panel > *:not(.quote-panel__bg) { position: relative; z-index: 1; }
.quote-panel h3 { font-family: var(--font-serif); font-size: clamp(19px, 2vw, 25px); line-height: 1.2; margin: 0 0 12px; max-width: 50ch; }
.quote-panel__intro { font-size: 16px; line-height: 1.55; max-width: 66ch; margin: 0 0 16px; }
.quote-panel__row { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap-reverse; margin-top: 28px; }
/* Founder quote, set apart as a pull quote: italic serif behind a Clay Red rule, with a large opening mark */
.quote-panel figure { margin: 0; min-width: 0; flex: 1 1 320px; max-width: 56ch; padding-left: clamp(18px, 2.4vw, 28px); border-left: 3px solid var(--accent); }
.quote-panel blockquote {
  position: relative; margin: 0 0 16px; padding-top: 30px;
  font-family: var(--font-serif); font-style: italic; font-weight: 600;
  font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5;
}
.quote-panel blockquote::before {
  content: "\201C"; position: absolute; top: -6px; left: -2px;
  font-family: var(--font-serif); font-style: normal; font-size: 64px; line-height: 1; color: var(--accent);
}
.quote-panel figcaption strong { display: block; font-size: 13px; font-weight: 600; line-height: 1.2; }
.quote-panel figcaption span { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-top: 2px; line-height: 1.2; }
.quote-panel__photo { flex: none; width: 150px; height: 150px; border-radius: 50%; object-fit: cover; box-shadow: 0 8px 20px var(--shadow); }

/* Co-Builder cards */
.builders__intro h2 { margin-bottom: 14px; }
.builders__intro p { color: var(--text-muted); margin: 0; }
.builder-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; margin: 36px 0 40px; padding: 0; list-style: none; }
.builder-card { position: relative; margin: 0; }
.builder-card__btn {
  display: block; width: 100%; padding: 0; border: 0; background: var(--soft-sage); cursor: pointer;
  aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; position: relative; font: inherit; color: inherit; text-align: left;
}
.builder-card__btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.builder-card__caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 90px 16px 14px; z-index: 1;
  background: linear-gradient(to top, color-mix(in srgb, var(--soft-black) 78%, transparent) 0%, color-mix(in srgb, var(--soft-black) 45%, transparent) 40%, transparent 100%);
  color: var(--soft-white); transition: opacity .25s ease;
}
.builder-card__name { display: block; font-size: 16px; font-weight: 600; line-height: 1.25; }
.builder-card__role { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-top: 3px; line-height: 1.3; }
.builder-card__bio {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; text-align: center;
  padding: 18px; background: var(--scrim); color: var(--soft-white);
  font-size: 13.5px; line-height: 1.5; opacity: 0; transition: opacity .25s ease;
}
.builder-card__btn:hover .builder-card__bio, .builder-card__btn:focus-visible .builder-card__bio,
.builder-card__btn[aria-pressed="true"] .builder-card__bio { opacity: 1; }
.builder-card__btn:hover .builder-card__caption, .builder-card__btn:focus-visible .builder-card__caption,
.builder-card__btn[aria-pressed="true"] .builder-card__caption { opacity: 0; }
/* Carousel mode (added by main.js when motion is allowed). Matches the original homepage:
   290px cards, 34px gaps, cards scale up toward the center of the rail. */
.builder-carousel { position: relative; }
.builder-carousel__bar { position: relative; z-index: 150; display: flex; justify-content: flex-end; margin: 24px 0 -8px; }
.carousel-toggle {
  display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--font-sans);
  color: var(--text); background: transparent; border: 1.5px solid var(--line); border-radius: var(--radius-pill);
  padding: 8px 14px; cursor: pointer;
}
.carousel-toggle:hover { border-color: var(--text); }
.carousel-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.carousel-toggle .icon-play, .carousel-toggle[data-paused="true"] .icon-pause { display: none; }
.carousel-toggle[data-paused="true"] .icon-play { display: block; }
.builder-carousel.is-moving { overflow: hidden; padding: 30px 0 40px; margin: 0 0 8px; }
.builder-carousel.is-moving .builder-grid { display: block; position: relative; margin: 0; }
.builder-carousel.is-moving .builder-card { position: absolute; top: 0; left: 0; width: 290px; will-change: transform; visibility: hidden; transform-origin: center center; }
@media (max-width: 480px) { .builder-carousel.is-moving .builder-card { width: 240px; } }
.builders__closing { font-family: var(--font-serif); font-size: clamp(18px, 1.8vw, 24px); line-height: 1.35; letter-spacing: -.01em; max-width: 820px; margin: 0; }

/* FAQ */
.faq h2 { margin: 0; }
.faq__list { max-width: var(--container-narrow); margin-top: 28px; }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-weight: 600; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 22px; line-height: 1; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq__answer { padding-top: 14px; }
.faq__answer p, .faq__answer li { font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.faq__answer p { margin: 8px 0 0; }
.faq__answer p:first-child { margin-top: 0; }
.faq__answer ul { margin: 8px 0 0; padding-left: 20px; }
.faq__answer li + li { margin-top: 4px; }
.faq__answer strong { color: var(--text); }
.faq-callout {
  margin: 12px 0 0; padding: 16px 18px; background: var(--clay-red-wash); border-left: 3px solid var(--accent);
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.faq-callout p { margin: 0 !important; color: var(--text) !important; }

/* Closing CTA */
.closing-cta h2 { margin: 0 0 22px; max-width: 20ch; }
.closing-cta p { font-size: 18px; color: var(--text-muted); max-width: 56ch; margin: 0 0 34px; }

/* ==========================================================================
   SHARED PAGE PATTERNS (hire, about, resources)
   ========================================================================== */
.page-hero { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 128px) 0; }
.bg-media { position: absolute; inset: 0; z-index: 0; }
.bg-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero > .container, .band > .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 24px; max-width: 16ch; }
.page-hero--hire h1 { max-width: 11ch; }
@media (min-width: 1100px) { .page-hero--hire .lead { max-width: 44ch; } }
.page-hero .lead { max-width: 52ch; margin-bottom: 34px; }

.band { position: relative; overflow: hidden; background: var(--soft-black); padding: var(--section-space) 0; }
.band--clay { background: var(--clay-red); }
.band--sage { background: var(--soft-sage); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media img { width: 100%; border-radius: var(--radius); object-fit: cover; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

.card-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); padding: 0; margin: 0; list-style: none; }
.card { background: var(--soft-sage); border-radius: var(--radius); padding: 28px; }
.card h3 { font-family: var(--font-serif); font-size: 22px; line-height: 1.25; margin: 0 0 12px; }
.card p:last-child { margin-bottom: 0; }

/* Hire page */
.pain-card blockquote { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: 18px; line-height: 1.5; color: var(--text); }
.statement { font-family: var(--font-serif); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.35; max-width: 40ch; margin: 48px 0 0; padding-left: 20px; border-left: 3px solid var(--accent); }
.receive-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; padding: 0; margin: 20px 0 0; }
.receive-list li { display: flex; flex-direction: column; gap: 14px; font-weight: 700; font-size: 16px; line-height: 1.4; }
.receive-list img { width: 64px; height: 64px; object-fit: contain; }
@media (max-width: 640px) { .receive-list { grid-template-columns: 1fr; } .receive-list li { flex-direction: row; align-items: center; } }

.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps__num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--soft-sage); color: var(--soft-black);
  font-family: var(--font-serif); font-weight: 600; font-size: 20px; display: grid; place-items: center;
}
.steps h3 { font-size: 18px; font-weight: 700; margin: 8px 0 6px; font-family: var(--font-sans); }
.steps p { color: var(--text-muted); margin: 0; font-size: 16px; }

.challenge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 36px 0 0; }
.challenge { display: flex; flex-direction: column; background: var(--soft-sage); border-radius: var(--radius); padding: 28px 24px 24px; transition: transform .2s ease, box-shadow .2s ease; }
.challenge:hover { transform: translateY(-3px); box-shadow: 0 14px 30px var(--shadow); }
@media (prefers-reduced-motion: reduce) { .challenge:hover { transform: none; } }
.challenge h3 { font-family: var(--font-serif); font-size: 19px; line-height: 1.35; margin: 0 0 22px; }
.challenge__person { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.challenge__person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.challenge__person strong { display: block; font-size: 15px; line-height: 1.2; }
.challenge__person span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }

/* About page */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; }
.founder { background: var(--soft-sage); border-radius: var(--radius); padding: 28px; }
.founder__head { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.founder__head img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: none; }
.founder h3 { font-family: var(--font-serif); font-size: 26px; line-height: 1.15; margin: 0 0 4px; }
.founder__role { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; margin: 0; }
.founder p { font-size: 16px; }
.founder__link { display: inline-flex; align-items: center; gap: 8px; }
.founder__link svg { width: 18px; height: 18px; }
@media (max-width: 860px) { .founders { grid-template-columns: 1fr; } }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px 28px; list-style: none; padding: 0; margin: 44px 0 0; }
.values li img { width: 60px; height: 60px; object-fit: contain; margin-bottom: 18px; }
.values h3 { font-family: var(--font-serif); font-size: 20px; line-height: 1.25; margin: 0 0 10px; }
.values p { font-size: 15px; margin: 0; }

/* Resources */
.featured { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: var(--soft-sage); border-radius: var(--radius-lg); overflow: hidden; margin-top: 40px; }
.featured__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.featured__body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.featured__body h2 { font-family: var(--font-serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; margin: 0 0 14px; }
.featured__body p { color: var(--text-muted); }
@media (max-width: 860px) { .featured { grid-template-columns: 1fr; } }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 56px 0 28px; padding: 0; }
.tabs [role="tab"] {
  font-family: var(--font-sans); font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--soft-black); background: transparent; color: var(--soft-black); cursor: pointer;
}
.tabs [role="tab"]:hover { background: var(--soft-sage); }
.tabs [role="tab"][aria-selected="true"] { background: var(--soft-black); color: var(--soft-white); }
.resource-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; list-style: none; padding: 0; margin: 0; }
.resource-card { display: flex; flex-direction: column; background: var(--soft-white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; transition: box-shadow .2s ease, transform .2s ease; }
.resource-card:hover { box-shadow: 0 14px 30px var(--shadow); transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .resource-card:hover { transform: none; } }
.resource-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.resource-card__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 22px 22px 24px; }
.resource-card__cat { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--accent); margin: 0 0 10px; }
.resource-card h3 { font-family: var(--font-serif); font-size: 20px; line-height: 1.3; margin: 0 0 10px; }
.resource-card h3 a { text-decoration: none; }
.resource-card h3 a::after { content: ""; position: absolute; inset: 0; }
.resource-card { position: relative; }
.resource-card__excerpt { font-size: 15px; color: var(--text-muted); margin: 0 0 18px; }
.resource-card .btn-tertiary { margin-top: auto; font-size: 14px; }
.resource-card time { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
[hidden] { display: none !important; }

/* Article pages */
.article-header { padding: clamp(48px, 7vw, 88px) 0 32px; }
.article-header h1 { font-family: var(--font-serif); font-size: clamp(32px, 4.4vw, 56px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 20px; }
.article-meta { font-size: 14px; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.article-hero img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius-lg); }
.prose { font-size: 18px; line-height: 1.75; }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h1, .prose h2 { font-family: var(--font-serif); font-size: clamp(26px, 2.8vw, 34px); line-height: 1.2; margin-top: 1.8em; }
.prose h3 { font-family: var(--font-serif); font-size: clamp(21px, 2.2vw, 26px); line-height: 1.25; margin-top: 1.6em; }
.prose h4 { font-size: 19px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 0; }
.prose li + li { margin-top: .4em; }
.prose a:not(.btn) { color: var(--accent); text-underline-offset: 3px; }
.prose a:not(.btn):hover { color: var(--clay-red-dark); }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 20px 24px; background: var(--soft-sage); border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-serif); font-size: 20px; line-height: 1.5; }
.prose blockquote p + p { margin-top: .8em; }
.prose blockquote cite { font-family: var(--font-sans); font-style: normal; font-size: 14px; color: var(--text-muted); }
.prose figure { margin-left: 0; margin-right: 0; }
.prose img { border-radius: var(--radius); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose .btn { margin-right: 12px; margin-top: 12px; text-decoration: none; }
.video-embed { position: relative; aspect-ratio: 16 / 9; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius); }

/* Legal pages */
.legal-header { padding: clamp(48px, 7vw, 88px) 0 24px; }
.legal-header h1 { margin-bottom: 12px; }
.legal-effective { font-size: 16px; color: var(--text-muted); margin: 0; }
.legal-summary { background: var(--soft-sage); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 24px 28px; margin: 32px 0; }
.legal-summary > :first-child { margin-top: 0; }
.legal-summary h2 { font-family: var(--font-serif); font-size: 24px; margin: 0 0 12px; }
.toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin: 0 0 40px; }
.toc h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; font-family: var(--font-sans); }
.toc ol { margin: 0; padding: 0; list-style: none; columns: 2 280px; column-gap: 32px; }
.toc li { break-inside: avoid; padding: 3px 0; font-size: 15px; line-height: 1.4; }
.toc li.toc__sub { padding-left: 16px; font-size: 14px; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; }
.legal-body { font-size: 16px; line-height: 1.7; }
.legal-body h2 { font-family: var(--font-serif); font-size: clamp(20px, 2vw, 24px); line-height: 1.3; margin: 2.2em 0 .7em; }
.legal-body h3 { font-size: 17px; font-weight: 700; margin: 1.6em 0 .5em; }
.legal-body p { margin: 0 0 1em; }
.legal-body ul { padding-left: 1.4em; margin: 0 0 1em; }
.legal-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.legal-body a { color: var(--accent); overflow-wrap: anywhere; }
.legal-body .back-to-top { font-size: 13px; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; -webkit-overflow-scrolling: touch; }
.legal-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal-body th, .legal-body td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal-body th { background: var(--soft-sage); font-weight: 700; }
@media (max-width: 700px) {
  .legal-body table, .legal-body tbody, .legal-body tr, .legal-body td { display: block; width: 100%; }
  .legal-body thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal-body tr { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; padding: 6px 0; }
  .legal-body td { border: 0; padding: 6px 14px; }
  .legal-body td::before { content: attr(data-label); display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
}

/* Embed pages (booking calendar and forms) */
.embed-page { padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 6vw, 88px); }
.embed-page .container { max-width: calc(900px + 2 * var(--gutter)); }
.embed-page iframe { display: block; width: 100%; border: none; overflow: hidden; }
.embed-page .ghl-form { min-height: 720px; }
@media (max-width: 480px) { .embed-page .container { padding: 0 6px; } }

/* 404 */
.not-found { padding: clamp(80px, 12vw, 160px) 0; }
.not-found h1 { margin-bottom: 18px; }

/* ---------- Fade-up on scroll (main.js adds .reveal-on to <html> only when motion is allowed) ---------- */
.reveal-on [data-reveal] {
  opacity: 0; translate: 0 24px;
  transition: opacity .7s ease, translate .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-on [data-reveal].is-revealed { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  .reveal-on [data-reveal] { opacity: 1; translate: none; transition: none; }
}
