/* The Bookkeeping Company: Version B review prototype.
 * The October concept's system (film hero, ledger paper, double-rule motif,
 * layered parallax) rebuilt in Maya's brand: forest pine #0e312a, warm linen
 * #f3eae3, slate #222b28, and her geometric M lockup. One accent (copper) is
 * kept from the concept for rules and stars only. */

@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-display.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-italic-display.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("fonts/plexmono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --pine: #0e312a;
  --pine-2: #164238;
  --tbcsite-ink: #0a241f;
  --linen: #f3eae3;
  --linen-2: #ebdfd5;
  --card: #fbf7f3;
  --slate: #222b28;
  --tbcsite-muted: #5a625e;
  --cream-2: #c3ccc6;
  --tbcsite-accent: #d26a37;
  --accent-light: #f0a172;
  --accent-ink: #9c4a20;
  --margin-red: rgba(190, 92, 52, 0.34);
  --rule: rgba(14, 49, 42, 0.13);
  --rule-strong: rgba(14, 49, 42, 0.26);
  --line-light: rgba(243, 234, 227, 0.3);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4.5vw, 56px);
  --maxw: 1240px;
  --header-h: 76px;
  --radius: 999px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { background: var(--linen); color: var(--slate); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--tbcsite-accent); color: var(--tbcsite-ink); }
:focus-visible { outline: 2px solid var(--tbcsite-accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--linen); color: var(--pine); font-weight: 600; transform: translateY(-160%); }
.skip:focus { transform: none; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

/* ---------- type ---------- */
.eyebrow { display: flex; align-items: center; gap: 12px; font: 500 0.75rem/1.2 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink); }
.eyebrow::before { content: ""; flex: none; width: 28px; height: 5px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.eyebrow--light { color: var(--accent-light); }
.h2 { margin-top: 18px; max-width: 16em; font-family: var(--serif); font-size: clamp(2.125rem, 4.2vw, 3.4rem); line-height: 1.06; letter-spacing: -0.018em; color: var(--pine); }
.h2 em, .band__title em { font-style: italic; font-weight: 400; }
.h2 em { color: var(--accent-ink); }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; }
.body { margin-top: 16px; color: var(--tbcsite-muted); max-width: 36em; }

