/* ============================================================
   Cedar Ridge Exteriors LLC — stylesheet
   Brand: deep forest green + gold on warm cream
   Type:  Archivo (display) / Manrope (body)
   ============================================================ */

:root {
  --green:        #1F3D2B;
  --green-dark:   #16301f;
  --green-darker: #0f2417;
  --green-mid:    #2c4636;
  --gold:         #BF953F;
  --gold-light:   #D6B45F;
  --gold-hover:   #caa052;
  --gold-deep:    #9c7b2e;
  --gold-text:    #7a5e1f; /* AA-contrast gold for small text on cream */
  --cream:        #F7F4EC;
  --cream-2:      #EFEADD;
  --card:         #FBFAF5;
  --ink:          #222222;
  --muted:        #5b564a;
  --muted-2:      #7a7464;
  --muted-3:      #9a9486;
  --line:         #ddd6c4;

  --maxw: 1200px;
  --radius: 14px;
  --shadow-sm: 0 8px 20px rgba(31,61,43,0.06);
  --shadow-md: 0 10px 26px rgba(31,61,43,0.12);
  --shadow-lg: 0 22px 54px rgba(31,61,43,0.22);

  --font-display: 'Archivo', system-ui, -apple-system, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
}

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

/* The hidden attribute must win over component display rules below */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }

h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; }

::placeholder { color: var(--muted-3); opacity: 1; }
select:invalid { color: var(--muted-3); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold) !important; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--green); color: var(--cream);
  padding: 10px 16px; border-radius: 8px; text-decoration: none;
  font-weight: 700; font-size: 14px; transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; width: 100%; }
.container--narrow { max-width: 880px; }
.section { padding: 80px 24px; scroll-margin-top: 84px; }
.section .container { padding: 0; }
.section--alt { background: var(--cream-2); }
.section--green { background: var(--green); }

.gold { color: var(--gold); }
.sep { opacity: .4; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-text);
  margin: 0 0 13px;
}
.eyebrow-rule { width: 34px; height: 1.5px; background: var(--gold); flex: 0 0 auto; }
.eyebrow-on-dark { color: var(--gold-light); }
.eyebrow--center { justify-content: center; }

.section-head { margin-bottom: 30px; }
.section-head--center { text-align: center; margin-bottom: 44px; }
.section-head--center .eyebrow { display: inline-flex; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }

h1 {
  font-weight: 900; font-size: clamp(38px, 6.4vw, 68px); line-height: 1.0;
  letter-spacing: -0.015em; text-transform: uppercase; text-wrap: balance;
}
h2 {
  font-weight: 900; font-size: clamp(30px, 4.4vw, 42px); letter-spacing: -0.01em;
  color: var(--green); text-transform: uppercase; line-height: 1.04;
}
.on-dark { color: #fff; }
.on-dark-muted { color: rgba(247,244,236,0.72); }
.section-lead { font-size: 16.5px; color: var(--muted); max-width: 38em; margin: 12px 0 0; }
.section-head--center .section-lead { margin: 12px auto 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  text-decoration: none; cursor: pointer; border: none;
  font-family: var(--font-display); font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; border-radius: 9px;
  transition: background .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  font-size: 14px; padding: 14px 22px; line-height: 1;
}
.btn-sm { font-size: 13px; padding: 11px 16px; }
.btn-lg { font-size: 15px; padding: 16px 28px; }
.btn-block { width: 100%; }
.btn-gold {
  background: var(--gold); color: var(--green);
  box-shadow: 0 3px 0 rgba(143,107,42,0.5), 0 8px 22px rgba(191,149,63,0.24);
}
.btn-gold:hover { background: var(--gold-hover); }
.btn-green { background: var(--green); color: var(--cream); }
.btn-green:hover { background: var(--green-dark); }
.btn-ghost {
  background: rgba(247,244,236,0.08); color: #fff;
  border: 1.5px solid rgba(214,180,95,0.55);
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(191,149,63,0.14); }
.btn-outline {
  background: none; color: var(--green);
  border: 1.5px solid rgba(31,61,43,0.2);
}
.btn-outline:hover { border-color: var(--green); }
.btn:active { transform: translateY(1px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,244,236,0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(31,61,43,0.12);
  box-shadow: 0 2px 14px rgba(31,61,43,0.06);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 22px rgba(31,61,43,0.12); }
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 10px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; flex-direction: column; align-items: center; gap: 0; text-decoration: none; flex-shrink: 0; }
/* Logo scaled up to sit in proportion with the "Cedar Ridge Exteriors"
   wordmark, height-capped so the sticky header stays compact on mobile. */
.brand-mark { height: 100px; width: auto; object-fit: contain; display: block; }
.brand-word {
  font-family: var(--font-display); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.2em; color: var(--green); text-transform: uppercase; white-space: nowrap;
  /* The logo PNG carries ~37% transparent padding below the mark; pull the
     wordmark up through it so the two read as one tight lockup. Scaled per
     breakpoint to match the logo's fixed rendered height. */
  margin-top: -32px;
}
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a {
  text-decoration: none; color: var(--green); font-weight: 600; font-size: 14px;
  padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap;
  transition: border-color .15s ease;
}
.main-nav a:hover { border-bottom-color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-phone { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--green); font-weight: 700; font-size: 14px; white-space: nowrap; }
.header-phone span:last-child { border-bottom: 1px solid rgba(31,61,43,0.25); }
.phone-ring {
  display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center;
  border: 1.5px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: 12px;
}
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 4px;
  width: 42px; height: 42px; padding: 10px; background: var(--green); border: none;
  border-radius: 8px; cursor: pointer;
}
.nav-toggle span { height: 2.5px; background: var(--gold); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu { border-top: 1px solid rgba(31,61,43,0.12); background: var(--cream); padding: 8px 22px 18px; }
.mobile-menu a { display: block; padding: 13px 4px; text-decoration: none; color: var(--green); font-weight: 600; font-size: 16px; border-bottom: 1px solid rgba(31,61,43,0.08); }
.mobile-menu .mobile-phone { display: flex; align-items: center; gap: 8px; color: var(--gold-deep); }
.mobile-menu .mobile-cta { text-align: center; margin-top: 14px; border-bottom: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; min-height: clamp(560px, 82vh, 780px); display: flex; align-items: center; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    url('assets/hero-poster.jpg') center / cover no-repeat,
    repeating-linear-gradient(45deg, #2c4636, #2c4636 18px, #314c3b 18px, #314c3b 36px);
}
/* When a hero photo is supplied, script.js sets --hero-image and adds .has-photo */
.hero-bg.has-photo { background-image: var(--hero-image); background-repeat: no-repeat; }
/* Background video — sits above the fallback .hero-bg, below the scrim.
   .hero-bg stays as the poster/fallback while the video loads or when
   motion is reduced. */
.hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(105deg, rgba(18,36,25,0.82) 0%, rgba(18,36,25,0.34) 60%, rgba(18,36,25,0.12) 100%),
    linear-gradient(180deg, rgba(18,36,25,0.55) 0%, rgba(18,36,25,0.28) 38%, rgba(18,36,25,0.82) 100%);
}
.hero-inner { position: relative; z-index: 3; max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 96px 24px 80px; }
.hero-content { max-width: 760px; animation: rise .5s ease both; }
.hero h1 { color: #fff; margin: 0 0 18px; }
.hero-sub { font-size: clamp(17px, 2.2vw, 20px); line-height: 1.5; color: rgba(247,244,236,0.92); margin: 0 0 22px; max-width: 34em; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 9px 18px; margin: 0 0 30px; padding: 0; }
.hero-trust li { display: inline-flex; align-items: center; gap: 9px; color: var(--cream); font-weight: 600; font-size: 14px; }
.hero-trust .diamond { color: var(--gold); font-size: 12px; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 13px; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--green-dark); color: var(--cream); border-top: 1px solid rgba(214,180,95,0.35); }
.trust-inner { max-width: var(--maxw); margin: 0 auto; padding: 16px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 26px; }
.trust-inner span { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14px; }
.trust-inner .check { color: var(--gold-light); font-size: 13px; }
.trust-rating { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14px; color: var(--cream); text-decoration: none; }
.trust-rating .stars { color: var(--gold-light); letter-spacing: 1px; font-size: 14px; }
.trust-rating:hover { color: var(--gold-light); }

/* ---------- Spotlight ---------- */
.spotlight {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  background: var(--green); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-lg); margin-bottom: 34px;
}
.spotlight-media { position: relative; aspect-ratio: 4/3; min-height: 300px; overflow: hidden; }
.spotlight-body { padding: clamp(26px, 4vw, 42px); display: flex; flex-direction: column; justify-content: center; color: var(--cream); }
.spotlight-tag {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green); background: var(--gold-light); padding: 5px 11px; border-radius: 5px; margin-bottom: 16px;
}
.spotlight-body h3 { font-weight: 800; font-size: clamp(22px, 3vw, 28px); color: #fff; margin: 0 0 7px; text-transform: uppercase; line-height: 1.1; }
.spotlight-meta { font-size: 13.5px; color: var(--gold-light); font-weight: 600; margin-bottom: 14px; }
.spotlight-body p { font-size: 15.5px; line-height: 1.6; color: rgba(247,244,236,0.86); margin: 0 0 24px; max-width: 34em; }
.spotlight-body .btn { align-self: flex-start; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.chip {
  font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 9px 18px; border-radius: 30px; cursor: pointer;
  background: var(--card); color: var(--green); border: 1.5px solid rgba(31,61,43,0.18);
  transition: all .15s ease;
}
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--green); color: var(--cream); border-color: var(--green); }

