/* Grass Valley Home Solutions — callgvhs.com
   Palette pulled from the logo: pine trees, timber siding, window glow. */

:root {
  --pine: #2a4222;
  --pine-deep: #18261a;
  --pine-night: #111b13;
  --timber: #4a3222;
  --timber-dark: #2b1e15;
  --amber: #f5a233;
  --amber-soft: #ffd08a;
  --amber-ink: #8f500c;
  --ink: #1c2119;
  --ink-soft: #4a5347;
  --sage: #eef2ea;
  --sage-line: #d5ddd0;
  --white: #ffffff;

  --font-display: "Alegreya", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --measure: 68ch;
  --wrap: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --radius-sm: 4px;
  --radius-md: 10px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--amber-ink); text-underline-offset: 0.18em; }
a:hover { color: var(--timber); }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
p { margin: 0 0 1em; max-width: var(--measure); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--amber); color: var(--ink); padding: 0.6rem 1rem; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font: 700 1rem/1.2 var(--font-body);
  padding: 0.95rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-soft); color: var(--ink); }
.btn-pine { background: var(--pine); color: var(--white); }
.btn-pine:hover { background: var(--pine-deep); color: var(--white); }
.btn-outline { border-color: var(--pine); color: var(--pine); background: transparent; }
.btn-outline:hover { background: var(--pine); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--pine-deep); border-color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid var(--sage-line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 76px;
}
.brand {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none; color: var(--ink);
}
.brand img { width: 62px; height: auto; }
.brand-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.28rem; line-height: 1.05;
}
.brand-name small {
  display: block; font-family: var(--font-body); font-weight: 500;
  font-size: 0.78rem; letter-spacing: 0.02em; color: var(--ink-soft); margin-top: 0.15rem;
}

.nav { display: flex; align-items: center; gap: 0.3rem; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.98rem;
  padding: 0.55rem 0.8rem; border-radius: var(--radius-sm);
}
.nav a:hover { background: var(--sage); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--pine); box-shadow: inset 0 -3px 0 var(--amber); border-radius: 0; }
.nav .btn { margin-left: 0.5rem; padding: 0.7rem 1rem; }
.nav a.btn { color: var(--white); }
.nav a.btn:hover { background: var(--pine-deep); color: var(--white); }

.nav-toggle {
  display: none; background: none; border: 2px solid var(--sage-line);
  border-radius: var(--radius-sm); padding: 0.5rem 0.65rem; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; display: block; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--sage-line);
    padding: 0.5rem var(--gutter) 1rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--sage); }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--amber); padding-left: 0.9rem; }
  .nav .btn { margin: 0.8rem 0 0; }
  .brand-name { font-size: 1.1rem; }
  .brand img { width: 52px; }
}