/* ---------- buttons (rounded, per Brayam's direction) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: var(--radius); border: 1px solid transparent; font: 600 0.96875rem/1.1 var(--sans); white-space: nowrap; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn--linen { background: var(--linen); color: var(--pine); }
.btn--linen:hover { background: #fff; }
.btn--ghost { border-color: rgba(243, 234, 227, .55); background: rgba(10, 36, 31, .3); color: var(--linen); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--linen); background: rgba(10, 36, 31, .5); }
.btn--green { background: var(--pine); color: var(--linen); }
.btn--green:hover { background: var(--pine-2); }
.link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-weight: 600; color: var(--pine); transition: color .2s; }
.link:hover { color: var(--accent-ink); }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); color: var(--linen); background: linear-gradient(180deg, rgba(10,36,31,.6), rgba(10,36,31,0)); transition: background-color .3s, box-shadow .3s; }
.header.is-solid { background: rgba(10, 36, 31, .94); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 rgba(243, 234, 227, .1); }
.header__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { margin-right: auto; flex: none; }
.brand img { height: 50px; width: auto; }
.nav__list { display: flex; align-items: center; gap: 22px; list-style: none; }
.nav__item { position: relative; }
.nav__item > a, .nav__btn { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; font-size: .9375rem; font-weight: 500; color: var(--cream-2); cursor: pointer; transition: color .2s; }
.nav__btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .25s var(--ease-out); }
.nav__item > a::after, .nav__btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-top: 1px solid var(--tbcsite-accent); border-bottom: 1px solid var(--tbcsite-accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav__item > a:hover, .nav__btn:hover, .nav__item.is-active > a, .nav__item.is-active > .nav__btn { color: var(--linen); }
.nav__item > a:hover::after, .nav__btn:hover::after, .nav__item.is-active > a::after, .nav__item.is-active > .nav__btn::after { transform: scaleX(1); }
.nav__sub { position: absolute; top: calc(100% + 10px); left: -18px; min-width: 240px; padding: 10px; list-style: none; border-radius: 16px; background: rgba(10,36,31,.97); border: 1px solid rgba(243,234,227,.14); box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease-out), visibility .2s; }
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__sub a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--linen); font-size: .9375rem; }
.nav__sub a:hover, .nav__sub a:focus-visible { background: rgba(243,234,227,.09); }
.has-sub:hover .nav__sub, .has-sub.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .nav__btn svg, .has-sub.is-open .nav__btn svg { transform: rotate(180deg); }
.header__cta { min-height: 42px; padding: 0 18px; font-size: .875rem; }
.header__call { display: none; width: 44px; height: 44px; place-items: center; border-radius: 50%; border: 1px solid var(--line-light); flex: none; }
.header__call svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.menu-btn { display: none; width: 44px; height: 44px; place-items: center; border-radius: 50%; border: 1px solid var(--line-light); cursor: pointer; flex: none; }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 18px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease-out), opacity .2s; }
.menu-btn__bars { position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -6px; } .menu-btn__bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-6px) rotate(-45deg); }
.mnav { position: absolute; left: 0; right: 0; top: var(--header-h); max-height: calc(100svh - var(--header-h)); overflow-y: auto; padding: 8px 0 28px; background: var(--tbcsite-ink); border-top: 1px solid rgba(243,234,227,.1); }
.mnav__list { list-style: none; }
.mnav__list > li > a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(243,234,227,.1); font-family: var(--serif); font-size: 1.4rem; color: var(--linen); }
.mnav__group > span { display: block; padding: 16px 0 6px; font: 500 .7rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-light); }
.mnav__group ul { list-style: none; border-bottom: 1px solid rgba(243,234,227,.1); padding-bottom: 8px; }
.mnav__group a { display: block; padding: 10px 0; font-family: var(--serif); font-size: 1.25rem; color: var(--linen); }
.mnav__cta { display: grid; gap: 10px; margin-top: 22px; }
body.menu-open { overflow: hidden; }
@media (max-width: 1040px) { .nav { display: none; } .menu-btn { display: grid; } .header { background: rgba(10,36,31,.94); } }
@media (max-width: 600px) {
  :root { --header-h: 66px; }
  .header__cta { display: none; }
  .header__call { display: grid; }
  .brand img { height: 42px; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: var(--tbcsite-ink); color: var(--linen); }
.hero__media { position: absolute; inset: -8% 0; z-index: -3; will-change: transform; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__veil { position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(90deg, rgba(10,36,31,.92) 0%, rgba(10,36,31,.64) 38%, rgba(10,36,31,0) 68%),
  linear-gradient(0deg, rgba(10,36,31,.86) 0%, rgba(10,36,31,0) 42%),
  linear-gradient(180deg, rgba(10,36,31,.55) 0%, rgba(10,36,31,0) 22%); }
.hero__fg { position: absolute; inset: 0; z-index: -1; pointer-events: none; will-change: transform; }
.mote { position: absolute; width: var(--s, 3px); height: var(--s, 3px); border-radius: 50%; background: radial-gradient(circle, #fff1d6 0%, rgba(255,214,160,.7) 40%, rgba(255,214,160,0) 72%); opacity: 0; animation: drift var(--d, 14s) ease-in-out infinite; animation-delay: var(--delay, 0s); }
@keyframes drift { 0% { transform: translate3d(0,0,0); opacity: 0; } 18% { opacity: .85; } 80% { opacity: .5; } 100% { transform: translate3d(var(--dx), var(--dy), 0); opacity: 0; } }
.ruler { position: absolute; right: var(--gutter); top: 50%; display: flex; flex-direction: column; align-items: flex-end; gap: 16px; transform: translateY(-50%); font: 500 .625rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(243,234,227,.68); text-shadow: 0 1px 8px rgba(10,36,31,.7); }
.ruler__label { writing-mode: vertical-rl; transform: rotate(180deg); }
.ruler__track { position: relative; display: flex; flex-direction: column; gap: clamp(9px, 1.9vh, 16px); padding-right: 1px; }
.ruler__track::after { content: ""; position: absolute; top: -6px; bottom: -6px; right: 0; width: 1px; background: rgba(243,234,227,.4); }
.ruler__track li { display: flex; align-items: center; justify-content: flex-end; gap: 10px; height: 10px; }
.ruler__track li::after { content: ""; width: 8px; height: 1px; background: rgba(243,234,227,.55); }
.ruler__track li:nth-child(3n)::after { width: 14px; }
.ruler__track li.is-now { color: var(--accent-light); }
.ruler__track li.is-now::after { width: 26px; height: 2px; background: var(--tbcsite-accent); box-shadow: 0 0 12px rgba(210,106,55,.8); }
.hero__content { width: 100%; padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(64px, 12vh, 128px); will-change: transform, opacity; }
.hero__title { margin-top: 22px; max-width: 12em; font-family: var(--serif); font-size: clamp(2.75rem, 6.4vw, 5.75rem); line-height: 1; letter-spacing: -0.022em; }
.total { position: relative; display: inline-block; font-style: italic; font-weight: 400; padding-right: .06em; }
.total::after { content: ""; position: absolute; left: .02em; right: .1em; bottom: -.02em; height: .14em; border-top: max(2px, .035em) solid var(--tbcsite-accent); border-bottom: max(2px, .035em) solid var(--tbcsite-accent); transform-origin: left; animation: rule-draw 1.1s .55s var(--ease-out) both; }
@keyframes rule-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__lead { margin-top: 26px; max-width: 34em; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.55; color: rgba(243,234,227,.9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__rating { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-top: 28px; font-size: .9375rem; color: var(--cream-2); }
.hero__rating:hover { color: var(--linen); }
.hero__rating strong { color: var(--linen); font-weight: 700; }
.stars { color: var(--accent-light); letter-spacing: .08em; }
.video-toggle { position: absolute; right: var(--gutter); bottom: clamp(60px, 8vh, 84px); z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-light); background: rgba(10,36,31,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); cursor: pointer; }
.video-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.video-toggle .i-play, .video-toggle[data-paused="true"] .i-pause { display: none; }
.video-toggle[data-paused="true"] .i-play { display: block; }
@media (max-width: 1040px) { .ruler { display: none; } }
@media (max-width: 760px) {
  .hero { display: block; min-height: 0; }
  .hero__media { position: relative; inset: auto; height: 56svh; min-height: 320px; }
  .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--tbcsite-ink) 0%, rgba(10,36,31,.7) 16%, rgba(10,36,31,0) 44%), linear-gradient(180deg, rgba(10,36,31,.55) 0%, rgba(10,36,31,0) 26%); }
  .hero__media video { object-position: 70% 50%; }
  .hero__veil { display: none; }
  .hero__content { position: relative; margin-top: -88px; padding-top: 0; padding-bottom: 56px; }
  .hero__title { font-size: clamp(2.4rem, 10.6vw, 3.3rem); }
  .hero__actions .btn { flex: 1 1 240px; }
  .video-toggle { top: calc(var(--header-h) + 12px); bottom: auto; width: 40px; height: 40px; }
}

/* ---------- ledger paper ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.paper { background-color: var(--linen); background-image: repeating-linear-gradient(180deg, transparent 0 39px, rgba(14,49,42,.06) 39px 40px); }
.paper::before { content: ""; position: absolute; top: 0; bottom: 0; left: max(10px, calc((100% - var(--maxw)) / 2 - 30px)); width: 5px; border-left: 1px solid var(--margin-red); border-right: 1px solid var(--margin-red); pointer-events: none; }
@media (max-width: 1100px) { .paper::before { display: none; } }
.sec-head { max-width: 820px; }
.frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 18px; background: var(--pine); box-shadow: 0 34px 60px -34px rgba(10,36,31,.55); }
.frame img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.frame::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(243,234,227,.42); border-radius: 10px; pointer-events: none; }

/* why */
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.why__body { padding-top: 34px; }
.pull { margin-top: 34px; padding: 22px 0 0; border-top: 2px solid var(--pine); }
.pull p { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.28; color: var(--pine); font-style: italic; }
.pull footer { margin-top: 12px; font: 500 .72rem/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--tbcsite-muted); }
.pull footer::before { content: "— "; }

