/* Specialized Garage Doors. Colors and type are tokens here. */
:root {
  --ink: #16212d;
  --body: #34404d;
  --muted: #5d6874;
  --paper: #fbf8f3;
  --tint: #f3ede3;
  --card: #ffffff;
  --line: #e4dccf;
  --navy: #16324f;
  --navy-2: #22476d;
  --amber: #f2a93b;
  --amber-2: #e2941f;
  --red: #820e10;      /* matches the logo stripes */
  --red-2: #680000;    /* logo base red */
  --red-tint: #fbeaec;
  --green: #4f7a3a;
  --warn-bg: #fff4e0;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(22,33,45,.06), 0 8px 24px rgba(22,33,45,.07);
  --head: "Bricolage Grotesque", system-ui, sans-serif;
  --text: "Source Sans 3", system-ui, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--body); font: 400 1.0625rem/1.65 var(--text); }
img, svg { max-width: 100%; display: block; }
a { color: var(--navy-2); }
h1, h2, h3, .h3 { font-family: var(--head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
h3, .h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--muted); display: flex; gap: .4rem; align-items: center; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }
.ic { flex: none; }

.preview-bar { background: var(--ink); color: #fff; text-align: center; font-size: .85rem; padding: 6px 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.3rem; border-radius: 999px; font: 700 1.02rem/1 var(--text); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-2); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-sm { padding: .6rem 1rem; font-size: .95rem; }
.btn-block { width: 100%; margin-top: .6rem; }
.btn:disabled { opacity: .6; cursor: wait; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.1rem 0; }
.text-link { font-weight: 700; display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; color: var(--navy-2); }
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,248,243,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font: 600 1.15rem/1.1 var(--head); }
.brand strong { font-weight: 800; color: var(--navy); }
.brand-light, .brand-light strong { color: #fff; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--navy-2); }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-phone { display: flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; }
.menu-panel { position: absolute; right: 0; top: 52px; width: min(300px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: .5rem; display: grid; }
.menu-panel a { padding: .65rem .8rem; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: 8px; }
.menu-panel a.sub { font-weight: 400; padding-left: 1.6rem; font-size: .97rem; }
.menu-panel a:hover { background: var(--tint); }

/* Hero */
.hero { padding: clamp(1.5rem, 3.5vw, 3rem) 0 clamp(1.75rem, 3.5vw, 2.75rem); background: radial-gradient(1200px 500px at 80% -10%, #e4eef6 0%, transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; margin-bottom: .8rem; }
.lede { font-size: 1.2rem; color: var(--body); max-width: 40em; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .97rem; color: var(--muted); }
.trust li, .trust a { display: flex; align-items: center; gap: .4rem; color: inherit; text-decoration: none; }
.trust strong { color: var(--ink); }
.stars { display: inline-flex; color: var(--amber); gap: 1px; vertical-align: -2px; }
.hero-art { position: relative; }
.hero-svg { border-radius: 28px; box-shadow: var(--shadow); width: 100%; height: auto; }
.hero-badge { position: absolute; left: -14px; top: 22px; background: var(--navy); color: #fff; border-radius: 16px; padding: .8rem 1rem; max-width: 190px; box-shadow: var(--shadow); font-size: .9rem; line-height: 1.3; display: grid; }
.hero-badge .big { font: 800 1.7rem/1 var(--head); color: var(--amber); margin-bottom: .25rem; }

/* Sections */
.section { padding: clamp(1.75rem, 4vw, 3rem) 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 680px; margin-bottom: 1.25rem; }
.section-head p:last-child { margin-bottom: 0; }
.section-head p { color: var(--muted); }

.symptoms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.symptoms a { position: relative; display: grid; gap: .25rem; padding: 1.15rem 2.8rem 1.15rem 1.2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.symptoms a:hover { border-color: var(--navy-2); box-shadow: var(--shadow); }
.symptoms strong { font-size: 1.05rem; line-height: 1.3; }
.symptoms span { color: var(--muted); font-size: .95rem; }
.symptoms .ic { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--navy-2); }
.safety, .callout { display: flex; gap: .7rem; align-items: flex-start; background: var(--warn-bg); border: 1px solid #f3d6a2; border-radius: var(--radius); padding: .9rem 1.1rem; margin: 1.1rem 0 0; color: var(--ink); }
.safety .ic, .callout .ic { color: var(--amber-2); margin-top: 2px; }
.callout p { margin: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; text-decoration: none; color: var(--body); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-ic { width: 52px; height: 52px; border-radius: 12px; background: #e6eef6; color: var(--navy); display: grid; place-items: center; margin-bottom: 1rem; }
.card p { flex: 1; }
.more { font-weight: 700; color: var(--navy-2); display: inline-flex; gap: .3rem; align-items: center; }

.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .8rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/70% no-repeat; }
.ticks strong { color: var(--ink); }

.logo { height: 46px; width: auto; }
.footer-logo { display: inline-block; background: #fff; border-radius: 10px; padding: 10px 14px; }
.site-footer .logo { height: 40px; }
.pic { margin: 1.25rem 0; border-radius: var(--radius); overflow: hidden; background: #e8e2d7; }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.pic.mb { margin: 0 0 1.5rem; }
.split .pic { margin: 0; }
.hero-pic { margin: 0; border-radius: 28px; box-shadow: var(--shadow); }
.style-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1rem 0; }
.style-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.style-card .pic { margin: 0; border-radius: 0; }
.style-card h3, .style-card p { padding: 0 1rem; }
.style-card h3 { margin-top: .9rem; font-size: 1.05rem; }
.style-card p { font-size: .95rem; }
.photo-slot { margin: 1.5rem 0; position: relative; border-radius: var(--radius); overflow: hidden; background: #e8e2d7; color: var(--navy); border: 2px dashed #cfc5b4; }
.photo-slot svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.photo-slot figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(255,255,255,.92); border-radius: 10px; padding: .5rem .75rem; font-size: .88rem; color: var(--muted); }
.split .logo { height: 46px; width: auto; }
.footer-logo { display: inline-block; background: #fff; border-radius: 10px; padding: 10px 14px; }
.site-footer .logo { height: 40px; }
.pic { margin: 1.25rem 0; border-radius: var(--radius); overflow: hidden; background: #e8e2d7; }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.pic.mb { margin: 0 0 1.5rem; }
.split .pic { margin: 0; }
.hero-pic { margin: 0; border-radius: 28px; box-shadow: var(--shadow); }
.style-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1rem 0; }
.style-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.style-card .pic { margin: 0; border-radius: 0; }
.style-card h3, .style-card p { padding: 0 1rem; }
.style-card h3 { margin-top: .9rem; font-size: 1.05rem; }
.style-card p { font-size: .95rem; }
.photo-slot { margin: 0; }

.coupon-band { background: var(--red-tint); color: var(--ink); border-block: 1px solid #f1c9ce; }
.coupon-ic { color: var(--red); }
.coupon-inner { display: flex; align-items: center; gap: 1.2rem; padding: 1.4rem 0; flex-wrap: wrap; }
.coupon-inner p { margin: 0; font-size: 1.15rem; flex: 1; min-width: 220px; }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.review { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: .4rem; }
.review h3 { margin: .3rem 0 0; }
.review blockquote { margin: 0; flex: 1; }
.review figcaption { font-weight: 700; color: var(--ink); }

.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.area { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; text-decoration: none; color: var(--body); }
.area:hover { border-color: var(--navy-2); }
.area h3 { display: flex; align-items: center; gap: .35rem; font-size: 1.1rem; }
.area h3 .ic { color: var(--green); }
.area p { margin: 0; font-size: .95rem; color: var(--muted); }

.faq { display: grid; gap: .7rem; margin-bottom: 1.4rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.2rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: .7rem; font: 600 1.6rem/1 var(--head); color: var(--navy-2); }
.faq details[open] summary::after { content: "–"; }
.faq summary h3 { margin: 0; font-size: 1.08rem; }
.faq details p { padding-bottom: 1rem; margin: 0; }
.faq-group { margin-top: 1.5rem; }

/* Inner pages */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 1rem 0 0; margin: 0; font-size: .92rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: .4rem; }
.crumbs a { color: var(--muted); }
.page-hero { padding: clamp(1.25rem, 3vw, 2.25rem) 0 clamp(1.5rem, 3vw, 2.25rem); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 2.5rem; align-items: start; }
.fact-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: var(--shadow); }
.fact-title { font: 700 1.05rem/1.2 var(--head); color: var(--ink); }
.fact-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.fact-box li { display: flex; gap: .55rem; align-items: center; }
.fact-box li .ic { color: var(--green); }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.5rem; padding: clamp(1.5rem, 3.5vw, 2.5rem) 0; }
.prose h2 { margin-top: 1.6rem; font-size: 1.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .45rem; }
.prose li strong, .prose p strong { color: var(--ink); }
.problems dt { font: 600 1.12rem/1.3 var(--head); color: var(--ink); margin-top: 1.2rem; }
.problems dd { margin: .3rem 0 0; }
.mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1rem 0 1.5rem; }
.mini-grid > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.mini-grid h3 { font-size: 1.05rem; }
.mini-grid p { margin: 0; font-size: .97rem; }
.checklist { list-style: none; padding: 0 !important; display: grid; gap: .55rem; }
.checklist li { display: flex; gap: .55rem; align-items: flex-start; }
.checklist .ic { color: var(--green); margin-top: 3px; }
.side { display: grid; gap: 1.2rem; align-content: start; position: sticky; top: 96px; }
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.side-card h2 { font-size: 1.2rem; }
.side-card p { font-size: .97rem; }
.side-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .2rem; }
.side-links a { display: flex; gap: .5rem; align-items: center; padding: .45rem 0; text-decoration: none; color: var(--ink); font-weight: 600; }
.side-links .ic { color: var(--navy-2); }
.county-list { display: grid; gap: 1.6rem; }
.county-block h2 a { color: var(--ink); text-decoration: none; display: flex; gap: .4rem; align-items: center; }
.county-block h2 .ic { color: var(--green); }
.city-chips { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.city-chips li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; font-size: .95rem; }
.city-chips.small li { font-size: .88rem; padding: .2rem .65rem; background: var(--tint); }
.big-quote { font: 600 1.25rem/1.5 var(--head); color: var(--navy); border-left: 4px solid var(--red); padding-left: 1.2rem; margin: 0 0 1.5rem; }

/* Contact */
.contact-big { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.4rem 0; }
.quote-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); display: grid; gap: .85rem; }
.quote-form h2 { font-size: 1.4rem; margin: 0; }
.quote-form label { display: grid; gap: .3rem; font-weight: 600; color: var(--ink); font-size: .97rem; }
.quote-form .opt { font-weight: 400; color: var(--muted); }
.quote-form input, .quote-form select, .quote-form textarea { font: inherit; padding: .7rem .8rem; border: 1px solid #cfc5b4; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 3px solid #bcd3ea; border-color: var(--navy-2); }
.quote-form .hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-weight: 600; }
.form-status.ok { color: var(--green); } .form-status.err { color: #b3261e; }

/* Closing + footer */
.closing { background: var(--navy); color: #dbe6f1; }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(1.5rem, 3.5vw, 2.25rem) 0; flex-wrap: wrap; }
.closing h2 { color: #fff; margin-bottom: .3rem; }
.closing p { margin: 0; max-width: 34em; }
.closing .cta-row { margin: 0; }
.site-footer { background: #0f2236; color: #b9c8d8; padding: 2.25rem 0 1.5rem; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.site-footer a { color: #dbe6f1; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .brand { margin-bottom: 1rem; }
.footer-phone { font: 800 1.3rem/1 var(--head); color: #fff !important; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 1.5rem; padding-top: 1.2rem; font-size: .88rem; }

.call-bar { display: none; }

@media (max-width: 1000px) {
  .nav, .header-phone span { display: none; }
  .menu { display: block; margin-left: 0; }
  .header-cta { margin-left: auto; }
  .cards, .reviews { grid-template-columns: repeat(2, 1fr); }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .article { grid-template-columns: 1fr; }
  .side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 1.03rem; }
  .header-cta .btn { display: none; }
  .header-phone { background: var(--red); color: #fff; width: 44px; height: 44px; border-radius: 50%; justify-content: center; }
  .hero-grid, .split, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-badge { left: 12px; top: 12px; padding: .6rem .8rem; max-width: 170px; }
  .hero-badge .big { font-size: 1.35rem; }
  .symptoms, .cards, .reviews, .areas, .mini-grid, .style-grid { grid-template-columns: 1fr; }
  .logo { height: 38px; }
  .lede { font-size: 1.1rem; }
  .cta-row .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 5rem; }
  .call-bar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--navy); box-shadow: 0 -4px 16px rgba(0,0,0,.15); padding-bottom: env(safe-area-inset-bottom); }
  .call-bar a { display: flex; align-items: center; justify-content: center; gap: .4rem; color: #fff; font-weight: 700; text-decoration: none; padding: .9rem .5rem; }
  .call-bar a + a { border-left: 1px solid rgba(255,255,255,.15); }
  .call-bar a.hl { background: var(--red); color: #fff; }
}

/* ===== Motion =====
   Rules that keep Core Web Vitals green:
   - CSS only (no JS, so nothing competes with taps: INP stays low).
   - Only transform and opacity animate (no layout shift: CLS stays 0).
   - Nothing that is LCP-eligible (hero heading, hero photo) starts hidden.
   - Scroll reveals use scroll-driven animations; browsers without support simply show content.
   - Everything turns off for people who ask their device for reduced motion. */
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); --ease-spring: cubic-bezier(.34, 1.56, .64, 1); }

/* Smooth page-to-page transitions (Chrome, Edge, Safari) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
.site-header { view-transition-name: site-header; }

/* Hero: text stays put for LCP; supporting pieces glide in */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes door-drop { from { opacity: 0; transform: translateY(-18px) scaleY(.9); transform-origin: top; } }
.hero .eyebrow { animation: rise .5s var(--ease-out) both; }
.hero .cta-row { animation: rise .55s .12s var(--ease-out) both; }
.hero .trust { animation: rise .55s .22s var(--ease-out) both; }
.hero-badge { animation: door-drop .6s .45s var(--ease-spring) both; }

/* Buttons: tactile lift and press */
.btn { transition: background-color .18s, color .18s, transform .18s var(--ease-out), box-shadow .18s; }
.btn-primary:hover { box-shadow: 0 6px 18px rgba(104,0,0,.28); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .06s; }
.btn .ic, .text-link .ic, .more .ic { transition: transform .2s var(--ease-out); }
.btn:hover .ic[viewBox] { transform: translateX(2px); }
.text-link:hover .ic, .card:hover .more .ic, .symptoms a:hover .ic { transform: translateX(4px); }
.symptoms a:hover .ic { transform: translate(4px, -50%); }

/* Cards: lift, icon tilt, photo zoom (inside a clipped frame, so no shift) */
.card, .area, .symptoms a, .review, .style-card, .side-card { transition: transform .25s var(--ease-out), box-shadow .25s, border-color .2s; }
.area:hover, .symptoms a:hover, .style-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-ic { transition: transform .35s var(--ease-spring), background-color .2s, color .2s; }
.card:hover .card-ic { transform: rotate(-6deg) scale(1.08); background: var(--navy); color: #fff; }
.pic img { transition: transform .7s var(--ease-out); }
.style-card:hover .pic img, .split .pic:hover img { transform: scale(1.04); }

/* Underline that slides in on nav links */
.nav a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .25s var(--ease-out), color .2s; padding-bottom: 2px; }
.nav a:hover { background-size: 100% 2px; }

/* Header gains a shadow once you scroll */
@supports (animation-timeline: scroll()) {
  @keyframes header-lift { to { box-shadow: 0 6px 20px rgba(22,33,45,.08); } }
  .site-header { animation: header-lift linear both; animation-timeline: scroll(); animation-range: 0 120px; }
}

/* Scroll reveals: sections ease up as they enter the screen */
@supports (animation-timeline: view()) {
  @keyframes reveal { from { opacity: 0; transform: translateY(24px); } }
  .section .section-head, .cards > *, .symptoms > *, .reviews > *, .areas > *, .split > div,
  .style-grid > *, .mini-grid > *, .faq details, .prose > .pic, .county-block, .coupon-inner, .closing-inner > * {
    animation: reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
  }
  /* Gentle stagger across grid columns */
  .cards > :nth-child(3n+2), .symptoms > :nth-child(3n+2), .reviews > :nth-child(3n+2), .areas > :nth-child(4n+2), .style-grid > :nth-child(3n+2) { animation-range: entry 6% entry 61%; }
  .cards > :nth-child(3n), .symptoms > :nth-child(3n), .reviews > :nth-child(3n), .areas > :nth-child(4n+3), .style-grid > :nth-child(3n) { animation-range: entry 12% entry 67%; }
  .areas > :nth-child(4n) { animation-range: entry 18% entry 73%; }
}

/* FAQ answers open smoothly (newer browsers; others open instantly) */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .3s var(--ease-out), content-visibility .3s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}
.faq summary::after { transition: transform .25s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(180deg); }

/* Mobile call bar: the phone icon gives one friendly ring after the page settles */
@keyframes ring { 0%, 100% { transform: rotate(0); } 15%, 45% { transform: rotate(-14deg); } 30%, 60% { transform: rotate(14deg); } 75% { transform: rotate(0); } }
.call-bar a:first-child .ic { animation: ring .9s 2.5s var(--ease-out) 1; transform-origin: 50% 60%; }
@keyframes bar-in { from { transform: translateY(100%); } }
.call-bar { animation: bar-in .45s .3s var(--ease-out) both; }

/* Mobile menu panel drops open */
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.menu[open] .menu-panel { animation: menu-in .2s var(--ease-out); transform-origin: top right; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  @view-transition { navigation: none; }
}

/* ===== County maps ===== */
.cmap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.cmap-figure { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem .75rem 0; box-shadow: var(--shadow); }
.cmap-svg, .omap-svg { width: 100%; height: auto; display: block; }
.cmap-svg { overflow: visible; }
.county-fill { fill: #eef2f6; }
.hatch { stroke: #dfe6ee; stroke-width: 2; }
.county-line { fill: none; stroke: var(--navy); stroke-width: 2; stroke-linejoin: round; }
.neighbor { fill: #f4efe6; stroke: #ddd3c3; stroke-width: 1; }
.dot { --on: 0; cursor: pointer; }
.dot-core { fill: var(--red); stroke: #fff; stroke-width: 1.5; transition: transform .25s var(--ease-spring); transform-box: fill-box; transform-origin: center; transform: scale(calc(1 + var(--on) * .45)); }
.dot-ring { fill: var(--red); opacity: calc(var(--on) * .18); transform-box: fill-box; transform-origin: center; transform: scale(calc(.4 + var(--on) * .6)); transition: opacity .25s, transform .3s var(--ease-out); }
.dot text { font: 700 15px/1 var(--text); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; opacity: var(--on); transition: opacity .2s; pointer-events: none; }
.dot.is-home text { opacity: 1; }
.home-mark { fill: var(--navy); stroke: #fff; stroke-width: 1.5; }
.dot.is-home .home-mark { transform-box: fill-box; transform-origin: center bottom; transition: transform .25s var(--ease-spring); transform: scale(calc(1 + var(--on) * .3)); }
.fact-panel { min-height: 4.6rem; border-top: 1px solid var(--line); margin: .5rem -.75rem 0; padding: .8rem 1rem; background: var(--tint); border-radius: 0 0 var(--radius) var(--radius); }
.fact-panel p { margin: 0; font-size: .98rem; }
.fact-default { display: flex; gap: .45rem; align-items: center; color: var(--muted); }
.fact { display: none; animation: fact-in .25s var(--ease-out); }
.fact strong { display: block; font: 700 1.05rem/1.2 var(--head); color: var(--red); margin-bottom: .15rem; }
@keyframes fact-in { from { opacity: 0; transform: translateY(4px); } }
.city-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; align-content: start; }
.city-btn { --on: 0; font: 600 .97rem/1 var(--text); color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: .55rem .85rem; cursor: pointer; display: inline-flex; gap: .3rem; align-items: center;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease-out);
  background-color: color-mix(in srgb, var(--red) calc(var(--on) * 100%), var(--card)); color: color-mix(in srgb, #fff calc(var(--on) * 100%), var(--ink)); transform: translateY(calc(var(--on) * -2px)); }
.city-btn:focus-visible { outline: 3px solid #bcd3ea; outline-offset: 2px; }
.city-btn.is-home { border-color: var(--navy); }
.county-split { grid-template-columns: 1fr 1.2fr; }
.omap-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: start; }
.omap { position: sticky; top: 96px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); }
.ocounty .county-fill { transition: fill .2s; }
.omap .water, .omap .road { pointer-events: none; }
.ocounty:hover .county-fill, .ocounty:focus-visible .county-fill { fill: #f8e3e5; }
.odot { fill: var(--red); opacity: .8; }
.olabel { font: 800 17px/1 var(--head); fill: var(--navy); paint-order: stroke; stroke: rgba(255,255,255,.85); stroke-width: 5px; pointer-events: none; }
.omap-hint { display: flex; gap: .4rem; align-items: center; margin: .6rem 0 0; font-size: .92rem; color: var(--muted); }
.omap-hint .ic { color: var(--navy); }
@media (max-width: 900px) {
  .cmap, .omap-wrap, .county-split { grid-template-columns: 1fr; }
  .omap { position: static; }
}

/* ===== Videos ===== */
.video-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2rem; align-items: center; }
.yt { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: #111; box-shadow: var(--shadow); }
.yt-link, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.yt-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out), filter .3s; }
.yt-link:hover img { transform: scale(1.03); filter: brightness(.85); }
.yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); transition: transform .25s var(--ease-spring); }
.yt-link:hover .yt-play { transform: translate(-50%, -50%) scale(1.12); }
.yt-len { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.78); color: #fff; font: 700 .8rem/1 var(--text); padding: .3rem .45rem; border-radius: 6px; }
.video-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.video-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .25s var(--ease-out), box-shadow .25s; }
.video-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.vc-thumb { position: relative; aspect-ratio: 16/9; background: #222; overflow: hidden; }
.vc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.video-card:hover .vc-thumb img { transform: scale(1.05); }
.vc-body { padding: .8rem .95rem 1rem; display: grid; gap: .3rem; }
.vc-body strong { font: 600 1.02rem/1.3 var(--head); }
.vc-soon { font-size: .85rem; color: var(--muted); }
.steps { list-style: none; counter-reset: step; padding: 0 !important; display: grid; gap: .9rem; }
.steps li { counter-increment: step; position: relative; padding-left: 3rem; margin: 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 800 1rem/1 var(--head); }
.steps h3 { margin: .2rem 0 .2rem; font-size: 1.08rem; }
.steps p { margin: 0; }
.callout.tip { background: #eef4ea; border-color: #cfe0c4; }
.callout.tip .ic { color: var(--green); }
.video-note { font-size: .92rem; color: var(--muted); margin-top: 1.25rem; }
@supports (animation-timeline: view()) { .video-cards > *, .steps > li { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; } }
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr; } }

.video-group { font-size: 1.35rem; margin: 1.5rem 0 .8rem; }
.video-group:first-of-type { margin-top: 0; }
.key-points li { margin-bottom: .5rem; }

/* Map context: land, water, roads, peaks */
.land { fill: #f3eee4; }
.cmap .county-fill { fill: #fbf9f4; }
.water { fill: #b9d6ea; stroke: #8fbad8; stroke-width: 1; }
.water-label { font: italic 600 13px/1 var(--text); fill: #3f6f93; letter-spacing: .04em; paint-order: stroke; stroke: rgba(255,255,255,.7); stroke-width: 3px; pointer-events: none; }
.river { fill: none; stroke: #8fbad8; stroke-width: 2; stroke-linecap: round; }
.road { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.road-casing { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; }
.road-casing.road-i { stroke-width: 6; } .road.road-i { stroke: #c9a46a; stroke-width: 3.2; }
.road-casing.road-us { stroke-width: 4.5; } .road.road-us { stroke: #d8c3a0; stroke-width: 2; }
.omap .road.road-i { stroke: #c9a46a; stroke-width: 1.8; opacity: .8; }
.outside { fill: rgba(255,255,255,.55); pointer-events: none; }
.cmap .county-line { stroke-width: 2.2; }
.shield text { font: 800 10.5px/1 var(--text); pointer-events: none; }
.shield-i path { fill: var(--navy); stroke: #fff; stroke-width: 1.5; }
.shield-i text { fill: #fff; }
.shield-us rect { fill: #fff; stroke: #4a5560; stroke-width: 1.3; }
.shield-us text { fill: #1f2933; }
.peak path { fill: #8a7a63; }
.peak text { font: 600 11px/1 var(--text); fill: #6b5d4a; paint-order: stroke; stroke: rgba(255,255,255,.8); stroke-width: 3px; }
.shield, .peak, .water-label { pointer-events: none; }
.area-label { font: 700 11px/1 var(--text); letter-spacing: .22em; fill: #a8977c; pointer-events: none; }
.road-casing.road-sr { stroke-width: 3.5; } .road.road-sr { stroke: #e0cfb0; stroke-width: 1.6; }
.shield-sr ellipse { fill: #fff; stroke: #4a5560; stroke-width: 1.2; }
.shield-sr text { fill: #1f2933; font-size: 9.5px; }