/* ---------- String lights (the signature element) ---------- */
.string-lights { display: block; width: 100%; height: auto; overflow: visible; }
.string-lights .wire { fill: none; stroke: var(--timber-dark); stroke-width: 2; }
.on-dark .string-lights .wire { stroke: #5b4633; }
.string-lights .socket { fill: var(--timber-dark); }
.string-lights .bulb {
  fill: #7a6a55;
  transition: fill 0.35s ease, filter 0.35s ease;
}
.string-lights.is-lit .bulb {
  fill: var(--amber);
  filter: drop-shadow(0 0 4px rgba(245,162,51,0.95)) drop-shadow(0 0 12px rgba(245,162,51,0.55));
}

/* ---------- Hero ---------- */
.hero { background: var(--sage); position: relative; overflow: hidden; }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
}
.hero-copy h1 { max-width: 15ch; }
.hero-lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 46ch; margin-bottom: 1.6rem; }
.hero-art { justify-self: end; width: min(100%, 560px); }
.hero-art img { width: 100%; }
.hero-meta {
  margin-top: 1.6rem; font-size: 0.93rem; color: var(--ink-soft);
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-meta svg { width: 1.05em; height: 1.05em; color: var(--pine); }
.hero-lights { margin-top: clamp(0.5rem, 2vw, 1.25rem); padding-bottom: 0.5rem; }

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; width: min(88%, 420px); order: -1; }
}

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--sage); padding: clamp(2.5rem, 6vw, 4rem) 0 0; }
.page-head h1 { max-width: 20ch; }
.page-head p { font-size: 1.15rem; color: var(--ink-soft); max-width: 58ch; }
.page-head .string-lights { margin-top: 1.2rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-sage { background: var(--sage); }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

/* Audience split */
.audiences { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-md); overflow: hidden; }
.audience { padding: clamp(2rem, 4vw, 3rem); color: var(--white); }
.audience h3 { color: var(--white); font-size: clamp(1.55rem, 2.6vw, 2rem); }
.audience p { color: rgba(255,255,255,0.86); }
.audience-pm { background: var(--pine); }
.audience-home { background: var(--timber); }
.audience ul { list-style: none; margin: 1.3rem 0 1.8rem; padding: 0; }
.audience li {
  padding: 0.6rem 0 0.6rem 1.7rem; position: relative;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.audience li::before {
  content: ""; position: absolute; left: 0.2rem; top: 1.05rem;
  width: 0.62rem; height: 0.62rem; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 8px rgba(245,162,51,0.8);
}
@media (max-width: 800px) { .audiences { grid-template-columns: 1fr; } }

/* Service list (home) */
.service-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(2rem, 5vw, 4rem); }
.service-list li { border-top: 1px solid var(--sage-line); }
.service-list a {
  display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start;
  padding: 1.25rem 0.25rem; text-decoration: none; color: var(--ink);
}
.service-list a:hover h3 { color: var(--amber-ink); }
.service-list svg { width: 40px; height: 40px; color: var(--pine); }
.service-list h3 { margin: 0 0 0.2rem; font-size: 1.35rem; transition: color 0.15s; }
.service-list p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
@media (max-width: 720px) { .service-list { grid-template-columns: 1fr; } }
.section-foot { margin-top: 2rem; }

/* Credentials band */
.credentials { background: var(--timber-dark); color: var(--white); padding: 2.2rem 0; }
.cred-grid { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 1.5rem 2rem; }
.cred dt { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 0.2rem; }
.cred dd { margin: 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--amber-soft); }
.cred dd a { color: var(--amber-soft); }
.cred dd a:hover { color: var(--white); }
.cred-note { font-size: 0.9rem; margin-top: 1.2rem; color: rgba(255,255,255,0.75); }
.cred-note a { color: var(--amber-soft); }
@media (max-width: 860px) { .cred-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .cred-grid { grid-template-columns: 1fr; } }

/* Closing CTA */
.cta-night { background: var(--pine-night); color: var(--white); padding: clamp(3rem, 7vw, 5rem) 0 clamp(3rem, 7vw, 5rem); text-align: center; }
.cta-night h2 { color: var(--white); max-width: 22ch; margin-inline: auto; }
.cta-night p { color: rgba(255,255,255,0.82); margin-inline: auto; }
.cta-night .btn-row { justify-content: center; margin-top: 1.6rem; }
.cta-night .string-lights { max-width: 900px; margin: 0 auto 2.2rem; }
.cta-phone {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 3.6rem); color: var(--amber); text-decoration: none;
  margin: 0.4rem 0 0.2rem; letter-spacing: 0.01em;
}
.cta-phone:hover { color: var(--amber-soft); }

/* ---------- Services page ---------- */
.service-index { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; padding-bottom: 0.5rem; }
.service-index a {
  text-decoration: none; color: var(--pine); font-weight: 600; font-size: 0.95rem;
  padding: 0.45rem 0.85rem; border: 1.5px solid var(--sage-line); border-radius: 999px; background: var(--white);
}
.service-index a:hover { border-color: var(--pine); color: var(--pine); }

