/*
Theme Name: Spinal Care Center: Spine
Theme URI: https://spinalcarecenterstockton.com/
Author: Dependent Media
Author URI: https://dependentmedia.com/
Description: Clean, photo-led block theme for Spinal Care Center (Dr. Ara M. Tekerlek, Stockton CA). Built 2026-11 to the Sierra direction: light pages, one rotating home banner, a sticky header with phone and appointment button, a phone call bar. Details from the trade: a stack of vertebrae as the label mark, photos and buttons with one clipped corner. No page builder.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: scc-spine
*/

@font-face { font-family: "Bricolage Grotesque"; src: url(assets/fonts/bricolage-latin.woff2) format("woff2"); font-weight: 500 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(assets/fonts/source-serif-latin.woff2) format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(assets/fonts/source-serif-italic-latin.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
	--ink: #101612;
	--text: #2a332d;
	--mute: #56625a;
	--line: #cfd9cc;
	--green: #17702f;
	--green-d: #0f5222;
	--leaf: #35b93b;
	--frame: #6b7a70;
	--mist: #edf3ea;
	--white: #fff;
	--gut: 18px;
	--wide: 1180px;
	--pad: max(var(--gut), calc((100% - var(--wide)) / 2));
	--sec: clamp(52px, 6.5vw, 96px);
	--head: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
	--body: "Source Serif 4", Georgia, "Times New Roman", serif;
	--cut: 22px;
	--head-h: 72px;
}
@media (min-width: 600px) { :root { --gut: 28px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.125rem/1.65 var(--body); color: var(--text); background: var(--white); }
@media (max-width: 899px) { body { padding-bottom: 68px; } } /* room for the phone bar */
img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); font-weight: 700; line-height: 1.12; letter-spacing: -.012em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.5rem); line-height: 1.04; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.7vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-d); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.scc-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.scc-skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; font: 700 1rem var(--head); }
.scc-skip:focus { top: 12px; }
.scc-ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -5px; }
.scc-tel { font-weight: 600; white-space: nowrap; }
.scc-main { display: block; }
.scc-sec { padding: var(--sec) var(--pad); }
.scc-sec > * { max-width: 100%; }
.scc-sec--mist, .scc-mist { background: var(--mist); }
.wp-block-group.scc-sec > * + * { margin-top: 0; }
.scc-head { padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(28px, 4vw, 52px); }
.scc-head > * { max-width: 820px; }
.scc-lead { font-size: 1.3125rem; line-height: 1.55; color: var(--text); }
.scc-prose > * { max-width: 720px; }
.scc-prose h2 { margin-top: 1.6em; }
.scc-prose ul { padding-left: 1.2em; } .scc-prose li { margin-bottom: .45em; }

/* the stack of vertebrae: the label mark (three small bars, graded) */
.scc-kicker { display: flex; align-items: center; gap: 12px; font: 600 .84rem/1 var(--head); letter-spacing: .13em; text-transform: uppercase; color: var(--green-d); margin: 0 0 18px; }
.scc-kicker::before { content: ""; flex: none; width: 10px; height: 26px; background:
	linear-gradient(var(--leaf), var(--leaf)) 50% 0 / 10px 7px no-repeat,
	linear-gradient(var(--leaf), var(--leaf)) 50% 50% / 8px 7px no-repeat,
	linear-gradient(var(--leaf), var(--leaf)) 50% 100% / 6px 7px no-repeat; border-radius: 3px; }

