/* codybantle.com styles. All values come from tokens.css. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--s-4)); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 var(--text-base)/var(--leading-body) var(--font-body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--brand-strong); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: var(--r-sm); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 560; line-height: var(--leading-tight); letter-spacing: -0.01em; margin: 0 0 var(--s-4); text-wrap: balance; }
h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); line-height: var(--leading-snug); }
p, ul, ol, dl { margin: 0 0 var(--s-4); }
.num { font-variant-numeric: tabular-nums lining-nums; }
.wrap { width: 100%; max-width: calc(var(--max-w) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999rem; top: var(--s-2); z-index: 100; background: var(--surface); color: var(--text); padding: var(--s-2) var(--s-4); border-radius: var(--r-sm); }
.skip:focus { left: var(--s-2); }
.eyebrow { font: 600 var(--text-xs)/1.2 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 var(--s-3); }
.on-dark .eyebrow { color: var(--brass-300); }
.lead { font-size: var(--text-lg); line-height: 1.55; }
.muted, .meta { color: var(--text-muted); font-size: var(--text-sm); }
mark.ph { background: var(--note-bg); color: var(--note-ink); padding: 0.05em 0.35em; border-radius: var(--s-1); font-size: 0.9em; font-weight: 600; font-family: var(--font-body); }

/* Contour texture layer (color follows currentColor) */
.contours { position: relative; isolation: isolate; }
.contours::before { content: ""; position: absolute; inset: 0; z-index: -1; background: currentColor; opacity: 0.07; -webkit-mask: url("/assets/img/contours.svg") center / cover no-repeat; mask: url("/assets/img/contours.svg") center / cover no-repeat; pointer-events: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 3rem; padding: var(--s-3) var(--s-5); border-radius: var(--r-pill); border: 2px solid var(--accent); background: var(--accent); color: var(--accent-ink); font: 650 var(--text-base)/1.2 var(--font-body); text-decoration: none; text-align: center; transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--ghost { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn--ghost:hover { background: var(--brand); border-color: var(--brand); color: var(--white); }
.on-dark .btn--ghost { border-color: var(--dark-line); color: var(--dark-text); }
.on-dark .btn--ghost:hover { background: var(--dark-text); border-color: var(--dark-text); color: var(--forest-900); }
.btn--sm { min-height: 2.5rem; padding: var(--s-2) var(--s-4); font-size: var(--text-sm); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: var(--s-5) 0; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); transition: box-shadow var(--dur) var(--ease); }
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: var(--header-h); transition: min-height var(--dur) var(--ease); }
.site-header.is-scrolled .wrap { min-height: var(--header-h-small); }
.brand { display: flex; align-items: center; gap: var(--s-3); text-decoration: none; color: var(--text); }
.brand-mark { width: 2.5rem; height: 2.5rem; border-radius: var(--r-sm); background: var(--brand); color: var(--brass-300); display: grid; place-items: center; font: 600 1.05rem/1 var(--font-display); flex: none; transition: width var(--dur) var(--ease), height var(--dur) var(--ease); }
.is-scrolled .brand-mark { width: 2.125rem; height: 2.125rem; }
.brand-name { display: block; font: 600 1.25rem/1.1 var(--font-display); }
.brand-sub { display: block; font-size: var(--text-xs); color: var(--text-muted); line-height: 1.3; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--s-1); }
.site-nav a:not(.btn) { display: block; padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); color: var(--text); text-decoration: none; font-weight: 500; font-size: var(--text-sm); }
.site-nav a:not(.btn):hover { background: var(--forest-100); color: var(--brand-strong); }
.site-nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.site-nav .nav-cta { margin-left: var(--s-3); }
.nav-toggle { display: none; align-items: center; gap: var(--s-2); min-height: 2.75rem; padding: var(--s-2) var(--s-4); border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); color: var(--text); font: 600 var(--text-sm)/1 var(--font-body); cursor: pointer; }
.nav-toggle svg { width: 1.1rem; height: 1.1rem; }
@media (max-width: 61.99rem) {
  .brand-sub { display: none; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: var(--s-3) var(--gutter) var(--s-5); max-height: calc(100vh - var(--header-h)); overflow: auto; }
  .js .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a:not(.btn) { padding: var(--s-4) var(--s-2); font-size: var(--text-lg); border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav .nav-cta { margin: var(--s-4) 0 0; }
  .site-nav .nav-cta .btn { width: 100%; }
  html:not(.js) .site-header .wrap { flex-wrap: wrap; padding-block: var(--s-3); }
  html:not(.js) .site-nav ul { flex-direction: row; flex-wrap: wrap; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: calc(var(--section-y) / 2); }
.on-dark { background: var(--dark-bg); color: var(--dark-text); }
.on-dark a:not(.btn) { color: var(--dark-text); }
.on-dark a:not(.btn):hover { color: var(--brass-300); }
.section-head { max-width: var(--measure); margin-bottom: var(--s-6); }
.section-head p { color: var(--text-muted); font-size: var(--text-lg); margin: 0; }
.grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grid > * { grid-column: span 12; }
@media (min-width: 48rem) {
  .col-6 { grid-column: span 6; }
  .col-4 { grid-column: span 4; }
  .col-3 { grid-column: span 6; }
  .col-7 { grid-column: span 7; }
  .col-5 { grid-column: span 5; }
}
@media (min-width: 62rem) { .col-3 { grid-column: span 3; } }
.divider { display: block; width: 100%; height: clamp(1.5rem, 4vw, 3.5rem); margin-top: -1px; color: var(--dark-bg); }
.divider--flip { transform: scaleY(-1); margin: 0 0 -1px; }
.section--alt + .divider-wrap, .divider-wrap { background: var(--bg); line-height: 0; }
.divider-wrap--alt { background: var(--bg-alt); }

/* ---------- Cards ---------- */
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.card > :last-child { margin-bottom: 0; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brass-400); }
.card .more { margin-top: auto; padding-top: var(--s-3); font-weight: 650; color: var(--accent-text); display: inline-flex; align-items: center; gap: var(--s-2); }
.card .more svg { width: 1em; height: 1em; transition: transform var(--dur) var(--ease); }
.card--link:hover .more svg { transform: translateX(4px); }
.icon-tile { width: 3.25rem; height: 3.25rem; border-radius: var(--r-md); background: var(--forest-100); color: var(--brand); display: grid; place-items: center; margin-bottom: var(--s-4); flex: none; }
.icon-tile svg { width: 1.6rem; height: 1.6rem; }
.card--path { padding: var(--s-6); }
.card--path .icon-tile { background: var(--brand); color: var(--brass-300); }

/* Designed photo placeholder / art tile (works with zero photos) */
.art { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--r-md); margin: calc(-1 * var(--s-2)) calc(-1 * var(--s-2)) var(--s-5); color: var(--white); background: linear-gradient(135deg, var(--forest-800), var(--forest-600)); display: grid; place-items: center; isolation: isolate; }
.art::before { content: ""; position: absolute; inset: -20%; z-index: -1; background: currentColor; opacity: 0.16; -webkit-mask: url("/assets/img/contours.svg") center / 180% no-repeat; mask: url("/assets/img/contours.svg") center / 180% no-repeat; }
.art::after { content: ""; position: absolute; inset: auto -10% -55% auto; width: 70%; aspect-ratio: 1; background: var(--glow); z-index: -1; }
.art svg { width: 3.5rem; height: 3.5rem; color: var(--brass-300); }
.art--b { background: linear-gradient(135deg, var(--forest-950), var(--forest-700)); }
.art--b::before { -webkit-mask-position: 80% 20%; mask-position: 80% 20%; }
.art--c { background: linear-gradient(135deg, var(--forest-700), var(--forest-900)); }
.art--c::before { -webkit-mask-position: 20% 90%; mask-position: 20% 90%; }
.art img, .art picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Home hero ---------- */
.hero { color: var(--dark-text); background: radial-gradient(120% 90% at 85% 10%, var(--forest-700), var(--forest-900) 60%, var(--forest-950)); padding-block: clamp(2.5rem, 1.5rem + 5vw, 5.5rem) clamp(4.5rem, 3rem + 7vw, 8rem); overflow: hidden; }
.hero.contours::before { opacity: 0.09; }
.hero-grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 56rem) { .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-8); } }
.hero h1 { margin-bottom: var(--s-5); }
.hero .lead { color: var(--dark-text); max-width: 36rem; }
.hero .tagline { font: 500 var(--text-lg)/1.4 var(--font-display); color: var(--brass-300); margin-bottom: var(--s-5); }
.portrait { position: relative; width: min(100%, 24rem); margin-inline: auto; isolation: isolate; }
.portrait::before { content: ""; position: absolute; inset: -22%; background: var(--glow); z-index: -2; }
.portrait::after { content: ""; position: absolute; inset: var(--s-4) calc(-1 * var(--s-4)) calc(-1 * var(--s-4)) var(--s-4); border: 2px solid var(--brass-400); border-radius: var(--r-lg); z-index: -1; }
.portrait-frame { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(160deg, var(--forest-600), var(--forest-800)); box-shadow: var(--shadow-lg); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.portrait-empty { height: 100%; display: grid; place-items: center; align-content: center; gap: var(--s-4); text-align: center; padding: var(--s-5); color: var(--dark-text); }
.portrait-empty .monogram { font: 600 4.5rem/1 var(--font-display); color: var(--brass-300); }
.portrait-badge { position: absolute; left: calc(-1 * var(--s-4)); bottom: var(--s-6); background: var(--surface); color: var(--text); border-radius: var(--r-md); box-shadow: var(--shadow-md); padding: var(--s-3) var(--s-4); font-size: var(--text-xs); line-height: 1.35; max-width: 12.5rem; }
.portrait-badge strong { display: block; font: 600 var(--text-sm)/1.2 var(--font-display); }
@media (max-width: 30rem) { .portrait-badge { left: var(--s-2); bottom: var(--s-3); } .portrait::after { inset: var(--s-3) calc(-1 * var(--s-2)) calc(-1 * var(--s-3)) var(--s-3); } }

/* ---------- Proof strip (overlaps the hero) ---------- */
.proof { position: relative; z-index: 2; margin-top: calc(-1 * clamp(3rem, 2rem + 4vw, 5rem)); }
.proof-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); overflow: hidden; }
@media (min-width: 56rem) { .proof-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.proof-list li { margin: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.proof-list a { display: block; height: 100%; padding: var(--s-5) var(--s-4); text-decoration: none; color: var(--text); transition: background var(--dur-fast) var(--ease); }
@media (min-width: 30rem) { .proof-list a { padding: var(--s-5); } }
.proof-list a:hover { background: var(--cream-200); }
.proof-value { display: block; font: 600 var(--text-2xl)/1.1 var(--font-display); color: var(--brand); font-variant-numeric: tabular-nums lining-nums; }
.proof-label { display: block; margin-top: var(--s-2); font-size: var(--text-sm); line-height: 1.4; color: var(--text-muted); }
.proof-label u { text-decoration-color: var(--brass-500); text-underline-offset: 0.2em; }
.proof-note { margin: var(--s-3) var(--s-2) 0; font-size: var(--text-xs); color: var(--text-muted); }

/* ---------- Trust block ---------- */
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
@media (min-width: 40rem) { .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trust-list li { margin: 0; }
.trust-list a { display: flex; align-items: flex-start; gap: var(--s-3); height: 100%; padding: var(--s-4); border: 1px solid var(--dark-line); border-radius: var(--r-md); text-decoration: none; background: var(--dark-tint-1); transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.trust-list a:hover { background: var(--dark-tint-3); border-color: var(--brass-400); transform: translateY(-2px); }
.trust-list svg { width: 1.4rem; height: 1.4rem; color: var(--brass-300); flex: none; margin-top: 0.15rem; }
.trust-list strong { display: block; font-weight: 650; }
.trust-list span span { display: block; color: var(--dark-muted); font-size: var(--text-sm); line-height: 1.45; }
.on-dark .section-head p { color: var(--dark-muted); }

/* ---------- Facts / market snapshot ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: var(--s-3); margin: 0 0 var(--s-5); }
.facts div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-4); }
.facts dt { font: 600 var(--text-xs)/1.3 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.facts dd { margin: var(--s-1) 0 0; font: 600 var(--text-xl)/1.2 var(--font-display); color: var(--brand); font-variant-numeric: tabular-nums lining-nums; overflow-wrap: anywhere; }
.snapshot { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: var(--s-6); }
.snapshot .facts div { background: var(--bg); }
.snapshot > :last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: var(--measure); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-4); padding: var(--s-4) 0; font: 560 var(--text-lg)/1.35 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 1.75rem; height: 1.75rem; border-radius: var(--r-pill); background: var(--forest-100); color: var(--brand); display: grid; place-items: center; font: 500 1.25rem/1 var(--font-body); transition: transform var(--dur) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > :not(summary) { max-width: 40rem; }
.faq-item { border-bottom: 1px solid var(--line); padding: var(--s-4) 0 var(--s-2); }
.faq-item h3 { font-size: var(--text-lg); margin-bottom: var(--s-2); }

/* ---------- Final CTA band ---------- */
.cta-band { background: radial-gradient(110% 120% at 10% 0%, var(--forest-700), var(--forest-900) 65%); }
.cta-band .grid { align-items: center; }
.cta-band h2 { margin-bottom: var(--s-3); }
.nap { font-style: normal; overflow-wrap: anywhere; line-height: 1.7; }
.nap strong { font: 600 var(--text-lg)/1.3 var(--font-display); }
.nap--card { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r-md); padding: var(--s-4) var(--s-5); max-width: 28rem; margin-bottom: var(--s-5); box-shadow: var(--shadow-sm); }
.on-dark .nap--card { background: var(--dark-tint-2); border-color: var(--dark-line); border-left-color: var(--accent); box-shadow: none; max-width: none; margin: 0; }

/* ---------- Inner page hero ---------- */
.page-hero { color: var(--dark-text); background: radial-gradient(120% 140% at 90% 0%, var(--forest-700), var(--forest-900) 60%, var(--forest-950)); padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); overflow: hidden; }
.page-hero h1 { font-size: var(--text-2xl); max-width: 22ch; }
@media (min-width: 48rem) { .page-hero h1 { font-size: clamp(2.2rem, 1.5rem + 2.2vw, 3.1rem); } }
.page-hero .lead { max-width: 46rem; margin: 0; color: var(--dark-text); }
.page-hero a { color: var(--dark-text); text-decoration-color: var(--brass-400); }
.page-hero a:hover { color: var(--brass-300); }
.page-hero .eyebrow { color: var(--brass-300); }

/* ---------- Prose (inner page content) ---------- */
.prose { padding-block: var(--s-7) var(--s-6); }
.prose > * { max-width: var(--measure); }
.prose > .wide, .prose > .grid, .prose > .facts, .prose > .compare, .prose > .split { max-width: none; }
.prose h2 { margin-top: var(--s-7); font-size: var(--text-xl); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--text-lg); margin-top: var(--s-5); margin-bottom: var(--s-2); }
.prose li { margin-bottom: var(--s-2); }
.split { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 56rem) { .split { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s-8); } }
.split .portrait { margin-top: var(--s-2); }
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 var(--s-5) 3.75rem; margin: 0; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.5rem; height: 2.5rem; border-radius: var(--r-pill); background: var(--brand); color: var(--brass-300); font: 600 1.05rem/1 var(--font-display); display: grid; place-items: center; font-variant-numeric: lining-nums; }
.steps > li::after { content: ""; position: absolute; left: 1.25rem; top: 2.75rem; bottom: var(--s-1); width: 1px; background: var(--line); }
.steps > li:last-child::after { display: none; }
.steps h3 { margin: 0 0 var(--s-2); padding-top: 0.35rem; }
.item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-5); margin-bottom: var(--s-4); box-shadow: var(--shadow-sm); }
.item > :last-child { margin-bottom: 0; }
.item h2, .item h3 { margin-top: 0; font-size: var(--text-lg); }
.item blockquote { margin: 0 0 var(--s-3); padding-left: var(--s-4); border-left: 3px solid var(--accent); }
.empty { background: var(--surface); border: 1px dashed var(--cream-300); border-radius: var(--r-md); padding: var(--s-5); color: var(--text-muted); }
.switch { display: inline-flex; padding: var(--s-1); background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r-pill); margin-bottom: var(--s-6); max-width: none; }
.switch a { padding: var(--s-2) var(--s-5); border-radius: var(--r-pill); text-decoration: none; font-weight: 600; font-size: var(--text-sm); color: var(--text); }
.switch a[aria-current="page"] { background: var(--brand); color: var(--white); }
.sold-list { list-style: none; padding: 0; margin: 0 0 var(--s-6); max-width: none; display: grid; gap: var(--s-3); }
@media (min-width: 48rem) { .sold-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 75rem) { .sold-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sold-list .item { margin: 0; height: 100%; }
.sold-price { font: 600 var(--text-xl)/1.2 var(--font-display); color: var(--brand); font-variant-numeric: tabular-nums lining-nums; margin-bottom: var(--s-1); }
.pill { display: inline-block; padding: 0.15rem var(--s-3); border-radius: var(--r-pill); background: var(--forest-100); color: var(--brand-strong); font: 600 var(--text-xs)/1.6 var(--font-body); }
.updated { color: var(--text-muted); font-size: var(--text-sm); padding-block: var(--s-4) var(--s-7); margin-block: 0; }
.updated span { display: block; padding-top: var(--s-4); border-top: 1px solid var(--line); }

/* ---------- Page types: samples, sources, comparison ---------- */
.sample-banner { background: var(--note-bg); color: var(--note-ink); font-weight: 600; font-size: var(--text-sm); padding: var(--s-3) 0; }
.sources { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--r-md); padding: var(--s-5); }
.sources h2 { margin-top: 0; font-size: var(--text-lg); }
.sources ul { margin: 0; padding-left: 1.2rem; }
.answer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: var(--s-5) var(--s-6); font-size: var(--text-lg); }
.answer > :last-child { margin: 0; }
.compare { display: grid; gap: var(--s-3); }
.compare-row { display: grid; gap: var(--s-3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-4) var(--s-5); }
.compare-row h3 { margin: 0; font-size: var(--text-base); font-family: var(--font-body); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-text); }
.compare-row p { margin: 0; }
.compare-row strong { display: block; font: 600 var(--text-sm)/1.3 var(--font-display); color: var(--brand); }
@media (min-width: 48rem) {
  .compare-row { grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 5fr); gap: var(--s-5); align-items: start; }
  .compare-row:not(.compare-head) strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
