/* Built from assets/css/src by build.sh — edit the partials, not this file. */
/* ==========================================================================
   Tokens — the only place colours, type, spacing and widths are defined.
   Brand colours mirror Anchor Site Config (Appearance → Site Config).
   ========================================================================== */
/* Metric-matched fallbacks for the Typekit fonts (served with font-display:auto). While Typekit loads, text lays out
   in these; size-adjust makes them as wide as the real fonts so the swap doesn't re-wrap lines (layout shift).
   Ratios measured against Arial at 100px on the live hero copy (2026-12-03); the overrides
   give the real fonts' line boxes (ascent+descent, no line gap) and are divided by size-adjust, which Chrome applies to them. Arial/Helvetica/Liberation Sans share
   metrics; Roboto (Android) is close enough. */
@font-face { font-family: "tmj-head-fb"; font-weight: 400; size-adjust: 62.5%; ascent-override: 163.2%; descent-override: 33.6%; line-gap-override: 0%; src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Liberation Sans"), local("Roboto"); }
@font-face { font-family: "tmj-head-fb"; font-weight: 500 900; size-adjust: 72%; ascent-override: 147.2%; descent-override: 33.3%; line-gap-override: 0%; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Liberation Sans Bold"), local("Roboto Bold"), local("Arial"); }
@font-face { font-family: "tmj-body-fb"; font-weight: 400; size-adjust: 94.7%; ascent-override: 121.4%; descent-override: 31.7%; line-gap-override: 0%; src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Liberation Sans"), local("Roboto"); }
@font-face { font-family: "tmj-body-fb"; font-weight: 500 900; size-adjust: 93.9%; ascent-override: 122.5%; descent-override: 31.9%; line-gap-override: 0%; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Liberation Sans Bold"), local("Roboto Bold"), local("Arial"); }

:root {
	/* Brand */
	--teal: #3b8780;          /* primary: nav bar, footer, accents */
	--teal-600: #24665b;
	--teal-700: #1d5149;
	--teal-800: #153b37;
	--ink: #133b37;           /* deep teal used for dark headings + dark buttons */
	--orange: #f48e3b;        /* CTA buttons */
	--orange-600: #f27d1d;
	--mint: #d4e6e3;          /* pale teal panels (credential bands, info cards) */
	--mint-50: #e9f3f1;
	--text: #666;             /* body copy */
	--heading: #333;          /* default heading colour */
	--white: #fff;
	--line: rgba(0, 0, 0, .1);

	/* Type families */
	--ff-head: antarctican-headline, "tmj-head-fb", "Arial Narrow", sans-serif;
	--ff-body: tablet-gothic, "tmj-body-fb", "Helvetica Neue", Arial, sans-serif;
	--ff-ui: Jost, "Helvetica Neue", Arial, sans-serif;            /* nav + small UI */
	--ff-btn: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;

	/* Type scale (desktop → phone, fluid between 390 and 1440) */
	--fs-display: clamp(42px, 3.81vw + 27.1px, 82px);   /* hero H1 */
	--fs-band: clamp(34px, 3.43vw + 20.6px, 70px);     /* CTA band headline */
	--fs-h2: clamp(30px, 2.1vw + 21.8px, 52px);      /* section headings */
	--fs-h3: clamp(26px, .57vw + 23.8px, 32px);
	--fs-h4: 22px;
	--fs-h5: 18px;
	--fs-lead: clamp(18px, 1.14vw + 13.5px, 30px);    /* hero sub-line */
	--fs-lg: clamp(16px, .38vw + 14.5px, 20px);
	--fs-md: clamp(14px, .19vw + 13.3px, 16px);       /* body */
	--fs-sm: 14px;
	--fs-xs: 13px;
	--lh-body: 1.6;
	--lh-head: 1.15;

	/* Spacing scale */
	--sp-1: 4px;
	--sp-2: 8px;
	--sp-3: 12px;
	--sp-4: 16px;
	--sp-5: 24px;
	--sp-6: 32px;
	--sp-7: 48px;
	--sp-8: 64px;
	--sp-9: 80px;
	--sp-10: 112px;

	/* Section rhythm (one of three sizes) */
	--sec-sm: clamp(32px, 2.5vw + 22px, 48px);
	--sec-md: clamp(50px, 2.95vw + 38.5px, 81px);
	--sec-lg: clamp(64px, 4.6vw + 46px, 112px);

	/* Layout */
	--wrap: min(90%, 1440px); /* live Divi rows: 90%, max 1440 (measured at 1728/1920) */
	--wrap-narrow: min(90%, 760px);
	--wrap-mid: min(90%, 1080px);
	--gutter: clamp(24px, 2.3vw + 15px, 48px);
	--radius: 12px;
	--radius-lg: 24px;
	--radius-pill: 100px;
	--shadow: 0 12px 30px rgba(19, 59, 55, .12);
	--header-h: 186px;

	/* Motion (overridden from Customizer → Motion on <html>) */
	--anim-dur: 700ms;
	--anim-dist: 24px;
	--anim-ease: cubic-bezier(.2, .65, .3, 1);
}
/* ==========================================================================
   Base — reset + element defaults.
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
	margin: 0;
	font-family: var(--ff-body);
	font-size: var(--fs-md);
	font-weight: 500;
	line-height: var(--lh-body);
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal); text-decoration: none; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.prose a:hover { text-decoration: underline; }
a:hover { color: var(--teal-700); }
p, ul, ol, figure, blockquote { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 500; line-height: var(--lh-head); color: var(--heading); }
h1, h2, h3 { font-family: var(--ff-head); }
h4, h5, h6 { font-family: var(--ff-body); }
h1 { font-size: var(--fs-display); line-height: 1; }
h2 { font-size: var(--fs-h2); line-height: 1.2; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }
strong, b { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-5) 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--ink); color: #fff; padding: 8px 16px; }
.skip-link:focus { left: 8px; top: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* ==========================================================================
   Layout — sections, wraps, grids, stacks, visibility, utilities.
   Every page is: section.sec > .wrap > (.grid > .col)* > components.
   ========================================================================== */

/* Sections ------------------------------------------------------------- */
.sec { position: relative; padding-block: var(--sec-pad, var(--sec-md)); background-color: var(--sec-bg, transparent); }
.sec--sm { --sec-pad: var(--sec-sm); }
.sec--md { --sec-pad: var(--sec-md); }
.sec--lg { --sec-pad: var(--sec-lg); }
.sec--flush { --sec-pad: 0; }
.sec--top-0 { padding-top: 0; }
.sec--bottom-0 { padding-bottom: 0; }
.sec > * + * { margin-top: var(--sec-gap, var(--sp-6)); }

/* Tones: background + the text colour that reads on it */
.sec--white { --sec-bg: var(--white); }
.sec--mint { --sec-bg: var(--mint-50); }
.sec--teal { --sec-bg: var(--teal); }
.sec--ink { --sec-bg: var(--ink); }
.sec--texture { --sec-bg: #f3f3f3; background-image: url("/wp-content/uploads/2024/08/White-Texture.webp"); background-size: cover; background-position: center; }
.sec--image {
	background-image: var(--overlay, linear-gradient(transparent, transparent)), var(--bg-img);
	background-size: cover, cover;
	background-position: center, var(--bg-pos, center);
}
.sec--fixed { background-attachment: scroll, fixed; }
@media (hover: none) { .sec--fixed { background-attachment: scroll; } }

/* Things on dark backgrounds */
.on-dark, .sec--teal, .sec--ink { color: var(--white); }
.on-dark :is(h1, h2, h3, h4, h5, h6), .sec--teal :is(h1, h2, h3, h4, h5, h6), .sec--ink :is(h1, h2, h3, h4, h5, h6) { color: var(--white); }

/* Cloud divider at the bottom of a section (shared SVG, used by home + landing heroes) */
.sec[data-divider="clouds"] { padding-bottom: calc(var(--sec-pad, var(--sec-md)) + 110px); }
.sec[data-divider="clouds"]::after {
	content: ""; position: absolute; inset: auto 0 -1px; height: 129px; pointer-events: none;
	background: url("/wp-content/uploads/2026/11/stlh-clouds.svg") center bottom / 100% 129px no-repeat;
}

/* Wraps ---------------------------------------------------------------- */
.wrap { width: var(--wrap); margin-inline: auto; }
.wrap--narrow { width: var(--wrap-narrow); }
.wrap--mid { width: var(--wrap-mid); }
.wrap--full { width: 100%; }

/* Grid: --cols for equal columns, or --tpl for a template (e.g. "1fr 2fr").
   Collapses to one column at ≤980px (Divi's tablet breakpoint) unless .grid--keep. */
.grid {
	display: grid;
	gap: var(--gap, var(--gutter));
	grid-template-columns: var(--tpl, repeat(var(--cols, 1), minmax(0, 1fr)));
	align-items: var(--align, start);
}
.grid--center { --align: center; }
.grid--stretch { --align: stretch; }
.grid--tight { --gap: var(--sp-4); }
.grid--flush { --gap: 0; }
@media (max-width: 980px) {
	.grid:not(.grid--keep) { grid-template-columns: repeat(var(--cols-t, 1), minmax(0, 1fr)); }
	.grid--reverse-t > :first-child { order: 2; }
}
@media (max-width: 767px) {
	.grid:not(.grid--keep) { grid-template-columns: repeat(var(--cols-m, 1), minmax(0, 1fr)); }
}

/* Vertical rhythm inside a column: one gap, consistent everywhere */
.col, .stack { display: flex; flex-direction: column; gap: var(--stack, var(--sp-5)); min-width: 0; }
.col > *, .stack > * { margin: 0; }
.col--panel { padding: var(--panel-pad, var(--sp-6)); background: var(--panel-bg, var(--mint-50)); border-radius: var(--radius); }
.col--center { justify-content: center; }
.col--end { justify-content: flex-end; }

/* Visibility (Divi device toggles) */
@media (min-width: 981px) { .hide-d { display: none !important; } }
@media (min-width: 768px) and (max-width: 980px) { .hide-t { display: none !important; } }
@media (max-width: 767px) { .hide-m { display: none !important; } }

/* Utilities */
.ta-center { text-align: center; }
.ta-right { text-align: right; }
.ta-left { text-align: left; }
@media (max-width: 767px) { .ta-center-m { text-align: center; } .ta-left-m { text-align: left; } }
.mx-auto { margin-inline: auto; }
.maxw-sm { max-width: 560px; }
.maxw-md { max-width: 720px; }
.maxw-lg { max-width: 900px; }
.c-white { color: var(--white) !important; }
.c-ink { color: var(--ink) !important; }
.c-teal { color: var(--teal) !important; }
.c-heading { color: var(--heading) !important; }
.c-text { color: var(--text) !important; }

/* Panel: a row with its own surface (colour/image, radius, padding) inside a section */
.panel { padding: var(--panel-pad, var(--sp-7)); background-color: var(--panel-bg, transparent); border-radius: var(--panel-radius, var(--radius)); }
.panel.has-image, .col--panel.has-image { background-image: var(--overlay, linear-gradient(transparent, transparent)), var(--bg-img); background-size: cover, cover; background-position: center, var(--bg-pos, center); }
.panel--shadow { box-shadow: var(--shadow); }
@media (max-width: 767px) { .panel { padding: var(--sp-6) var(--sp-5); } }
.spacer { display: block; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; width: 100%; }

/* Absolutely placed pieces (badges, decorative icons) — offsets from their row, desktop only when .abs--d */
.wrap { position: relative; }
/* Decorative overlay (art carried over from Divi absolute modules). Never catches clicks: it often sits over buttons and video cards. */
.abs { position: absolute; left: var(--x); top: var(--y); width: var(--w); z-index: 2; margin: 0 !important; pointer-events: none; }
@media (max-width: 980px) { .abs--d { position: static; width: var(--w-m, 100px); } }
/* Grid/flex children may shrink below their content (carousels, wide tables) */
.grid > *, .stack > * { min-width: 0; }
.sec { overflow-x: clip; }
/* =========================================================================
   Cards — the one card system. Equal heights and bottom-aligned actions are
   built in, so no page ever needs its own card CSS.

   <div class="cards" style="--cols:3">              equal-height grid: 3 → 2 (≤980) → 1 (≤767)
     <article class="card card--outline ta-center">  variant + optional ta-center
       <figure class="card__media"><img …></figure>   optional, edge to edge
       <h3 class="card__title">Title</h3>
       <div class="card__text prose">Copy…</div>
       <div class="btns">…</div>                       last .btns always sits on the bottom edge
     </article>
   </div>

   Container options: --cols, --cols-t (tablet), --cols-m (phone), --cards-gap,
   and any card property (--card-bg, --card-pad…) set on .cards applies to every card in it.
   Variants: card--outline (bordered, lifts on hover), card--panel (tinted), card--line (hairline),
   plain .card (no chrome — e.g. post cards, form links).
   ========================================================================= */

.cards {
	display: grid;
	grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
	gap: var(--cards-gap, clamp(20px, 2.2vw + 10px, 40px));
	align-items: stretch;
}
@media (max-width: 980px) {
	.cards { grid-template-columns: repeat(var(--cols-t, 2), minmax(0, 1fr)); }
	/* odd one out on a two-up row: centred at one column's width, not stranded on the left */
	.cards:not([style*="--cols-t"]) > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - var(--cards-gap, clamp(20px, 2.2vw + 10px, 40px)) / 2); }
}
@media (max-width: 767px) { .cards { grid-template-columns: repeat(var(--cols-m, 1), minmax(0, 1fr)); } }
/* A card still wrapped in a column fills it too */
.cards > .col { display: flex; flex-direction: column; }
.cards > .col > .card { flex: 1; }

.card {
	display: flex;
	flex-direction: column;
	gap: var(--card-gap, var(--sp-4));
	height: 100%;
	padding: var(--card-pad, 0);
	background: var(--card-bg, var(--white));
	color: var(--card-fg, var(--text)); /* own colours: a white card on a teal section stays readable */
	border-radius: var(--card-radius, var(--radius));
	overflow: hidden;
}
.card > *, .card__body > * { margin-block: 0; }
/* :is (not :where) so it outranks the dark-section heading colour; titles pick theirs via --card-heading */
.card :is(h1, h2, h3, h4, h5, h6) { color: var(--card-heading, var(--heading)); }
.card :is(p, li) { color: inherit; }
/* :is (not :where) so it outranks the dark-section heading colour; titles pick their colour via --card-heading */
.card :is(h1, h2, h3, h4, h5, h6) { color: var(--card-heading, var(--heading)); }
.card :where(p, li) { color: inherit; }
.card__body { display: flex; flex-direction: column; gap: var(--card-gap, var(--sp-4)); flex: 1; }

/* The rule this file exists for: actions hug the bottom edge, whatever the copy length */
.card > .btns:last-child,
.card > .card__actions:last-child,
.card__body > .btns:last-child,
.card__body > .card__actions:last-child { margin-top: auto; }

.card__media { margin: 0; }
.card__media img { display: block; width: 100%; aspect-ratio: var(--card-ratio, 16 / 10); object-fit: cover; }
.card--outline .card__media, .card--panel .card__media { margin: calc(var(--card-pad) * -1) calc(var(--card-pad) * -1) 0; }
.card__title { --card-heading: var(--ink); font-family: var(--ff-body); font-size: var(--fs-h5); font-weight: 700; }
.card__text { color: var(--text); }

/* Variants */
.card--outline {
	--card-pad: clamp(20px, 1.4vw + 14px, 32px);
	border: 1px solid var(--ink);
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
	transition: transform .25s ease, box-shadow .25s ease;
}
.card--outline:hover { transform: translateY(-3px); box-shadow: 0 10px 24px -8px rgba(19, 59, 55, .35); }
.card--panel { --card-pad: var(--sp-6); background: var(--card-bg, var(--mint-50)); }
.card--line { --card-pad: var(--sp-6); border: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) { .card--outline { transition: none; } .card--outline:hover { transform: none; } }
/* ==========================================================================
   Components — what page HTML is written in. Add a variant here before
   reaching for a page's CSS tab.
   ========================================================================== */

/* Prose: any block of running text. Size variants follow the type scale. */
.prose { font-size: var(--fs-md); line-height: var(--lh-body); }
.prose > * + * { margin-top: 1em; }
.prose > :is(h1, h2, h3, h4, h5, h6) + * { margin-top: .6em; }
.prose > * + :is(h2, h3, h4) { margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--teal); }
.on-dark .prose a, .sec--teal .prose a, .sec--ink .prose a { color: inherit; }
.prose--sm { font-size: var(--fs-sm); line-height: 1.7; }
.prose--lg { font-size: var(--fs-lg); line-height: 1.5; }
.prose--lead { font-size: var(--fs-lead); line-height: 1.15; }

/* Heading roles (use on h1–h4 when the role differs from the tag default) */
.t-display { font-family: var(--ff-head); font-size: var(--fs-display); line-height: 1; }
.t-band { font-family: var(--ff-head); font-size: var(--fs-band); line-height: 1; }
.t-h2 { font-family: var(--ff-head); font-size: var(--fs-h2); line-height: 1.2; }
.t-h3 { font-family: var(--ff-head); font-size: var(--fs-h3); line-height: 1.15; }
.t-h4 { font-size: var(--fs-h4); line-height: 1.3; }
.t-h5 { font-size: var(--fs-h5); line-height: 1.3; }
.t-bold { font-weight: 700; }
.t-eyebrow { font-family: var(--ff-head); font-size: clamp(36px, 1.33vw + 30.8px, 50px); font-style: italic; font-weight: 700; letter-spacing: .12em; }

/* Buttons --------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: 18px 24px; border: 0; border-radius: var(--radius-pill);
	background: var(--btn-bg, var(--orange)); color: var(--btn-fg, var(--white));
	font-family: var(--ff-btn); font-size: 14px; font-weight: 600; line-height: 1.7;
	letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
	transition: background-color .2s, color .2s, transform .2s;
}
.btn:hover { --btn-bg: var(--orange-600); color: var(--btn-fg, var(--white)); }
.btn--dark { --btn-bg: var(--ink); }
.btn--dark:hover { --btn-bg: var(--teal-700); }
.btn--teal { --btn-bg: var(--teal); }
.btn--ghost { --btn-bg: transparent; border: 2px solid currentColor; --btn-fg: currentColor; }
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .12); }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; }
.btn--plain { text-transform: none; letter-spacing: 0; font-size: 16px; }
.btns { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.btns.ta-center, .ta-center > .btns { justify-content: center; }
.btns.ta-right { justify-content: flex-end; }
@media (max-width: 767px) { .btns.ta-center-m { justify-content: center; } }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--ink); text-decoration: none; }
.link-arrow .icon { width: 1em; height: 1em; }

/* Media ----------------------------------------------------------------- */
.media { margin: 0; }
.media img { width: 100%; }
.media--round img { border-radius: var(--radius-lg); }
.media--soft img { border-radius: var(--radius); }
.media--circle img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.media--cover, .media--cover img { height: 100%; object-fit: cover; }
.media--shadow img { box-shadow: var(--shadow); }
.media--center img { margin-inline: auto; width: auto; }
.media figcaption { margin-top: var(--sp-2); text-align: center; font-weight: 600; color: var(--heading); }
.icon { width: 1em; height: 1em; flex: none; }

/* Blurbs (cards live in 25-cards.css) ------------------------------------ */
.blurb { display: flex; flex-direction: column; gap: var(--sp-3); align-items: var(--blurb-align, center); text-align: var(--blurb-ta, center); }
.blurb--left { --blurb-align: flex-start; --blurb-ta: left; }
.blurb--row { flex-direction: row; align-items: flex-start; text-align: left; gap: var(--sp-4); }
.blurb__icon { width: var(--blurb-icon, 64px); color: var(--teal); }
.blurb__icon img, .blurb__icon svg { width: 100%; height: auto; }
.blurb__title { font-size: var(--fs-h5); font-family: var(--ff-body); font-weight: 700; color: var(--heading); }

/* FAQ / accordion (native <details>, no JS needed) ----------------------- */

/* Tabs (vertical treatment tabs) --------------------------------------- */
.tabs { display: grid; grid-template-columns: minmax(180px, 1fr) 3fr; gap: var(--sp-5); }
.tabs__list { display: flex; flex-direction: column; gap: var(--sp-2); }
.tabs__tab { padding: var(--sp-3); border: 0; background: var(--mint); color: var(--ink); text-align: center; font-weight: 700; }
.tabs__tab[aria-selected="true"] { background: var(--orange); color: var(--white); }
.tabs__panel[hidden] { display: none; }
@media (max-width: 767px) { .tabs { grid-template-columns: 1fr; } }

/* Band: full-width CTA strip ------------------------------------------ */
.band { text-align: center; }
.band .btns { justify-content: center; }

/* Video ---------------------------------------------------------------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Carousel (scroll-snap; site.js adds arrows/dots + autoplay when asked) */
.carousel { position: relative; min-width: 0; max-width: 100%; }
.carousel__track { display: flex; gap: var(--car-gap, var(--sp-5)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { flex: 0 0 var(--car-w, 100%); scroll-snap-align: start; min-width: 0; }
.carousel__nav { display: flex; justify-content: center; gap: var(--sp-2); margin-top: var(--sp-4); }
.carousel__dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .25); }
.carousel__dot[aria-current="true"] { background: var(--ink); }
.carousel__arrow { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow); }
.carousel__arrow--prev { left: 8px; } .carousel__arrow--next { right: 8px; }
.carousel__arrow .icon { width: 14px; height: 14px; }
.carousel__arrow--prev .icon { rotate: 90deg; } .carousel__arrow--next .icon { rotate: -90deg; }
.slide-card { min-height: 450px; padding: var(--sp-8) var(--sp-6); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-3); text-align: center; color: #fff; background: linear-gradient(rgba(0, 0, 0, .35), rgba(0, 0, 0, .35)), var(--bg) center / cover; }
.slide-card__title { color: #fff; font-family: var(--ff-head); font-size: 36px; max-width: 720px; }
.slide-card .btn--ghost { letter-spacing: 0; text-transform: none; font-size: 18px; padding: 6px 18px; border-radius: 3px; }

/* Credentials list (Meet the Practice) --------------------------------- */
.creds { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 0 var(--sp-5); }
.creds > div { padding: var(--sp-3) 0; }
.creds dt { font-family: var(--ff-btn); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.creds dd { margin: 0; font-size: var(--fs-sm); color: var(--ink); }
@media (max-width: 767px) { .creds { grid-template-columns: 1fr 1fr; } }

/* Posts --------------------------------------------------------------- */
.post-grid { --cards-gap: var(--sp-6) 5.5%; }
.post-card { gap: 0; }
.post-card__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__body { display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-5) var(--sp-3); flex: 1; }
.post-card__title { font-family: var(--ff-body); font-size: 23px; line-height: 1.4; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__meta { font-size: 14px; text-transform: uppercase; color: var(--text); }
.post-card__meta a { color: inherit; }
.post-card__excerpt { font-size: var(--fs-sm); }
.post-card__more { margin-top: auto; font-family: var(--ff-btn); font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--teal); text-decoration: none; }
.nav-links { display: flex; gap: var(--sp-3); margin-top: var(--sp-7); font-family: var(--ff-btn); font-weight: 700; font-size: 13px; }

/* Forms (Contact Form 7) ---------------------------------------------- */
.wpcf7 form { display: grid; gap: var(--sp-3); }
.wpcf7 :is(input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], select, textarea) {
	width: 100%; padding: 12px 14px; border: 1px solid var(--field-border, rgba(255, 255, 255, .7)); border-radius: 4px;
	background: var(--field-bg, rgba(255, 255, 255, .7)); color: var(--ink); font: 500 15px/1.4 var(--ff-body);
}
.wpcf7 ::placeholder { color: var(--ink); font-style: italic; font-weight: 600; opacity: .9; }
.wpcf7 textarea { min-height: 160px; }
.wpcf7 :is(input[type="submit"], button[type="submit"]) { width: 100%; padding: 12px; border: 0; border-radius: 4px; background: var(--orange); color: #fff; font: 600 20px/1.4 var(--ff-body); cursor: pointer; }
.wpcf7 :is(input[type="submit"], button[type="submit"]):hover { background: var(--orange-600); }
.wpcf7 label { display: block; margin: 10px 0; }
.wpcf7-not-valid-tip { font-size: 13px; color: #c62828; }
.wpcf7-response-output { margin: 0 !important; border-radius: 4px; }
.custom-row { display: flex; gap: 10px; align-items: center; }
.custom-row > * { width: 100%; }
.wpcf7-radio { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.checkbox-columns .wpcf7-checkbox { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; }
@media (max-width: 700px) { .wpcf7-radio { grid-template-columns: repeat(2, 1fr); } .checkbox-columns .wpcf7-checkbox { grid-template-columns: 1fr; } }
.form-light { --field-bg: #fff; --field-border: var(--line); }

/* Social icons */
.social { display: flex; gap: var(--sp-3); }
.social__link { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 50%; color: inherit; }
.social__link .icon { width: 18px; height: 18px; }

/* Pricing card, icon badge, tab subtitle */
.price { padding: var(--sp-6); gap: var(--sp-3); }
.price__amount { font: 500 44px/1 var(--ff-head); color: var(--ink); }
.price__list { list-style: none; padding: 0; display: grid; gap: var(--sp-2); font-size: var(--fs-sm); }
.icon-badge { font-size: 54px; color: var(--ink); line-height: 1; }
.icon-badge .icon { display: inline-block; }
.tabs__tab small { display: block; font-weight: 500; font-size: 11px; }
.tabs__tab img { width: 48px; margin: 0 auto 6px; }

/* Logo/award strips */

/* CF7 custom two-up layout (Ultimate Addons markup: .custom-row > .custom-row-space) */
.form { max-width: 700px; margin-inline: auto; width: 100%; }
.wpcf7 .custom-form-container { display: grid; gap: 10px; }
.wpcf7 .custom-row { display: flex; gap: 10px; }
.wpcf7 .custom-row-space { flex: 1; min-width: 0; }
/* live keeps First/Last and Phone/Email two across even at 390 */
.wpcf7 .wpcf7-form-control-wrap { display: block; }
/* On dark/photo sections the fields go translucent with white text, like live */
.on-dark .wpcf7 :is(input[type="text"], input[type="email"], input[type="tel"], textarea, select) { background: rgba(255,255,255,.45); color: #fff; border: 0; border-radius: 5px; }
.on-dark .wpcf7 ::placeholder { color: var(--ink); }
.on-dark .wpcf7 textarea { height: 200px; }
.on-dark .wpcf7 :is(input[type="submit"], button[type="submit"]) { border-radius: 5px; padding: 6px 20px; min-height: 46px; }
.block-link { display: block; color: inherit; text-decoration: none; }

/* Contact popup (<dialog>) */
.modal { width: min(95%, 529px); border: 0; border-radius: 12px; padding: var(--sp-6) var(--sp-5); background: var(--teal); color: #fff; }
.modal::backdrop { background: rgba(19, 59, 55, .6); }
.modal__title { margin: 0 0 var(--sp-3); text-align: center; color: #fff; font-family: var(--ff-head); }
.modal__close { position: absolute; top: 10px; right: 10px; border: 0; background: none; color: #fff; width: 32px; height: 32px; cursor: pointer; }
.modal .wpcf7 :is(input[type="submit"], button[type="submit"]):hover { background: var(--ink); }
.prose table { display: block; max-width: 100%; overflow-x: auto; }


/* Shared video lightbox (site.js §6) */
.vid-dialog { width: min(92vw, 960px); padding: 0; border: 0; border-radius: 12px; background: #000; overflow: hidden; }
.vid-dialog::backdrop { background: rgba(0, 0, 0, .8); }
.vid-dialog iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.vid-dialog__close { position: absolute; top: 6px; right: 10px; z-index: 2; border: 0; background: rgba(0, 0, 0, .5); color: #fff; width: 36px; height: 36px; border-radius: 50%; font-size: 22px; cursor: pointer; }

/* Anchor Gallery ([anchor_gallery]) — plugin component; the theme only supplies brand type and colour through its own variables */
.anchor-video-gallery { font-family: var(--ff-body); --avg-title-size: 16px; --avg-title-weight: 600; --avg-title-color: var(--ink); --avg-radius: var(--radius); }
.anchor-video-gallery .avg-caption { font-size: 14px; color: var(--text); }
/* Tracked (letter-spaced) headings: the spacing after the last letter pushes centred text left — balance it */
.ta-center.t-eyebrow, .ta-center > .t-eyebrow { padding-inline-start: .12em; }
/* Logo reels fade in and out at the edges instead of being cut off */
.anchor-video-gallery.avg-layout-logo-carousel { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
/* ==========================================================================
   Chrome — header (brand bar + sticky teal nav + mobile drawer) and footer.
   ========================================================================== */

/* Brand bar */
.brandbar { background: var(--white); position: relative; z-index: 60; }
.brandbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); padding-block: 12px; }
.brandbar__logo img { width: 300px; height: auto; }
.brandbar__aside { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.brandbar__phone { display: inline-flex; align-items: center; gap: 5px; font: 500 30px/1.4 var(--ff-body); letter-spacing: 1px; color: var(--teal); text-decoration: none; }
.brandbar__phone-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: #fff; }
.brandbar__phone-icon .icon { width: 18px; height: 18px; }

/* Utility pills (Resources menu); colours keyed on the menu items' CSS classes */
.utility__list { display: flex; list-style: none; margin: 0; padding: 0; }
.utility__list > .nav__item { position: relative; background: var(--pill, var(--teal)); }
.utility__list > .nav__item + .nav__item { border-left: 1px solid #fff; }
.utility__list > .nav__item > .nav__link { display: block; padding: 6px 8px 5px; font: 500 18px/1.1 var(--ff-ui); color: #fff; text-decoration: none; }
.utility__list .patient-portal { --pill: var(--teal-800); }
.utility__list .for-providers { --pill: var(--teal-700); }
.utility__list .for-athletes { --pill: var(--teal-600); }
.utility__list .forms { --pill: var(--teal); }
.utility__list .has-sub { display: flex; align-items: center; padding-right: 4px; }
.utility__list .nav__toggle { padding: 0 4px; border: 0; background: none; color: #fff; }

/* Shared nav pieces */
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__toggle svg { width: 10px; height: 8px; }
.nav__sub { list-style: none; margin: 0; padding: 12px 0; position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border-top: 3px solid var(--teal); box-shadow: 0 2px 5px rgba(0, 0, 0, .1); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; z-index: 70; }
.nav__sub .nav__sub { top: -15px; left: 100%; }
.utility__list .nav__sub { left: auto; right: 0; }
.nav__item:hover > .nav__sub, .nav__item.is-open > .nav__sub { opacity: 1; visibility: visible; }
.nav__sub .nav__item { position: relative; display: flex; align-items: center; justify-content: space-between; }
.nav__sub .nav__link { display: block; flex: 1; padding: 6px 20px; font: 500 16px/1.4 var(--ff-ui); color: var(--ink); text-decoration: none; }
.nav__sub .nav__link:hover { color: var(--teal); background: var(--mint-50); }
.nav__sub .nav__toggle { border: 0; background: none; color: var(--ink); padding: 0 12px; rotate: -90deg; }

/* Teal nav bar (sticky) */
.navbar { position: sticky; top: 0; z-index: 50; background: var(--teal); }
.admin-bar .navbar { top: 32px; }
.navbar__inner { display: flex; align-items: center; justify-content: center; min-height: 68px; }
.nav--main > .nav__list { display: flex; flex-wrap: wrap; justify-content: center; }
.nav--main > .nav__list > .nav__item { position: relative; display: flex; align-items: center; }
.nav--main > .nav__list > .nav__item > .nav__link { padding: 12px; font: 500 18px/20px var(--ff-ui); color: #fff; text-decoration: none; }
.nav--main > .nav__list > .has-sub > .nav__link { padding-right: 2px; }
.nav--main > .nav__list > .nav__item > .nav__toggle { border: 0; background: none; color: #fff; padding: 0 10px 0 4px; }
.navbar__phone, .navbar__burger { display: none; }

/* Mobile drawer */
.drawer { background: #fff; border-top: 3px solid var(--teal); max-height: calc(100dvh - 131px); overflow-y: auto; box-shadow: 0 2px 5px rgba(0, 0, 0, .1); }
.nav--drawer .nav__item { position: relative; display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
.nav--drawer .nav__link { flex: 1; padding: 12px 5%; font: 500 17px/1.3 var(--ff-ui); color: var(--ink); text-decoration: none; }
.nav--drawer .nav__toggle { border: 0; background: none; padding: 12px 5%; color: var(--ink); }
.nav--drawer .nav__toggle[aria-expanded="true"] svg { rotate: 180deg; }
.nav--drawer .nav__sub { position: static; flex-basis: 100%; opacity: 1; visibility: visible; display: none; min-width: 0; padding: 0 0 0 16px; border: 0; box-shadow: none; background: var(--mint-50); }
.nav--drawer .nav__item.is-open > .nav__sub { display: block; }
.nav--drawer .nav__sub .nav__item:last-child { border-bottom: 0; }
.nav--drawer .nav__sub .nav__toggle { rotate: none; }

@media (max-width: 980px) {
	.brandbar__inner { justify-content: center; padding-block: 8px; }
	.brandbar__logo img { width: 211px; }
	.brandbar__aside { display: none; }
	.is-landing .brandbar__inner { justify-content: space-between; }
	.is-landing .brandbar__logo img { width: 150px; }
	.is-landing .brandbar__aside { display: flex; }
	.is-landing .brandbar__phone { font-size: 13px; gap: 6px; }
	.is-landing .brandbar__phone-icon { width: 22px; height: 22px; }
	.is-landing .brandbar__phone-icon .icon { width: 13px; height: 13px; }
	.navbar__inner { justify-content: space-between; min-height: 46px; width: 100%; padding-inline: 5px; }
	.nav--main { display: none; }
	.navbar__phone { display: inline-flex; align-items: center; gap: 6px; padding: 10px; font: 500 18px/1 var(--ff-ui); color: #fff; text-decoration: none; }
	.navbar__phone .icon { width: 18px; height: 18px; }
	.navbar__burger { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; background: none; color: #fff; }
	.navbar__burger .icon { width: 26px; height: 26px; }
}
@media (max-width: 767px) { .brandbar__phone { font-size: 24px; } .is-landing .brandbar__phone { font-size: 13px; } }

/* Footer */
.site-footer { position: relative; background: var(--teal); color: #fff; padding-block: 54px 40px; overflow: hidden; }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.site-footer__col { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-4); font-size: 18px; line-height: 1.32; }
.site-footer__col > * { position: relative; }
.site-footer__mark { position: absolute !important; left: 0; top: 0; width: 296px; opacity: .15; pointer-events: none; }
.site-footer__title { font: 700 24px/1.4 var(--ff-body); color: #fff; }
.site-footer__phone { font: 500 27px/1.7 var(--ff-ui); text-decoration: none; }
.site-footer__social { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.site-footer__social-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #fff; border-radius: 50%; }
.site-footer__social-icon .icon { width: 18px; height: 18px; }
.site-footer__legal { display: flex; justify-content: space-between; gap: var(--gutter); margin-top: 60px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .3); font-size: 14px; }
.site-footer__copy { font-style: italic; max-width: 565px; }
@media (max-width: 980px) {
	.site-footer__grid { grid-template-columns: 1fr; gap: 40px; }
	.site-footer__title { font-size: 15px; }
	.site-footer__legal { flex-direction: column; }
}
/* ==========================================================================
   Motion — see inc/motion.php for the API. site.js adds .is-anim (hidden
   start state) only once JS is running, so no-JS visitors see everything.
   ========================================================================== */
.is-anim { opacity: 0; transition: opacity var(--anim-dur) var(--anim-ease), transform var(--anim-dur) var(--anim-ease); transition-delay: var(--anim-delay, 0ms); will-change: opacity, transform; }
.is-anim[data-anim="fade-up"] { transform: translateY(var(--anim-dist)); }
.is-anim[data-anim="fade-down"] { transform: translateY(calc(var(--anim-dist) * -1)); }
.is-anim[data-anim="slide-left"] { transform: translateX(var(--anim-dist)); }
.is-anim[data-anim="slide-right"] { transform: translateX(calc(var(--anim-dist) * -1)); }
.is-anim[data-anim="zoom"] { transform: scale(.94); }
.is-anim.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .is-anim { opacity: 1 !important; transform: none !important; transition: none !important; } }
/* ==========================================================================
   Single post + archives.
   ========================================================================== */
.wrap--post { width: min(80%, 1080px); }
.post-head__grid { --tpl: 1fr 2fr; --align: start; }
.post-head__title { font-size: clamp(30px, 1.6vw + 24px, 46px); line-height: 1.15; color: var(--heading); }
.post-meta { margin-top: var(--sp-2); font-size: var(--fs-sm); }
.post-meta a { color: inherit; text-decoration: none; }
.post-nav { display: flex; justify-content: space-between; padding-block: var(--sp-7); font: 700 14px/1 var(--ff-ui); }
.post-nav a { color: var(--ink); text-decoration: none; }
.post-more__title { font-size: 36px; margin-bottom: var(--sp-7); }
.archive-title { font-family: var(--ff-head); font-size: var(--fs-h3); text-align: center; margin-bottom: var(--sp-6); }