/* ---------- buttons: a clipped corner, the same cut as the photos ---------- */
.scc-btn, .wp-block-button__link, .scc-form input[type=submit] { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; background: var(--green); color: #fff !important; font: 700 1.02rem/1.1 var(--head); letter-spacing: .01em; text-decoration: none !important; border: 0; border-radius: 0; cursor: pointer; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); transition: background .2s; }
.scc-btn:hover, .wp-block-button__link:hover { background: var(--green-d); }
.scc-btn--light { background: #fff; color: var(--ink) !important; } .scc-btn--light:hover { background: var(--mist); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin: 1.6em 0 0; }
.wp-block-button.is-style-link .wp-block-button__link, .wp-block-button.scc-linkbtn .wp-block-button__link { background: none; color: var(--green) !important; padding: 0; min-height: 0; clip-path: none; text-decoration: underline !important; text-underline-offset: 4px; }
.scc-link { font: 700 1rem var(--head); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; } .scc-link:hover { text-decoration: underline; }

/* ---------- header (sticky) ---------- */
.scc-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); }
.scc-header.is-scrolled { box-shadow: 0 6px 20px rgba(16,22,18,.08); }
.scc-bar { display: flex; align-items: center; gap: 14px; min-height: var(--head-h); padding: 6px var(--pad); }
.scc-logo { display: block; flex: none; line-height: 0; } .scc-logo img { width: 190px; height: auto; }
@media (min-width: 900px) { .scc-logo img { width: 230px; } }
.scc-nav { display: none; margin-left: auto; }
.scc-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.scc-menu a { display: block; padding: 10px 14px; font: 600 1rem var(--head); color: var(--ink); text-decoration: none; border-bottom: 3px solid transparent; }
.scc-menu a:hover { border-bottom-color: var(--leaf); color: var(--ink); }
.scc-menu a[aria-current] { border-bottom-color: var(--green); }
.scc-bar__act { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.scc-bar__tel { display: none; align-items: center; gap: 8px; font: 700 1.05rem var(--head); color: var(--ink); text-decoration: none; white-space: nowrap; } .scc-bar__tel .scc-ico { color: var(--green); }
.scc-bar__cta { display: none; min-height: 46px; padding: 0 22px; }
.scc-bar__menu { width: 48px; height: 48px; border: 1px solid var(--line); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.scc-bar__menu-close { display: none; } .scc-bar__menu[aria-expanded=true] .scc-bar__menu-open { display: none; } .scc-bar__menu[aria-expanded=true] .scc-bar__menu-close { display: inline; }
.scc-panel { border-top: 1px solid var(--line); background: #fff; padding: 8px var(--pad) 24px; max-height: calc(100dvh - var(--head-h)); overflow: auto; }
.scc-panel[hidden] { display: none; }
.scc-menu--panel { flex-direction: column; gap: 0; } .scc-menu--panel a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
.scc-panel__call { margin: 20px 0 0; }
@media (min-width: 900px) { .scc-nav { display: block; } .scc-bar__act { margin-left: 8px; } .scc-bar__cta { display: inline-flex; } .scc-bar__menu, .scc-panel { display: none !important; } }
@media (min-width: 1100px) { .scc-bar__tel { display: inline-flex; } }

/* phone bar: exactly two buttons */
.scc-phonebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; display: grid; grid-template-columns: 1fr 2fr; background: var(--ink); padding-bottom: env(safe-area-inset-bottom); }
.scc-phonebar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; font: 700 1.05rem var(--head); text-decoration: none; color: #fff; }
.scc-phonebar__call { border-right: 1px solid #3a463e; } .scc-phonebar__book { background: var(--green); }
.scc-phonebar a:focus-visible { outline-color: #fff; outline-offset: -4px; }
@media (min-width: 900px) { .scc-phonebar { display: none; } }

/* ---------- home banner ---------- */
.scc-home-top { padding: 0 var(--pad); }
.scc-banner { position: relative; }
.scc-banner__photos { position: relative; aspect-ratio: 4 / 3; background: var(--mist); overflow: hidden; clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); }
@media (min-width: 700px) { .scc-banner__photos { aspect-ratio: 21 / 9; min-height: 420px; max-height: 560px; width: 100%; } }
.scc-banner__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.scc-banner__slide.is-on { opacity: 1; }
.scc-banner__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.scc-banner__slide:nth-child(1) img { object-position: 50% 45%; } .scc-banner__slide:nth-child(2) img { object-position: 50% 40%; } .scc-banner__slide:nth-child(3) img { object-position: 50% 30%; }
.scc-banner__ctl { display: flex; align-items: center; gap: 16px; padding: 12px 0 0; }
.scc-banner__cap { margin: 0 auto 0 0; font: 600 .84rem var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.scc-banner__dots { display: flex; gap: 8px; }
.scc-banner__dots button { position: relative; width: 28px; height: 8px; border: 0; padding: 0; background: var(--line); cursor: pointer; border-radius: 0; }
.scc-banner__dots button::after { content: ""; position: absolute; inset: -18px -2px; } /* 44 px touch target */
.scc-banner__dots button[aria-current] { background: var(--green); }
.scc-banner__pause { width: 44px; height: 44px; border: 1px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.scc-banner__i-play { display: none; } .scc-banner__pause.is-paused .scc-banner__i-play { display: inline; } .scc-banner__pause.is-paused .scc-banner__i-pause { display: none; }
.scc-hero-text { display: grid; gap: 22px 56px; padding: clamp(28px, 4vw, 48px) var(--pad) 0; }
@media (min-width: 900px) { .scc-hero-text { grid-template-columns: 1.4fr 1fr; align-items: end; } }
.scc-hero-text h1 { margin: 0; }
.scc-hero-text .scc-lead { margin: 0 0 18px; }
.scc-hero-text .wp-block-buttons { margin-top: 0; }

.scc-facts { list-style: none; margin: 0; padding: 22px var(--pad); display: grid; gap: 10px 28px; grid-template-columns: 1fr 1fr; font: 600 1rem/1.3 var(--head); color: var(--ink); background: var(--mist); }
@media (min-width: 900px) { .scc-facts { grid-template-columns: repeat(4, auto); justify-content: space-between; } }
.scc-facts li { display: flex; align-items: center; gap: 10px; } .scc-facts .scc-ico { color: var(--green); width: 24px; height: 24px; }
.scc-home-facts { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- two-column text + photo ---------- */
.scc-split { display: grid; gap: 32px 64px; align-items: start; }
@media (min-width: 900px) { .scc-split { grid-template-columns: 1fr 1fr; } .scc-split--wide { grid-template-columns: 1.15fr 1fr; } }
.scc-fig, .scc-fig img { display: block; margin: 0; }
.scc-fig img, .wp-block-image.scc-fig img { width: 100%; height: auto; clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%); }
.wp-block-image.scc-fig { margin: 0; }
.scc-fig figcaption { font-size: .9rem; color: var(--mute); margin-top: 10px; }
.scc-ph--crop img { aspect-ratio: 3 / 2; object-fit: cover; }
.scc-spec { list-style: none; margin: 1.2em 0 0; padding: 0; }
.scc-spec li { padding: 12px 0 12px 34px; border-top: 1px solid var(--line); position: relative; }
.scc-spec li:last-child { border-bottom: 1px solid var(--line); }
.scc-spec li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 14px; height: 6px; border-radius: 3px; background: var(--leaf); }

/* ---------- cards ---------- */
.scc-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px 28px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .scc-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .scc-cards { grid-template-columns: repeat(3, 1fr); } }
.scc-card { margin: 0; }
.scc-card__a { display: flex; flex-direction: column; height: 100%; color: var(--text); text-decoration: none; }
.scc-card__ph { display: block; overflow: hidden; background: var(--mist); clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
.scc-card__ph img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.scc-card__t { font: 700 1.3rem/1.2 var(--head); color: var(--ink); margin: 16px 0 6px; }
.scc-card__s { flex: 1; font-size: 1.02rem; line-height: 1.5; }
.scc-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font: 700 .98rem var(--head); color: var(--green); }
.scc-card__a:hover .scc-card__t { text-decoration: underline; text-decoration-color: var(--leaf); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.scc-group { margin-bottom: clamp(44px, 5vw, 72px); } .scc-group:last-child { margin-bottom: 0; }
.scc-group__h { display: flex; align-items: center; gap: 14px; font-size: 1.15rem; letter-spacing: .01em; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }

.scc-serve { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 36px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .scc-serve { grid-template-columns: 1fr 1fr; } } @media (min-width: 1100px) { .scc-serve { grid-template-columns: repeat(5, 1fr); } }
.scc-serve li { padding: 20px 0; border-top: 3px solid var(--ink); } .scc-serve li p { margin: 0; font-size: 1.02rem; line-height: 1.55; }
.scc-serve__h { font-size: 1.2rem; margin-bottom: 8px; } .scc-serve__h a { color: var(--ink); text-decoration: none; } .scc-serve__h a:hover { text-decoration: underline; text-decoration-color: var(--leaf); }

.scc-related { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 720px; }
.scc-related__h { font-size: 1.1rem; } .scc-related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.scc-crumbs { margin: 0 0 22px; font: 500 .92rem var(--head); } .scc-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0; padding: 0; color: var(--mute); }
.scc-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); } .scc-crumbs a { color: var(--green-d); }
.scc-links { list-style: none; padding: 0; display: grid; gap: 10px; font: 600 1.1rem var(--head); }

/* ---------- visit: address, hours, call ---------- */
.scc-visit { display: grid; gap: 28px; } @media (min-width: 900px) { .scc-visit { grid-template-columns: 1fr 1.4fr 1fr; gap: 40px; } }
.scc-visit__card { border-top: 3px solid var(--ink); padding-top: 18px; }
.scc-visit__h { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; } .scc-visit__h .scc-ico { color: var(--green); }
.scc-hours { border-collapse: collapse; width: 100%; font-size: 1rem; margin-bottom: 14px; }
.scc-hours th, .scc-hours td { text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.scc-hours thead th { font: 600 .8rem var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); } .scc-hours tbody th { font: 700 1rem var(--head); color: var(--ink); }
.scc-map { margin-top: 8px; } .scc-map iframe { width: 100%; height: clamp(300px, 45vw, 440px); border: 1px solid var(--line); display: block; }
.scc-map__note { font-size: .95rem; margin-top: 10px; }
.scc-ccard { background: var(--mist); padding: 24px 20px 18px; border-top: 4px solid var(--ink); }
@media (min-width: 600px) { .scc-ccard { padding: 30px 30px 22px; } }
.scc-ccard a { overflow-wrap: anywhere; }
.scc-ccard__big { display: flex; align-items: center; gap: 12px; font: 700 1.8rem/1.1 var(--head); margin: 0 0 16px; } .scc-ccard__big a { color: var(--ink); text-decoration: none; } .scc-ccard__big .scc-ico { color: var(--green); }
.scc-ccard__list { list-style: none; margin: 0; padding: 0; } .scc-ccard__list li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); } .scc-ccard__list .scc-ico { color: var(--green); margin-top: 3px; }
.scc-ccard__fax { margin: 8px 0 0; font-size: .98rem; color: var(--mute); }

