/*
Theme Name: Travis Elliott Chiropractic: Prairie
Theme URI: https://dependentmedia.com/
Author: Dependent Media
Description: Block theme for Travis Elliott Chiropractic (Newcastle, Wyoming). Rebuild 2026-11-16, built to growth/sierra-direction/DIRECTION.md: light, restrained, quick to read. Spectral (a screen serif) + Barlow Semi Condensed; blaze orange (Wyoming hunting-season orange), prairie straw and coal; a stack of three vertebrae as the mark and as the rule before every label; chevron "trail marker" buttons; Listen, Teach, Guide as three stations on a trail. No page builder.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
License: Proprietary (Dependent Media)
Text Domain: tec-prairie
*/

@font-face { font-family: Spectral; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/spectral-latin-500.woff2) format("woff2"); }
@font-face { font-family: Spectral; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/spectral-latin-700.woff2) format("woff2"); }
@font-face { font-family: Barlow; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/barlow-latin-400.woff2) format("woff2"); }
@font-face { font-family: Barlow; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/barlow-latin-600.woff2) format("woff2"); }

:root {
	--ink: #1E2023; --text: #383B3F; --mute: #595D62; --grey: #686C71;
	--blaze: #B3440B; --blaze-d: #85320A; --blaze-l: #F5BE95;
	--straw: #F5EFDF; --line: #DDD5C4; --white: #FFFFFF; --gold: #C9A24B;
	--display: Spectral, "Iowan Old Style", Georgia, serif;
	--body: Barlow, "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
	--wide: 1200px; --gut: max(20px, calc((100% - var(--wide)) / 2)); --head-h: 76px;
	/* the stack of three vertebrae: the practice's mark, and the rule before every label */
	--spine: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='22' viewBox='0 0 12 22'%3E%3Crect x='2' y='0' width='8' height='5' rx='2' fill='%23B3440B'/%3E%3Crect x='0' y='8' width='12' height='6' rx='2.5' fill='%23B3440B'/%3E%3Crect x='2' y='17' width='8' height='5' rx='2' fill='%23B3440B'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1.1875rem/1.6 var(--body); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blaze); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blaze-d); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.14; font-weight: 700; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 1.5rem + 2.5vw, 3.3rem); }
h2 { font-size: clamp(1.65rem, 1.3rem + 1.3vw, 2.3rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
p { margin: 0 0 1.1em; }
strong { font-weight: 600; color: var(--ink); }
ul, ol { padding-left: 1.2em; }
.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; }
.tec-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; font-weight: 600; text-decoration: none; }
.tec-skip:focus { top: 12px; color: #fff; outline-color: var(--white); }

/* The three-vertebra mark before every small label. */
.tec-kicker { font: 600 .875rem/1.3 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--blaze); margin: 0 0 1rem; display: flex; align-items: center; gap: 12px; }
.tec-kicker::before { content: ""; flex: none; width: 12px; height: 22px; background: var(--spine) no-repeat center / contain; }
.tec-lead { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); line-height: 1.55; color: var(--text); max-width: 60ch; }
.tec-mute { color: var(--mute); font-size: 1rem; }