/* services ledger */
.services { padding-top: 0; }
.services__grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(40px, 6vw, 88px); align-items: start; margin-top: clamp(36px, 5vw, 60px); }
.ledger { border-top: 2px solid var(--pine); }
.entry { display: grid; grid-template-columns: 76px 1fr; padding: 30px 0; border-bottom: 1px solid var(--rule-strong); transition: background-color .3s; }
.entry:hover { background: linear-gradient(90deg, rgba(210,106,55,.07), rgba(210,106,55,0) 70%); }
.entry__no { padding-top: 9px; border-right: 4px double var(--margin-red); font: 500 .8125rem/1 var(--mono); letter-spacing: .06em; color: var(--accent-ink); }
.entry__body { padding-left: 26px; }
.entry h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; color: var(--pine); }
.entry--lead h3::after { content: "Lead service"; display: inline-block; margin-left: 12px; padding: 4px 10px; vertical-align: middle; border-radius: 999px; background: var(--pine); color: var(--linen); font: 500 .62rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.entry p { margin-top: 10px; max-width: 38em; color: var(--tbcsite-muted); }
.services__figure { position: sticky; top: calc(var(--header-h) + 32px); }

/* trades */
.trades { position: relative; overflow: hidden; isolation: isolate; padding: clamp(90px, 11vw, 150px) 0; background: var(--pine); color: var(--linen); }
.trades__cols { position: absolute; inset: -22% 0; z-index: -1; background-image: repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), rgba(243,234,227,.07) calc(12.5% - 1px) 12.5%), repeating-linear-gradient(180deg, transparent 0 47px, rgba(243,234,227,.045) 47px 48px); will-change: transform; }
.trades__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.trades__title { margin-top: 20px; font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4.25rem); line-height: 1.02; letter-spacing: -0.02em; }
.trades__lead { margin-top: 20px; max-width: 30em; color: var(--cream-2); font-size: 1.125rem; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { padding: 14px 22px; border: 1px solid var(--line-light); border-radius: 999px; font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.45rem); background: rgba(10,36,31,.25); }