.compare-head { background: var(--brand); border-color: var(--brand); color: var(--white); display: none; }
.compare-head p { font: 600 var(--text-lg)/1.2 var(--font-display); }
@media (min-width: 48rem) { .compare-head { display: grid; } }
.linklist { list-style: none; padding: 0; display: grid; gap: var(--s-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-950); color: var(--dark-muted); font-size: var(--text-sm); padding-block: var(--s-8) var(--s-6); }
.site-footer a { color: var(--dark-text); }
.site-footer a:hover { color: var(--brass-300); }
.footer-lead { font: 500 var(--text-lg)/1.45 var(--font-display); color: var(--dark-text); max-width: 46rem; margin-bottom: var(--s-7); }
.site-footer h2 { font: 600 var(--text-xs)/1.2 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-300); margin-bottom: var(--s-4); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: var(--s-2); line-height: 1.45; }
.site-footer address { font-style: normal; overflow-wrap: anywhere; line-height: 1.8; }
.footer-links { columns: 2; column-gap: var(--s-5); }
.footer-links li { break-inside: avoid; }
.fine { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--dark-line); font-size: var(--text-xs); line-height: 1.6; }

/* ---------- Mobile sticky Call / Book bar ---------- */
.action-bar { display: none; }
@media (max-width: 47.99rem) {
  .action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); padding: var(--s-2) var(--s-3) calc(var(--s-2) + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: var(--shadow-bar); }
  .action-bar .btn { min-height: 2.75rem; padding: var(--s-2) var(--s-3); }
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
}

/* ---------- Motion (only when the visitor allows it) ---------- */
.motion [data-reveal] { opacity: 0; transform: translateY(var(--reveal-shift)); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.motion [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print { .site-header, .action-bar, .cta-band { display: none; } }

/* Hub cards use an h2 for document outline but look like card titles */
.card .h3, .prose .card h2 { font-size: var(--text-xl); margin: 0 0 var(--s-3); }
.card .h3 a, .card h2 a { color: inherit; text-decoration: none; }
.card .h3 a::after, .card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.portrait-frame picture { height: 100%; }
.on-dark .btn--ghost, .hero .btn--ghost { border-color: var(--dark-outline); color: var(--dark-text); }
.hero .btn--ghost:hover { background: var(--dark-text); border-color: var(--dark-text); color: var(--forest-900); }
.hero .eyebrow { color: var(--brass-300); }
.hero { padding-bottom: clamp(6.5rem, 5rem + 6vw, 9rem); }
main { overflow-x: clip; }
.item h2, .item h3 { text-wrap: pretty; }
@media (min-width: 48rem) and (max-width: 61.99rem) { .cta-band .col-7, .cta-band .col-5 { grid-column: span 12; } }

.split .art { margin: 0; max-height: 18rem; width: 100%; }
