/*
Theme Name: Back on Track: Suture
Theme URI: https://dependentmedia.com/
Author: Dependent Media
Description: Block theme for Back on Track Cranial Center, Scotts Valley CA (rebuild 2026-11, Sierra direction). Light pages, the logo's graphite bar and squared lettering, the live site's amber, a short serrated "suture" seam (where the skull's plates meet) as the label mark, buttons with clipped corners like the logo's squared lettering. Only the home banner moves.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: btc-suture
*/

/* ---------- fonts (self-hosted, latin; tools/make-fonts.py) ---------- */
@font-face { font-family: "Saira"; src: url("assets/fonts/saira-latin-var.woff2") format("woff2"); font-weight: 400 700; font-stretch: 100% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Karla"; src: url("assets/fonts/karla-latin-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
	--ink: #17181B;          /* the logo's black */
	--text: #3A3D42;
	--mute: #5A5E64;
	--line: #D6D9DD;
	--field: #82878E;        /* form borders: 3.6:1 on white */
	--steel: #959AA0;        /* the light end of the logo's bar */
	--graphite: #26292E;     /* the logo's bar */
	--night: #1B1D21;        /* footer */
	--bar: linear-gradient(90deg, #555A61 0%, #2E3136 34%, #131417 100%);
	--film: #EEF0F2;         /* pale steel bands */
	--amber: #A25C00;        /* the live site's accent: buttons (5.2:1 with white) */
	--amber-d: #844A00;
	--amber-ink: #8A4E00;    /* links on white and film (6.3:1 / 5.5:1) */
	--amber-lt: #FFA801;     /* the live slider's amber: marks on graphite only */
	--white: #FFFFFF;
	--display: "Saira", "Arial Narrow", system-ui, sans-serif;
	--body: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wide: 1200px;
	--gut: 20px;
	--edge: max(var(--gut), calc((100vw - var(--wide)) / 2 - 8px));
	--head-h: 72px;
	--seam: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 10'%3E%3Cpath d='M1 5.5 3.6 2.4 5.4 7.4 8 3 9.8 8 12.6 2.2 14.4 6.6 17 3.2 18.8 7.8 21.6 2.4 23.4 6.8 26 3.6 27.8 7.6 30.6 3.2 32.6 6.4 35 4.8' fill='none' stroke='%23A25C00' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E");
}
@media (min-width: 760px) { :root { --gut: 32px; --head-h: 84px; } }

/* ---------- base ---------- */
html { scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1.125rem/1.65 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; color: var(--ink); line-height: 1.12; letter-spacing: -0.005em; margin: 0 0 .55em; text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 1.35rem + 2.6vw, 3.35rem); line-height: 1.06; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.35vw, 2.3rem); }
h3 { font-size: 1.25rem; line-height: 1.25; }
p, ul, ol { margin: 0 0 1em; }
a { color: var(--amber-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.btc-skip { position: absolute; left: 12px; top: -80px; z-index: 200; padding: 12px 18px; background: var(--ink); color: #fff; font: 600 1rem/1 var(--body); text-decoration: none; }
.btc-skip:focus { top: 12px; color: #fff; }
.btc-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
strong { color: var(--ink); font-weight: 700; }

/* The label: spaced, expanded capitals (like the logo's "CRANIAL CENTER") after a short serrated seam. */
.btc-kicker { display: flex; align-items: center; gap: .75em; margin: 0 0 1rem; color: var(--mute); font: 600 .78rem/1.3 var(--display); font-stretch: 125%; letter-spacing: .2em; text-transform: uppercase; }
.btc-kicker::before { content: ""; flex: none; width: 36px; height: 10px; background: var(--seam) center / contain no-repeat; }
.btc-lead { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.32rem); line-height: 1.55; color: var(--text); max-width: 40em; }

/* ---------- buttons: a plate with all four corners clipped, like the logo's squared lettering ---------- */
.btc-btns { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin: 1.6rem 0 0; }
.btc-btn, .wp-block-button__link { --btn-bg: var(--white); position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: .8rem 1.4rem; border: 0; border-radius: 0; background: none; color: var(--white); font: 600 .8rem/1.15 var(--display); font-stretch: 118%; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btc-btn::before, .wp-block-button__link::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--amber); clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px); transition: background-color .15s; }
.btc-btn:hover, .wp-block-button__link:hover { color: var(--white); text-decoration: none; }
.btc-btn:hover::before, .wp-block-button__link:hover::before { background: var(--amber-d); }
.btc-btn .btc-ico { width: 18px; height: 18px; }
.btc-btn--line, .is-style-outline .wp-block-button__link { color: var(--ink); }
.btc-btn--line::before, .is-style-outline .wp-block-button__link::before { background: var(--ink); }
.btc-btn--line::after, .is-style-outline .wp-block-button__link::after { content: ""; position: absolute; inset: 2px; z-index: -1; background: var(--btn-bg); clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px); transition: background-color .15s; }
.btc-btn--line:hover, .is-style-outline .wp-block-button__link:hover { color: var(--ink); }
.btc-btn--line:hover::before, .is-style-outline .wp-block-button__link:hover::before { background: var(--ink); }
.btc-btn--line:hover::after, .is-style-outline .wp-block-button__link:hover::after { background: var(--film); }
.btc-sec--film .btc-btn--line, .btc-sec--film .is-style-outline .wp-block-button__link { --btn-bg: var(--film); }
.btc-sec--film .btc-btn--line:hover::after { background: var(--white); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px 18px; margin: 1.6rem 0 0; }