/* how */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.4vw, 52px); margin-top: clamp(44px, 6vw, 80px); }
.step { position: relative; padding-top: 24px; border-top: 1px solid var(--rule-strong); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 2px; background: var(--tbcsite-accent); transform-origin: left; }
.step__no { font: 500 .75rem/1 var(--mono); letter-spacing: .12em; color: var(--accent-ink); }
.step h3 { margin-top: 14px; font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 1.85rem); line-height: 1.15; color: var(--pine); }
.step p { margin-top: 10px; color: var(--tbcsite-muted); }
.how__cta { margin-top: 48px; }

/* maya */
.maya { padding-top: 0; }
.maya__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.maya__quote p { margin-top: 26px; font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.35; color: var(--slate); }
.facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; margin-top: 34px; border-top: 2px solid var(--pine); }
.facts > div { padding: 16px 0 14px; border-bottom: 1px solid var(--rule-strong); }
.facts dt { font: 500 .6875rem/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--tbcsite-muted); }
.facts dd { margin-top: 6px; font-weight: 600; line-height: 1.35; color: var(--pine); }
.maya__mark { margin-top: 30px; height: 84px; width: auto; }

/* reviews */
.reviews { padding-top: 0; }
.reviews__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.score__num { position: relative; display: inline-block; margin-top: 20px; font-family: var(--serif); font-size: clamp(6rem, 13vw, 10rem); line-height: .9; letter-spacing: -.04em; color: var(--pine); }
.score__num::after { content: ""; position: absolute; left: .02em; right: .04em; bottom: -.06em; height: .09em; border-top: 3px solid var(--tbcsite-accent); border-bottom: 3px solid var(--tbcsite-accent); transform-origin: left; }
.score__stars { margin-top: 28px; font-size: 1.35rem; letter-spacing: .1em; color: var(--tbcsite-accent); }
.score__count { margin-top: 10px; color: var(--tbcsite-muted); }
.quotes { display: grid; gap: 20px; }
.quote { position: relative; padding: clamp(28px, 3.4vw, 44px) clamp(28px, 3.4vw, 44px) clamp(28px, 3.4vw, 44px) clamp(48px, 5vw, 72px); border: 1px solid var(--rule); border-radius: 18px; background: var(--card); box-shadow: 0 26px 50px -36px rgba(10,36,31,.4); }
.quote::before { content: ""; position: absolute; top: 0; bottom: 0; left: clamp(22px, 2.6vw, 36px); width: 5px; border-left: 1px solid var(--margin-red); border-right: 1px solid var(--margin-red); }
.quote blockquote p { font-family: var(--serif); font-size: clamp(1.4rem, 2.3vw, 1.85rem); line-height: 1.28; color: var(--pine); }
.quote figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 20px; font-weight: 600; }
.quote__stars { color: var(--tbcsite-accent); letter-spacing: .06em; font-size: .9rem; }
.quote figcaption small { font: 500 .6875rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--tbcsite-muted); }