/* ---------- buttons: a trail marker (a pointed tag) ---------- */
.tec-btn, .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 52px; padding: .7rem 2.1rem .7rem 1.5rem; font: 600 1.0625rem/1.2 var(--body); letter-spacing: .02em; text-decoration: none; border: 0; border-radius: 0; background: var(--blaze); color: #fff; cursor: pointer; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%); transition: background-color .2s; }
.tec-btn:hover, .wp-block-button__link:hover { background: var(--blaze-d); color: #fff; }
.tec-btn--ghost { background: transparent; color: var(--ink); clip-path: none; padding-inline: .25rem; text-decoration: underline; text-decoration-color: var(--blaze); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.tec-btn--ghost:hover { background: transparent; color: var(--blaze-d); }
.tec-btn:focus-visible, .wp-block-button__link:focus-visible { outline-offset: 5px; clip-path: none; }
.tec-ico { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; width: 20px; height: 20px; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin: 1.5rem 0 0; }
.wp-block-button.is-style-ghost .wp-block-button__link { background: transparent; color: var(--ink); clip-path: none; padding-inline: .25rem; text-decoration: underline; text-decoration-color: var(--blaze); text-decoration-thickness: 2px; text-underline-offset: .3em; }

/* ---------- the wordmark ---------- */
.tec-brand { flex: none; display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); line-height: 1; }
.tec-mark { width: 24px; height: 34px; fill: var(--blaze); flex: none; }
.tec-brand__t { display: flex; flex-direction: column; gap: 4px; }
.tec-brand__n { font: 700 1.5rem/1 var(--display); letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.tec-brand__s { font: 600 .6875rem/1 var(--body); letter-spacing: .15em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.tec-brand:hover .tec-brand__n { color: var(--blaze); }
@media (max-width: 399px) { .tec-brand__s { display: none; } .tec-brand__n { font-size: 1.35rem; } }

/* ---------- header ---------- */
.tec-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.tec-header.is-scrolled { box-shadow: 0 4px 16px rgba(30, 32, 35, .08); }
.tec-bar__in { display: flex; align-items: center; gap: 16px; max-width: calc(var(--wide) + 40px); height: var(--head-h); margin: 0 auto; padding: 0 20px; }
.tec-nav { display: none; flex: 1; justify-content: flex-end; }
.tec-menu { list-style: none; margin: 0; padding: 0; }
.tec-menu--bar { display: flex; gap: 2px; align-items: center; }
.tec-menu__item { position: relative; display: flex; align-items: center; }
.tec-menu__link { display: block; padding: 12px 10px; font: 600 1rem/1.2 var(--body); color: var(--ink); text-decoration: none; border-bottom: 3px solid transparent; }
.tec-menu__link:hover { color: var(--blaze); }
.tec-menu__item.is-in > .tec-menu__link { border-bottom-color: var(--blaze); }
.tec-menu__toggle { display: grid; place-items: center; width: 28px; height: 36px; padding: 0; margin-left: -8px; background: none; border: 0; color: var(--ink); cursor: pointer; }
.tec-menu__toggle .tec-ico { width: 18px; height: 18px; }
.tec-menu__toggle[aria-expanded="true"] .tec-ico { transform: rotate(180deg); }
.tec-menu--bar .tec-sub { display: none; position: absolute; left: 0; top: 100%; min-width: 230px; margin: 0; padding: 8px 0; list-style: none; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--blaze); box-shadow: 0 12px 28px rgba(30, 32, 35, .12); }
.tec-menu--bar .has-sub.is-open > .tec-sub { display: block; }
.tec-sub a { display: block; padding: 10px 18px; color: var(--ink); text-decoration: none; font-weight: 400; }
.tec-sub a:hover { background: var(--straw); color: var(--blaze-d); }
.tec-sub a[aria-current="page"] { font-weight: 600; }
.tec-bar__cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.tec-bar__tel { display: none; align-items: center; gap: 8px; font: 600 1.0625rem var(--body); color: var(--ink); text-decoration: none; white-space: nowrap; }
.tec-bar__tel .tec-ico { color: var(--blaze); }
.tec-bar__book { display: none; min-height: 46px; padding-inline: 1.2rem; white-space: nowrap; }
.tec-bar__menu { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; background: var(--white); border: 1.5px solid var(--ink); color: var(--ink); font: 600 1rem var(--body); cursor: pointer; }
.tec-bar__menu .tec-ico--close, .tec-bar__menu[aria-expanded="true"] .tec-ico--menu { display: none; }
.tec-bar__menu[aria-expanded="true"] .tec-ico--close { display: block; }
.tec-panel { border-top: 1px solid var(--line); background: var(--white); max-height: calc(100dvh - var(--head-h)); overflow-y: auto; padding: 8px 20px 24px; }
.tec-panel[hidden] { display: none; }
.tec-menu--panel .tec-menu__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tec-menu--panel .tec-menu__link { flex: 1; padding: 16px 4px; border: 0; font-size: 1.125rem; }
.tec-menu--panel .tec-menu__toggle { width: 48px; height: 52px; margin: 0; }
.tec-menu--panel .tec-sub { display: none; flex: 1 1 100%; margin: 0 0 10px; padding: 0 0 6px 14px; list-style: none; border-left: 3px solid var(--blaze); }
.tec-menu--panel .has-sub.is-open > .tec-sub { display: block; }
.tec-menu--panel .tec-sub a { padding: 10px 6px; }
.tec-panel__contact { display: grid; gap: 4px; margin: 18px 0 0; }
.tec-panel__contact a { display: flex; gap: 10px; align-items: center; padding: 8px 0; color: var(--ink); font-weight: 600; text-decoration: none; }
.tec-panel__contact .tec-ico { color: var(--blaze); }
@media (min-width: 768px) { .tec-bar__tel, .tec-bar__book { display: inline-flex; } .tec-brand img { width: 168px; } }
@media (min-width: 1100px) { .tec-nav { display: flex; } .tec-bar__cta { margin-left: 0; } .tec-bar__menu, .tec-panel { display: none !important; } }

/* ---------- phone bottom bar: exactly Call + Book a Visit ---------- */
.tec-callbar { display: none; }
@media (max-width: 767px) {
	.tec-callbar { display: grid; grid-template-columns: 1fr 1.7fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding-bottom: env(safe-area-inset-bottom); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(30, 32, 35, .08); }
	.tec-callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; font: 600 1.0625rem var(--body); text-decoration: none; }
	.tec-foot .tec-callbar__call { color: var(--ink); background: var(--white); }
	.tec-foot .tec-callbar__call .tec-ico { color: var(--blaze); }
	.tec-foot .tec-callbar__book { color: #fff; background: var(--blaze); }
	.tec-foot .tec-callbar a:focus-visible { outline: 3px solid var(--ink); outline-offset: -6px; }
	.tec-foot .tec-callbar__book:focus-visible { outline-color: #fff; }
	body { padding-bottom: 60px; }
}

/* ---------- layout ---------- */
.tec-main { display: block; }
.wp-block-group.tec-sec, .tec-sec { padding: clamp(40px, 6vw, 80px) var(--gut); }
.tec-sec--tight { padding-block: clamp(24px, 4vw, 48px); }
.tec-sec--straw { background: var(--straw); }
.tec-sec--rule { border-top: 1px solid var(--line); }
.tec-head { padding-bottom: clamp(24px, 4vw, 44px); }
.tec-head h1 { max-width: 22ch; }
.tec-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0 0 20px; padding: 0; font-size: .9rem; color: var(--mute); }
.tec-crumbs li + li::before { content: "›"; margin: 0 .55em; color: var(--grey); }
.tec-crumbs a { color: var(--mute); }
.tec-prose { max-width: calc(720px + var(--gut) * 2); }
.tec-prose > * { max-width: 720px; }
.tec-prose h2 { margin-top: 1.6em; }
.tec-prose h2:first-child { margin-top: 0; }
.tec-prose ul, .tec-prose ol { margin: 0 0 1.2em; }
.tec-prose li { margin-bottom: .45em; }
.tec-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px 64px; align-items: center; }
.tec-split--top { align-items: start; }
@media (min-width: 900px) { .tec-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .tec-split--wide { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.tec-note { font-size: .95rem; color: var(--mute); max-width: 62ch; }
.tec-ticks { list-style: none; padding: 0; }
.tec-ticks li { position: relative; padding-left: 1.7em; }
.tec-ticks li::before { content: ""; position: absolute; left: 0; top: .52em; width: 1.05em; height: .45em; border-left: 2.5px solid var(--blaze); border-bottom: 2.5px solid var(--blaze); transform: rotate(-45deg) scale(.85); transform-origin: left top; }
.tec-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.tec-links--big { gap: 14px 28px; font-size: 1.125rem; }
.tec-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.tec-links .tec-ico { width: 16px; height: 16px; }
.wp-block-image img { height: auto; }
.tec-fig { margin: 0 0 1.5em; }
.tec-fig img { width: 100%; }

/* ---------- home banner: the photo is the page; the caption sits on a blaze-orange plate over its corner ---------- */
.tec-hero { padding: 0 var(--gut); }
.tec-banner { position: relative; padding-top: 20px; }
.tec-banner__stage { position: relative; height: clamp(230px, 34vw, 470px); background: var(--straw); overflow: hidden; }
.tec-banner__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s ease; }
.tec-banner__slide.is-on { opacity: 1; }
.tec-banner__slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.tec-banner__cap { position: absolute; left: 0; bottom: 0; z-index: 2; margin: 0; max-width: min(100%, 520px); padding: 14px 40px 14px 20px; background: var(--blaze); color: #fff; font: 600 1rem/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 100%, 0 100%); }
.tec-banner__ctl { display: flex; align-items: center; justify-content: flex-end; gap: 6px; padding: 10px 0 0; }
.tec-banner__dot { position: relative; width: 30px; height: 30px; padding: 0; background: none; border: 0; cursor: pointer; }
.tec-banner__dot::before { content: ""; position: absolute; left: 4px; top: 11px; width: 22px; height: 8px; border-radius: 3px; background: var(--line); transition: background-color .2s; }
.tec-banner__dot[aria-current="true"]::before { background: var(--blaze); }
.tec-banner__pause { display: grid; place-items: center; width: 42px; height: 42px; margin-left: 6px; padding: 0; background: var(--white); border: 1.5px solid var(--ink); color: var(--ink); cursor: pointer; }
.tec-banner__pause .tec-ico--play, .tec-banner__pause.is-paused .tec-ico--pause { display: none; }
.tec-banner__pause.is-paused .tec-ico--play { display: block; }
.tec-hero__row { display: grid; gap: 22px 64px; padding: clamp(24px, 3.5vw, 44px) 0 clamp(8px, 2vw, 24px); }
@media (min-width: 900px) { .tec-hero__row { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; } }
.tec-hero__row h1 { font-size: clamp(2.3rem, 1.4rem + 3vw, 3.9rem); max-width: 15ch; margin: 0; }
.tec-hero__row .tec-lead { margin-bottom: 0; }

/* ---------- Listen, Teach, Guide: three stations on one trail ---------- */
.tec-trail { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; position: relative; counter-reset: none; }
.tec-trail__item { position: relative; margin: 0; padding: 0 0 0 64px; }
.tec-trail__item::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: -30px; width: 2px; background: repeating-linear-gradient(to bottom, var(--blaze) 0 6px, transparent 6px 12px); }
.tec-trail__item:last-child::before { display: none; }
.tec-trail__n { position: absolute; left: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--blaze); color: #fff; font: 700 1.3rem/1 var(--display); }
.tec-trail__h { margin: 4px 0 .3em; font-size: 1.6rem; }
.tec-trail__item p { margin: 0; max-width: 34ch; }
@media (min-width: 900px) {
	.tec-trail { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 36px; }
	.tec-trail__item { padding: 70px 0 0; }
	.tec-trail__item::before { left: 48px; right: -36px; top: 21px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(to right, var(--blaze) 0 6px, transparent 6px 12px); }
	.tec-trail__item:last-child::before { display: none; }
}

/* ---------- services: a ruled list ---------- */
.tec-svc { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 56px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .tec-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tec-svc__item { margin: 0; padding: 20px 0 8px; border-top: 2px solid var(--ink); }
.tec-svc__h { margin-bottom: .25em; }
.tec-svc__item p { max-width: 46ch; color: var(--text); }
.tec-svc--full .tec-svc__item p { max-width: 56ch; }

/* ---------- prices ---------- */
.tec-prices { width: 100%; max-width: 760px; border-collapse: collapse; font-size: 1.125rem; }
.tec-prices th, .tec-prices td { padding: 13px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-weight: 400; }
.tec-prices thead th { font: 600 .8125rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); border-bottom: 2px solid var(--ink); }
.tec-prices tbody th { font-weight: 600; color: var(--ink); padding-right: 16px; }
.tec-prices td { text-align: right; white-space: nowrap; font: 700 1.2rem/1.3 var(--display); color: var(--blaze-d); }
.tec-prices thead th:last-child { text-align: right; }
.tec-prices__u { display: block; font: 400 .95rem/1.4 var(--body); color: var(--mute); }

/* ---------- first visit: seven numbered steps ---------- */
.tec-vsteps { list-style: none; margin: 0; padding: 0; counter-reset: vs; max-width: 800px; }
.tec-vsteps__item { counter-increment: vs; position: relative; margin: 0; padding: 22px 0 8px 70px; border-top: 1px solid var(--line); }
.tec-vsteps__item::before { content: counter(vs); position: absolute; left: 0; top: 22px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--blaze); color: #fff; font: 700 1.3rem/1 var(--display); }
.tec-vsteps__h { font-size: 1.5rem; margin: 0 0 .3em; }

/* ---------- article index ---------- */
.tec-azlinks { margin-bottom: 36px; }
.tec-agroup { margin: 0 0 44px; }
.tec-agroup h2 { padding-top: 18px; border-top: 2px solid var(--ink); }
.tec-alist { list-style: none; margin: 0; padding: 0; columns: 1; column-gap: 40px; }
@media (min-width: 700px) { .tec-alist { columns: 2; } }
@media (min-width: 1000px) { .tec-alist { columns: 3; } }
.tec-alist li { break-inside: avoid; margin: 0 0 8px; }
.tec-towns { list-style: none; padding: 0; margin: 0 0 1.2em; display: flex; flex-wrap: wrap; gap: 8px 12px; }
.tec-towns li { padding: 6px 16px; background: var(--straw); border-left: 4px solid var(--blaze); font-weight: 600; color: var(--ink); }

/* ---------- hours, office, map ---------- */
.tec-hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.tec-hours th, .tec-hours td { padding: 9px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-weight: 400; }
.tec-hours thead th { font: 600 .8125rem/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.tec-hours tbody th { font-weight: 600; color: var(--ink); width: 42%; }
.tec-office { margin: 0 0 20px; }
.tec-office img { width: 100%; max-width: 408px; height: auto; border-left: 8px solid var(--blaze); }
.tec-office figcaption, .tec-map figcaption { font-size: .9rem; color: var(--mute); margin-top: 8px; }
.tec-map { margin: 0; }
.tec-map iframe { display: block; width: 100%; height: clamp(280px, 42vw, 380px); border: 1px solid var(--line); background: var(--straw); }
.tec-visit { display: grid; gap: 36px 56px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .tec-visit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.tec-address { font: 700 1.35rem/1.35 var(--display); color: var(--ink); margin-bottom: 1rem; }

/* ---------- library ---------- */
.tec-lib { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .tec-lib { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tec-lib li { margin: 0; border-bottom: 1px solid var(--line); }
.tec-lib a { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: center; padding: 14px 4px; color: var(--ink); text-decoration: none; }
.tec-lib a:hover { color: var(--blaze-d); background: var(--straw); }
.tec-lib .tec-ico { color: var(--blaze); }
.tec-lib__t { font-weight: 600; }
.tec-lib__d { display: block; font-weight: 400; font-size: .95rem; color: var(--mute); }
.tec-lib__m { font-size: .85rem; color: var(--mute); white-space: nowrap; }

/* ---------- closing band ---------- */
.tec-cta { display: grid; gap: 22px 40px; align-items: center; padding: clamp(26px, 4vw, 44px); background: var(--straw); border-top: 4px solid var(--blaze); }
.tec-cta h2 { margin-bottom: .3em; }
.tec-cta p { margin: 0; max-width: 56ch; }
.tec-cta__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
@media (min-width: 900px) { .tec-cta { grid-template-columns: minmax(0, 1fr) auto; } }

/* ---------- footer: the one dark band ---------- */
.tec-foot { background: var(--ink); color: #D9DCDD; margin-top: clamp(24px, 4vw, 56px); }
.tec-foot a { color: #fff; }
.tec-foot a:hover { color: #fff; text-decoration-thickness: 2px; }
.tec-foot a:focus-visible { outline-color: #fff; }
.tec-foot__in { display: grid; gap: 32px 40px; padding: 52px var(--gut) 40px; grid-template-columns: minmax(0, 1fr); border-top: 4px solid var(--blaze); }
@media (min-width: 700px) { .tec-foot__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tec-foot__in { grid-template-columns: 1.1fr .9fr .9fr 1.2fr; } }
.tec-brand--foot { margin-bottom: 22px; }
.tec-brand--foot .tec-brand__n { color: #fff; }
.tec-brand--foot .tec-brand__s { color: #C9C0C6; }
.tec-brand--foot .tec-mark { fill: var(--blaze-l); }
.tec-brand--foot:hover .tec-brand__n { color: #fff; }
.tec-foot__facts, .tec-foot__col ul { list-style: none; margin: 0; padding: 0; }
.tec-foot__facts li { display: flex; gap: 12px; margin-bottom: 12px; }
.tec-foot__facts .tec-ico { color: var(--blaze-l); margin-top: 3px; }
.tec-foot__h { font: 600 .8125rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.tec-foot__col li { margin-bottom: 8px; }
.tec-foot a { overflow-wrap: anywhere; }
.tec-hours--foot th, .tec-hours--foot td { color: #D9DCDD; border-color: #474C50; font-size: .95rem; padding: 6px 0; }
.tec-hours--foot thead { display: none; }
.tec-hours--foot tbody th { color: #fff; }
.tec-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 18px var(--gut) 24px; border-top: 1px solid #474C50; font-size: .9rem; color: #C3C7C9; }
.tec-foot__base p { margin: 0; }
.tec-credit a { color: #fff; text-decoration: underline; }

/* ---------- contact + forms (Ninja Forms, opinionated styles off) ---------- */
.tec-contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px 72px; align-items: start; }
.tec-form, .tec-form .nf-form-cont, .tec-form nf-field, .tec-form .nf-field-element { min-width: 0; max-width: 100%; }
@media (min-width: 1000px) { .tec-contact { grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); } }
.tec-ccard { background: var(--straw); padding: 24px 20px 14px; border-top: 4px solid var(--blaze); }
@media (min-width: 600px) { .tec-ccard { padding: 30px 30px 20px; } }
.tec-ccard a, .tec-foot__facts a, .tec-panel__contact a { overflow-wrap: anywhere; }
.tec-ccard__big { display: flex; align-items: center; gap: 12px; font: 700 1.8rem/1.1 var(--display); margin: 0 0 18px; }
.tec-ccard__big a { color: var(--ink); text-decoration: none; }
.tec-ccard__big a:hover { color: var(--blaze); }
.tec-ccard__big .tec-ico { color: var(--blaze); }
.tec-ccard__list { list-style: none; margin: 0 0 18px; padding: 0; }
.tec-ccard__list li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.tec-ccard__list .tec-ico { color: var(--blaze); margin-top: 2px; }
.tec-form .nf-form-content { padding: 0; max-width: none; }
.tec-form .nf-form-fields-required { font-size: .95rem; color: var(--mute); margin-bottom: 18px; }
.tec-form nf-fields-wrap { display: flex; flex-wrap: wrap; gap: 0 20px; }
.tec-form nf-field { flex: 1 1 100%; }
@media (min-width: 700px) { .tec-form nf-field:has(.tec-half) { flex: 1 1 calc(50% - 10px); } }
.tec-form .nf-field-container { margin-bottom: 22px; }
.tec-form .nf-field-label { margin-bottom: 6px; }
.tec-form .nf-field-label label, .tec-form .nf-field-label .nf-label-span { font-weight: 600; color: var(--ink); font-size: 1rem; }
.tec-form .ninja-forms-req-symbol { color: var(--blaze); }
.tec-form input.ninja-forms-field:not([type=button]):not([type=submit]):not([type=checkbox]):not([type=radio]), .tec-form textarea.ninja-forms-field, .tec-form select.ninja-forms-field {
	width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #8A8E92; border-radius: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.4 var(--body); }
.tec-form textarea.ninja-forms-field { min-height: 140px; height: 140px; }
.tec-form .ninja-forms-field:focus { outline: 3px solid var(--blaze); outline-offset: 1px; border-color: var(--ink); }
.tec-form .nf-field-description { font-size: .92rem; color: var(--mute); margin-top: 6px; }
.tec-form .list-radio-wrap ul, .tec-form .list-checkbox-wrap ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.tec-form .list-radio-wrap li, .tec-form .list-checkbox-wrap li { display: flex; align-items: center; gap: 8px; min-height: 36px; }
.tec-form .list-radio-wrap .nf-field-element li input, .tec-form .list-checkbox-wrap .nf-field-element li input { width: 20px !important; height: 20px; margin: 0 !important; flex: none; accent-color: var(--blaze); }
.tec-form .list-radio-wrap .nf-field-element li label, .tec-form .list-checkbox-wrap .nf-field-element li label { font-weight: 400 !important; margin: 0 !important; padding: 0; width: auto; }
.tec-form .list-radio-wrap .nf-field-element li, .tec-form .list-checkbox-wrap .nf-field-element li { margin: 0 !important; padding: 0; }
.tec-form .nf-error-msg, .tec-form .nf-error .nf-error-msg { color: #A3142A; font-size: .95rem; font-weight: 600; margin-top: 6px; }
.tec-form .nf-error .ninja-forms-field { border-color: #A3142A !important; border-width: 2px !important; }
.tec-form .nf-form-errors .nf-error-msg { margin: 0 0 12px; }
.tec-form .nf-after-field .nf-input-limit { display: none; }
.tec-form input[type=submit], .tec-form input[type=button].ninja-forms-field { min-height: 52px; padding: 0 32px; border: 0; border-radius: 0; background: var(--blaze); color: #fff; font: 600 1.0625rem var(--body); cursor: pointer; padding-right: 44px; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%); }
.tec-form input[type=submit]:hover, .tec-form input[type=button].ninja-forms-field:hover { background: var(--blaze-d); }
.tec-formbox { min-width: 0; }
.tec-thanks { padding: 32px 0 8px; outline: none; }
.tec-thanks__check { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--blaze); color: #fff; margin-bottom: 18px; }
.tec-thanks__check .tec-ico { width: 32px; height: 32px; stroke-width: 2.2; }
.tec-thanks h2 { margin-bottom: .35em; }
.tec-thanks ol { margin: 14px 0 22px; padding-left: 1.3em; }
.tec-thanks ol li { margin-bottom: 6px; }
.tec-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 70; }

/* ---------- one quiet fade-in on scroll ---------- */
.tec-js .tec-rise { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.tec-js .tec-rise.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.tec-js .tec-rise { opacity: 1; transform: none; transition: none; }
	.tec-banner__slide { transition: none; }
	* { scroll-behavior: auto !important; }
}
@media print {
	.tec-header, .tec-callbar, .tec-banner__bar, .tec-foot__in { display: none !important; }
}

/* ---------- link cards (New patients hub) and small extras ---------- */
.tec-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .tec-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tec-card { margin: 0; padding: 24px 26px 18px; background: var(--straw); border-top: 4px solid var(--blaze); }
.tec-card__h { font-size: 1.4rem; margin-bottom: .35em; }
.tec-card__h a { color: var(--ink); text-decoration-color: var(--blaze); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.tec-more { margin-top: 1.4rem; font-weight: 600; }
.tec-after { margin-top: 1.6rem; }
.tec-hero__text .wp-block-buttons { margin-top: 1.2rem; }

/* ---------- Prairie extras ---------- */
.tec-cols4 { display: grid; gap: 28px 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .tec-cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tec-cols4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tec-cols4 h3 { padding-top: 14px; border-top: 3px solid var(--blaze); }
.tec-aside { min-width: 0; }
.tec-aside h3 { margin-top: 0; }
.tec-sig { display: block; margin-top: .6em; font: 600 .9375rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--blaze-d); }
.tec-split--svc .tec-svc { grid-template-columns: minmax(0, 1fr); }
.tec-split--svc .tec-svc__item { padding-top: 14px; }
.tec-split--svc .tec-svc__h { font-size: 1.2rem; }
.tec-split--svc .tec-svc__item p { margin-bottom: .6em; }
.tec-hero__row .tec-kicker { margin-bottom: .8rem; }
.tec-post h1 { max-width: 26ch; }
.tec-post .tec-prose img { max-width: 100%; height: auto; }
.tec-post .tec-prose img.alignleft, .tec-post .tec-prose img.alignright { max-width: 40%; }
.tec-post .tec-prose img.alignleft { float: left; margin: 0 20px 12px 0; }
.tec-post .tec-prose img.alignright { float: right; margin: 0 0 12px 20px; }
.tec-post .tec-prose::after { content: ""; display: block; clear: both; }
.tec-head + .tec-sec, .tec-head + .wp-block-group.tec-sec { padding-top: 0; }
