/* Caro & Associates design system.
   Concept: "the monthly statement, annotated by a sharp advisor."
   Red (#E81B21) is red ink: reserved for the circled problem, the key figure,
   and the primary CTA. Everything else stays quiet and disciplined.
   Type: Fraunces (display) / IBM Plex Sans (body) / IBM Plex Mono (figures). */

/* ---------- tokens ---------- */
:root {
  --ink: #22403f;            /* body text on light: brand teal, deepened for contrast */
  --teal: #2f4f4f;           /* brand primary */
  --ledger-dark: #1c3231;    /* deep hero/footer surface */
  --statement: #f2f5f4;      /* tinted off-white alternate surface */
  --paper: #ffffff;
  --muted: #51696a;          /* secondary text on light */
  --faint: #c9d6d4;          /* hairline rules on light */
  --red-ink: #e81b21;        /* annotations + primary CTA only */
  --red-ink-press: #c4151a;
  --red-text: #c4151a;       /* red ink as TEXT: 6.0:1 on paper, 5.6:1 on statement (AA) */
  --on-dark: #f4f8f7;        /* body text on dark */
  --on-dark-muted: #a7bcba;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.19rem, 1.12rem + 0.35vw, 1.4rem);
  --step-2: clamp(1.43rem, 1.3rem + 0.65vw, 1.8rem);
  --step-3: clamp(1.72rem, 1.5rem + 1.1vw, 2.4rem);
  --step-4: clamp(2.2rem, 1.8rem + 2vw, 3.4rem);
  --step-hero: clamp(2.35rem, 1.6rem + 4.2vw, 4.6rem);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6.5rem;

  --measure: 62ch;
  --measure-narrow: 36ch;
  --content-max: 72rem;
  --pad-x: clamp(1.25rem, 4vw, 2.5rem);
  --tap: 44px;
  --radius: 12px;
  --radius-card: 1.25rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul[class], ol[class],
nav ul, footer ul,
.ledger-strip ul, .marquee ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p { max-width: var(--measure); }

:focus-visible {
  outline: 3px solid var(--red-ink);
  outline-offset: 2px;
}
/* Chromium applies :focus-visible to iframes even on mouse clicks, ringing
   the whole GHL/booking widget in red ink. Embedded widgets draw their own
   focus indicators inside; suppress the outer ring. */
iframe:focus-visible { outline: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--paper);
  color: var(--ink);
  padding: var(--space-1) var(--space-2);
  z-index: 100;
}
.skip-link:focus { left: 0; top: 0; }

/* ---------- primitives ---------- */
.wrap {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
/* red-ink tick before section eyebrows: the annotation mark */
.section-head .eyebrow::before,
.hero .eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.1em;
  height: 2px;
  background: var(--red-ink);
  vertical-align: middle;
  margin-right: 0.6em;
}

/* red-ink margin note: the advisor's annotation */
.note {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--red-text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: var(--tap);
  padding: 0.7em 1.5em;
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.btn-sm {
  font-size: 0.85rem;
  padding: 0.45em 1.1em;
  min-height: 38px;
  border-radius: 7px;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
/* primary: quiet authority in brand teal (light surfaces) */
.btn-primary {
  background: var(--teal);
  color: #fff;
}
.btn-primary:hover {
  background: var(--ledger-dark);
  box-shadow: 0 6px 18px rgba(28 50 49 / 0.25);
}
/* paper: for dark surfaces */
.btn-paper {
  background: var(--paper);
  color: var(--ledger-dark);
}
.btn-paper:hover { box-shadow: 0 6px 18px rgba(0 0 0 / 0.35); }
.btn-ghost {
  border-color: rgba(255 255 255 / 0.4);
  color: inherit;
  background: transparent;
}
.btn-ghost:hover { border-color: rgba(255 255 255 / 0.8); background: rgba(255 255 255 / 0.06); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  gap: 0.4em;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--faint);
}
.link-arrow:hover { border-bottom-color: var(--red-ink); }

/* ---------- utility bar (Client Center + phone, above the header) ---------- */
.utility-bar {
  position: relative;
  z-index: 95; /* dropdown must paint above the sticky header */
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
}
.utility-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: flex;
  justify-content: flex-end;
}
/* CSI-style chip: small rounded rectangle hanging from the top edge */
.utility-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--statement);
  border: 1px solid var(--faint);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  padding: 0 1.25rem;
  min-height: 2.4rem;
}
.utility-bar svg { width: 1rem; height: 1rem; }
.utility-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  color: var(--teal);
  text-decoration: none;
  min-height: 2.4rem;
}
.utility-phone:hover { color: var(--red-text); }
.utility-drop { position: relative; }
/* The label is a real link to /clients/ (tap = navigate on touch);
   the quick-links menu reveals on hover or keyboard focus on desktop. */
.utility-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  min-height: 2.4rem;
  color: var(--teal);
  text-decoration: none;
}
.utility-label:hover { color: var(--red-text); }
.utility-drop .drop-menu { display: none; }
.utility-drop:hover .drop-menu,
.utility-drop:focus-within .drop-menu { display: grid; }
/* invisible bridge so the pointer can cross the gap to the menu */
.utility-drop .drop-menu::before {
  content: "";
  position: absolute;
  top: -0.5rem;
  left: 0;
  right: 0;
  height: 0.5rem;
}
.utility-drop summary {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  min-height: 2.4rem;
  color: var(--teal);
  cursor: pointer;
  list-style: none;
}
.utility-drop summary::-webkit-details-marker { display: none; }
.utility-drop summary:hover { color: var(--red-text); }
.utility-drop .drop-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: 12rem;
  background: var(--paper);
  border: 1px solid var(--faint);
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(28 50 49 / 0.14);
  padding: 0.4rem 1rem;
  z-index: 96;
}
.utility-drop .drop-menu a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  min-height: 2.3rem;
}
.utility-drop .drop-menu a:hover { color: var(--red-text); }