/* calculator */
.calc { padding: clamp(64px, 8vw, 104px) 0; background: var(--linen-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.calc__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.calc .btn { margin-top: 26px; }

/* faq */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 2px solid var(--pine); }
.faq details { border-bottom: 1px solid var(--rule-strong); }
.faq summary { position: relative; padding: 22px 44px 22px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.3; color: var(--pine); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font: 400 1.6rem/1 var(--sans); color: var(--accent-ink); transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; max-width: 40em; color: var(--tbcsite-muted); }

/* closing band */
.band { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; min-height: clamp(480px, 78vh, 720px); padding: 96px 0; background: var(--tbcsite-ink); color: var(--linen); }
.band__media { position: absolute; inset: -18% 0; z-index: -2; will-change: transform; }
.band__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; }
.band__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,36,31,.93) 0%, rgba(10,36,31,.72) 44%, rgba(10,36,31,.15) 100%), linear-gradient(0deg, rgba(10,36,31,.5), rgba(10,36,31,0) 40%); }
.band__in { will-change: transform; }
.band__title { max-width: 11em; font-family: var(--serif); font-size: clamp(2.375rem, 5.4vw, 4.5rem); line-height: 1.02; letter-spacing: -.022em; }
.band__title em { color: var(--accent-light); }
.band p { margin-top: 20px; max-width: 30em; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: rgba(243,234,227,.9); }
.band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* footer */
.footer { padding: clamp(64px, 8vw, 104px) 0 calc(36px + env(safe-area-inset-bottom)); background: var(--tbcsite-ink); color: var(--cream-2); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { height: 64px; width: auto; }
.footer__brand p { margin-top: 18px; max-width: 24em; }
.footer__col h2 { font: 500 .72rem/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-light); }
.footer__col ul { display: grid; gap: 10px; margin-top: 16px; }
.footer__col a:hover { color: var(--linen); text-decoration: underline; text-underline-offset: 4px; }
.footer__rule { height: 7px; margin-top: 56px; border-top: 1px solid rgba(243,234,227,.28); border-bottom: 1px solid rgba(243,234,227,.28); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 22px; font-size: .8125rem; color: rgba(195,204,198,.8); }

/* responsive */
@media (max-width: 960px) {
  .why__grid, .services__grid, .trades__grid, .maya__grid, .reviews__grid, .calc__in, .faq__grid { grid-template-columns: 1fr; }
  .why__body { padding-top: 0; }
  .services__figure { position: relative; top: auto; aspect-ratio: 16 / 10; }
  .maya__figure { max-width: 460px; }
  .steps { grid-template-columns: 1fr; max-width: 560px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr; }
  .entry { grid-template-columns: 52px 1fr; }
  .entry__body { padding-left: 18px; }
  .entry--lead h3::after { display: block; width: max-content; margin: 10px 0 0; }
  .band__actions .btn { flex: 1 1 220px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
}

/* mobile action bar */
.actionbar { display: none; }
@media (max-width: 760px) {
  .actionbar { position: fixed; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 45; display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 6px; padding: 6px; border-radius: 999px; border: 1px solid rgba(243,234,227,.16); background: rgba(10,36,31,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -12px rgba(0,0,0,.6); color: var(--linen); transition: transform .4s var(--ease-out); }
  .actionbar.is-hidden { transform: translateY(calc(100% + 40px + env(safe-area-inset-bottom))); }
  .actionbar a { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 999px; font-size: .8125rem; font-weight: 600; }
  .actionbar a:last-child { background: var(--linen); color: var(--pine); }
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}

/* reveals */
.is-pending[data-reveal] { opacity: 0; transform: translate3d(0, 24px, 0); }
.is-in[data-reveal] { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--rd, 0s); }
.is-pending[data-reveal="wipe"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round 18px); }
.is-in[data-reveal="wipe"] { clip-path: inset(0 0 0 0 round 18px); transition: clip-path 1.3s var(--ease-out); }
.step.is-pending::before { transform: scaleX(0); }
.step.is-in::before { transform: scaleX(1); transition: transform 1.1s var(--ease-out) calc(var(--rd, 0s) + .35s); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mote { display: none; }
  .total::after { animation: none; }
  [data-depth] { transform: none !important; }
  .is-pending[data-reveal], .is-pending[data-reveal="wipe"], .step.is-pending::before { opacity: 1; transform: none; clip-path: none; }
}


/* ================= multi-page additions ================= */

/* page hero */
.phero { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(520px, 78vh, 760px); padding: calc(var(--header-h) + 56px) 0 clamp(56px, 9vh, 96px); background: var(--tbcsite-ink); color: var(--linen); }
.phero--short { min-height: clamp(440px, 62vh, 620px); }
.phero__media { position: absolute; inset: -14% 0; z-index: -2; will-change: transform; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.phero__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,36,31,.93) 0%, rgba(10,36,31,.72) 42%, rgba(10,36,31,.2) 100%), linear-gradient(0deg, rgba(10,36,31,.75) 0%, rgba(10,36,31,0) 45%), linear-gradient(180deg, rgba(10,36,31,.6) 0%, rgba(10,36,31,0) 25%); }
.phero__in { position: relative; }
.phero__title { margin-top: 20px; max-width: 13em; font-family: var(--serif); font-size: clamp(2.5rem, 5.6vw, 4.9rem); line-height: 1.02; letter-spacing: -.022em; }
.phero__lead { margin-top: 22px; max-width: 34em; font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: rgba(243,234,227,.9); }
.phero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; font: 500 .72rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cream-2); }
.crumbs a:hover { color: var(--linen); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--accent-light); }
@media (max-width: 640px) { .phero__actions .btn { flex: 1 1 240px; } }