/* ---------- header ---------- */
.btc-header { position: sticky; top: 0; z-index: 60; background: var(--white); border-bottom: 1px solid var(--line); }
.btc-header.is-scrolled { box-shadow: 0 6px 18px rgba(23, 24, 27, .07); }
.btc-bar__in { display: flex; align-items: center; gap: 20px; min-height: var(--head-h); max-width: var(--wide); margin: 0 auto; padding: 0 var(--gut); box-sizing: content-box; }
.btc-brand { display: block; flex: none; line-height: 0; margin-right: auto; }
.btc-logo { display: block; width: 186px; height: auto; }
.btc-nav { display: none; }
.btc-bar__cta { display: flex; align-items: center; gap: 18px; }
.btc-bar__tel { display: none; align-items: center; gap: 8px; color: var(--ink); font: 600 1.02rem/1 var(--display); text-decoration: none; white-space: nowrap; }
.btc-bar__tel .btc-ico { color: var(--amber); }
.btc-bar__tel:hover { color: var(--amber-ink); }
.btc-bar__book { display: none; min-height: 46px; white-space: nowrap; padding-left: 1.15rem; padding-right: 1.15rem; letter-spacing: .1em; }
.btc-bar__menu { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--ink); background: var(--white); color: var(--ink); font: 600 .78rem/1 var(--display); font-stretch: 118%; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.btc-bar__menu .btc-ico--close, .btc-bar__menu[aria-expanded="true"] .btc-ico--menu { display: none; }
.btc-bar__menu[aria-expanded="true"] .btc-ico--close { display: block; }
@media (max-width: 399px) { .btc-logo { width: 158px; } .btc-bar__in { gap: 12px; } }
@media (min-width: 760px) {
	.btc-bar__tel, .btc-bar__book { display: inline-flex; }
}
@media (min-width: 760px) and (max-width: 959px) { .btc-logo { width: 156px; } .btc-bar__in { gap: 14px; } .btc-bar__cta { gap: 12px; } .btc-bar__menu { padding: 0 11px; } }
@media (min-width: 1280px) {
	.btc-nav { display: block; }
	.btc-bar__menu { display: none; }
	.btc-panel { display: none !important; }
	.btc-brand { margin-right: 4px; }
	.btc-bar__in { gap: 18px; }
	.btc-bar__cta { gap: 16px; }
}
/* desktop menu: spaced capitals, submenus open under their parent's text, a hover bridge between them */
.btc-menu { list-style: none; margin: 0; padding: 0; }
.btc-menu--bar { display: flex; align-items: center; gap: 4px; }
.btc-menu--bar > li { position: relative; }
.btc-menu--bar .btc-menu__link, .btc-menu--bar .btc-menu__toggle { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 9px; border: 0; background: none; color: var(--ink); font: 600 .78rem/1 var(--display); font-stretch: 112%; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btc-menu--bar .btc-menu__toggle .btc-ico { width: 15px; height: 15px; transition: transform .15s; }
.btc-menu--bar .btc-menu__link:hover, .btc-menu--bar .btc-menu__toggle:hover { color: var(--amber-ink); }
.btc-menu--bar .is-in > .btc-menu__link, .btc-menu--bar .is-in > .btc-menu__toggle, .btc-menu--bar [aria-current="page"] { box-shadow: inset 0 -3px 0 var(--amber); }
.btc-menu--bar .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.btc-sub { display: none; position: absolute; left: 0; top: calc(100% + 12px); z-index: 70; min-width: 270px; margin: 0; padding: 10px 0; list-style: none; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--graphite); box-shadow: 0 14px 30px rgba(23, 24, 27, .12); }
.btc-menu--bar .has-sub:hover > .btc-sub, .btc-menu--bar .has-sub.is-open > .btc-sub { display: block; }
.btc-menu--bar .has-sub.is-open .btc-menu__toggle .btc-ico { transform: rotate(180deg); }
.btc-sub a { display: block; padding: 10px 20px 10px 10px; margin-left: 10px; color: var(--ink); font: 500 1rem/1.3 var(--body); text-decoration: none; }
.btc-sub a:hover, .btc-sub a[aria-current="page"] { color: var(--amber-ink); text-decoration: underline; }
/* phone/tablet panel */
.btc-panel { border-top: 1px solid var(--line); background: var(--white); max-height: calc(100vh - var(--head-h)); overflow-y: auto; }
.btc-panel nav { max-width: var(--wide); margin: 0 auto; padding: 8px var(--gut) 0; }
.btc-menu--panel > li { border-bottom: 1px solid var(--line); }
.btc-menu--panel .btc-menu__link, .btc-menu--panel .btc-menu__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 54px; padding: 0; border: 0; background: none; color: var(--ink); font: 600 1.05rem/1.2 var(--display); text-align: left; text-decoration: none; cursor: pointer; }
.btc-menu--panel .btc-menu__toggle[aria-expanded="true"] .btc-ico { transform: rotate(180deg); }
.btc-menu--panel .btc-sub { position: static; display: none; min-width: 0; padding: 0 0 12px; border: 0; box-shadow: none; }
.btc-menu--panel .is-open > .btc-sub { display: block; }
.btc-menu--panel .btc-sub a { margin-left: 0; padding: 9px 0 9px 16px; border-left: 2px solid var(--line); }
.btc-panel__contact { display: flex; flex-wrap: wrap; gap: 10px 24px; max-width: var(--wide); margin: 0 auto; padding: 18px var(--gut) 24px; box-sizing: content-box; }
.btc-panel__contact a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); font-weight: 700; }
.btc-panel__contact .btc-ico { color: var(--amber); }