/* ---------- call to action band ---------- */
.scc-cta-wrap { padding: 0 var(--pad) var(--sec); }
.scc-cta { display: grid; gap: 22px 40px; align-items: center; background: var(--ink); color: #dfe7dc; padding: clamp(30px, 4vw, 52px); clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); }
@media (min-width: 800px) { .scc-cta { grid-template-columns: 1.4fr 1fr; } }
.scc-cta__h { color: #fff; margin: 0 0 8px; } .scc-cta p { margin: 0; } .scc-cta__btns { display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: center; }
.scc-cta__tel { display: inline-flex; align-items: center; gap: 10px; font: 700 1.25rem var(--head); color: #fff; text-decoration: none; } .scc-cta__tel:hover { color: #fff; text-decoration: underline; }
.scc-cta :focus-visible { outline-color: #fff; }

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


/* contact + appointment layouts */
.scc-contact { display: grid; gap: 44px 72px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1000px) { .scc-contact { grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr); } }
.scc-form .scc-half { }

/* ---------- footer (the one dark band) ---------- */
.scc-foot { background: var(--ink); color: #d4dcd1; font-size: 1rem; }
.scc-foot a { color: #fff; } .scc-foot a:hover { color: #c9f0cb; } .scc-foot :focus-visible { outline-color: #fff; }
.scc-foot__in { display: grid; gap: 36px 48px; padding: clamp(48px, 6vw, 80px) var(--pad) 36px; }
@media (min-width: 700px) { .scc-foot__in { grid-template-columns: 1fr 1fr; } } @media (min-width: 1100px) { .scc-foot__in { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.scc-foot__logo { display: inline-block; background: #fff; padding: 12px 16px; margin: 0 0 18px; line-height: 0; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); }
.scc-foot__h { font: 600 .8rem var(--head); letter-spacing: .16em; text-transform: uppercase; color: #a9b8a6; margin: 6px 0 14px; }
.scc-foot p { margin: 0 0 14px; } .scc-foot__links { list-style: none; margin: 0; padding: 0; } .scc-foot__links li { padding: 3px 0; } .scc-foot__links a, .scc-foot .scc-tel { text-decoration: none; } .scc-foot__links a:hover { text-decoration: underline; }
.scc-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 18px var(--pad) 22px; border-top: 1px solid #2f3b33; font-size: .9rem; color: #a9b8a6; }
.scc-foot__base p { margin: 0; } .scc-credit a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- the one quiet fade-in (site.js adds .scc-rise only when motion is allowed) ---------- */
.scc-rise { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; } .scc-rise.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .scc-rise { opacity: 1; transform: none; transition: none; } .scc-banner__slide { transition: none; } html { scroll-behavior: auto; } }
@media print { .scc-header, .scc-phonebar, .scc-banner__ctl { display: none !important; } }
.scc-prose--flush { padding: 0; } .scc-split .scc-prose > * { max-width: none; } .scc-split .scc-lead { margin-top: 0; }
.scc-split > * { min-width: 0; }
.scc-head + .scc-sec { padding-top: clamp(8px, 2vw, 24px); } .scc-sec.scc-head + .scc-sec--mist { padding-top: var(--sec); }