/* generic blocks */
.section--tight { padding-top: 0; }
.sec-head__lede { margin-top: 20px; max-width: 38em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split__body { padding-top: 34px; }
.how__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 44px; }
.how__actions .link { margin-top: 0; }
.note-line { margin-top: 18px; font-size: .9rem; color: var(--tbcsite-muted); }
.link--inline { margin: 0; display: inline; border: 0; text-decoration: underline; text-underline-offset: 3px; }
.ledger--wide { margin-top: clamp(32px, 4vw, 52px); max-width: 920px; }
.maya__lede { margin-top: 22px; }
.maya--compact .maya__grid { grid-template-columns: .55fr 1.45fr; }
.maya--compact .maya__figure { max-width: 340px; }
.trades__cta { margin-top: 26px; }

/* checklist */
.checklist { list-style: none; border-top: 2px solid var(--pine); }
.checklist li { position: relative; padding: 16px 0 16px 38px; border-bottom: 1px solid var(--rule-strong); font-size: 1.08rem; color: var(--slate); }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 16px; height: 9px; border-left: 2px solid var(--tbcsite-accent); border-bottom: 2px solid var(--tbcsite-accent); transform: rotate(-45deg); }
.checklist--small li { padding: 10px 0 10px 32px; font-size: .98rem; }
.checklist--small li::before { top: 14px; }

/* decision cards */
.topics { position: relative; overflow: hidden; isolation: isolate; padding: clamp(90px, 11vw, 150px) 0; background: var(--pine); color: var(--linen); }
.topics__cols { position: absolute; inset: -22% 0; z-index: -1; background-image: repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), rgba(243,234,227,.07) calc(12.5% - 1px) 12.5%), repeating-linear-gradient(180deg, transparent 0 47px, rgba(243,234,227,.045) 47px 48px); will-change: transform; }
.topics__title { margin-top: 20px; max-width: 15em; font-family: var(--serif); font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.05; letter-spacing: -.02em; }
.topics__title em { font-style: italic; font-weight: 400; color: var(--accent-light); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.tcard { padding: 28px 26px 30px; border: 1px solid rgba(243,234,227,.16); border-radius: 18px; background: rgba(10,36,31,.42); transition: border-color .3s, transform .3s var(--ease-out); }
.tcard:hover { border-color: rgba(240,161,114,.55); transform: translateY(-3px); }
.tcard h3 { font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; }
.tcard p { margin-top: 12px; color: var(--cream-2); font-size: .98rem; }
.topics__note { margin-top: 28px; max-width: 46em; font-size: .92rem; color: var(--cream-2); }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* records → books → reports */
.flow { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 5vw, 64px); list-style: none; }
.flow__step { position: relative; padding: 28px 26px 30px; border-radius: 18px; border: 1px solid var(--rule); background: var(--card); box-shadow: 0 22px 44px -36px rgba(10,36,31,.45); }
.flow__step:not(:last-child)::after { content: "→"; position: absolute; right: -19px; top: 50%; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--pine); color: var(--linen); font-size: .95rem; }
.flow__step--out { background: var(--pine); color: var(--linen); border-color: var(--pine); }
.flow__no { font: 500 .7rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }
.flow__step--out .flow__no { color: var(--accent-light); }
.flow__step h3 { margin-top: 12px; font-family: var(--serif); font-size: 1.55rem; line-height: 1.15; color: var(--pine); }
.flow__step--out h3 { color: var(--linen); }
.flow__step p { margin-top: 10px; color: var(--tbcsite-muted); }
.flow__step--out p { color: var(--cream-2); }
.flow__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; list-style: none; }
.flow__tags li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--rule-strong); font-size: .86rem; color: var(--pine); background: var(--linen); }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } .flow__step:not(:last-child)::after { content: "↓"; right: auto; left: 26px; top: auto; bottom: -19px; margin-top: 0; } }