.service-block {
  display: grid; grid-template-columns: 220px 1fr 1fr; gap: clamp(1.2rem, 4vw, 3rem);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0; border-top: 1px solid var(--sage-line);
  scroll-margin-top: 90px;
}
.service-block:first-child { border-top: 0; }
.service-block .icon { width: 64px; height: 64px; color: var(--pine); margin-bottom: 0.8rem; }
.service-block h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.service-block h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 0.6rem; color: var(--pine); }
.service-block ul { margin: 0; padding-left: 1.1rem; }
.service-block li { margin-bottom: 0.35rem; }
.service-block li::marker { color: var(--amber-ink); }
.service-block .for-pm {
  margin-top: 1.2rem; padding: 0.9rem 1rem; background: var(--sage);
  border-left: 4px solid var(--pine); font-size: 0.96rem;
}
.service-block .for-pm strong { color: var(--pine); }
@media (max-width: 900px) { .service-block { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filters button {
  font: 600 0.95rem var(--font-body); color: var(--pine); background: var(--white);
  border: 1.5px solid var(--sage-line); border-radius: 999px; padding: 0.5rem 1rem; cursor: pointer;
}
.filters button:hover { border-color: var(--pine); }
.filters button[aria-pressed="true"] { background: var(--pine); border-color: var(--pine); color: var(--white); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.gallery-item {
  margin: 0; background: var(--white); border: 1px solid var(--sage-line); border-radius: var(--radius-md); overflow: hidden;
}
.gallery-item button {
  all: unset; display: block; width: 100%; cursor: pointer; position: relative;
}
.gallery-item button:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }
.gallery-thumb { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; background: var(--sage); }
.gallery-thumb.placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
  color: var(--ink-soft); font-size: 0.9rem;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(42,66,34,0.05) 14px 15px),
    var(--sage);
}
.gallery-thumb.placeholder svg { width: 44px; height: 44px; color: var(--pine); opacity: 0.75; }
.ba-tag {
  position: absolute; top: 0.7rem; left: 0.7rem; background: var(--amber); color: var(--ink);
  font-size: 0.78rem; font-weight: 700; padding: 0.25rem 0.55rem; border-radius: var(--radius-sm);
}
.gallery-item figcaption { padding: 0.9rem 1rem 1.05rem; }
.gallery-item figcaption strong { display: block; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.2; }
.gallery-item figcaption span { font-size: 0.88rem; color: var(--ink-soft); }
.gallery-empty { padding: 2.5rem; text-align: center; background: var(--sage); border-radius: var(--radius-md); }