/* ---------- sections ---------- */
.btc-main { display: block; }
.btc-sec { padding: clamp(56px, 6.5vw, 100px) var(--edge); }
.btc-sec--tight { padding-top: clamp(40px, 4vw, 64px); padding-bottom: clamp(40px, 4vw, 64px); }
.btc-sec--film { background: var(--film); }
.btc-sec--flush-top { padding-top: 0; }
.btc-sec > *:last-child { margin-bottom: 0; }
.btc-rise { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.btc-rise.is-in { opacity: 1; transform: none; }
.btc-intro-h { max-width: 46em; margin-bottom: clamp(28px, 3vw, 44px); }
.btc-intro-h h2 { margin-bottom: .4em; }
.btc-intro-h p:last-child { margin-bottom: 0; }
.btc-cols { display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 900px) { .btc-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .btc-cols--wide-left { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } .btc-cols--wide-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); } }
.btc-cols > * > *:last-child { margin-bottom: 0; }
@media (min-width: 760px) { .btc-cols--portrait { grid-template-columns: 215px minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; } }
.btc-room-h { margin-top: clamp(40px, 5vw, 64px); }
.btc-aside-h { margin-top: 28px; }
.btc-split__aside .btc-room { gap: 16px; }
.btc-more { font-weight: 700; }
.btc-note { border-left: 4px solid var(--amber); background: var(--film); padding: 14px 18px; margin: 0 0 1.5rem; font-size: 1.02rem; }
.btc-note p { margin: 0; }