/* trio (dark band, three columns) */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); margin-top: clamp(36px, 5vw, 56px); list-style: none; }
.trio li { padding-top: 22px; border-top: 1px solid var(--line-light); }
.trio span { font: 500 .72rem/1 var(--mono); letter-spacing: .12em; color: var(--accent-light); }
.trio h3 { margin-top: 12px; font-family: var(--serif); font-size: 1.6rem; }
.trio p { margin-top: 8px; color: var(--cream-2); }
.trio a { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--linen); border-bottom: 1px solid var(--accent-light); padding-bottom: 2px; }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } }

/* related cards */
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.related__grid--two { grid-template-columns: 1fr 1fr; }
.rcard { display: block; padding: 26px 26px 28px; border-radius: 18px; border: 1px solid var(--rule); background: var(--card); transition: border-color .3s, transform .3s var(--ease-out), box-shadow .3s; }
.rcard:hover { border-color: var(--pine); transform: translateY(-3px); box-shadow: 0 24px 44px -32px rgba(10,36,31,.5); }
.rcard h3 { font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; color: var(--pine); }
.rcard p { margin-top: 10px; color: var(--tbcsite-muted); }
.rcard__go { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--pine); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
@media (max-width: 860px) { .related__grid, .related__grid--two { grid-template-columns: 1fr; } }

/* client journey */
.jsteps { list-style: none; margin-top: clamp(40px, 5vw, 64px); border-top: 2px solid var(--pine); }
.jstep { display: grid; grid-template-columns: minmax(220px, .8fr) 2.2fr; gap: 24px 40px; padding: 30px 0; border-bottom: 1px solid var(--rule-strong); }
.jstep__head { display: flex; align-items: baseline; gap: 16px; }
.jstep__no { font: 500 .8rem/1 var(--mono); letter-spacing: .08em; color: var(--accent-ink); }
.jstep__head h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.15; color: var(--pine); }
.jstep__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.jstep__grid dt { font: 500 .68rem/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--tbcsite-muted); }
.jstep__grid dd { margin-top: 8px; color: var(--slate); }
@media (max-width: 960px) { .jstep { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .jstep__grid { grid-template-columns: 1fr; gap: 14px; } }

/* contact */
.contact__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.embed { margin-top: 28px; border-radius: 18px; overflow: hidden; border: 1px solid var(--rule); background: #fff; box-shadow: 0 26px 50px -40px rgba(10,36,31,.5); }
.embed iframe { display: block; width: 100%; height: 880px; border: 0; }
.contact--book .embed { margin-top: 0; }
.contact--book { padding-top: clamp(32px, 5vw, 56px); }
.preview-note { margin: 0 0 20px; padding: 10px 14px; border: 1px dashed var(--tbcsite-accent); border-radius: 10px; font-size: .9rem; color: var(--slate); }
.contact__side { display: grid; gap: 16px; }
.ccard { padding: 24px 24px 26px; border-radius: 18px; border: 1px solid var(--rule); background: var(--card); }
.ccard h3 { font: 500 .72rem/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }
.ccard__big { display: block; margin-top: 12px; font-family: var(--serif); font-size: 2rem; color: var(--pine); }
.ccard__addr { display: block; margin-top: 12px; font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; color: var(--pine); }
.ccard p { margin-top: 10px; color: var(--tbcsite-muted); }
.ccard .checklist { margin-top: 14px; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } .embed iframe { height: 760px; } }

/* services hub */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc__card { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; border: 1px solid var(--rule); background: var(--card); transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s; }
.svc__card:hover { transform: translateY(-4px); border-color: var(--pine); box-shadow: 0 30px 60px -40px rgba(10,36,31,.55); }
.svc__img { display: block; aspect-ratio: 16 / 11; overflow: hidden; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.svc__card:hover .svc__img img { transform: scale(1.04); }
.svc__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 28px; }
.svc__no { font: 500 .7rem/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.svc__card h3 { margin-top: 10px; font-family: var(--serif); font-size: 1.65rem; line-height: 1.15; color: var(--pine); }
.svc__card p { margin-top: 10px; color: var(--tbcsite-muted); }
.svc__go { margin-top: auto; padding-top: 18px; font-weight: 600; color: var(--pine); }
.svc__card--lead { border-color: var(--pine); }
@media (max-width: 960px) { .svc { grid-template-columns: 1fr; } .svc__img { aspect-ratio: 16 / 8; } }
@media (max-width: 960px) { .split, .maya--compact .maya__grid { grid-template-columns: 1fr; } .split__body { padding-top: 0; } }

/* ================= resources, blog, posts, plain pages ================= */
.sec-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; max-width: none; }
.sec-head--row .link { margin-top: 0; }
.rcard--lead { border-color: var(--pine); }
.rcard__tag { display: inline-block; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px; background: var(--pine); color: var(--linen); font: 500 .62rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.score__btn { margin-top: 24px; }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(28px, 4vw, 48px); }
.posts--index { margin-top: 0; }
.sec-head + .posts--index { margin-top: clamp(28px, 4vw, 48px); }
.post-card { display: flex; flex-direction: column; padding: 26px 24px 26px; border-radius: 18px; border: 1px solid var(--rule); background: var(--card); transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-3px); border-color: var(--pine); box-shadow: 0 24px 44px -32px rgba(10,36,31,.5); }
.post-card__cat { font: 500 .66rem/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.post-card h3 { margin-top: 12px; font-family: var(--serif); font-size: 1.42rem; line-height: 1.2; color: var(--pine); }
.post-card p { margin-top: 10px; color: var(--tbcsite-muted); }
.post-card__go { margin-top: auto; padding-top: 18px; font-weight: 600; color: var(--pine); }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }

/* article */
.post__head { padding: calc(var(--header-h) + 56px) 0 clamp(48px, 7vw, 80px); background: var(--pine); color: var(--linen); background-image: repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), rgba(243,234,227,.06) calc(12.5% - 1px) 12.5%); }
.post__wrap { max-width: 760px; }
.post__title { margin-top: 18px; font-family: var(--serif); font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.04; letter-spacing: -.02em; }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; color: var(--cream-2); font-size: .95rem; }
.post__meta img { width: 22px; height: auto; }
.post__paper { padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); }
.prose { font-size: 1.125rem; line-height: 1.72; color: var(--slate); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; color: var(--pine); }
.prose h3 { margin-top: 1.6em; font-family: var(--serif); font-size: 1.35rem; color: var(--pine); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--tbcsite-accent); }
.prose strong { color: var(--pine); }
.prose a { color: var(--pine); text-decoration: underline; text-decoration-color: var(--tbcsite-accent); text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--rule-strong); text-align: left; }
/* WordPress: posts built with Elementor keep the article's type, not Elementor's default fonts and grey */
.prose .elementor-widget-text-editor, .prose .elementor-tab-content { font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit; }
.post__disclaimer { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--rule-strong); font-size: .92rem; color: var(--tbcsite-muted); }
.author { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: start; margin-top: 36px; padding: 26px; border-radius: 18px; border: 1px solid var(--rule); background: var(--card); }
.author__img { width: 96px; height: 120px; object-fit: cover; border-radius: 12px; }
.author__name { font-family: var(--serif); font-size: 1.4rem; color: var(--pine); }
.author__role { font: 500 .68rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.author p:not(.author__name):not(.author__role) { margin-top: 10px; color: var(--tbcsite-muted); }
.post__cta { margin-top: 24px; padding: 32px 30px; border-radius: 18px; background: var(--pine); color: var(--linen); }
.post__cta h2 { font-family: var(--serif); font-size: 1.7rem; line-height: 1.15; }
.post__cta p { margin: 10px 0 22px; color: var(--cream-2); }
@media (max-width: 560px) { .author { grid-template-columns: 1fr; } }

/* plain page header (legal, utility) */
.phero--plain { min-height: 0; padding-bottom: clamp(40px, 6vw, 64px); background-image: repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), rgba(243,234,227,.06) calc(12.5% - 1px) 12.5%); }

/* WordPress-only: pager, older builder pages, live reviews feed */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.pager .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rule-strong); color: var(--pine); font-weight: 600; }
.pager .page-numbers.current { background: var(--pine); color: var(--linen); border-color: var(--pine); }
.legacy { width: min(100% - 2 * var(--gutter), var(--maxw)); }
.legacy__content { color: var(--slate); }
/* The legacy calculator owns a light/dark palette. Give its embedded content the
   same surface and inherited text as its original body, without changing it. */
.tbcsite-calculator {
  background: linear-gradient(135deg, color-mix(in srgb, var(--surface-soft, #e7eee9) 52%, transparent), transparent 42%), var(--page, #f2f5f1);
}
.tbcsite-calculator::before { content: none; }
.tbcsite-calculator .legacy__content { color: var(--ink, #15231d); font: 16px/1.5 "DM Sans", sans-serif; }

/* WordPress: an older page drawn by Elementor's "Full Width" template has no hero under the header */
.tbc-plain-top .header { background: rgba(10, 36, 31, .94); }
.tbc-plain-top #main { padding-top: var(--header-h); }
.elementor-template-full-width #main > .elementor { padding-block: clamp(32px, 5vw, 72px); } /* Astra's old page padding */
.reviews-feed { margin-top: 8px; }