/* ---------- header: full-width floating bar, frosted ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255 255 255 / 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201 214 212 / 0.55);
}
.header-pill {
  position: relative;
  max-width: var(--content-max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: 4.25rem;
  padding-inline: var(--pad-x);
}
.site-logo { display: inline-flex; align-items: center; min-height: var(--tap); }
.site-logo img { width: clamp(170px, 25vw, 248px); height: auto; }
.header-right { display: none; }
@media (min-width: 60em) {
  /* one tier: logo left, nav + CTA to the right */
  .header-pill {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .site-logo { justify-self: start; }
  .nav-main { justify-self: end; margin-right: clamp(1rem, 2.5vw, 2.25rem); }
  .header-right {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    justify-self: end;
  }
}

.nav-toggle-box { position: absolute; opacity: 0; }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--tap);
  height: var(--tap);
  cursor: pointer;
  border-radius: var(--radius);
}
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--teal); }
.nav-toggle .icon-close { display: none; }
.nav-toggle-box:focus-visible ~ .nav-toggle {
  outline: 3px solid var(--red-ink);
  outline-offset: 2px;
}

.nav-main ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-main a {
  display: flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0.35em 0;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  position: relative;
}
/* red-ink underline grows on hover: annotation, not decoration */
.nav-main a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.45em;
  height: 2px;
  width: 100%;
  background: var(--red-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-main a:not(.btn):hover::after,
.nav-main a:not(.btn):focus-visible::after { transform: scaleX(1); }
.nav-main .nav-cta { margin-top: var(--space-1); }
.nav-main .nav-cta a {
  color: #fff;
  font-size: 0.95rem;
  border-radius: 999px;
}

/* Client Center dropdown */
.nav-drop { position: relative; }
.nav-drop summary {
  display: flex;
  align-items: center;
  gap: 0.35em;
  min-height: var(--tap);
  padding: 0.35em 0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-drop .drop-menu {
  display: grid;
  padding: var(--space-1) 0 var(--space-1) var(--space-2);
}
.nav-drop .drop-menu a { text-transform: none; letter-spacing: 0; font-size: 0.95rem; }
@media (min-width: 60em) {
  .nav-drop .drop-menu {
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    /* shrink-wrap to the widest link: no dead space on the right */
    width: max-content;
    min-width: 8.5rem;
    background: var(--paper);
    border: 1px solid var(--faint);
    border-radius: var(--radius);
    box-shadow: 0 14px 30px rgba(28 50 49 / 0.14);
    padding: 0.4rem 1.1rem;
    z-index: 60;
  }
  .nav-drop .drop-menu a { min-height: 2.3rem; font-size: 0.92rem; }
}

/* mobile: nav hidden until toggled, drops as a rounded card under the pill */
.nav-main {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: auto;
  right: 0;
  width: min(20rem, calc(100vw - 2.5rem));
  background: #fff;
  border: 1px solid rgba(201 214 212 / 0.6);
  border-radius: 1.25rem;
  box-shadow: 0 18px 44px rgba(28 50 49 / 0.22);
  padding: var(--space-2) var(--space-3) var(--space-3);
  z-index: 50;
}
.nav-toggle-box:checked ~ .nav-main { display: block; }
.nav-toggle-box:checked ~ .nav-toggle .icon-open { display: none; }
.nav-toggle-box:checked ~ .nav-toggle .icon-close { display: block; }

@media (min-width: 60em) {
  .nav-toggle { display: none; }
  .nav-main {
    display: block;
    position: static;
    width: auto;
    background: none;
    border: 0;
    padding: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
  }
  .nav-main ul {
    flex-direction: row;
    align-items: center;
    gap: clamp(1rem, 2vw, 1.75rem);
  }
  .nav-main .nav-cta { margin-top: 0; }
  .nav-mobile-extra { display: none; }
}

/* ---------- hero ---------- */
/* Flat surface on purpose: the old faint radial glows produced visible
   color banding (stepped lighter patches) on wide screens (Jose, 2026-07-31) */
.hero {
  background: var(--ledger-dark);
  color: var(--on-dark);
  padding-block: clamp(3.5rem, 9vw, 7.5rem) 0;
}
.hero .eyebrow { color: var(--on-dark-muted); }
.hero h1,
.hero .hero-h1 {
  font-size: var(--step-hero);
  max-width: 17ch;
  margin-top: var(--space-2);
  color: #fff;
}
/* non-h1 rotator headlines (slides 2-3): same display treatment, one h1 per page */
.hero-h1 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.hero .lede {
  margin-top: var(--space-3);
  max-width: 44ch;
  font-size: var(--step-1);
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

/* rotating hero: slides stack in one grid cell (tallest sets height, no CLS) */
.hero-rotator { display: grid; }
.hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}
.hero-dots {
  display: flex;
  gap: 0.6rem;
  margin-top: var(--space-4);
}
.hero-dots button {
  width: 2rem;
  height: var(--tap);
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-dots button::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255 255 255 / 0.35);
  transition: width 0.25s ease, background-color 0.25s ease;
}
.hero-dots button[aria-current="true"]::before {
  width: 1.8rem;
  background: var(--red-ink);
}

/* explicit pause control for the auto-rotating hero (WCAG 2.2.2) */
.hero-pause {
  width: var(--tap);
  height: var(--tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: 1px solid rgba(255 255 255 / 0.35);
  border-radius: 999px;
  color: var(--on-dark-muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.hero-pause:hover { color: var(--on-dark); border-color: rgba(255 255 255 / 0.7); }
.hero-pause svg { width: 16px; height: 16px; fill: currentColor; }
.hero-pause .icon-play { display: none; }
.hero-pause[aria-pressed="true"] .icon-pause { display: none; }
.hero-pause[aria-pressed="true"] .icon-play { display: block; }

/* red-ink underline annotation (rotator slides 2-3) */
.underlined { position: relative; white-space: nowrap; }
.underlined svg {
  position: absolute;
  left: -0.06em;
  bottom: -0.22em;
  width: calc(100% + 0.12em);
  max-width: none;
  height: 0.28em;
  overflow: visible;
  pointer-events: none;
}
.underlined { display: inline-block; white-space: nowrap; position: relative; }
.underlined path {
  fill: none;
  stroke: var(--red-ink);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-dasharray: 110;
  stroke-dashoffset: 110;
}
.hero-slide.is-active .underlined path { animation: draw-line 0.55s ease-out 0.8s forwards; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
.hero-slide.is-active .circled ellipse,
.page-hero .circled ellipse { animation: draw-ink 0.7s ease-out 0.9s forwards; }

/* curved bottom edge: the hero sweeps into the page */
.hero { padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.hero-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(28px, 5.5vw, 76px);
  z-index: 3;
  display: block;
}
.hero-curve path { fill: var(--paper); }
.curve-statement .hero-curve path { fill: var(--statement); }

.hero { position: relative; overflow: hidden; }
.hero > .wrap { position: relative; z-index: 2; }

/* mixed hero imagery (Jose, 2026-07-31): card heroes on pages where a
   photo carries meaning, duotone atmosphere where the hero wants mood */
.hero-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 34px 80px rgba(0 0 0 / 0.5);
  margin-top: var(--space-3);
}
.hero-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* homepage: the image crossfades in step with the headline rotator */
.hero-card-rotating img { opacity: 0; transition: opacity 0.7s ease; }
.hero-card-rotating img.is-active { opacity: 1; }
@media (min-width: 60em) {
  .hero-with-card > .wrap {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    grid-template-areas: "copy card" "strip strip";
    gap: var(--space-3) var(--space-5);
    align-items: stretch;
  }
  .hero-with-card .hero-copy { grid-area: copy; align-self: center; }
  /* one card size everywhere (matched to the industry-page proportions
     Jose approved): fixed portrait ratio, centered beside the copy,
     never inflated by longer copy columns */
  .hero-with-card .hero-card {
    grid-area: card;
    margin-top: 0;
    align-self: center;
    justify-self: center;
    width: min(100%, 26rem);
    aspect-ratio: 4 / 5;
    height: auto;
  }
  /* the grid row-gap already separates the strip here: temper the
     strip's own large margin so spacing does not double up */
  .hero-with-card .ledger-strip { grid-area: strip; margin-top: var(--space-2); }
}
.hero-atmo { position: absolute; inset: 0 0 0 45%; z-index: 1; display: none; pointer-events: none; }
@media (min-width: 60em) { .hero-atmo { display: block; } }
.hero-atmo img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.5;
  filter: grayscale(1) sepia(0.2) hue-rotate(120deg) saturate(0.9) brightness(0.75);
}
.hero-atmo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ledger-dark) 0%, rgba(28 50 49 / 0.3) 55%, rgba(28 50 49 / 0.5) 100%);
}

