/* Lankering Chiropractic & Brain Wellness
   Palette: Roaring Fork Valley — pine, aspen gold, river slate, cream. */

:root {
  --pine: #1f3a30;
  --pine-2: #2c4d40;
  --pine-soft: #e3ebe5;
  --aspen: #d39a35;
  --aspen-ink: #8a5a10;     /* gold darkened for text on light (AA) */
  --slate: #5d6f78;
  --cream: #f7f2e9;
  --sand: #eadfcb;
  --ink: #23302a;
  --ink-soft: #4f5b55;
  --white: #ffffff;
  --line: rgba(35, 48, 42, 0.13);

  --font-head: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --shadow: 0 14px 34px rgba(31, 58, 48, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.09rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pine-2); text-underline-offset: 3px; }
a:hover { color: var(--aspen-ink); }
:focus-visible { outline: 3px solid var(--aspen); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--pine); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--pine); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 600; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }
.eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--aspen-ink); margin: 0 0 .9em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.tight { padding: clamp(44px, 6vw, 72px) 0; }
.bg-white { background: var(--white); }
.bg-sand { background: var(--sand); }
.bg-pine { background: var(--pine); color: #e9efe9; }
.bg-pine h2, .bg-pine h3 { color: #fff; }
.bg-pine .eyebrow { color: var(--aspen); }
.center { text-align: center; }
.measure { max-width: 680px; }
.center.measure { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--font-body); font-weight: 700; font-size: 1rem; padding: .95em 1.6em; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; line-height: 1.2; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--aspen); color: #1c1407; }
.btn-gold:hover { background: #e2ab47; color: #1c1407; }
.btn-pine { background: var(--pine); color: #fff; }
.btn-pine:hover { background: var(--pine-2); color: #fff; }
.btn-line { border-color: var(--pine); color: var(--pine); background: transparent; }
.btn-line:hover { background: var(--pine); color: #fff; }
.btn-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-light:hover { background: #fff; color: var(--pine); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .btn-row { justify-content: center; }

/* Top bar + header */
.topbar { background: var(--pine); color: #dfe8e2; font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--aspen); }
.topbar .dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--aspen); margin: 0 10px; vertical-align: middle; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: saturate(140%) blur(6px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.brand img { width: 196px; height: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--aspen-ink); }
.nav .btn { color: #1c1407; padding: .75em 1.25em; }
.menu-toggle { display: none; background: none; border: 2px solid var(--pine); color: var(--pine); border-radius: 10px; padding: 8px 12px; font: 700 .95rem var(--font-body); cursor: pointer; }

@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(0,0,0,.08); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; border-bottom: 0; }
  .topbar .hide-sm { display: none; }
}

/* Hero */
.hero { position: relative; background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: clamp(40px, 6vw, 84px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero h1 em { font-style: normal; color: var(--aspen-ink); }
.hero .lead { max-width: 560px; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-soft); font-size: .98rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--aspen); flex: none; }
.hero-photo { position: relative; }
.hero-photo .frame { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; background: var(--sand); }
.hero-photo .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero-photo .badge { position: absolute; left: -22px; bottom: 34px; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; max-width: 290px; }
.hero-photo .badge strong { display: block; font-family: var(--font-head); color: var(--pine); font-size: 1.05rem; line-height: 1.2; }
.hero-photo .badge span { font-size: .88rem; color: var(--ink-soft); line-height: 1.35; display: block; }
.hero-photo .badge .ico { width: 42px; height: 42px; border-radius: 50%; background: var(--pine); color: var(--aspen); display: grid; place-items: center; flex: none; font-size: 1.2rem; }
.hero-photo .rating { position: absolute; right: -14px; top: 30px; background: var(--pine); color: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); text-align: center; }
.hero-photo .rating b { font-family: var(--font-head); font-size: 1.6rem; display: block; line-height: 1; }
.hero-photo .rating .stars { color: var(--aspen); letter-spacing: 2px; font-size: .95rem; }
.hero-photo .rating small { display: block; font-size: .8rem; color: #cfdcd4; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { max-width: 460px; margin: 0 auto; width: 100%; }
  .hero-photo .badge { left: 12px; bottom: 16px; }
  .hero-photo .rating { right: 12px; top: 14px; }
}

/* Credentials strip */
.creds { background: var(--pine); color: #e9efe9; }
.creds .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; column-gap: 0; row-gap: 0; }
.cred { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 8px; align-content: start; padding: 30px 28px; border-left: 1px solid rgba(255,255,255,.14); }
.cred:first-child { border-left: 0; padding-left: 0; }
.cred:last-child { padding-right: 0; }
.cred b { display: block; font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: #fff; line-height: 1.15; text-wrap: balance; align-self: end; }
.cred span { display: block; font-size: .95rem; line-height: 1.45; color: #c9d6ce; text-wrap: pretty; }
.cred .nw { display: inline; white-space: nowrap; }
@media (max-width: 860px) {
  .creds .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cred { padding: 22px 18px; }
  .cred:nth-child(odd) { border-left: 0; padding-left: 0; }
  .cred:nth-child(even) { padding-right: 0; }
  .cred:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
  .cred b { font-size: 1.2rem; }
}

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.flip > :first-child { order: 2; }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sand); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall { aspect-ratio: 4/5; }
.photo.wide { aspect-ratio: 3/2; }
.photo-stack { position: relative; padding-bottom: 60px; }
.photo-stack .photo.small { position: absolute; width: 46%; right: -14px; bottom: 0; border: 6px solid var(--cream); aspect-ratio: 1/1; }
.bg-white .photo-stack .photo.small { border-color: #fff; }
@media (max-width: 900px) {
  .split, .split.flip { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .photo-stack .photo.small { right: 0; }
}
.quote { font-family: var(--font-head); font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.4; color: var(--pine); border-left: 4px solid var(--aspen); padding: 4px 0 4px 22px; margin: 26px 0; font-style: italic; }
.quote cite { display: block; font-family: var(--font-body); font-style: normal; font-size: .95rem; color: var(--ink-soft); margin-top: 10px; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%; background: var(--pine-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%231f3a30' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.bg-pine .ticks li::before { background-color: rgba(255,255,255,.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23d39a35' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Reviews */
.reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.score { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 16px; padding: 14px 20px; box-shadow: var(--shadow); }
.score b { font-family: var(--font-head); font-size: 2.2rem; color: var(--pine); line-height: 1; }
.score .stars { color: var(--aspen); letter-spacing: 2px; }
.score small { display: block; color: var(--ink-soft); font-size: .9rem; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 6px 20px rgba(31,58,48,.07); display: flex; flex-direction: column; border-top: 4px solid var(--aspen); }
.review .stars { color: var(--aspen); letter-spacing: 2px; margin-bottom: 10px; }
.review p { font-size: 1.04rem; flex: 1; }
.review footer { font-weight: 700; color: var(--pine); }
.review footer span { display: block; font-weight: 400; color: var(--ink-soft); font-size: .88rem; }
.review.feature { grid-column: span 2; background: var(--pine); color: #e9efe9; border-top-color: var(--aspen); }
.review.feature p { font-family: var(--font-head); font-size: 1.35rem; line-height: 1.45; color: #fff; }
.review.feature footer { color: #fff; }
.review.feature footer span { color: #c9d6ce; }
@media (max-width: 960px) { .review-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .review-grid { grid-template-columns: 1fr; } .review.feature { grid-column: auto; } }

/* Offer */
.offer { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.include-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0 30px; }
.include { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 18px; }
.include h3 { font-size: 1.12rem; margin-bottom: .3em; }
.include p { font-size: .97rem; margin: 0; color: #cfdcd4; }
.price-card { background: #fff; color: var(--ink); border-radius: 22px; padding: 30px; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
.price-card h3 { color: var(--pine); }
.price-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 1rem; }
.price-row s { color: var(--ink-soft); }
.price-total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 6px; }
.price-total span { font-weight: 700; color: var(--pine); }
.price-total b { font-family: var(--font-head); font-size: 2.6rem; color: var(--pine); line-height: 1; }
.price-card .fine { font-size: .9rem; color: var(--ink-soft); margin: 10px 0 18px; }
.price-card .btn { width: 100%; }
@media (max-width: 900px) { .offer { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .include-grid { grid-template-columns: 1fr; } }

/* Care cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 20px rgba(31,58,48,.07); display: flex; flex-direction: column; }
.card .card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--sand); }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.04); }
.card .card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-soft); font-size: 1rem; flex: 1; }
.card .more { font-weight: 700; text-decoration: none; color: var(--pine-2); }
.card .more::after { content: " →"; }
.card.text-only .card-body { border-top: 4px solid var(--aspen); }
@media (max-width: 960px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 28px; position: relative; box-shadow: 0 6px 20px rgba(31,58,48,.06); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--pine); color: var(--aspen); font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; margin-bottom: 16px; }
.step p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 16px; }
.gallery .g { border-radius: 16px; overflow: hidden; background: var(--sand); }
.gallery .g img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g.big { grid-row: span 2; }
.gallery .g.wide { grid-column: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 160px 160px; }
  .gallery .g.big { grid-column: span 2; grid-row: auto; }
  .gallery .g.wide { grid-column: span 2; }
}

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: stretch; }
.info-card { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: 0 6px 20px rgba(31,58,48,.07); }
.info-card dl { display: grid; grid-template-columns: 110px 1fr; gap: 10px 16px; margin: 18px 0 24px; }
.info-card dt { font-weight: 700; color: var(--pine); }
.info-card dd { margin: 0; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; }
.hours li.closed { color: var(--ink-soft); }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 360px; background: var(--sand); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } .info-card dl { grid-template-columns: 1fr; gap: 2px; } .info-card dt { margin-top: 10px; } }

/* CTA band */
.cta-band { background: var(--pine); color: #e9efe9; border-radius: 28px; padding: clamp(34px, 5vw, 56px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 360px; height: 200px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 200'%3E%3Cpath d='M0 200 L90 80 L140 130 L210 40 L300 150 L360 100 L360 200 Z' fill='%23ffffff' fill-opacity='0.06'/%3E%3Cpath d='M30 200 L120 110 L170 150 L240 80 L320 170 L360 140 L360 200 Z' fill='%23d39a35' fill-opacity='0.12'/%3E%3C/svg%3E") no-repeat right bottom / contain; pointer-events: none; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfdcd4; margin: 0; }
.cta-band .btn-row { justify-content: flex-end; position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 60px); }
.page-hero .split { align-items: center; }
.page-hero .photo { max-height: 520px; }

/* Booking embed */
.booking { background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: clamp(10px, 2vw, 24px); }
.booking iframe { width: 100%; border: 0; min-height: 720px; display: block; }
.note { font-size: .95rem; color: var(--ink-soft); }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.pill-row li { background: var(--pine-soft); color: var(--pine); border-radius: 999px; padding: 6px 14px; font-size: .92rem; font-weight: 600; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border-radius: 14px; margin-bottom: 12px; box-shadow: 0 4px 14px rgba(31,58,48,.05); }
.faq summary { cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 700; color: var(--pine); font-size: 1.08rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--aspen-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 24px 20px; color: var(--ink-soft); }

/* Service detail blocks */
.service { display: grid; grid-template-columns: 380px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.service:first-of-type { border-top: 0; }
.service .photo { aspect-ratio: 4/3; }
.service .photo.placeholder { display: grid; place-items: center; background: linear-gradient(135deg, var(--pine) 0%, var(--pine-2) 100%); color: var(--aspen); font-family: var(--font-head); font-size: 1.4rem; text-align: center; padding: 20px; }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #17291f; color: #c3d0c8; padding: 64px 0 28px; font-size: .97rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer a { color: #e6ede8; }
.site-footer a:hover { color: var(--aspen); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .logo-box { background: #fff; border-radius: 12px; padding: 10px 14px; display: inline-block; margin-bottom: 16px; }
.site-footer .logo-box img { width: 180px; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: #9fb1a7; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* Mobile sticky action bar */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -8px 20px rgba(0,0,0,.06); }
  .mobile-cta .btn { padding: .85em 1em; font-size: .98rem; }
  body { padding-bottom: 76px; }
}

/* Legal pages */
.legal-body h2 { font-size: 1.5rem; margin-top: 1.6em; }
.legal-body ul { padding-left: 1.2em; }
.pill-row a { color: inherit; text-decoration: none; }

/* Articles (ported service pages and blog posts) */
.article-hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 900px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose h4 { font-family: var(--font-body); font-size: 1.05rem; margin: 1.2em 0 .4em; }
.prose img { border-radius: 14px; margin: 24px 0; box-shadow: 0 6px 20px rgba(31,58,48,.08); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { font-family: var(--font-head); font-style: italic; font-size: 1.25rem; color: var(--pine); border-left: 4px solid var(--aspen); margin: 24px 0; padding: 4px 0 4px 20px; }
.prose iframe { width: 100%; min-height: 360px; border: 0; border-radius: 12px; }
.article-aside { position: sticky; top: 100px; }
.aside-card { background: var(--cream); border-radius: var(--radius); padding: 24px; }
.aside-card img { border-radius: 14px; margin-bottom: 16px; aspect-ratio: 1/1; object-fit: cover; object-position: 50% 20%; width: 100%; }
.aside-card .btn { width: 100%; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }

/* Ported landing pages keep their own styles */
.landing-content { background: #fff; }
.site-footer .hours li.closed { color: #a9bbb1; }

/* Review fixes, Nov 19 */
.mobile-cta { padding-right: 86px; }            /* leave room for the chat bubble */
.bg-pine .step h3 { color: var(--pine); }
.steps.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .steps.two { grid-template-columns: 1fr; } }
.photo-stack .photo.small { right: auto; left: -14px; }
@media (max-width: 900px) { .photo-stack .photo.small { left: 0; } }
/* Ported landing pages: let their own colours and fonts win over the site defaults */
:where(.landing-content) h1, :where(.landing-content) h2, :where(.landing-content) h3,
:where(.landing-content) h4, :where(.landing-content) h5, :where(.landing-content) h6 { color: inherit; font-family: inherit; letter-spacing: normal; }
.landing-content a:not([class]) { color: inherit; }

/* Headline accents: colour only, no italic flourish */
h1 em, h2 em, h3 em { font-style: normal; }

/* Dropdown navigation */
.nav-item { position: relative; }
.nav .nav-top { display: inline-flex; align-items: center; gap: 6px; padding: 26px 0; }
.nav .nav-top svg { opacity: .6; transition: transform .2s; }
.nav .sub { position: absolute; top: 100%; left: -18px; min-width: 290px; background: #fff; border-radius: 14px; box-shadow: 0 18px 40px rgba(31,58,48,.16); border: 1px solid var(--line); padding: 10px; display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 70; }
.nav .sub.sub-wide { grid-template-columns: 1fr 1fr; min-width: 480px; }
.nav .sub a { display: block; padding: 10px 12px; border-radius: 10px; font-weight: 400; }
.nav .sub a strong { display: block; font-weight: 700; color: var(--ink); font-size: .98rem; }
.nav .sub a span { display: block; font-size: .86rem; color: var(--ink-soft); line-height: 1.35; margin-top: 2px; }
.nav .sub a:hover { background: var(--cream); }
.nav .sub a:hover strong { color: var(--aspen-ink); }
.nav-item:hover .sub, .nav-item:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item:hover .nav-top svg, .nav-item:focus-within .nav-top svg { transform: rotate(180deg); }
@media (min-width: 1021px) { .nav-item.esc .sub { opacity: 0; visibility: hidden; transform: translateY(6px); } }
.nav .nav-top[aria-current="page"] { color: var(--aspen-ink); }
@media (max-width: 1020px) {
  .nav { max-height: calc(100vh - 120px); overflow-y: auto; }
  .nav .nav-top { padding: 14px 0; width: 100%; justify-content: space-between; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav .nav-top svg { display: none; }
  .nav .sub, .nav .sub.sub-wide { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; padding: 4px 0 10px 12px; grid-template-columns: 1fr; background: transparent; }
  .nav .sub a { padding: 8px 0; border-bottom: 0; }
  .nav .sub a span { display: none; }
  .nav .sub a strong { font-weight: 600; color: var(--ink-soft); }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-item .nav-top { border-bottom: 0; }
}
@media (max-width: 760px) { .nav { padding-bottom: 96px; } }