/* ---------- Gallery (masonry) ---------- */
.gallery { columns: 300px; column-gap: 18px; }
.gallery-card {
  position: relative; display: block; width: 100%; break-inside: avoid; margin: 0 0 18px;
  border-radius: var(--radius); overflow: hidden; cursor: pointer; border: none; padding: 0; text-align: left;
  box-shadow: var(--shadow-md); transition: transform .2s ease, box-shadow .2s ease; background: none;
}
.gallery-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(31,61,43,0.2); }
.gallery-card .media { display: flex; align-items: center; justify-content: center; transition: transform .5s ease; }
.gallery-card:hover .media { transform: scale(1.06); }
.gallery-type {
  position: absolute; top: 11px; left: 11px; pointer-events: none; font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; color: var(--green); background: var(--gold-light); padding: 3px 9px; border-radius: 5px; text-transform: uppercase;
}
.gallery-ba {
  position: absolute; top: 11px; right: 11px; pointer-events: none; font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.05em; color: var(--cream); background: rgba(31,61,43,0.85); padding: 3px 8px; border-radius: 5px;
}
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none; padding: 32px 14px 13px;
  background: linear-gradient(to top, rgba(11,24,16,0.88), rgba(11,24,16,0));
}
.gallery-caption .t { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #fff; }
.gallery-caption .l { font-size: 12px; color: rgba(247,244,236,0.8); }
.gallery-note { text-align: center; font-size: 13px; color: var(--muted); margin: 22px 0 0; font-style: italic; }

/* Photo placeholder tiles (until real photos are added) */
.photo-ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: rgba(247,244,236,0.72);
  padding: 0 12px;
}
.photo-ph.is-image { background-size: cover; background-position: center; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.service-card {
  background: var(--card); border-radius: 16px; padding: 32px; border-top: 4px solid var(--gold);
  box-shadow: var(--shadow-md); display: flex; flex-direction: column;
}
.service-icon { height: 54px; width: auto; align-self: flex-start; margin-bottom: 18px; }
.service-card h3 { font-weight: 800; font-size: 22px; color: var(--green); margin: 0 0 9px; text-transform: uppercase; }
.service-card p { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0 0 14px; }
.tag-row { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 20px; padding: 0; }
.tag-row li { font-size: 12px; font-weight: 600; color: var(--green); background: var(--cream-2); padding: 4px 11px; border-radius: 20px; }
.link-arrow { margin-top: auto; align-self: flex-start; background: none; border: none; padding: 0; cursor: pointer; color: var(--gold-text); font-weight: 700; font-size: 14px; transition: color .15s ease; }
.link-arrow:hover { color: var(--gold-deep); text-decoration: underline; }

/* ---------- Siding Repair ---------- */
.sr-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.sr-item { background: var(--card); border-radius: 13px; padding: 20px 22px; border-left: 4px solid var(--gold); box-shadow: var(--shadow-sm); display: flex; gap: 13px; align-items: flex-start; }
.sr-item .sr-icon { flex: 0 0 52px; width: 52px; height: 52px; object-fit: contain; object-position: center; align-self: center; }
.sr-item strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--green); margin-bottom: 4px; letter-spacing: 0.01em; }
.sr-item > span:last-child { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.sr-cta { text-align: center; margin-top: 30px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 50px; align-items: center; }
.about-grid .section-lead { font-size: 17px; line-height: 1.6; color: #4f4a3f; margin: 0 0 26px; max-width: none; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-card { background: var(--card); border-radius: 13px; padding: 22px; border-bottom: 3px solid var(--gold); box-shadow: var(--shadow-sm); }
.why-card svg { margin-bottom: 12px; }
.why-card h3 { font-weight: 700; font-size: 16px; color: var(--green); margin: 0 0 6px; }
.why-card p { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 0; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.review-card { background: var(--card); border-radius: var(--radius); padding: 28px; border-top: 4px solid var(--gold); display: flex; flex-direction: column; margin: 0; }
.quote-mark { margin-bottom: 14px; opacity: .85; }
.review-card blockquote { font-size: 15.5px; line-height: 1.6; color: #33312a; margin: 0 0 20px; flex: 1; }
.review-card figcaption { display: flex; align-items: center; gap: 12px; border-top: 1px solid rgba(31,61,43,0.1); padding-top: 16px; }
.review-card figcaption > span:last-child { display: flex; flex-direction: column; }
.review-badge { width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: var(--gold-light); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 15px; flex: 0 0 auto; }
.review-card strong { font-weight: 700; font-size: 14.5px; color: var(--green); }
.review-town { font-size: 13px; color: var(--muted-2); }

/* ---------- Booking ---------- */
.stepper { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.stepper li { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 8px; border-radius: 30px; background: var(--cream-2); box-shadow: 0 0 0 2px transparent inset; }
.stepper li .step-dot { width: 24px; height: 24px; border-radius: 50%; background: #d8d0bb; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.stepper li .step-label { font-family: var(--font-display); font-weight: 700; font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted-3); }
.stepper li.is-active, .stepper li.is-done { background: var(--green); }
.stepper li.is-active { box-shadow: 0 0 0 2px var(--gold) inset; }
.stepper li.is-active .step-label, .stepper li.is-done .step-label { color: var(--cream); }
.stepper li.is-active .step-dot, .stepper li.is-done .step-dot { background: var(--gold); color: var(--green); }

/* Estimate section: subtle background video behind the form */
.section--book { position: relative; overflow: hidden; }
.book-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
.book-scrim { position: absolute; inset: 0; z-index: 1; background: rgba(247,244,236,0.86); }
.section--book > .container { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .book-video { display: none; } }

.booking-card { background: var(--card); border-radius: 18px; padding: clamp(24px, 4vw, 38px); box-shadow: 0 20px 50px rgba(31,61,43,0.12); border-top: 5px solid var(--gold); }
.booking-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--green); letter-spacing: 0.02em; margin-bottom: 6px; }
.field .optional, .schedule-block .optional { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 9px;
}
.field textarea { resize: vertical; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 19px) center, calc(100% - 13px) center;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.booking-form > .btn { grid-column: 1 / -1; padding: 16px; }

.scheduler-note { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: var(--cream-2); border: 1px dashed #c9bf9d; border-radius: 10px; margin: 0 0 22px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.picker-title { font-weight: 800; font-size: 14px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--green); margin: 0 0 12px; }
.day-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 26px; }
.day-btn { flex: 0 0 auto; width: 74px; padding: 13px 0; border-radius: 11px; cursor: pointer; text-align: center; background: #fff; border: 1.5px solid var(--line); transition: all .15s ease; }
.day-btn .dow { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }
.day-btn .dnum { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--green); line-height: 1.1; }
.day-btn .mon { font-size: 11px; color: var(--muted-2); }
.day-btn.is-sel { background: var(--green); border-color: var(--green); }
.day-btn.is-sel .dow, .day-btn.is-sel .mon { color: rgba(247,244,236,0.75); }
.day-btn.is-sel .dnum { color: #fff; }
.time-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin-bottom: 28px; }
.time-btn { padding: 13px; border-radius: 10px; cursor: pointer; font-family: var(--font-body); font-weight: 700; font-size: 14.5px; background: #fff; color: var(--green); border: 1.5px solid var(--line); transition: all .15s ease; }
.time-btn.is-sel { background: var(--green); color: #fff; border-color: var(--green); }
.booking-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.booking-actions .btn-outline { padding: 15px 22px; }
.booking-confirm { flex: 1; min-width: 200px; padding: 16px; }
.booking-confirm:disabled { opacity: .45; cursor: not-allowed; }
.schedule-hint { font-size: 12.5px; color: var(--muted-3); margin: 14px 0 0; }

.booking-confirmation { text-align: center; padding: 8px 0; animation: rise .4s ease both; }
.confirm-check { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; }
.booking-confirmation h3 { font-weight: 900; font-size: 26px; color: var(--green); margin: 0 0 10px; text-transform: uppercase; }
.confirm-lead { font-size: 16px; line-height: 1.55; color: #4f4a3f; margin: 0 auto 22px; max-width: 30em; }
.confirm-summary { display: inline-block; text-align: left; background: var(--cream-2); border-radius: 12px; padding: 20px 24px; margin: 0 0 24px; min-width: min(360px, 100%); }
.confirm-summary div { display: flex; justify-content: space-between; gap: 24px; padding: 7px 0; border-bottom: 1px solid rgba(31,61,43,0.1); }
.confirm-summary div:last-child { border-bottom: none; }
.confirm-summary dt { font-size: 13px; color: var(--muted-2); font-weight: 600; margin: 0; }
.confirm-summary dd { font-size: 14px; color: var(--green); font-weight: 700; margin: 0; }
.confirm-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.booking-badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; margin-top: 18px; color: var(--muted); font-size: 13px; font-weight: 600; }
.booking-badges .gold { color: var(--gold-deep); }

/* ---------- Service area ---------- */
.area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: center; }
.area-grid h2 { font-size: clamp(26px, 3.6vw, 34px); line-height: 1.1; }
.area-grid .section-lead { font-size: 17px; line-height: 1.6; color: #4f4a3f; margin: 16px 0 22px; max-width: none; }
.town-row { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 26px; padding: 0; }
.town-row li { font-size: 13px; font-weight: 600; color: var(--green); background: var(--card); border: 1px solid rgba(31,61,43,0.12); padding: 6px 13px; border-radius: 20px; }
.area-call { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--green); font-weight: 700; font-size: 16px; }
.area-map { position: relative; aspect-ratio: 5/4; border-radius: 16px; overflow: hidden; background: repeating-linear-gradient(45deg, #e3ddcb, #e3ddcb 14px, #ece6d6 14px, #ece6d6 28px); box-shadow: 0 16px 38px rgba(31,61,43,0.14); display: flex; align-items: center; justify-content: center; }
.area-pin-ring { position: absolute; width: 58%; height: 58%; border: 2px dashed var(--gold); border-radius: 50%; opacity: .6; }
.area-pin { width: 18px; height: 18px; background: var(--green); border: 3px solid var(--gold); border-radius: 50%; box-shadow: 0 0 0 8px rgba(191,149,63,0.18); }
.area-map-label { position: absolute; bottom: 14px; font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: #8a8472; background: rgba(247,244,236,0.85); padding: 5px 10px; border-radius: 5px; }

/* ---------- Final CTA ---------- */
.final-cta { position: relative; background: var(--green); padding: 0 24px; }
.final-cta-divider { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); background: var(--green); padding: 0 14px; z-index: 1; }
.final-cta::before { content: ""; position: absolute; top: 18px; left: 24px; right: 24px; height: 1px; background: rgba(214,180,95,0.5); }
.final-cta-inner { max-width: 1000px; padding: 66px 0 70px; text-align: center; position: relative; z-index: 2; }
.final-cta-inner .eyebrow { justify-content: center; margin-bottom: 16px; }
.final-cta-inner h2 { margin: 0 0 16px; font-size: clamp(30px, 4.6vw, 46px); line-height: 1.05; }
.final-cta-inner .section-lead { font-size: 18px; line-height: 1.55; color: rgba(247,244,236,0.88); margin: 0 auto 30px; max-width: 32em; }
.final-cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 22px; }
.final-cta-badges { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; color: rgba(247,244,236,0.8); font-size: 13.5px; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-dark); color: var(--cream); scroll-margin-top: 74px; }
.footer-grid { padding: 56px 24px 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 38px; }
.footer-brand { min-width: 220px; }
.footer-wordmark { display: flex; flex-direction: column; line-height: 1; margin-bottom: 14px; }
.footer-word-main { font-family: var(--font-display); font-weight: 900; font-size: 26px; letter-spacing: 0.02em; color: #fff; text-transform: uppercase; }
.footer-word-sub { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.3em; color: var(--gold-light); text-transform: uppercase; margin-top: 5px; }
.footer-brand p { font-size: 14px; line-height: 1.6; color: rgba(247,244,236,0.72); margin: 0 0 16px; max-width: 26em; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid rgba(214,180,95,0.4); border-radius: 8px; color: var(--gold-light); text-decoration: none; font-weight: 700; font-size: 13px; transition: all .15s ease; }
.footer-socials a:hover { background: var(--gold); color: var(--green); border-color: var(--gold); }
.footer-col h4 { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 16px; }
.footer-col a { display: block; color: rgba(247,244,236,0.82); text-decoration: none; font-size: 14px; margin-bottom: 10px; transition: color .15s ease; }
.footer-col a:hover { color: var(--gold-light); }
.footer-col .footer-phone { color: var(--cream); font-weight: 700; }
.footer-hours { font-size: 14px; color: rgba(247,244,236,0.82); margin: 4px 0 0; }
.footer-col .btn { margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(214,180,95,0.2); }
.footer-bottom-inner { padding: 18px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; font-size: 12.5px; color: rgba(247,244,236,0.6); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: rgba(247,244,236,0.6); text-decoration: none; }
.footer-legal a:hover { color: var(--gold-light); }

/* ---------- Before / after reveal sliders (mobile-first) ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.ba-card { margin: 0; }

.ba-stage {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md); background: #0b1810; --pos: 50%;
  user-select: none; -webkit-user-select: none;
}
.ba-after, .ba-before {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
}
.ba-after .ph, .ba-before .ph { position: absolute; inset: 0; }
/* Demo-only: dull the placeholder "before" so the wipe is visible.
   Real photos (.is-image) are left untouched. */
.ba-before .ph:not(.is-image) { filter: grayscale(0.55) brightness(0.8); }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.ba-label {
  position: absolute; top: 12px; z-index: 3; pointer-events: none;
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; padding: 3px 9px; border-radius: 4px;
}
.ba-label-after { right: 12px; color: var(--green); background: var(--gold-light); }
.ba-label-before { left: 12px; color: var(--cream); background: rgba(31,61,43,0.85); }

.ba-divider {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: var(--gold);
  z-index: 4; transform: translateX(-1.5px); pointer-events: none;
}
.ba-handle {
  position: absolute; top: 50%; left: var(--pos); transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--gold); z-index: 4; pointer-events: none;
  display: flex; align-items: center; justify-content: center; color: var(--green);
  font-size: 20px; font-weight: 800; line-height: 1; box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
/* Full-bleed transparent range drives the wipe: free keyboard a11y +
   reliable touch dragging. pan-y keeps vertical page scroll working. */
.ba-range {
  position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; touch-action: pan-y;
}
.ba-range:focus-visible { outline: none; }
.ba-stage:focus-within .ba-handle { box-shadow: 0 0 0 3px var(--cream), 0 0 0 6px var(--gold); }

.ba-caption { padding: 12px 2px 0; }
.ba-caption strong {
  display: block; font-family: var(--font-display); font-weight: 800; font-size: 16px;
  color: var(--green); line-height: 1.2;
}
.ba-caption span { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }

@media (min-width: 760px) {
  .ba-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox-overlay { position: absolute; inset: 0; background: rgba(11,24,16,0.8); backdrop-filter: blur(3px); animation: fade .2s ease both; }
.lightbox-dialog { position: relative; background: var(--card); border-radius: 16px; max-width: 860px; width: 100%; max-height: 92vh; overflow: auto; box-shadow: 0 30px 80px rgba(0,0,0,0.5); animation: rise .25s ease both; }
.lightbox-close { position: absolute; top: 14px; right: 14px; z-index: 10; width: 38px; height: 38px; border-radius: 50%; border: none; background: rgba(11,24,16,0.72); color: #fff; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-close:hover { background: rgba(11,24,16,0.9); }
.lightbox-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
/* Keep the AFTER badge clear of the close button inside the lightbox */
.lightbox-media .ba-label-after { right: 60px; }
.lightbox-body { padding: 26px 28px 30px; }
.lightbox-body .lb-type { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); background: var(--gold-light); padding: 4px 10px; border-radius: 5px; margin-bottom: 12px; }
.lightbox-body h3 { font-weight: 800; font-size: 24px; color: var(--green); margin: 0 0 6px; text-transform: uppercase; }
.lightbox-body .lb-meta { font-size: 13.5px; color: var(--muted-2); font-weight: 600; margin-bottom: 14px; }
.lightbox-body p { font-size: 15.5px; line-height: 1.6; color: #4f4a3f; margin: 0 0 22px; }
.lightbox-body .lb-hint { font-size: 12.5px; color: var(--gold-deep); font-weight: 600; margin: 0 0 18px; }

/* ---------- Animations ---------- */
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

body.no-scroll { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .main-nav, .header-phone, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .brand-mark { height: 68px; width: auto; }
  .brand-word { margin-top: -22px; }
}
@media (min-width: 981px) {
  .mobile-menu { display: none !important; }
}
@media (max-width: 560px) {
  .section { padding: 56px 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 0 20px 44px; }
  .booking-actions { flex-direction: column; align-items: stretch; }
  .booking-actions .btn { width: 100%; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ============================================================
   Design-pass additions
   ============================================================ */

/* Section-head CTA (right side of split heads) */
.section-head-cta { align-self: flex-end; white-space: nowrap; }

/* Why-card icon emphasis + heavier weight */
.why-card { padding: 24px; }
.why-card h3 { font-size: 17px; }
.why-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(191,149,63,0.14); margin-bottom: 14px; }
.why-icon svg { margin-bottom: 0; }

/* Estimate form: optional schedule block */
.form-reassure { font-size: 14px; color: var(--muted); margin: 14px auto 0; max-width: 42em; }
.form-reassure .gold { color: var(--gold-deep); }
.schedule-block { grid-column: 1 / -1; min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 16px 16px 8px; margin: 2px 0; background: #fff; }
.schedule-block legend { font-size: 12.5px; font-weight: 700; color: var(--green); letter-spacing: 0.02em; padding: 0 6px; }
.schedule-block .picker-title { margin-top: 4px; }

/* Selected day/time: ring is a non-color cue beyond the green fill */
.day-btn.is-sel, .time-btn.is-sel { box-shadow: 0 0 0 2px var(--gold) inset; }
.time-btn.is-sel::after { content: " \2713"; }

/* Day row: scroll affordances */
.day-row { scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; -webkit-mask-image: linear-gradient(to right, #000 86%, transparent); mask-image: linear-gradient(to right, #000 86%, transparent); }
.day-btn { scroll-snap-align: start; }

/* Service-area map: branded "map" placeholder (replace with a real embed) */
.area-map { background: radial-gradient(circle at 50% 42%, #234630 0%, #1a3324 58%, #16301f 100%); }
.area-map-glow { position: absolute; width: 72%; height: 72%; border-radius: 50%; background: radial-gradient(circle, rgba(191,149,63,0.22), transparent 70%); }
.area-map .area-pin-ring { border-color: var(--gold-light); opacity: .7; }
.area-map-label { background: rgba(22,48,31,0.88); color: var(--gold-light); border: 1px solid rgba(214,180,95,0.4); font-family: var(--font-display); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; }

/* Persistent mobile call + estimate bar */
.mobile-actionbar { display: none; }
@media (max-width: 980px) {
  .mobile-actionbar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(247,244,236,0.97); backdrop-filter: saturate(140%) blur(8px);
    border-top: 1px solid rgba(31,61,43,0.14); box-shadow: 0 -4px 18px rgba(31,61,43,0.10);
  }
  .mobile-actionbar .btn { flex: 1; padding: 14px 10px; }
  body { padding-bottom: 74px; }
  .mobile-menu { max-height: calc(100dvh - 74px); overflow-y: auto; }
}

@media (max-width: 560px) {
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .section-head-cta { align-self: stretch; text-align: center; }
  .chip { padding: 11px 18px; }
  .footer-socials a { width: 44px; height: 44px; }
}

/* ============================================================
   Photo album: showcase + masonry album + full-screen viewer
   ============================================================ */

/* Shared photo fill (real image or branded placeholder tile) */
.ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center; }
.ph-label { font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: rgba(247,244,236,0.72);
  text-align: center; padding: 0 12px; }

/* ---- Rotating featured showcase ---- */
.showcase { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 26px; }
.showcase-stage { position: relative; }
.showcase-slide { position: relative; display: block; width: 100%; border: none; padding: 0; margin: 0; cursor: pointer;
  text-align: left; background: none; min-height: clamp(360px, 46vw, 520px); animation: fade .35s ease both; }
.showcase-scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(11,24,16,0.92) 0%, rgba(11,24,16,0.30) 52%, rgba(11,24,16,0.50) 100%); }
.showcase-content { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 4vw, 42px); max-width: 760px; color: var(--cream); pointer-events: none; }
.showcase-badge { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); background: var(--gold-light);
  padding: 5px 11px; border-radius: 5px; margin-bottom: 14px; }
.showcase-content h3 { font-family: var(--font-display); font-weight: 900; font-size: clamp(24px, 3.6vw, 38px); line-height: 1.05;
  text-transform: uppercase; color: #fff; margin: 0 0 6px; }
.showcase-meta { font-size: 14px; font-weight: 600; color: var(--gold-light); margin-bottom: 12px; }
.showcase-content p { font-size: 15.5px; line-height: 1.55; color: rgba(247,244,236,0.9); margin: 0 0 16px; max-width: 38em; }
.showcase-cta { display: inline-flex; font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--green); background: var(--gold); padding: 11px 18px; border-radius: 8px; }
.showcase-slide:hover .showcase-cta { background: var(--gold-hover); }
.showcase-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%;
  border: none; background: rgba(11,24,16,0.5); color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .15s ease; }
.showcase-arrow:hover { background: rgba(11,24,16,0.78); }
.showcase-arrow-prev { left: 14px; }
.showcase-arrow-next { right: 14px; }
.showcase-dots { position: absolute; bottom: 16px; right: 20px; z-index: 3; display: flex; gap: 7px; }
.showcase-dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(247,244,236,0.45); cursor: pointer; padding: 0; transition: all .2s ease; }
.showcase-dot[aria-pressed="true"] { background: var(--gold); width: 22px; border-radius: 5px; }

/* ---- Masonry album ---- */
.album { columns: 270px; column-gap: 16px; }
.album-card { position: relative; display: block; width: 100%; break-inside: avoid; margin: 0 0 16px; border: none; padding: 0;
  cursor: pointer; border-radius: 14px; overflow: hidden; background: var(--green-mid); box-shadow: var(--shadow-md);
  transition: transform .2s ease, box-shadow .2s ease; }
.album-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(31,61,43,0.22); }
.album-card .ph { transition: transform .5s ease; }
.album-card:hover .ph { transform: scale(1.06); }
.album-type { position: absolute; top: 11px; left: 11px; z-index: 2; pointer-events: none; font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); background: var(--gold-light); padding: 3px 9px; border-radius: 5px; }
.album-ba { position: absolute; top: 11px; right: 11px; z-index: 2; pointer-events: none; font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.05em; color: var(--cream); background: rgba(31,61,43,0.85); padding: 3px 8px; border-radius: 5px; }
.album-overlay { position: absolute; inset: 0; z-index: 2; pointer-events: none; display: flex; flex-direction: column; justify-content: flex-end;
  gap: 1px; padding: 14px; background: linear-gradient(to top, rgba(11,24,16,0.9) 0%, rgba(11,24,16,0) 58%); }
.album-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #fff; }
.album-loc { font-size: 12px; color: rgba(247,244,236,0.8); }
.album-view { font-size: 12px; font-weight: 700; color: var(--gold-light); margin-top: 6px; opacity: 0; transform: translateY(4px); transition: all .2s ease; }
.album-card:hover .album-view, .album-card:focus-visible .album-view { opacity: 1; transform: none; }

/* ---- Full-screen viewer ---- */
.viewer { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 22px; }
.viewer-overlay { position: absolute; inset: 0; background: rgba(8,17,11,0.92); backdrop-filter: blur(4px); animation: fade .2s ease both; }
.viewer-dialog { position: relative; z-index: 1; display: flex; flex-direction: column; width: min(1080px, 100%); max-height: 92vh;
  background: #0f2417; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.6); animation: rise .25s ease both; }
.viewer-close { position: absolute; top: 12px; right: 12px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: none;
  background: rgba(8,17,11,0.6); color: #fff; font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.viewer-close:hover { background: rgba(8,17,11,0.9); }
.viewer-stagewrap { position: relative; flex: 0 0 auto; height: clamp(240px, 56vh, 600px); background: #0b1810; }
.viewer-stage { position: absolute; inset: 0; }
.viewer-img { position: absolute; inset: 0; }
.viewer-ba { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.viewer-ba-item { position: relative; margin: 0; overflow: hidden; }
.ba-cap { position: absolute; top: 10px; z-index: 2; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 4px; }
.ba-cap-before { left: 10px; background: rgba(31,61,43,0.9); color: var(--cream); }
.ba-cap-after { right: 10px; background: var(--gold-light); color: var(--green); }
/* keep the AFTER badge clear of the viewer's close button */
.viewer-stagewrap .ba-cap-after { right: 58px; }
.viewer-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 46px; height: 46px; border-radius: 50%;
  border: none; background: rgba(8,17,11,0.55); color: #fff; font-size: 28px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .15s ease; }
.viewer-arrow:hover { background: rgba(8,17,11,0.85); }
.viewer-prev { left: 12px; }
.viewer-next { right: 12px; }
.viewer-panel { padding: 22px 28px 26px; color: var(--cream); overflow-y: auto; }
.viewer-tag { display: inline-flex; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green); background: var(--gold-light); padding: 4px 10px; border-radius: 5px; margin-bottom: 11px; }
.viewer-panel h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 2.6vw, 26px); text-transform: uppercase; color: #fff; margin: 0 0 5px; }
.viewer-meta { font-size: 13px; font-weight: 600; color: var(--gold-light); margin-bottom: 12px; }
.viewer-panel p { font-size: 15px; line-height: 1.6; color: rgba(247,244,236,0.86); margin: 0 0 8px; max-width: 60ch; }
.viewer-hint { font-size: 12.5px; color: var(--gold-light); font-weight: 600; }
.viewer-dots { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0 18px; }
.viewer-dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(247,244,236,0.3); cursor: pointer; padding: 0; transition: all .2s ease; }
.viewer-dot.is-on { background: var(--gold); width: 22px; border-radius: 5px; }

@media (max-width: 560px) {
  .viewer { padding: 0; }
  .viewer-dialog { max-height: 100vh; height: 100%; border-radius: 0; }
  .viewer-stagewrap { height: 46vh; }
  .viewer-panel { flex: 1 1 auto; }
  .showcase-content p { display: none; }
  .showcase-arrow { top: 33%; width: 40px; height: 40px; font-size: 22px; }
  .showcase-dots { bottom: auto; top: 14px; right: 14px; }
}