/* the signature: red-ink ellipse circling the problem word.
   inline-block: absolute positioning against plain inline boxes is
   browser-inconsistent and drifted on longer spans like "$750". */
.circled {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.circled svg {
  position: absolute;
  left: -0.3em;
  top: -0.2em;
  width: calc(100% + 0.6em);
  max-width: none; /* global `svg { max-width: 100% }` was clamping the ellipse */
  height: calc(100% + 0.44em);
  overflow: visible;
  pointer-events: none;
}
.circled ellipse {
  fill: none;
  stroke: var(--red-ink);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  transform: rotate(-2deg);
  transform-origin: center;
}
@keyframes draw-ink {
  to { stroke-dashoffset: 0; }
}

/* hero entrance: set, then annotate, then invite */
.hero .eyebrow, .hero h1, .hero .hero-h1 { animation: rise 0.6s ease-out both; }
.hero .lede { animation: rise 0.6s ease-out 0.45s both; }
.hero-actions { animation: rise 0.6s ease-out 0.6s both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ledger facts strip: ruled like statement lines */
.ledger-strip {
  margin-top: clamp(3rem, 7vw, 5.5rem);
  border-top: 1px solid rgba(255 255 255 / 0.18);
}
.ledger-strip ul {
  display: grid;
}
.ledger-strip li {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--on-dark-muted);
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255 255 255 / 0.12);
}
.ledger-strip li:last-child { border-bottom: none; }
.ledger-strip strong { color: var(--on-dark); font-weight: 500; }
.ledger-strip { padding-bottom: var(--space-3); }
@media (min-width: 46em) {
  .ledger-strip ul { grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
  .ledger-strip li { border-bottom: none; }
}

/* ---------- cinematic full-bleed break ---------- */
.cine-break {
  position: relative;
  min-height: clamp(22rem, 55vw, 30rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--on-dark);
}
.cine-media {
  position: absolute;
  inset: -10% 0;
  background-size: cover;
  background-position: center;
  /* slow drift for depth; static under reduced motion */
  animation: cine-drift 26s ease-in-out infinite alternate;
}
@keyframes cine-drift {
  from { transform: scale(1.05) translateY(-1.5%); }
  to { transform: scale(1.12) translateY(1.5%); }
}
.cine-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(28 50 49 / 0.92) 20%, rgba(28 50 49 / 0.55) 60%, rgba(28 50 49 / 0.35));
}
.cine-copy {
  position: relative;
  z-index: 2;
  padding-block: var(--space-5);
}
.cine-copy blockquote {
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.22;
  max-width: 22ch;
  color: #fff;
}
.cine-copy blockquote em { font-style: italic; color: #ffb3b5; }
.cine-copy p {
  margin-top: var(--space-3);
  max-width: 52ch;
  color: var(--on-dark-muted);
}
.cine-copy .link-arrow { color: var(--on-dark); border-bottom-color: rgba(255 255 255 / 0.35); }
@media (prefers-reduced-motion: reduce) {
  .cine-media { animation: none; }
}

/* ---------- team band (replaces the old photo cine-break on home) ---------- */
.team-band {
  background: var(--ledger-dark); /* flat: faint radials band on wide screens */
  color: var(--on-dark);
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.team-band-inner {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}
.avatar-cluster {
  display: flex;
  align-items: center;
}
.avatar-cluster img,
.avatar-cluster .avatar-more {
  width: clamp(3.4rem, 7vw, 4.6rem);
  height: clamp(3.4rem, 7vw, 4.6rem);
  border-radius: 999px;
  border: 3px solid var(--ledger-dark);
  object-fit: cover;
  margin-left: -0.9rem;
  transition: transform 0.3s var(--ease-out);
}
.avatar-cluster img:first-child { margin-left: 0; }
.avatar-cluster img:hover { transform: translateY(-4px); }
.avatar-cluster .avatar-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: var(--on-dark);
  font-family: var(--font-mono);
  font-size: 0.95rem;
}
.team-band-copy blockquote {
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.22;
  color: #fff;
  max-width: 24ch;
}
.team-band-copy p {
  margin-top: var(--space-2);
  color: var(--on-dark-muted);
  max-width: 52ch;
}
.team-band-copy .link-arrow {
  margin-top: var(--space-2);
  color: var(--on-dark);
  border-bottom-color: rgba(255 255 255 / 0.35);
}
.team-band .revealed .underlined path { animation: draw-line 0.55s ease-out 0.5s forwards; }
@media (min-width: 60em) {
  .team-band-inner { grid-template-columns: auto 1fr; gap: var(--space-5); }
  .avatar-cluster { flex-direction: column; }
  .avatar-cluster img, .avatar-cluster .avatar-more { margin-left: 0; margin-top: -0.9rem; }
  .avatar-cluster img:first-child { margin-top: 0; }
}

/* ---------- audience panels with photos ---------- */
.audience-panel.has-photo { position: relative; overflow: hidden; }
.audience-panel .panel-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 6s var(--ease-out);
  transform: scale(1.02);
}
.audience-panel.has-photo:hover .panel-media { transform: scale(1.1); }
.audience-panel.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(185deg, rgba(28 50 49 / 0.55), rgba(28 50 49 / 0.92) 70%);
  z-index: 1;
}
.audience-panel.has-photo > *:not(.panel-media) { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .audience-panel .panel-media { transition: none; }
}