/* Lightbox */
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%;
  color: var(--white);
}
.lightbox::backdrop { background: rgba(17,27,19,0.9); }
.lightbox-body { background: var(--pine-night); border-radius: var(--radius-md); overflow: hidden; }
.lightbox-media { display: grid; gap: 2px; background: #000; }
.lightbox-media.is-pair { grid-template-columns: 1fr 1fr; }
.lightbox-media figure { margin: 0; position: relative; }
.lightbox-media img { width: 100%; max-height: 72vh; object-fit: contain; background: #000; }
.lightbox-media figcaption {
  position: absolute; top: 0.7rem; left: 0.7rem; background: rgba(0,0,0,0.65);
  font-size: 0.82rem; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: var(--radius-sm);
}
.lightbox-text { padding: 1.1rem 1.4rem 1.4rem; display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.lightbox-text h2 { color: var(--white); font-size: 1.5rem; margin-bottom: 0.25rem; }
.lightbox-text p { color: rgba(255,255,255,0.8); margin: 0; }
.lightbox-close {
  flex: none; background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-sm); padding: 0.5rem 0.9rem; font: 600 0.95rem var(--font-body); cursor: pointer;
}
.lightbox-close:hover { background: var(--white); color: var(--ink); }
@media (max-width: 640px) { .lightbox-media.is-pair { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--pine); color: var(--white); border-radius: var(--radius-md); padding: 2rem;
  position: sticky; top: 100px;
}
.contact-card h2 { color: var(--white); font-size: 1.7rem; }
.contact-card dl { margin: 1.2rem 0 0; }
.contact-card dt { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 1rem; }
.contact-card dd { margin: 0.1rem 0 0; font-size: 1.1rem; }
.contact-card a { color: var(--amber-soft); }
.contact-card a:hover { color: var(--white); }
.contact-card .big-phone { font-family: var(--font-display); font-weight: 700; font-size: 2rem; text-decoration: none; color: var(--amber); }
.contact-card .emergency {
  margin-top: 1.5rem; padding: 1rem; background: rgba(0,0,0,0.2); border-radius: var(--radius-sm);
  font-size: 0.95rem; border-left: 4px solid var(--amber);
}
@media (max-width: 900px) { .contact-card { position: static; } }

.form { display: grid; gap: 1.4rem; }
.fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.fieldset legend { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; margin-bottom: 0.3rem; padding: 0; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }

.field label, .field .label { display: block; font-weight: 600; font-size: 0.96rem; margin-bottom: 0.35rem; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field .hint { font-size: 0.87rem; color: var(--ink-soft); margin-top: 0.3rem; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"],
.field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: var(--white); border: 1.5px solid #b9c4b3; border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--amber); outline-offset: 1px; border-color: var(--pine); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; }
.field .error { color: #b3261e; font-size: 0.88rem; margin-top: 0.3rem; font-weight: 600; }
.field input[type="file"] { font: 0.95rem var(--font-body); }

.choice-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (max-width: 480px) { .choice-cards { grid-template-columns: 1fr; } }
.choice-cards label {
  display: flex; gap: 0.7rem; align-items: flex-start; cursor: pointer;
  border: 1.5px solid #b9c4b3; border-radius: var(--radius-sm); padding: 0.9rem 1rem; background: var(--white);
}
.choice-cards label:hover { border-color: var(--pine); }
.choice-cards input { margin-top: 0.3rem; accent-color: var(--pine); width: 1.1rem; height: 1.1rem; }
.choice-cards label:has(input:checked) { border-color: var(--pine); background: var(--sage); box-shadow: inset 0 0 0 1px var(--pine); }
.choice-cards strong { display: block; }
.choice-cards span { font-size: 0.9rem; color: var(--ink-soft); }

.radio-inline { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.radio-inline label { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 500; margin: 0; cursor: pointer; }
.radio-inline input, .check input { accent-color: var(--pine); width: 1.1rem; height: 1.1rem; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 500; }
.check input { margin-top: 0.25rem; flex: none; }

.conditional[hidden] { display: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { padding: 1.1rem 1.25rem; border-radius: var(--radius-sm); font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status.is-error { background: #fbeceb; border-left: 4px solid #b3261e; color: #5c1510; }
.form-success { background: var(--sage); border-radius: var(--radius-md); padding: 2.5rem; }
.form-success h2 { margin-bottom: 0.4rem; }
.btn[disabled] { opacity: 0.65; cursor: progress; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-deep); color: rgba(255,255,255,0.82); padding: 3.5rem 0 1.5rem; font-size: 0.97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand img { width: 150px; background: var(--white); border-radius: var(--radius-md); padding: 0.6rem; }
.footer-brand p { margin-top: 1rem; }
.site-footer h2 { font-family: var(--font-body); font-size: 0.98rem; font-weight: 700; color: var(--white); margin-bottom: 0.8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: var(--amber-soft); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer address { font-style: normal; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,0.14);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; font-size: 0.88rem; color: rgba(255,255,255,0.65);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile call bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
    background: var(--pine-night); box-shadow: 0 -4px 18px rgba(0,0,0,0.25);
  }
  .mobile-bar .btn { padding: 0.8rem 0.5rem; font-size: 0.98rem; }
  body { padding-bottom: 76px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
