/* Back Valley Creative
   Layout: hazy rolling-hill hero over an elevation map, hairline hill dividers between bands;
   editorial left-aligned grid, warm, personal copy. */

:root {
	--ground: #eeedeb;      /* warm off-white (brand) */
	--paper: #f7f6f4;
	--navy: #2d364b;        /* ink (brand) */
	--blue: #27688d;        /* deep blue accent (brand) */
	--sage: #a8cacc;        /* sage-teal (brand) */
	--teal: #65bec2;        /* bright teal, used sparingly (brand) */
	--line: #d6d8d6;
	--muted: #5a6274;
	--on-navy: #e9eef2;
	--on-navy-muted: #c3cdd6;
	--f-display: "Libre Caslon Display", Georgia, "Times New Roman", serif;
	--f-body: "Karla", "Helvetica Neue", Arial, sans-serif;
	--wrap: 1180px;
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--navy); font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.12; letter-spacing: -0.005em; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
.eyebrow { font-family: var(--f-body); font-weight: 600; font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 4px; }
.skip-link:focus { top: 12px; }

/* header */
header.site { position: sticky; top: 0; z-index: 20; background: rgba(238, 237, 235, 0.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.admin-bar header.site { top: 32px; }
@media (max-width: 782px) { .admin-bar header.site { top: 0; } }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.logo { display: inline-grid; justify-items: center; text-decoration: none; line-height: 1; color: var(--navy); }
.logo b { font-family: var(--f-display); font-weight: 400; font-size: 1.75rem; white-space: nowrap; }
.logo i { display: flex; align-items: center; gap: 8px; margin-top: 5px; font-style: normal; font-weight: 500; font-size: 0.56rem; letter-spacing: 0.42em; color: var(--blue); padding-left: 0.42em; }
.logo i::before, .logo i::after { content: ""; display: block; width: 22px; height: 1px; background: var(--sage); }
nav.main { display: flex; align-items: center; gap: 26px; font-weight: 500; font-size: 0.98rem; }
nav.main .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
nav.main .menu a { color: var(--navy); text-decoration: none; }
nav.main .menu a:hover, nav.main .current-menu-item > a { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; padding: 6px; color: var(--navy); cursor: pointer; }

.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-body); font-weight: 600; font-size: 1rem; padding: 13px 22px; border-radius: 4px; text-decoration: none; border: 2px solid var(--navy); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn.solid { background: var(--navy); color: #fff; }
.btn.solid:hover { background: var(--blue); border-color: var(--blue); }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }
nav.main .btn { padding: 9px 16px; font-size: 0.92rem; }

@media (max-width: 900px) {
	.nav-toggle { display: block; }
	nav.main { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ground); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
	nav.main.open { display: flex; }
	nav.main .menu { flex-direction: column; gap: 0; }
	nav.main .menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
	nav.main .btn { margin-top: 16px; justify-content: center; }
}

/* hero */
.hero { position: relative; overflow: hidden; background:
	radial-gradient(55% 60% at 80% 12%, rgba(255, 251, 243, .95), rgba(255, 251, 243, 0) 70%),
	linear-gradient(180deg, #f2f1ee 0%, var(--ground) 55%, #e9ecea 100%); }
.hero .topo {
	-webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.35) 35%, #000 62%);
	mask-image: linear-gradient(90deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.35) 35%, #000 62%); }
.topo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.hero .haze { position: absolute; left: 0; right: 0; width: 100%; display: block; will-change: transform; }
.hero .haze-back, .hero .haze-mid { bottom: 0; height: 64%; }
.hero .haze-front { bottom: -1px; height: 150px; z-index: 2; }
.hero .wrap { position: relative; z-index: 1; padding-block: 104px 190px; }
.hero-copy { display: grid; gap: 28px; }
.hero h1 { font-size: clamp(2.6rem, 6.6vw, 5.2rem); max-width: 13ch; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lead { color: var(--navy); opacity: .85; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .area { font-size: 0.95rem; color: var(--muted); }
.map-legend { position: absolute; z-index: 3; right: 24px; bottom: 22px; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: rgba(247, 246, 244, .78); backdrop-filter: blur(4px); border: 1px solid rgba(45, 54, 75, .1); border-radius: 4px; color: var(--muted); }
.map-legend .north text { font: 700 8px var(--f-body); fill: var(--navy); }
.legend-text { display: grid; gap: 4px; white-space: nowrap; font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.5; }
.legend-text .scale { display: flex; width: 96px; height: 5px; border: 1px solid var(--navy); }
.legend-text .scale span { flex: 1; }
.legend-text .scale span:nth-child(odd) { background: var(--navy); }
.legend-text .scale-labels { display: flex; justify-content: space-between; width: 96px; font-weight: 600; }
.legend-text .scale-labels b { font-weight: 600; }
.legend-text .coords { margin-top: 4px; padding-top: 6px; border-top: 1px solid rgba(45, 54, 75, .12); text-transform: none; letter-spacing: .04em; }
@media (max-width: 700px) { .map-legend { display: none; } .hero .wrap { padding-block: 64px 130px; } }

.hill-line { display: block; width: 100%; height: 60px; background: var(--ground); }

/* bands */
section { padding-block: 96px; }
.section-fit { padding-top: 72px; }
.band-paper { background: var(--paper); }
.band-navy { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.band-navy .wrap { position: relative; }
.band-navy h2, .band-navy h3 { color: #fff; }
.band-navy .eyebrow { color: var(--sage); }
.band-navy .lead { color: var(--on-navy-muted); }
.head { display: grid; gap: 14px; margin-bottom: 52px; max-width: 760px; }

/* fit */
.fit { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.signs { list-style: none; padding: 0; margin: 0; display: grid; }
.signs li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding-block: 18px; border-top: 1px solid var(--line); font-size: 1.08rem; }
.signs li:last-child { border-bottom: 1px solid var(--line); }
.signs svg { margin-top: 4px; }
.who { background: var(--ground); border: 1px solid var(--line); padding: 32px; display: grid; gap: 18px; }
.who ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.who li { display: flex; gap: 12px; align-items: baseline; }
.who li span { font-size: 0.75rem; color: var(--blue); }
.who .btn { justify-self: start; }
@media (max-width: 860px) { .fit { grid-template-columns: 1fr; gap: 40px; } }

/* services */
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.svc { grid-column: span 2; background: #fff; border: 1px solid var(--line); padding: 30px 28px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; min-width: 0; }
.svc.wide { grid-column: span 3; }
.svc .price { font-size: 0.82rem; color: var(--muted); }
.svc .price strong { font-family: var(--f-display); font-weight: 400; font-size: 1.85rem; color: var(--navy); margin-left: 6px; }
.svc p { color: var(--muted); }
.svc .tag { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); border-top: 1px dashed var(--line); padding-top: 14px; }
.svc.feature { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.svc.feature p, .svc.feature .price { color: var(--on-navy-muted); }
.svc.feature .price strong { color: #fff; }
.svc.feature .tag { color: var(--sage); border-color: rgba(255, 255, 255, .2); }
@media (max-width: 980px) { .services { grid-template-columns: 1fr 1fr; } .svc, .svc.wide { grid-column: span 1; } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } }

/* process */

/* care plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); padding: 32px 28px; display: grid; grid-template-rows: auto auto auto 1fr; gap: 16px; min-width: 0; position: relative; }
.plan.pick { border: 2px solid var(--blue); }
.plan .badge { position: absolute; top: -13px; left: 26px; background: var(--blue); color: #fff; font-size: 0.7rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; }
.plan .cost { font-family: var(--f-display); font-size: 2.4rem; line-height: 1; }
.plan .cost small { font-family: var(--f-body); font-size: 0.95rem; color: var(--muted); }
.plan .hours { font-size: 0.82rem; color: var(--blue); background: rgba(168, 202, 204, .28); padding: 8px 12px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 0.97rem; align-content: start; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 12px; height: 2px; background: var(--teal); }
.plans-note { margin-top: 24px; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* work */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case { display: grid; gap: 14px; min-width: 0; align-content: start; }
.case h3 a { color: inherit; text-decoration: none; }
.case h3 a:hover { color: var(--blue); }
.browser { border: 1px solid var(--line); background: #fff; aspect-ratio: 4 / 3; max-width: 100%; display: grid; grid-template-rows: 22px 1fr; overflow: hidden; }
.browser .bar { background: #e4e6e6; display: flex; align-items: center; gap: 5px; padding-left: 9px; }
.browser .bar i { width: 7px; height: 7px; border-radius: 50%; background: #c4c8c9; }
.browser img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mock { padding: 14px; display: grid; grid-template-rows: auto 1fr auto; gap: 10px; }
.mock .mnav { display: flex; justify-content: space-between; align-items: center; font: 600 0.62rem var(--f-body); }
.mock .mnav span { display: flex; gap: 6px; }
.mock .mnav span i { width: 18px; height: 4px; background: currentColor; opacity: .35; }
.mock .mhero { display: grid; align-content: center; gap: 7px; padding: 12px; }
.mock .mhero b { font-family: var(--f-display); font-weight: 400; font-size: 1.05rem; line-height: 1.15; max-width: 14ch; }
.mock .mhero u { text-decoration: none; display: inline-block; width: 64px; height: 14px; }
.mock .mrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mock .mrow i { height: 26px; }
.m1 { background: #1f2a22; color: #f1ead8; } .m1 .mhero { background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.25)), #3e5240; } .m1 .mhero u { background: #e3a33b; } .m1 .mrow i { background: #2f3d31; }
.m2 { background: #fbf8f4; color: #3b2b3a; } .m2 .mhero { background: #ead9e4; } .m2 .mhero u { background: #7a3e6b; } .m2 .mrow i { background: #f0e6ec; }
.m3 { background: #f4f2ee; color: #1d2433; } .m3 .mhero { background: #1d2433; color: #f4f2ee; } .m3 .mhero u { background: #b89552; } .m3 .mrow i { background: #e3e0d9; }
.case .label { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.case p { color: var(--muted); font-size: 0.97rem; }
.quote { margin: 56px 0 0; display: grid; grid-template-columns: 80px 1fr; gap: 24px; max-width: 900px; }
.quote svg { width: 56px; }
.quote blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.35; }
.quote cite { display: block; margin-top: 14px; font-style: normal; font-size: 0.8rem; color: var(--muted); }
@media (max-width: 900px) { .work { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .work { grid-template-columns: 1fr; } .quote { grid-template-columns: 1fr; gap: 10px; } }

/* about */
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.portrait { aspect-ratio: 4 / 5; max-width: 100%; background: #dfe9e9; position: relative; overflow: hidden; display: grid; place-items: end start; padding: 20px; }
.portrait.has-photo { padding: 0; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 55%; }
.portrait span { position: relative; font-size: 0.75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); background: var(--ground); padding: 6px 10px; }
.about .copy { display: grid; gap: 18px; }
.about h2 .sig { color: var(--blue); font-style: italic; }
.about .story { display: grid; gap: 18px; }
.about .story p, .about .copy > p { max-width: 60ch; }
.name-story { display: grid; gap: 8px; border-left: 2px solid var(--sage); padding-left: 20px; }
.name-story p:last-child { font-family: var(--f-display); font-size: 1.15rem; line-height: 1.5; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 36px; } .portrait { max-width: 380px; } }

/* contact */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; }
.contact .side { display: grid; gap: 22px; align-content: start; }
.contact dl { margin: 0; display: grid; gap: 16px; }
.contact dt { font-size: 0.72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); }
.contact dd { margin: 4px 0 0; font-size: 1.12rem; color: #fff; }
.contact dd a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.contact dd a:hover { border-color: var(--teal); }
form.fitcheck { background: var(--paper); color: var(--navy); padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; }
form.fitcheck .full, form.fitcheck .notice { grid-column: 1 / -1; }
form.fitcheck label { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 600; min-width: 0; }
form.fitcheck input, form.fitcheck select, form.fitcheck textarea { font: 400 1rem var(--f-body); color: var(--navy); background: #fff; border: 1px solid #c9ccd0; border-radius: 3px; padding: 11px 12px; width: 100%; }
form.fitcheck textarea { min-height: 110px; resize: vertical; }
form.fitcheck .btn { justify-self: start; }
form.fitcheck .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 12px 14px; font-size: 0.95rem; border-left: 3px solid var(--teal); background: rgba(101, 190, 194, .18); }
.notice.err { border-color: #b4553a; background: rgba(180, 85, 58, .1); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) { form.fitcheck { grid-template-columns: 1fr; padding: 24px; } }

/* footer */
footer.site { background: var(--navy); color: var(--on-navy-muted); padding-block: 28px 40px; font-size: 0.9rem; border-top: 1px solid rgba(255, 255, 255, .12); }
footer.site .logo b { color: #fff; }
footer.site .logo i { color: var(--sage); }

/* generic pages + posts */
.page-hero { padding-block: 80px 40px; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 20ch; }
.entry { padding-block: 56px 96px; }
.entry .wrap { max-width: 760px; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 2rem; margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.post-list { display: grid; gap: 36px; }
.post-list article { display: grid; gap: 8px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.post-list h2 { font-size: 1.7rem; }
.post-list h2 a { color: inherit; text-decoration: none; }
.post-list time { font-size: 0.8rem; color: var(--muted); letter-spacing: .06em; }


/* ---------- Depth pass ---------- */
:root {
	--shadow-sm: 0 1px 2px rgba(45, 54, 75, .06), 0 2px 6px rgba(45, 54, 75, .05);
	--shadow-md: 0 1px 2px rgba(45, 54, 75, .06), 0 10px 24px -8px rgba(45, 54, 75, .16), 0 24px 48px -24px rgba(45, 54, 75, .18);
	--shadow-lg: 0 2px 4px rgba(45, 54, 75, .08), 0 22px 44px -12px rgba(45, 54, 75, .28), 0 48px 80px -32px rgba(39, 104, 141, .3);
	--radius: 6px;
}

/* paper grain over everything */
body::after {
	content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .18 0 0 0 0 .21 0 0 0 0 .29 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* hero: copy left, floating previews right */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.hero-visual { position: relative; height: 420px; margin-top: -30px; will-change: transform; }
.hero-visual .frame { position: absolute; width: 78%; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: #fff; overflow: hidden; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.hero-visual .frame .browser { border: 0; }
.hero-visual .frame-1 { right: 0; top: 0; transform: rotate(2.2deg); }
.hero-visual .frame-2 { left: 0; bottom: -56px; transform: rotate(-3deg); z-index: 1; }
.hero-visual:hover .frame-1 { transform: rotate(1deg) translateY(-6px); }
.hero-visual:hover .frame-2 { transform: rotate(-1.5deg) translateY(-6px); }
.hero-visual .mock .mhero b { font-size: 1.35rem; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { display: none; } }

/* buttons lift */
.btn { box-shadow: var(--shadow-sm); }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn.ghost { box-shadow: none; }
.btn span[aria-hidden] { transition: transform .2s; }
.btn:hover span[aria-hidden] { transform: translateX(3px); }

/* cards: real objects */
.svc, .plan, .who, form.fitcheck { border-radius: var(--radius); box-shadow: var(--shadow-md); border-color: rgba(45, 54, 75, .08); transition: transform .3s ease, box-shadow .3s ease; }
.svc:hover, .plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc.feature { background: linear-gradient(160deg, #34405a, var(--navy) 60%); }
.who { background: #fff; transform: translateY(-8px); }
.plan.pick { box-shadow: var(--shadow-lg); }
.browser { border-radius: var(--radius); box-shadow: var(--shadow-md); border-color: rgba(45, 54, 75, .08); transition: transform .35s ease, box-shadow .35s ease; }
.case:hover .browser { transform: translateY(-5px) rotate(-.6deg); box-shadow: var(--shadow-lg); }
form.fitcheck { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); }

/* filled hills rising into navy bands */
.hill-rise { display: block; width: 100%; height: 110px; margin-bottom: -1px; background: var(--ground); }
#services { padding-bottom: 64px; }

/* navy bands get the elevation map too */
.band-navy .topo { opacity: .9; }

/* process: big quiet numerals */

/* testimonial as an editorial pull quote */
.quote { position: relative; padding: 44px 48px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.quote svg { width: 64px; }

/* about: offset frame behind the photo */
.portrait-wrap { position: relative; max-width: 100%; }
.portrait-wrap::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1.5px solid var(--sage); border-radius: var(--radius); }
.portrait { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .portrait-wrap { max-width: 380px; margin-right: 22px; } }

/* scroll reveal (JS adds .reveal; content stays visible without JS) */
@media (prefers-reduced-motion: no-preference) {
	.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
	.reveal.in { opacity: 1; transform: none; }
}

/* sage-mist band for rhythm */
#care { background: linear-gradient(180deg, #e4ecec 0%, #edf1f0 100%); }
#care .plan { border-color: rgba(39, 104, 141, .1); }

/* about: second photo laid over the portrait like a print */
.inset-photo { position: absolute; z-index: 2; right: -32px; bottom: -52px; width: 62%; margin: 0; padding: 7px 7px 26px; background: #fff; border-radius: 3px; box-shadow: var(--shadow-lg); transform: rotate(3.5deg); transition: transform .4s ease; }
.inset-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.portrait-wrap:hover .inset-photo { transform: rotate(1.5deg) translateY(-4px); }
.about { padding-bottom: 32px; }
@media (max-width: 860px) { .inset-photo { right: -16px; width: 58%; } .portrait-wrap { margin-bottom: 40px; } }
.inset-photo { padding-bottom: 8px; }
.inset-photo figcaption { padding: 8px 2px 2px; font-size: 0.62rem; font-weight: 600; letter-spacing: .07em; line-height: 1.4; text-transform: uppercase; color: var(--muted); text-align: center; }

/* ---------- CTAs + interlinks ---------- */
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.92rem; color: var(--blue); text-decoration: none; border-bottom: 1px solid rgba(39, 104, 141, .3); padding-bottom: 2px; justify-self: start; }
.text-link:hover { border-color: var(--blue); }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(3px); }
.svc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; border-top: 1px dashed var(--line); padding-top: 14px; }
.svc-foot .tag { border-top: 0; padding-top: 0; }
.svc.feature .svc-foot { border-color: rgba(255, 255, 255, .2); }
.svc.feature .text-link { color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta-row { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.cta-row p { font-size: 1.08rem; color: var(--muted); max-width: 56ch; }
.cta-row.on-navy p { color: var(--on-navy-muted); font-size: 0.98rem; }
.cta-row.on-navy a:not(.btn) { color: #fff; }
.btn.light { background: #fff; color: var(--navy); border-color: #fff; }
.btn.light:hover { background: var(--sage); border-color: var(--sage); color: var(--navy); }
.plan .btn { justify-content: center; align-self: end; margin-top: 8px; }
.plan { grid-template-rows: auto auto auto 1fr auto; }
.about-cta { margin-top: 4px; }

/* footer */
footer.site { padding-block: 64px 28px; }
footer.site .footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 40px; align-items: start; }
.footer-brand { display: grid; gap: 16px; justify-items: start; }
.footer-brand p { max-width: 36ch; }
footer.site .eyebrow { color: var(--sage); margin-bottom: 12px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer.site a:not(.btn):not(.logo) { color: var(--on-navy); text-decoration: none; }
footer.site a:not(.btn):not(.logo):hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-contact .btn { margin-top: 18px; }
footer.site .footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 0.82rem; }
@media (max-width: 820px) { footer.site .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { footer.site .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Areas I serve ---------- */
.areas { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px 64px; align-items: start; }
.areas .head { margin-bottom: 0; position: sticky; top: 120px; }
.areas .head h2 em { font-style: normal; color: var(--blue); }
.area-list { list-style: none; margin: 0; padding: 0; display: grid; }
.area-list li { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: baseline; padding-block: 18px; border-top: 1px solid var(--line); }
.area-list li:last-child { border-bottom: 1px solid var(--line); }
.area-list .pin { align-self: start; margin-top: 4px; }
.area-list h3 { font-size: 1.3rem; }
.area-list h3 span { font-family: var(--f-body); font-size: .8rem; font-weight: 600; letter-spacing: .12em; color: var(--blue); vertical-align: 2px; }
.area-list p { color: var(--muted); font-size: .97rem; margin-top: 4px; max-width: 52ch; }
.area-list .dist { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.national { grid-column: 1 / -1; margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding: 32px 36px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); border-left: 3px solid var(--teal); }
.national > div { display: grid; gap: 8px; max-width: 62ch; }
.national h3 { font-size: 1.6rem; }
.national p:not(.eyebrow) { color: var(--muted); }
.hill-rise.from-paper { background: var(--paper); }
@media (max-width: 900px) { .areas { grid-template-columns: 1fr; } .areas .head { position: static; } }
@media (max-width: 520px) { .area-list li { grid-template-columns: 22px 1fr; } .area-list .dist { grid-column: 2; } }

/* ===================== Inner pages ===================== */
.care-sec { background: linear-gradient(180deg, #e4ecec 0%, #edf1f0 100%); }
.svc h3 a { color: inherit; text-decoration: none; }
.svc h3 a:hover { color: var(--blue); }
.svc.feature h3 a:hover { color: var(--sage); }
.link-row { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.plans-note { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }

.sec { position: relative; overflow: hidden; padding-block: 88px; }
.sec .wrap { position: relative; }
.bg-ground { background: var(--ground); }
.bg-paper { background: var(--paper); }
.bg-mist { background: linear-gradient(180deg, #e4ecec 0%, #edf1f0 100%); }
.bg-navy { background: var(--navy); color: var(--on-navy); }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy .eyebrow { color: var(--sage); }
.bg-navy .lead, .bg-navy p { color: var(--on-navy-muted); }

/* page header */
.page-head { padding-block: 96px 150px; background:
	radial-gradient(55% 70% at 82% 10%, rgba(255, 251, 243, .95), rgba(255, 251, 243, 0) 70%),
	linear-gradient(180deg, #f2f1ee 0%, var(--ground) 60%, #eaedeb 100%); }
.page-head .topo { -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.3) 35%, #000 70%); mask-image: linear-gradient(90deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.3) 35%, #000 70%); }
.page-head .wrap { display: grid; gap: 22px; }
.page-head h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); max-width: 16ch; }
.page-head h1 em, .sec h2 em { font-style: normal; color: var(--blue); }
.page-head .ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.page-head-hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 120px; }
.page-head + .sec.bg-ground { padding-top: 64px; }

/* checklists */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 14px; height: 8px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.checks.small { font-size: .95rem; gap: 8px; }
.bg-navy .checks li::before { border-color: var(--sage); }

/* text + photo */
.tm-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.tm.img-left .tm-media { order: -1; }
.tm.img-left .tm-grid { grid-template-columns: .9fr 1.1fr; }
.tm.no-img .tm-grid { grid-template-columns: minmax(0, 760px); }
.tm-copy { display: grid; gap: 18px; justify-items: start; }
.tm-body { display: grid; gap: 14px; max-width: 62ch; }
.tm-media { margin: 0; position: relative; }
.tm-media.frame::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1.5px solid var(--sage); border-radius: var(--radius); }
.tm-media.frame img { position: relative; border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tm-media.print { background: #fff; padding: 9px 9px 10px; border-radius: 3px; box-shadow: var(--shadow-lg); transform: rotate(2.5deg); max-width: 520px; justify-self: center; }
.tm-media.print img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.tm-media.print figcaption { padding: 10px 2px 2px; font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: center; }
@media (max-width: 860px) { .tm-grid, .tm.img-left .tm-grid { grid-template-columns: 1fr; gap: 44px; } .tm.img-left .tm-media { order: 0; } .tm-media.frame { max-width: 380px; margin-right: 22px; } }

/* service detail */
.svc-detail { padding-block: 72px; border-top: 1px solid var(--line); }
.svc-detail-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.svc-summary { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 34px 32px; display: grid; gap: 18px; position: sticky; top: 110px; }
.svc-summary h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.svc-summary .price { font-size: .85rem; color: var(--muted); }
.svc-summary .price strong { font-family: var(--f-display); font-weight: 400; font-size: 2.2rem; color: var(--navy); margin-left: 8px; }
.svc-summary dl { margin: 0; display: grid; gap: 12px; padding-block: 14px; border-block: 1px dashed var(--line); }
.svc-summary dt { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.svc-summary dd { margin: 2px 0 0; }
.svc-summary .btn { justify-self: start; }
.svc-summary.feature { background: linear-gradient(160deg, #34405a, var(--navy) 60%); color: var(--on-navy); }
.svc-summary.feature h2, .svc-summary.feature .price strong { color: #fff; }
.svc-summary.feature .price, .svc-summary.feature dd { color: var(--on-navy-muted); }
.svc-summary.feature dt { color: var(--sage); }
.svc-summary.feature dl { border-color: rgba(255, 255, 255, .2); }
.svc-body { display: grid; gap: 20px; padding-top: 8px; }
@media (max-width: 860px) { .svc-detail-grid { grid-template-columns: 1fr; gap: 32px; } .svc-summary { position: static; } }

/* cards */
.card-grid { display: grid; gap: 20px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid rgba(45, 54, 75, .08); padding: 28px 26px; display: grid; gap: 12px; align-content: start; transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card p { color: var(--muted); }
.card .num { font-family: var(--f-display); font-size: 2.2rem; line-height: 1; color: var(--sage); }
.card .text-link { margin-top: 4px; }
.bg-navy .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
@media (max-width: 980px) { .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; } }

/* quote */
.quote-sec .quote { margin: 0 auto; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-grid .head { margin-bottom: 0; position: sticky; top: 120px; }
.faq-list { display: grid; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--f-display); font-size: 1.25rem; line-height: 1.3; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { padding: 0 40px 22px 0; color: var(--muted); max-width: 64ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 28px; } .faq-grid .head { position: static; } }

/* CTA band */
.cta-band { padding-block: 80px; }
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-band-inner > div { display: grid; gap: 10px; max-width: 60ch; }
.cta-band h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }

/* contact section on its own page: no hill above, a little less top space */
.inner #contact { padding-top: 80px; }

.hill-rise.from-ground { background: var(--ground); }
.hill-rise.from-mist { background: #edf1f0; }
.hill-rise.from-head { background: #eaedeb; }
.page-head { padding-bottom: 120px; }
.page-head + .hill-rise { margin-top: -1px; }
.page-head:has(+ .hill-rise) .page-head-hills { display: none; }
.page-head:has(+ .hill-rise) { padding-bottom: 72px; }

/* areas: the sticky heading only travels alongside the city list */
.areas { display: block; }
.areas-top { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px 64px; align-items: start; }
.national { margin-top: 48px; }
@media (max-width: 900px) { .areas-top { grid-template-columns: 1fr; } }

/* ---------- phone refinements ---------- */
@media (max-width: 700px) {
	/* keep the hills low and rolling on narrow screens */
	.hero .haze-back, .hero .haze-mid { height: 34%; }
	.hero .haze-front { height: 90px; }
	.page-head-hills { height: 70px; }
	.hill-rise { height: 70px; }
	/* long button labels wrap neatly */
	.btn { justify-content: center; text-align: center; text-wrap: balance; }
	.svc-summary .btn, .plan .btn, .national .btn, .cta-band .btn { width: 100%; }
	.hero .ctas .btn, .page-head .ctas .btn { width: 100%; }
	/* tighter vertical rhythm */
	section, .sec { padding-block: 64px; }
	.head { margin-bottom: 36px; }
	.quote { padding: 32px 24px; }
}

/* QA: hover lift only on cards that go somewhere; solid fallback behind the featured card's gradient */
.card:not(:has(a)):hover { transform: none; box-shadow: var(--shadow-md); }
.svc.feature { background-color: var(--navy); }
.contact .side, .contact dd { min-width: 0; overflow-wrap: anywhere; }

/* ---------- Work: cards scroll through the whole homepage on hover ---------- */
.browser.scroller { display: grid; grid-template-rows: 26px 1fr; text-decoration: none; color: inherit; cursor: pointer; }
.browser .bar { display: flex; align-items: center; gap: 5px; padding: 0 10px; }
.browser .bar .addr { margin-left: 10px; flex: 1; max-width: 70%; font-size: .66rem; letter-spacing: .02em; color: var(--muted); background: #fff; border-radius: 4px; padding: 2px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser .viewport { position: relative; display: block; overflow: hidden; }
.browser .viewport img { position: absolute; top: 0; left: 0; width: 100%; height: auto; object-fit: initial; transform: translateY(0); transition: transform 1.1s cubic-bezier(.45, .05, .35, 1); will-change: transform; }
.case:hover .viewport img, .browser.scroller:focus-visible .viewport img, .case.autoscroll .viewport img { transform: translateY(var(--shift, 0)); transition-duration: var(--dur, 7s); transition-timing-function: linear; }
.browser .hint { position: absolute; right: 12px; bottom: 12px; padding: 7px 12px; border-radius: 999px; background: rgba(45, 54, 75, .9); color: #fff; font-size: .74rem; font-weight: 600; letter-spacing: .02em; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; pointer-events: none; }
.browser.scroller { position: relative; }
.case:hover .browser .hint, .browser.scroller:focus-visible .hint { opacity: 1; transform: none; }
.case:hover .browser { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
@media (prefers-reduced-motion: reduce) { .browser .viewport img { transition: none !important; } }

/* ---------- Find your fit ---------- */
.hill-rise.from-mist { background: #edf1f0; }
.finder-prompt { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-size: .98rem; }
.finder-prompt span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; font-size: .85rem; }
.finder-prompt b { border-bottom: 1px solid var(--sage); }
.finder-prompt:hover b { border-color: var(--blue); color: var(--blue); }
.finder-sec { position: relative; overflow: hidden; background: linear-gradient(180deg, #e4ecec 0%, #edf1f0 100%); }
.finder-sec .topo { -webkit-mask-image: radial-gradient(70% 80% at 50% 50%, transparent 30%, #000 80%); mask-image: radial-gradient(70% 80% at 50% 50%, transparent 30%, #000 80%); }
.finder-sec .wrap { position: relative; }
.finder-sec .head.center { margin-inline: auto; text-align: center; justify-items: center; }
.finder-sec .head h2 em { font-style: normal; color: var(--blue); }
.finder { max-width: 1120px; margin: 0 auto; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 36px; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 36px; align-items: stretch; }
.finder-qs { display: grid; gap: 30px; align-content: start; }
.finder-q { border: 0; margin: 0; padding: 0; min-width: 0; }
.finder-q legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 14px; font-family: var(--f-display); font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.2; }
.finder-q .qn { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font: 700 .85rem var(--f-body); }
.finder-options { display: flex; flex-wrap: wrap; gap: 10px; }
.finder-opt { text-align: left; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font: 500 .98rem/1.35 var(--f-body); color: var(--navy); transition: border-color .2s, background .2s, color .2s, transform .15s; }
.finder-opt:hover { border-color: var(--blue); background: #f4f8f8; transform: translateY(-1px); }
.finder-opt[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.finder-opt[aria-pressed="true"]::before { content: "\2713\00a0"; }
.finder-out { border-radius: 12px; background: #f3f6f6; padding: 28px; display: grid; }
.finder-wait { display: grid; place-items: center; align-content: center; gap: 14px; text-align: center; color: var(--muted); min-height: 320px; }
.finder-wait svg { color: var(--sage); }
.finder-wait p { margin: 0; max-width: 22ch; }
.finder-count { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.finder-count li { width: 34px; height: 6px; border-radius: 3px; background: #dfe5e5; transition: background .3s; }
.finder-count li.done { background: var(--blue); }
.finder-result { display: grid; gap: 12px; align-content: start; animation: fq .4s ease; }
@keyframes fq { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.finder-result h3 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
.fr-price { color: var(--muted); }
.fr-price b { font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; color: var(--navy); margin-left: 4px; }
.fr-why { margin: 0; }
.fr-reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fr-reasons li { position: relative; padding-left: 26px; font-size: .96rem; }
.fr-reasons li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.fr-addons ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.fr-addons li { display: grid; gap: 2px; padding: 12px 14px; background: #fff; border-radius: 8px; border: 1px solid var(--line); }
.fr-addons li b { font-weight: 600; }
.fr-addons li span { font-size: .88rem; color: var(--muted); }
.fr-care { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: .9rem; color: var(--muted); }
.fr-care b { display: block; color: var(--navy); font-weight: 600; font-size: 1rem; }
.fr-care input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); flex: none; }
.fr-care:hover { border-color: var(--blue); }
.fr-total { font-size: .95rem; color: var(--navy); }
.fr-total b { font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; }
.finder-result .btn { justify-content: center; }
.fr-links { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }
.fr-restart { background: none; border: 0; padding: 0; cursor: pointer; font: 600 .9rem var(--f-body); color: var(--muted); text-decoration: underline; }
@media (max-width: 860px) { .finder { grid-template-columns: 1fr; padding: 24px 20px; gap: 28px; } .finder-out { padding: 22px 18px; scroll-margin-top: 90px; } .finder-wait { min-height: 0; padding-block: 8px; } }
@media (prefers-reduced-motion: reduce) { .finder-result { animation: none; } }

/* stat strip under the hero */
.proof-band { --lift: 64px; background: linear-gradient(transparent var(--lift), var(--paper) var(--lift)); position: relative; z-index: 3; }
.hero:has(+ .proof-band) .map-legend { bottom: 96px; }
.proof { margin-top: calc(var(--lift) * -1); background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 22px 28px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; }
.proof-who { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); padding-right: 28px; border-right: 1px solid var(--line); }
.proof-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--sage); }
.proof-who small { display: block; font-size: .8rem; color: var(--muted); }
.proof-who b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; line-height: 1.15; }
.proof-who em { font-style: normal; font-size: .85rem; font-weight: 600; color: var(--blue); }
.proof-who:hover em { text-decoration: underline; }
.proof-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.proof-stats li { display: grid; gap: 2px; align-content: start; }
.proof-stats b { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; line-height: 1.2; color: var(--navy); }
.proof-stats span { font-size: .86rem; line-height: 1.4; color: var(--muted); }
@media (max-width: 1080px) { .proof { grid-template-columns: 1fr; } .proof-who { border-right: 0; padding-right: 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); } }
@media (max-width: 700px) { .proof-band { --lift: 40px; } .proof { padding: 20px; } .proof-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; } }
[hidden] { display: none !important; }

/* ===================== Trail-map process ===================== */
/* The six steps sit along one contour trail that draws itself as the band scrolls past. */
.trail { position: relative; margin-top: 8px; }
.trail-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.trail-line path { fill: none; stroke-linecap: round; }
.trail-ghost { stroke: rgba(168, 202, 204, .28); stroke-width: 1.5; stroke-dasharray: 2 7; }
.trail-draw { stroke: var(--sage); stroke-width: 2.5; }
.trail-stops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 140px; position: relative; }
.stop { position: relative; padding-bottom: 36px; }
.stop:nth-child(even) { margin-top: 120px; }
.stop:nth-child(n+3) { margin-top: -84px; }
.stop:nth-child(even):nth-child(n+3) { margin-top: 36px; }
.stop .pin { position: absolute; top: 20px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); border: 1.5px solid rgba(168, 202, 204, .5); color: var(--sage); font: 400 1.2rem/1 var(--f-display); transition: background .4s, color .4s, border-color .4s, box-shadow .4s; z-index: 1; }
.stop:nth-child(odd) .pin { right: -62px; top: 34px; }
.stop:nth-child(even) .pin { left: -62px; }
.stop.reached .pin { background: var(--sage); color: var(--navy); border-color: var(--sage); box-shadow: 0 0 0 6px rgba(168, 202, 204, .16); }
.stop-card { display: grid; gap: 10px; padding: 26px 28px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); backdrop-filter: blur(2px); }
.stop-card p { color: var(--on-navy-muted); }
.stop-who { margin: 6px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 8px; }
.stop-who div { display: grid; grid-template-columns: 62px 1fr; gap: 10px; align-items: baseline; }
.stop-who dt { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); }
.stop-who dd { margin: 0; color: var(--on-navy); font-size: .95rem; }
@media (max-width: 860px) {
	.trail-stops { grid-template-columns: 1fr; column-gap: 0; padding-left: 70px; }
	.stop, .stop:nth-child(even), .stop:nth-child(n+3), .stop:nth-child(even):nth-child(n+3) { margin-top: 0; padding-bottom: 22px; }
	.stop:nth-child(odd) .pin, .stop:nth-child(even) .pin { left: -70px; right: auto; width: 44px; height: 44px; font-size: 1rem; }
	.stop:nth-child(even) .pin { left: -62px; }
}
@media (max-width: 480px) { .trail-stops { padding-left: 58px; } .stop:nth-child(odd) .pin { left: -58px; } .stop:nth-child(even) .pin { left: -52px; } .stop-card { padding: 20px; } .stop-who div { grid-template-columns: 1fr; gap: 0; } }

/* ===================== Before / after slider ===================== */
.compare { margin: 0 auto; max-width: 1040px; display: grid; gap: 16px; }
.compare-frame { background: var(--paper); border-radius: 10px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.compare-frame .bar { display: flex; gap: 6px; padding: 10px 14px; background: #e4e3df; border-bottom: 1px solid var(--line); }
.compare-frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: #c9c8c3; }
.compare-shots { position: relative; aspect-ratio: 1366 / 854; touch-action: pan-y; }
.compare-shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-shots::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(45, 54, 75, .25), 0 0 14px rgba(45, 54, 75, .35); pointer-events: none; }
.compare-handle { position: absolute; z-index: 2; top: 50%; left: var(--pos); width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%; background: var(--navy); border: 2px solid #fff; display: grid; place-items: center; box-shadow: var(--shadow-md); pointer-events: none; }
.compare-handle svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.compare-tag { position: absolute; z-index: 1; top: 14px; padding: 6px 12px; border-radius: 4px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; pointer-events: none; }
.compare-tag.is-before { left: 14px; background: rgba(45, 54, 75, .85); color: #fff; }
.compare-tag.is-after { right: 14px; background: var(--sage); color: var(--navy); }
.compare-shots input[type="range"] { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-shots:has(input:focus-visible) .compare-handle { outline: 3px solid var(--blue); outline-offset: 3px; }
.compare figcaption { color: var(--muted); font-size: .95rem; max-width: 72ch; }
.compare figcaption .text-link { white-space: nowrap; }
@media (max-width: 600px) { .compare-tag { top: 8px; font-size: .64rem; padding: 4px 8px; } .compare-tag.is-before { left: 8px; } .compare-tag.is-after { right: 8px; } .compare-handle { width: 40px; height: 40px; margin: -20px 0 0 -20px; } }
/* Phones: every tap target at least 44px tall (Kristin's rule). Footer links grow for real; inline links get an invisible hit area so the layout doesn't move. */
@media (max-width: 700px) {
	footer.site ul { gap: 0; }
	footer.site li > a { display: inline-flex; align-items: center; min-height: 44px; }
	.text-link, main h3 > a, .contact dd a { position: relative; }
	.text-link::before, main h3 > a::before { content: ""; position: absolute; inset: -9px -4px; }
	.contact dd a::before { content: ""; position: absolute; inset: -12px -4px; }
	.logo, .nav-toggle { min-height: 44px; }
	.nav-toggle { min-width: 44px; }
	form input:not([type=checkbox]):not([type=radio]), form select { min-height: 44px; }
}
/* "Is this you?": heading runs full width; the checklist and the who-I-work-with card sit side by side underneath so the columns start together */
.fit { grid-template-areas: "head head" "signs who"; row-gap: 8px; }
.fit > div:first-child { display: contents; }
.fit .head { grid-area: head; max-width: 760px; }
.fit .signs { grid-area: signs; margin-top: 0; }
.fit .who { grid-area: who; }
@media (max-width: 860px) { .fit { grid-template-areas: "head" "signs" "who"; row-gap: 40px; } }

.brand-tag { display: block; margin-top: 4px; font-family: var(--f-body); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.svc.feature .brand-tag, .svc-summary.feature .brand-tag { color: var(--sage); }

/* Dubsado paths: service-card actions, contact quote link, embed pages */
.svc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; width: 100%; }
.svc-foot .tag + .svc-actions { margin-top: 4px; }
.contact-quote { margin-top: 24px; }
.contact-quote .text-link { color: #fff; border-color: rgba(255, 255, 255, .35); }
.dubsado-embed { padding-block: 48px 96px; }
.dubsado-embed .wrap { max-width: 860px; }
.dubsado-card { background: transparent; border: 0; padding: 0; }
.dubsado-card iframe { display: block; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); background: transparent; width: 1px; min-width: 100%; min-height: 520px; }
.dubsado-note { margin-top: 24px; color: var(--muted); }
.dubsado-note a { font-weight: 600; }
@media (max-width: 700px) { .dubsado-embed { padding-block: 32px 64px; } .svc-actions .btn { width: 100%; } }