/* ---------- inner page hero ---------- */
.page-hero {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.page-hero h1 {
  font-size: var(--step-4);
  max-width: 20ch;
  margin-top: var(--space-2);
  color: #fff;
}
.reviews-wall { grid-auto-flow: dense; }
@media (min-width: 64em) {
  .reviews-wall { grid-template-columns: repeat(3, 1fr); }
  .reviews-wall .testimonial-card.featured { grid-row: auto; grid-column: auto; }
}

/* ---------- booking page ---------- */
.book-hero { padding-bottom: clamp(3rem, 6vw, 5rem); }
.book-grid { display: grid; gap: var(--space-4); }
.book-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.book-copy h1 { font-size: var(--step-4); max-width: 14ch; margin-top: var(--space-2); color: #fff; }
.book-copy h1.book-title { max-width: 16ch; }
ul.book-facts { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
.book-facts li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--on-dark-muted);
  font-size: var(--step-0);
  line-height: 1.55;
  max-width: 34ch;
}
.book-facts svg { width: 1.4rem; height: 1.4rem; flex-shrink: 0; margin-top: 0.2rem; color: var(--on-dark); }
.book-alt { margin-top: var(--space-5); color: var(--on-dark-muted); font-size: var(--step-0); }
.book-alt a { color: var(--on-dark); }
.book-widget {
  background: var(--paper);
  border-radius: var(--radius-card);
  box-shadow: 0 24px 60px rgba(0 0 0 / 0.3);
  overflow: hidden;
  padding: 0.5rem;
}
@media (min-width: 60em) {
  .book-grid { grid-template-columns: 1fr 1.1fr; gap: var(--space-5); align-items: stretch; }
}

/* ---------- partners marquee: quiet light band at the very bottom ---------- */
.partners {
  background: var(--paper);
  border-top: 1px solid var(--faint);
  padding-block: var(--space-4) var(--space-5);
  overflow: hidden;
}
.partners .eyebrow {
  display: block;
  color: var(--muted);
  text-align: center;
  margin: 0 auto var(--space-3);
}
.marquee {
  display: flex;
  width: max-content;
  gap: clamp(3rem, 7vw, 5.5rem);
  animation: marquee 36s linear infinite;
}
.marquee:hover { animation-play-state: paused; }
.marquee ul {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 7vw, 5.5rem);
  flex-shrink: 0;
}
.marquee img {
  height: clamp(1.6rem, 3.2vw, 2.2rem);
  width: auto;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.marquee li:hover img { filter: none; opacity: 1; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - clamp(1.5rem, 3.5vw, 2.75rem))); }
}

/* ---------- scroll reveal (JS adds .revealed) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed { opacity: 1; transform: none; }
/* no-JS and reduced-motion safety: content must never stay hidden */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-statement { background: var(--statement); }
.section-dark { background: var(--ledger-dark); color: var(--on-dark); }
.section-head { max-width: var(--measure); }
.section-head .eyebrow { color: var(--muted); }
.section-dark .section-head .eyebrow { color: var(--on-dark-muted); }
.section-head h2 { font-size: var(--step-3); margin-top: var(--space-1); }
.section-head .sub { margin-top: var(--space-2); color: var(--muted); }
.section-dark .section-head .sub { color: var(--on-dark-muted); }