/* ---------- home hero: photos at the left (bleeding off the page), headline at the right, the logo's bar beneath ---------- */
.btc-hero { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "bar" "text"; background: var(--white); }
.btc-hero__stage { grid-area: stage; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--film); }
.btc-hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s ease; }
.btc-hero__slide.is-on { opacity: 1; }
.btc-hero__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.btc-hero__slide--st-cranial img { object-position: 38% 45%; }
.btc-hero__slide--st-cervical img { object-position: 46% 40%; }
.btc-hero__slide--st-pelvis img { object-position: 40% 55%; }
.btc-hero__text { grid-area: text; padding: 34px var(--gut) 48px; }
.btc-hero__text h1 { margin-bottom: .45em; }
.btc-hero__text .btc-lead { margin-bottom: 0; }
.btc-hero__portal { margin: 1.4rem 0 0; font-size: 1rem; color: var(--mute); }
.btc-hero__bar { grid-area: bar; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 0 var(--gut); background: var(--bar); color: var(--white); }
.btc-hero__spec { display: none; margin: 0; font: 600 .74rem/1.2 var(--display); font-stretch: 125%; letter-spacing: .3em; text-transform: uppercase; }
.btc-hero__spec span + span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 1.1em .18em .8em; background: var(--amber-lt); transform: rotate(45deg); }
.btc-hero__ctl { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.btc-hero__dot { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.btc-hero__dot span { display: block; width: 11px; height: 11px; border: 1.5px solid var(--white); transform: rotate(45deg); }
.btc-hero__dot[aria-current="true"] span { background: var(--amber-lt); border-color: var(--amber-lt); }
.btc-hero__pause { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: 8px; padding: 0; border: 1.5px solid rgba(255, 255, 255, .7); background: none; color: var(--white); cursor: pointer; }
.btc-hero__pause .btc-ico { width: 20px; height: 20px; }
.btc-hero__pause .btc-ico--play, .btc-hero__pause.is-paused .btc-ico--pause { display: none; }
.btc-hero__pause.is-paused .btc-ico--play { display: block; fill: currentColor; }
.btc-hero__pause:hover { background: rgba(255, 255, 255, .12); }
.btc-hero :focus-visible { outline-color: var(--amber-lt); }
.btc-hero__text :focus-visible { outline-color: var(--amber); }
@media (min-width: 760px) {
	.btc-hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-areas: "stage text" "bar bar"; }
	.btc-hero__stage { aspect-ratio: auto; min-height: 520px; }
	.btc-hero__text { align-self: center; padding: 56px var(--edge) 56px clamp(32px, 4vw, 72px); max-width: 600px; box-sizing: content-box; }
	.btc-hero__bar { padding: 0 var(--edge); min-height: 60px; }
}
.btc-hero__text h1 { font-size: clamp(2.05rem, 1.3rem + 1.9vw, 2.9rem); }
@media (min-width: 1100px) {
	.btc-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
	.btc-hero__stage { min-height: 600px; }
	.btc-hero__spec { display: block; }
}

/* ---------- page head (crumbs, label, H1, lead; optional photo with a caption bar) ---------- */
.btc-head { padding-top: clamp(28px, 3.5vw, 48px); padding-bottom: clamp(40px, 5vw, 72px); }
.btc-head h1 { max-width: 20em; }
.btc-head--photo { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .btc-head--photo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); } }
.btc-head__text > *:last-child { margin-bottom: 0; }
.btc-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0 0 clamp(24px, 3vw, 40px); padding: 0; font-size: .95rem; color: var(--mute); }
.btc-crumbs li + li::before { content: "/"; margin: 0 .6em; color: var(--steel); }
.btc-crumbs a { color: var(--mute); }
.btc-crumbs a:hover { color: var(--ink); }