/* four numbers: the advisor's opening move */
.numbers-grid {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.numbers-grid article {
  border-top: 2px solid var(--teal);
  padding-top: var(--space-2);
}
/* pricing pillars: statement boxes (Jose picked option A, 2026-07-28) */
.pillars-grid { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
.pillar-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--faint);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius-card);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(28 50 49 / 0.12);
}
.pillar-card .num {
  position: absolute;
  top: var(--space-2);
  right: var(--space-3);
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--red-text);
  font-size: 0.85rem;
}
.pillar-card h3 { font-size: var(--step-2); }
.pillar-card .note { font-size: 0.8rem; margin-top: auto; }
@media (min-width: 46em) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72em) { .pillars-grid { grid-template-columns: repeat(4, 1fr); } }

/* pillar deliverables: red-ink ticks, one line each (sales-call checklist) */
.pillar-list { display: grid; gap: 0.45rem; margin-top: 0.35rem; }
.pillar-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: var(--step--1);
  color: var(--muted);
  line-height: 1.5;
}
.pillar-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red-text);
  font-weight: 700;
}
.numbers-grid .num {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--red-text);
  font-size: var(--step--1);
}
.numbers-grid h3 { font-size: var(--step-1); margin-top: 0.3rem; }
.numbers-grid p { font-size: var(--step--1); color: var(--muted); margin-top: 0.5rem; }
@media (min-width: 46em) {
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64em) {
  .numbers-grid { grid-template-columns: repeat(4, 1fr); }
}

/* services */
.services-grid {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--faint);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius-card);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(28 50 49 / 0.12);
}
.service-card :is(h2, h3) { font-size: var(--step-2); }
.service-card p { font-size: var(--step--1); color: var(--muted); flex-grow: 1; }
.service-card .link-arrow { align-self: flex-start; font-size: var(--step--1); }
.service-card.lead-card { border: 2px solid var(--teal); position: relative; }
.service-card.lead-card .note { position: absolute; top: var(--space-2); right: var(--space-2); }
@media (min-width: 46em) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  /* odd-count grids (About core values): last card sized like its
     siblings (one column wide) and centered under the pair above */
  .values-grid .service-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - (var(--space-2) / 2));
    text-align: center;
    align-items: center;
  }
  .values-grid .service-card:last-child:nth-child(odd) p { margin-inline: auto; }
}

/* audiences */
.audience-grid { display: grid; gap: var(--space-2); margin-top: var(--space-4); }
.audience-panel {
  border-radius: var(--radius-card);
  padding: var(--space-4) var(--space-3);
  background: var(--ledger-dark);
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.audience-panel .eyebrow { color: var(--on-dark-muted); }
.audience-panel :is(h2, h3) { font-size: var(--step-2); color: #fff; }
.audience-panel p { color: var(--on-dark-muted); font-size: var(--step--1); flex-grow: 1; }
.audience-panel .link-arrow { border-bottom-color: rgba(255 255 255 / 0.3); align-self: flex-start; }
.audience-panel .link-arrow:hover { border-bottom-color: var(--red-ink); }
@media (min-width: 46em) {
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
}

/* pricing teaser */
.pricing-teaser {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-4);
  align-items: end;
}
.pricing-teaser .price {
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 1;
}
.pricing-teaser .price small {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-top: var(--space-1);
  color: var(--muted);
}
@media (min-width: 46em) {
  .pricing-teaser { grid-template-columns: auto 1fr; gap: var(--space-5); }
}

/* final CTA band */
.cta-band { text-align: center; }
.cta-band h2 { font-size: var(--step-3); color: #fff; max-width: 22ch; margin-inline: auto; }
.cta-band p { margin: var(--space-2) auto 0; color: var(--on-dark-muted); }
.cta-band .hero-actions { justify-content: center; }
.cta-band .tel {
  font-family: var(--font-mono);
  color: var(--on-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
}
.cta-band .tel:hover { color: #fff; }

/* ---------- testimonials: the wall of proof ---------- */
.testimonials {
  background:
    radial-gradient(100% 80% at 85% 10%, rgba(47 79 79 / 0.06), transparent 60%),
    var(--statement);
}
.testimonial-grid {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.testimonial-card {
  position: relative;
  background: var(--paper);
  border: 0;
  border-radius: var(--radius-card);
  padding: var(--space-4) var(--space-3) var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  box-shadow: 0 20px 50px rgba(28 50 49 / 0.12);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 64px rgba(28 50 49 / 0.18);
}
/* oversized red-ink quote mark hanging off the card */
.testimonial-card .quote-mark {
  position: absolute;
  top: -0.28em;
  left: 0.12em;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 5.5rem;
  line-height: 1;
  color: var(--red-text);
  opacity: 0.9;
  pointer-events: none;
}
.testimonial-card .stars { display: flex; gap: 0.25rem; justify-content: flex-end; }
.testimonial-card .stars svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: var(--red-ink);
}
.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.45;
  flex-grow: 1;
}
.testimonial-card.featured blockquote { font-size: var(--step-2); }
.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--faint);
  padding-top: var(--space-2);
  font-size: var(--step--1);
}
.testimonial-card .avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: var(--ledger-dark);
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.testimonial-card .who { display: grid; }
.testimonial-card .who strong { color: var(--ink); }
.testimonial-card .who span { color: var(--muted); font-family: var(--font-mono); font-size: 0.78rem; }
@media (min-width: 46em) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card.featured { grid-column: 1 / -1; }
}
@media (min-width: 64em) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card.featured {
    grid-row: 1 / span 2;
    grid-column: 1;
  }
  /* 4-card variant (all picked quotes are short): featured stops
     spanning and the 4th card fills the space below it */
  .testimonial-grid.quad .testimonial-card.featured { grid-row: auto; }
  /* long featured quote: three side cards share its height */
  .testimonial-grid.side-3 .testimonial-card.featured { grid-row: 1 / span 3; }
}

/* ---------- locations ---------- */
.location-detail {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-4);
}
.location-local h3, .location-serve h3 { font-size: var(--step-2); margin-bottom: var(--space-2); }
.location-local p { color: var(--muted); }
.location-serve ul { display: grid; gap: 0.4rem; }
.location-serve li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--muted);
}
.location-serve li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.85em;
  height: 2px;
  background: var(--red-ink);
}
@media (min-width: 46em) {
  .location-detail { grid-template-columns: 3fr 2fr; gap: var(--space-5); }
}
.location-grid {
  display: grid;
  gap: var(--space-2);
}
.location-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  border: 1px solid var(--faint);
  border-radius: var(--radius-card);
  padding: var(--space-3);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(28 50 49 / 0.12);
}
.location-card :is(h2, h3) { font-size: var(--step-2); }
.location-card p { font-size: var(--step--1); color: var(--muted); flex-grow: 1; }
.location-card .link-arrow { font-size: var(--step--1); }
@media (min-width: 46em) {
  .location-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64em) {
  .location-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- learning center ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  margin-bottom: var(--space-3);
}
.breadcrumbs a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span { color: var(--on-dark-muted); }

.lc-grid {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.lc-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  border: 1px solid var(--faint);
  border-radius: var(--radius-card);
  padding: var(--space-3);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.lc-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(28 50 49 / 0.12); }
/* card thumbnail bleeds to the card edges above the text block */
.lc-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: calc(-1 * var(--space-3)) calc(-1 * var(--space-3)) var(--space-1);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}
.lc-card-media img { width: 100%; height: 100%; object-fit: cover; }
.lc-card-media picture { display: block; height: 100%; }
.lc-card-media--type {
  background: linear-gradient(135deg, var(--teal), var(--ledger-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}
.lc-card-media--type span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: rgba(244 248 247 / 0.16);
  line-height: 1;
  user-select: none;
}
.lc-card .eyebrow { color: var(--red-text); font-size: 0.72rem; }
.lc-card :is(h2, h3) { font-size: var(--step-1); }
.lc-card p { font-size: var(--step--1); color: var(--muted); flex-grow: 1; }
.lc-card .lc-meta { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); }
@media (min-width: 46em) { .lc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .lc-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- "From the Learning Center" band (all pages except home) ---------- */
.related-lc-grid { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
.lc-feature {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--faint);
  border-radius: var(--radius-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.lc-feature:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(28 50 49 / 0.14); }
.lc-feature-media { aspect-ratio: 16 / 9; overflow: hidden; }
.lc-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.lc-feature-media picture { display: block; height: 100%; }
.lc-feature-media--type {
  background: linear-gradient(135deg, var(--teal), var(--ledger-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}
.lc-feature-media--type span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(4rem, 9vw, 7rem);
  color: rgba(244 248 247 / 0.16);
  line-height: 1;
  user-select: none;
}
.lc-feature-body { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-3); flex-grow: 1; }
.lc-feature-body .eyebrow { color: var(--red-text); font-size: 0.72rem; }
.lc-feature-body h3 { font-size: var(--step-2); }
.lc-feature-tldr { font-size: var(--step-0); color: var(--muted); flex-grow: 1; }
.lc-feature-body .lc-meta { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); }
.related-lc-side { display: grid; gap: var(--space-3); align-content: start; }
.related-lc-side .lc-card { background: var(--paper); }
.related-lc-all { margin-top: var(--space-3); }
@media (min-width: 60em) {
  .related-lc-grid { grid-template-columns: 1.6fr 1fr; align-items: stretch; }
  /* the 2 side cards split the feature card's full height (Jose, 2026-07-29) */
  .related-lc-side { align-content: stretch; grid-auto-rows: 1fr; }
}

/* Forms & documents: compact card grid (smaller than the tool cards) */
.doc-groups { display: grid; gap: var(--space-4); margin-top: var(--space-4); }
.doc-group h3 { font-size: var(--step-1); margin-bottom: var(--space-2); }
.doc-grid { display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
/* Each card reads as a sheet of paper: dog-eared corner, name first,
   action line at the bottom */
.doc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 6.5rem;
  background: var(--paper);
  border: 1px solid var(--faint);
  border-radius: 3px 14px 3px 3px;
  padding: var(--space-2);
  padding-right: var(--space-3);
  font-size: var(--step--1);
  line-height: 1.45;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(28 50 49 / 0.05);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
/* the folded corner: outer triangle matches the section surface,
   inner triangle is the flap's shadowed underside */
.doc-card::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 14px;
  height: 14px;
  background: linear-gradient(225deg, var(--statement) 0 49%, #dbe5e3 51% 100%);
  border-bottom-left-radius: 4px;
  box-shadow: -1px 1px 2px rgba(28 50 49 / 0.08);
}
.doc-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(28 50 49 / 0.12); }
.doc-name { font-weight: 600; letter-spacing: -0.005em; }
.doc-kind {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.doc-kind::after { content: " \2192"; }
.doc-card:hover .doc-kind { color: var(--red-text); }

/* service cinematic band: widescreen letterbox split (Jose, 2026-07-30).
   Words on paper, photo as a floating card with scroll parallax. */
.svc-band {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  padding-block: var(--space-6);
}
.svc-band-grid { display: grid; gap: var(--space-3); align-items: center; }
@media (min-width: 46em) { .svc-band-grid { grid-template-columns: 1fr 1.1fr; gap: var(--space-5); } }
.svc-band-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.svc-band-quote {
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 1.12;
  color: var(--ink);
  margin-top: var(--space-1);
  max-width: 16ch;
}
.svc-band-quote em { font-style: italic; color: var(--red-text); }
.svc-band-sub { margin-top: var(--space-2); color: var(--muted); max-width: 42ch; }
.svc-band-photo {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 34px 70px rgba(28 50 49 / 0.3);
}
.svc-band-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .svc-band-photo { animation: svc-band-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
    @keyframes svc-band-rise { from { transform: translateY(60px); } to { transform: translateY(0); } }
  }
}

/* mobile apps page: each app is a ledger line with a home-screen icon */
.app-rows { display: grid; gap: var(--space-2); margin-top: var(--space-4); }
.app-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--paper);
  border: 1px solid var(--faint);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius-card);
  padding: var(--space-2) var(--space-3);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.app-row:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(28 50 49 / 0.12); }