/* ---------- photos: square corners; feature photos carry the logo's bar as their caption ---------- */
.btc-photo { margin: 0; overflow: hidden; background: var(--film); }
.btc-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.btc-fig { margin: 0 0 1.5rem; }
.btc-fig img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.btc-fig figcaption, .btc-plate figcaption { margin: 0; padding: .62rem .9rem; background: var(--bar); color: var(--white); font: 600 .68rem/1.3 var(--display); font-stretch: 125%; letter-spacing: .22em; text-transform: uppercase; }
.btc-fig--natural img { aspect-ratio: auto; }
.btc-plate { display: inline-block; margin: 0; background: var(--graphite); vertical-align: top; }
.btc-plate img { display: block; }
.btc-plate figcaption { min-height: calc(2 * 1.3em); box-sizing: content-box; }
.btc-plate--portrait { width: 215px; }
.btc-room { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
.btc-room li { width: 210px; }
.btc-room .btc-plate { width: 210px; }
.btc-own-note { font-size: .95rem; color: var(--mute); max-width: 40em; margin-top: 1.2rem; }

/* ---------- cards ---------- */
.btc-cards { display: grid; gap: clamp(24px, 2.6vw, 36px); }
.btc-card { position: relative; display: flex; flex-direction: column; }
.btc-card__img { aspect-ratio: 3 / 2; }
.btc-card p { margin: 0; font-size: 1.02rem; }
.btc-card__h a::after { content: ""; position: absolute; inset: 0; }
.btc-card__h a { text-decoration: none; }
.btc-card:hover .btc-card__h a { text-decoration: underline; }
.btc-card:focus-within { outline: 3px solid var(--amber); outline-offset: 4px; }
.btc-card__h a:focus-visible { outline: none; }
.btc-cards--main .btc-card__h { order: 0; margin: 0 0 14px; padding: .78rem 1rem; background: var(--bar); font-size: .82rem; font-stretch: 122%; letter-spacing: .18em; text-transform: uppercase; line-height: 1.3; }
.btc-cards--main .btc-card__h a { color: var(--white); }
.btc-cards--more .btc-card__h { margin: 14px 0 6px; font-size: 1.15rem; }
.btc-cards--more .btc-card__h a { color: var(--ink); }
.btc-cards--more .btc-card:hover .btc-card__h a { color: var(--amber-ink); }
@media (min-width: 520px) { .btc-cards--more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 760px) { .btc-cards--main { grid-template-columns: repeat(3, minmax(0, 1fr)); } .btc-cards--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .btc-cards--more.btc-cards--n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .btc-cards--more.btc-cards--n3, .btc-cards--more.btc-cards--n6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.btc-cards + .btc-sub-h { margin-top: clamp(40px, 5vw, 64px); }
.btc-sub-h { font-size: 1.35rem; margin-bottom: 1.1rem; }

/* ---------- lists ---------- */
.btc-approach, .btc-who, .btc-creds { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px clamp(24px, 3vw, 44px); }
.btc-approach li, .btc-who li { padding-top: 18px; border-top: 2px solid var(--ink); }
.btc-approach h3, .btc-who h3 { font-size: 1.15rem; margin-bottom: .4em; }
.btc-approach p, .btc-who p { margin: 0; font-size: 1.02rem; }
.btc-who a { color: var(--ink); text-decoration: none; }
.btc-who a:hover { color: var(--amber-ink); text-decoration: underline; }
@media (min-width: 760px) { .btc-approach { grid-template-columns: repeat(3, minmax(0, 1fr)); } .btc-who { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .btc-who { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.btc-creds { gap: 0; }
.btc-creds li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.btc-creds li:first-child { border-top: 1px solid var(--line); }
.btc-creds strong { font: 600 1.05rem/1.3 var(--display); }
.btc-creds span { font-size: 1rem; }
.btc-ticks, .wp-block-list.btc-ticks { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 8px 28px; }
@media (min-width: 560px) { .btc-ticks, .wp-block-list.btc-ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.btc-ticks li { position: relative; padding-left: 22px; }
.btc-ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; background: var(--amber); transform: rotate(45deg); }
.btc-conds { display: grid; gap: 28px clamp(28px, 4vw, 56px); }
@media (min-width: 900px) { .btc-conds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.btc-cond { padding-top: 18px; border-top: 2px solid var(--ink); }
.btc-cond h3 { margin-bottom: .3em; }
.btc-cond h3 a { color: var(--ink); }
.btc-cond h3 a:hover { color: var(--amber-ink); }
.btc-cond__h { margin: 0 0 .6em; font-size: 1rem; color: var(--mute); }
.btc-cond .btc-ticks { margin: 0; font-size: 1.02rem; }

/* ---------- prose (treatment pages, articles) ---------- */
.btc-prose { max-width: 760px; }
.btc-prose.btc-sec { padding-left: var(--edge); padding-right: var(--edge); max-width: none; }
.btc-prose > * { max-width: 720px; }
.btc-prose h2 { margin-top: 1.6em; }
.btc-prose h3 { margin-top: 1.4em; }
.btc-prose > h2:first-child, .btc-prose > h3:first-child { margin-top: 0; }
.btc-prose ul:not(.btc-ticks), .btc-prose ol { padding-left: 1.3em; }
.btc-prose li { margin-bottom: .35em; }
.btc-split { display: grid; gap: clamp(32px, 4vw, 72px); align-items: start; }
@media (min-width: 960px) { .btc-split { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } .btc-split__aside { position: sticky; top: calc(var(--head-h) + 24px); } }
.btc-split > * > *:last-child { margin-bottom: 0; }
.btc-aside-box { background: var(--film); padding: 24px; }
.btc-aside-box h2 { font-size: 1.3rem; }
.btc-aside-box .btc-btns { margin-top: 1rem; }
.btc-aside-box .btc-btn--line { --btn-bg: var(--film); }

/* ---------- quotes, packages, hours, visit, map ---------- */
.btc-quotes { display: grid; gap: 28px clamp(24px, 3vw, 44px); }
@media (min-width: 760px) { .btc-quotes--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .btc-quotes--n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.btc-quote { margin: 0; padding: 22px 0 0; border-top: 2px solid var(--ink); }
.btc-quote blockquote { margin: 0; }
.btc-quote blockquote p { margin: 0 0 .8em; color: var(--ink); font: 500 1.2rem/1.45 var(--display); }
.btc-quote blockquote p::before { content: "“"; color: var(--amber); }
.btc-quote blockquote p::after { content: "”"; color: var(--amber); }
.btc-quote figcaption { color: var(--mute); font: 600 .74rem/1.3 var(--display); font-stretch: 125%; letter-spacing: .2em; text-transform: uppercase; }
.btc-packs { display: grid; gap: 24px; }
@media (min-width: 760px) { .btc-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.btc-pack { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--graphite); padding: 22px 24px; }
.btc-pack h3 { margin-bottom: .5em; }
.btc-pack p { margin: 0; font-size: 1rem; }
.btc-hours { width: 100%; max-width: 420px; border-collapse: collapse; font-size: 1rem; }
.btc-hours th, .btc-hours td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.btc-hours th { font: 600 1rem/1.4 var(--display); color: var(--ink); padding-right: 18px; }
.btc-hours td { text-align: right; }
.btc-hours tr.is-off td { color: var(--mute); }
.btc-visit__addr, .btc-visit__tel { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 .9rem; }
.btc-visit__addr .btc-ico, .btc-visit__tel .btc-ico { color: var(--amber); margin-top: .2em; }
.btc-visit__tel a { color: var(--ink); font: 600 1.35rem/1.2 var(--display); text-decoration: none; }
.btc-visit__tel a:hover { color: var(--amber-ink); text-decoration: underline; }
.btc-visit .btc-btns { margin: 1.2rem 0 1.6rem; }
.btc-map { margin: 0; border: 1px solid var(--line); background: var(--film); }
.btc-map img { display: block; width: 100%; height: auto; }
.btc-fl img { display: block; width: 200px; height: auto; }

/* ---------- articles ---------- */
.btc-posts { display: grid; gap: 36px clamp(24px, 2.6vw, 36px); }
@media (min-width: 640px) { .btc-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .btc-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.btc-post { position: relative; }
.btc-post__img { aspect-ratio: 3 / 2; margin-bottom: 14px; }
.btc-post__date { margin: 0 0 .3em; color: var(--mute); font: 600 .72rem/1.3 var(--display); font-stretch: 122%; letter-spacing: .2em; text-transform: uppercase; }
.btc-post__h { font-size: 1.2rem; margin-bottom: .4em; }
.btc-post__h a { color: var(--ink); text-decoration: none; }
.btc-post__h a::after { content: ""; position: absolute; inset: 0; }
.btc-post:hover .btc-post__h a { color: var(--amber-ink); text-decoration: underline; }
.btc-post:focus-within { outline: 3px solid var(--amber); outline-offset: 4px; }
.btc-post__h a:focus-visible { outline: none; }
.btc-post__ex { margin: 0; font-size: 1rem; }
.btc-pages ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 40px 0 0; }
.btc-pages a, .btc-pages span { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.btc-pages .current { background: var(--graphite); border-color: var(--graphite); color: var(--white); }
.btc-head--article h1 { font-size: clamp(1.9rem, 1.35rem + 2vw, 2.9rem); max-width: 24em; }
.btc-post-meta { margin: 0; color: var(--mute); font-size: 1rem; }
.btc-post-hero { margin: 0 0 2rem; aspect-ratio: 16 / 9; }
.btc-prose--article { padding-top: 0; }
.btc-prose--article h2 { font-size: 1.6rem; }
.btc-prose--article h3 { font-size: 1.3rem; }
.btc-h1-page { font-size: .55em; color: var(--mute); font-weight: 500; }
.btc-links { columns: 2 220px; padding-left: 1.2em; }
.btc-links li { margin-bottom: .5em; }

/* ---------- closing call to action ---------- */
.btc-cta { display: grid; gap: 22px 48px; align-items: center; }
@media (min-width: 900px) { .btc-cta { grid-template-columns: minmax(0, 1.2fr) auto; } }
.btc-cta h2 { margin-bottom: .35em; }
.btc-cta p { margin: 0; max-width: 38em; }
.btc-cta .btc-btns { margin: 0; }

/* ---------- forms (Ninja Forms) ---------- */
.btc-contact { display: grid; gap: clamp(40px, 5vw, 80px); align-items: start; }
@media (min-width: 960px) { .btc-contact { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.btc-contact > * > *:last-child { margin-bottom: 0; }
.btc-ccard { background: var(--film); padding: clamp(22px, 3vw, 32px); }
.btc-ccard__big { display: flex; align-items: center; gap: 10px; margin: 0 0 1rem; }
.btc-ccard__big .btc-ico { color: var(--amber); width: 24px; height: 24px; }
.btc-ccard__big a { color: var(--ink); font: 600 1.6rem/1.1 var(--display); text-decoration: none; }
.btc-ccard__big a:hover { color: var(--amber-ink); text-decoration: underline; }
.btc-ccard__list { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.btc-ccard__list li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 1.02rem; overflow-wrap: anywhere; }
.btc-ccard__list .btc-ico { color: var(--amber); margin-top: .15em; }
.btc-ccard__h { font-size: 1.15rem; margin: 0 0 .4em; }
.btc-ccard .btc-hours { max-width: none; margin-bottom: 1.3rem; }
.btc-ccard .btc-hours th, .btc-ccard .btc-hours td { border-color: #D2D6DB; }
.btc-ccard__note { font-size: .98rem; margin: 0; }
.btc-nf .nf-form-fields-required { margin: 0 0 1.2rem; font-size: .98rem; color: var(--mute); }
.btc-nf nf-fields-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 22px; }
@media (min-width: 640px) { .btc-nf nf-fields-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .btc-nf nf-field { grid-column: 1 / -1; } .btc-nf nf-field:has(.btc-half) { grid-column: auto; } }
.btc-nf .nf-field-container { margin: 0 0 22px; }
.btc-nf .nf-field-label label, .btc-nf .nf-field-label .nf-label-span, .btc-nf legend { display: block; margin: 0 0 7px; color: var(--ink); font: 600 1rem/1.3 var(--display); }
.btc-nf .ninja-forms-req-symbol { color: var(--amber-ink); margin-left: 2px; }
.btc-nf input[type="text"], .btc-nf input[type="email"], .btc-nf input[type="tel"], .btc-nf select, .btc-nf textarea { box-sizing: border-box; width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--field); border-radius: 0; background: var(--white); color: var(--ink); font: 400 1.05rem/1.4 var(--body); }
.btc-nf textarea { min-height: 130px; height: 130px; resize: vertical; }
.btc-nf input:focus, .btc-nf select:focus, .btc-nf textarea:focus { outline: 3px solid var(--amber); outline-offset: 1px; border-color: var(--ink); }
.btc-nf .nf-field-description { margin: 6px 0 0; font-size: .95rem; color: var(--mute); }
.btc-nf .nf-field-description p { margin: 0; }
.btc-nf fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.btc-nf .list-radio-wrap ul, .btc-nf .list-checkbox-wrap ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.btc-nf .list-radio-wrap li, .btc-nf .list-checkbox-wrap li { display: flex; align-items: center; gap: 8px; min-height: 40px; margin: 0; }
.btc-nf .list-radio-wrap li label, .btc-nf .list-checkbox-wrap li label { margin: 0; font: 400 1.02rem/1.3 var(--body); color: var(--text); }
.btc-nf input[type="radio"], .btc-nf input[type="checkbox"] { width: 20px; height: 20px; margin: 0; accent-color: var(--amber); }
.btc-nf .nf-error .ninja-forms-field { border-color: #B3261E; }
.btc-nf .nf-error-msg, .btc-nf .nf-error-required-error, .btc-nf .nf-form-errors { color: #B3261E; font-size: .98rem; font-weight: 600; margin-top: 6px; }
.btc-nf .nf-form-errors:not(:empty) { margin: 0 0 1rem; }
.btc-nf .submit-container .nf-field-label { display: none; }
.btc-nf .submit-container .nf-field-element { position: relative; display: inline-block; isolation: isolate; }
.btc-nf .submit-container .nf-field-element::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--amber); clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px); }
.btc-nf .submit-container .nf-field-element:hover::before { background: var(--amber-d); }
.btc-nf input[type="submit"], .btc-nf input[type="button"] { min-height: 54px; padding: .8rem 1.7rem; border: 0; border-radius: 0; background: transparent; color: var(--white); font: 600 .84rem/1.15 var(--display); font-stretch: 118%; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.btc-nf .nf-input-limit, .btc-nf .nf-after-form-content:empty { display: none; }
.btc-thanks { padding: 28px; background: var(--film); border-top: 4px solid var(--graphite); }
.btc-thanks:focus { outline: none; }
.btc-thanks__check { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 0 16px; background: var(--amber); color: var(--white); }
.btc-thanks__check .btc-ico { width: 30px; height: 30px; stroke-width: 2.4; }
.btc-thanks h2 { font-size: 1.6rem; }
.btc-thanks ol { padding-left: 1.3em; }
.btc-confetti { position: fixed; inset: 0; z-index: 300; pointer-events: none; }

/* ---------- footer: the one dark band; the seam along its top edge ---------- */
.btc-foot { position: relative; background: var(--night); color: #D8DBDF; font-size: 1rem; }
.btc-foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 10'%3E%3Cpath d='M0 5 2.6 2.4 4.4 7.4 7 3 8.8 8 11.6 2.2 13.4 6.6 16 3.2 17.8 7.8 20.6 2.4 22.4 6.8 25 3.6 26.8 7.6 29.6 3.2 31.6 6.4 34 3.4 36 5' fill='none' stroke='%23686D74' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") 0 0 / 36px 10px repeat-x; }
.btc-foot a { color: var(--white); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); }
.btc-foot a:hover { text-decoration-color: var(--white); }
.btc-foot :focus-visible { outline-color: var(--amber-lt); }
.btc-foot__in { display: grid; gap: 40px 48px; max-width: var(--wide); margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--gut) 40px; box-sizing: content-box; }
@media (min-width: 700px) { .btc-foot__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .btc-foot__in { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, .9fr); } }
.btc-foot__plate { display: inline-block; padding: 12px 16px 10px; background: var(--white); line-height: 0; }
.btc-foot__plate .btc-logo { width: 220px; }
.btc-foot__facts { list-style: none; margin: 22px 0 0; padding: 0; }
.btc-foot__facts li { display: flex; gap: 12px; padding: 8px 0; overflow-wrap: anywhere; }
.btc-foot__facts .btc-ico { color: var(--amber-lt); margin-top: .15em; }
.btc-foot__h { margin: 0 0 14px; color: var(--white); font: 600 .74rem/1.3 var(--display); font-stretch: 125%; letter-spacing: .24em; text-transform: uppercase; }
.btc-foot__col ul { list-style: none; margin: 0; padding: 0; }
.btc-foot__col li { margin: 0 0 9px; }
.btc-hours--foot th, .btc-hours--foot td { border-color: #3A3D43; padding: 6px 0; font-size: .95rem; }
.btc-hours--foot th { color: var(--white); font-size: .95rem; }
.btc-hours--foot td, .btc-hours--foot tr.is-off td { color: #D8DBDF; }
.btc-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; max-width: var(--wide); margin: 0 auto; padding: 20px var(--gut) 28px; border-top: 1px solid #3A3D43; box-sizing: content-box; font-size: .92rem; color: #C3C7CC; }
.btc-foot__base p { margin: 0; }
.btc-foot__social a { margin-right: 10px; }
.btc-foot__base a.btc-credit, .btc-credit a { text-decoration: underline; text-underline-offset: .18em; }

/* ---------- phones: the bottom bar with exactly Call and Make an Appointment ---------- */
.btc-callbar { display: none; }
@media (max-width: 759px) {
	html { scroll-padding-bottom: 76px; }
	body { padding-bottom: 60px; }
	.btc-callbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; height: 60px; background: var(--graphite); box-shadow: 0 -4px 14px rgba(23, 24, 27, .16); }
	.btc-callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--white); font: 600 .8rem/1.1 var(--display); font-stretch: 118%; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
	.btc-callbar__call .btc-ico { color: var(--amber-lt); }
	.btc-callbar__book { background: var(--amber); }
	.btc-callbar a:focus-visible { outline: 3px solid var(--white); outline-offset: -5px; }
}

@media (prefers-reduced-motion: reduce) {
	.btc-hero__slide { transition: none; }
	.btc-rise { opacity: 1; transform: none; transition: none; }
	html { scroll-behavior: auto; }
}
@media print {
	.btc-header, .btc-callbar, .btc-hero__bar, .btc-foot::before { display: none; }
}