.app-icon { flex-shrink: 0; }
.app-icon img {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 18px; /* the home-screen squircle */
  border: 1px solid var(--faint);
}
.app-body { flex: 1; display: flex; flex-direction: column; gap: 0.35rem; }
.app-body h2 { font-size: var(--step-1); }
.app-body p { font-size: var(--step--1); color: var(--muted); margin: 0; }
.store-links { display: flex; gap: 0.6rem; flex-shrink: 0; }
.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--faint);
  border-radius: 8px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.store-link::after { content: " \2192"; margin-left: 0.4em; }
.store-link:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
  color: var(--red-text);
  box-shadow: 0 8px 20px rgba(28 50 49 / 0.1);
}
@media (max-width: 46em) {
  .app-row { flex-wrap: wrap; row-gap: var(--space-2); }
  .app-body { flex-basis: calc(100% - 72px - var(--space-3)); }
  .store-links { flex-basis: 100%; }
  .store-link { flex: 1; }
}

.topic-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: var(--space-3); }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0.3em 1em;
  border: 1px solid var(--faint);
  border-radius: 999px;
  background: var(--paper);
  text-decoration: none;
  color: var(--ink);
  font-size: var(--step--1);
  font-weight: 500;
}
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip-audience { background: var(--ledger-dark); color: var(--on-dark); border-color: var(--ledger-dark); }
.chip-audience:hover { color: #fff; border-color: var(--ledger-dark); }

/* post layout */
.post-hero .tldr {
  margin-top: var(--space-3);
  background: rgba(255 255 255 / 0.06);
  border-left: 3px solid var(--red-ink);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--space-2) var(--space-3);
  max-width: 62ch;
}
.post-hero .tldr p:last-child { color: var(--on-dark); }
.post-grid { display: grid; gap: var(--space-4); }
.post-content { max-width: 46rem; }
.post-hero-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-card);
  margin-bottom: var(--space-3);
  box-shadow: 0 18px 40px rgba(28 50 49 / 0.12);
}
.post-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.post-hero-media picture { display: block; height: 100%; }
.post-content h2 { font-size: var(--step-2); margin-top: var(--space-4); }
.post-content h3 { font-size: var(--step-1); margin-top: var(--space-3); }
.post-content p, .post-content li { color: var(--ink); margin-top: var(--space-2); }
.post-content ul, .post-content ol { padding-left: 1.2em; }
.takeaways {
  background: var(--statement);
  border-radius: var(--radius-card);
  padding: var(--space-3);
  margin-top: var(--space-3);
}
.takeaways h2 { font-size: var(--step-1); margin-top: 0; }
.takeaways li { margin-top: var(--space-1); }
.post-faqs { margin-top: var(--space-4); }
.post-faqs .faq-item { margin-top: var(--space-1); }
.post-sources { margin-top: var(--space-4); font-size: var(--step--1); }
.post-sources a { color: var(--teal); }
.transcript { margin-top: var(--space-4); border-top: 1px solid var(--faint); padding-top: var(--space-2); }
.transcript summary { font-weight: 600; cursor: pointer; min-height: var(--tap); display: flex; align-items: center; }
.post-aside { display: grid; gap: var(--space-3); align-content: start; }
.aside-card {
  background: var(--ledger-dark);
  color: var(--on-dark);
  border-radius: var(--radius-card);
  padding: var(--space-3);
}
.aside-card .eyebrow { color: var(--on-dark-muted); }
.aside-card p:not(.eyebrow) { color: var(--on-dark-muted); margin: var(--space-2) 0; font-size: var(--step--1); }
.aside-related { border: 1px solid var(--faint); border-radius: var(--radius-card); padding: var(--space-3); }
.aside-related ul { display: grid; gap: var(--space-1); margin-top: var(--space-2); }
.aside-related a { color: var(--ink); text-decoration: none; font-size: var(--step--1); font-weight: 500; }
.aside-related a:hover { color: var(--red-text); }
@media (min-width: 60em) {
  .post-grid { grid-template-columns: 1fr 17rem; gap: var(--space-5); }
  .post-aside { position: sticky; top: 5.5rem; height: fit-content; }
}

/* lite YouTube embed */
.video-embed { margin-top: var(--space-3); border-radius: var(--radius-card); overflow: hidden; }
.video-poster {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: var(--ledger-dark);
}
.video-poster img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: 0.85; }
.video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  background: var(--red-ink);
}
.video-play::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-left: 1.3rem solid #fff;
  border-top: 0.8rem solid transparent;
  border-bottom: 0.8rem solid transparent;
  transform: translateX(0.15rem);
}
.video-embed iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }

/* search */
.lc-search { margin-top: var(--space-3); max-width: 30rem; }

/* ---------- legal pages ---------- */
.legal-copy { max-width: 46rem; }
.legal-copy h2, .legal-copy h3 { margin-top: var(--space-4); }
.legal-copy p, .legal-copy li { color: var(--muted); margin-top: var(--space-2); }

/* ---------- contact page ---------- */
.contact-grid { display: grid; gap: var(--space-4); }
.contact-details h2 { font-size: var(--step-3); }
.contact-list { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.contact-list li { display: grid; grid-template-columns: 5rem 1fr; gap: var(--space-2); align-items: baseline; }
.contact-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-text);
}
.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--red-text); }
/* embedded GHL form, "Annotated" treatment (Jose picked option C 2026-07-29):
   dark ledger header caps the card, red ink underlines "message";
   field styling inside the iframe lives in docs/ghl-survey-custom.css */
.form-card {
  background: var(--paper);
  border: 1px solid var(--faint);
  border-radius: var(--radius-card);
  box-shadow: 0 24px 55px rgba(28 50 49 / 0.14);
  overflow: hidden;
}
.form-card-head {
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(74 110 108 / 0.35), transparent 60%),
    var(--ledger-dark);
  color: var(--on-dark);
  padding: var(--space-3);
}
.form-card-head .eyebrow { color: var(--on-dark-muted); }
.form-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-2);
  line-height: 1.15;
  color: #fff;
  margin-top: 0.4rem;
  max-width: none;
}
.revealed .form-card .underlined path { animation: draw-line 0.55s ease-out 0.6s forwards; }
.form-card iframe { display: block; }

/* lead-magnet band: pitch copy left, embedded download form right */
.magnet-grid { display: grid; gap: var(--space-4); align-items: start; }
.magnet-copy h2 { font-size: var(--step-3); max-width: 18ch; }
.magnet-copy .sub { color: var(--muted); margin-top: var(--space-2); }
.magnet-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--red-text);
  margin-top: var(--space-3);
}
.magnet-cover {
  margin-top: var(--space-4);
  border: 1px solid var(--faint);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(28 50 49 / 0.12);
}
@media (min-width: 60em) {
  .magnet-grid { grid-template-columns: 1fr 1.2fr; gap: var(--space-5); }
}
  background: var(--statement);
  border: 1px solid var(--faint);
  border-radius: var(--radius-card);
  padding: var(--space-4) var(--space-3);
}
.form-pending h3 { font-size: var(--step-2); margin-bottom: var(--space-2); }
.map-embed iframe { display: block; filter: grayscale(35%); }
@media (min-width: 60em) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: var(--space-5); }
}

/* ---------- add-on pricing cards ---------- */
.addon-grid {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.addon-card {
  background: var(--paper);
  border: 1px solid var(--faint);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius-card);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.addon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(28 50 49 / 0.12);
}
.addon-card h3 { font-size: var(--step-1); }
.addon-card p { font-size: var(--step--1); color: var(--muted); flex-grow: 1; }
.addon-card .addon-price {
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--ink);
  flex-grow: 0;
  border-top: 1px solid var(--faint);
  padding-top: var(--space-2);
}
.addon-card .addon-price-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: -0.35rem;
}
.addon-card .addon-price span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}
@media (min-width: 46em) {
  .addon-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64em) {
  .addon-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- FAQ ---------- */
.faq-list {
  margin-top: var(--space-4);
  max-width: 46rem;
  display: grid;
  gap: var(--space-1);
}
.faq-item {
  border: 1px solid var(--faint);
  border-radius: var(--radius);
  background: var(--paper);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: var(--tap);
  padding: 0.85rem var(--space-3);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--red-text);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 var(--space-3) var(--space-3);
  color: var(--muted);
}

/* ---------- team grid ---------- */
.team-grid {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-4);
  grid-template-columns: repeat(2, 1fr);
}
.team-card {
  text-align: center;
}
.team-card img,
.team-card .team-placeholder {
  width: min(100%, 11rem);
  aspect-ratio: 1;
  border-radius: 999px;
  object-fit: cover;
  margin-inline: auto;
  filter: grayscale(25%);
  transition: filter 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.team-card:hover img { filter: none; transform: scale(1.04); }
.team-card .team-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ledger-dark);
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: 2.5rem;
}
.team-card figcaption {
  margin-top: var(--space-2);
  display: grid;
}
.team-card strong { font-size: var(--step-0); }
.team-card span:not(.team-placeholder) {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
@media (min-width: 46em) {
  .team-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90rem 40rem at 8% -10%, rgba(47 79 79 / 0.55), transparent 60%),
    linear-gradient(180deg, var(--ledger-dark), #142422);
  color: var(--on-dark-muted);
  padding-block: var(--space-6) var(--space-3);
  font-size: var(--step--1);
  border-top: 1px solid rgba(255 255 255 / 0.12);
}
.footer-amp {
  position: absolute;
  right: -0.08em;
  bottom: -0.34em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(16rem, 34vw, 30rem);
  line-height: 1;
  color: rgba(244 248 247 / 0.04);
  user-select: none;
  pointer-events: none;
}
.site-footer .wrap { position: relative; }
.footer-grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr 1fr; }
.footer-grid > .footer-brand { grid-column: 1 / -1; }
.footer-name {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  color: var(--on-dark);
  margin-bottom: var(--space-3);
}
.footer-grid .footer-contact { display: grid; gap: 0.7rem; max-width: 22rem; }
.footer-contact li { display: flex; gap: 0.7rem; align-items: baseline; line-height: 1.5; }
.footer-contact svg { width: 14px; height: 14px; flex-shrink: 0; transform: translateY(2px); opacity: 0.7; }
.footer-contact a { min-height: 0; }
.footer-grid .footer-social { display: flex; gap: 0.7rem; margin-top: var(--space-3); }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--tap);
  height: var(--tap);
  min-height: var(--tap);
  border: 1px solid rgba(255 255 255 / 0.22);
  border-radius: 50%;
  color: var(--on-dark);
  transition: background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.footer-social a:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--ledger-dark); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-grid h2 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: var(--space-2);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255 255 255 / 0.14);
}
.footer-grid ul { display: grid; gap: 0.25rem; }
.footer-grid a {
  color: var(--on-dark-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
}
.footer-grid a:hover { color: #fff; }
.footer-legal {
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255 255 255 / 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  align-items: center;
  font-size: 0.8rem;
}
.footer-legal a { color: var(--on-dark-muted); }
.footer-legal a:hover { color: #fff; }
@media (min-width: 60em) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--space-5); }
  .footer-grid > .footer-brand { grid-column: auto; }
}

/* ---------- motion discipline ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .eyebrow, .hero h1, .hero .hero-h1, .hero .lede, .hero-actions { animation: none; }
  .circled ellipse, .underlined path { animation: none !important; stroke-dashoffset: 0; }
  .marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee ul { flex-wrap: wrap; justify-content: center; }
  .marquee ul + ul { display: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
