/* ============================================================
   DOWLE & SONS ROOFING — Olive & Beige cinematic
   Palette is strictly the two uploaded swatch families:
   OLIVE  #202414 / #2a2f1b / #363c23 / #4a5130 / #6f7649
   BEIGE  #b3946b / #c2a37e / #d3b992 / #e6d7b8 / #f1e9d6
   ============================================================ */
:root {
  --olive-deep: #202414;
  --olive-900: #2a2f1b;
  --olive-800: #363c23;
  --olive-700: #4a5130;
  --olive-600: #5d6440;
  --olive-500: #6f7649;
  --beige-600: #b3946b;
  --beige-500: #c2a37e;
  --beige-400: #d3b992;
  --beige-200: #e6d7b8;
  --cream: #f1e9d6;
  --cream-bright: #f9f4e7;
  --serif: "Cormorant Garamond", "Georgia", serif;
  --sans: "Karla", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--olive-deep);
  color: var(--cream-bright);
  font-family: var(--sans);
  font-size: 17.5px;
  font-weight: 500;
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* keyboard users always see where they are */
:focus-visible { outline: 2px solid var(--beige-400); outline-offset: 3px; }
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 3000;
  background: var(--beige-400); color: var(--olive-deep);
  padding: 12px 22px; border-radius: 0 0 10px 10px;
  font-weight: 700; letter-spacing: .1em; transition: top .3s ease;
}
.skip-link:focus { top: 0; }

::selection { background: var(--beige-500); color: var(--olive-deep); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- film grain ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 2000;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 1.2s steps(4) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, 2%); }
  100% { transform: translate(2%, -1%); }
}

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 4vw, 56px);
  transition: background .45s ease, box-shadow .45s ease, padding .45s ease;
}
.site-header.scrolled {
  background: rgba(32, 36, 20, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(194, 163, 126, .22);
  padding-top: 10px; padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 52px; width: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name .bn-top {
  font-family: var(--serif); font-weight: 600;
  font-size: 21px; letter-spacing: .06em; color: var(--cream-bright);
}
.brand-name .bn-sub {
  font-size: 10.5px; letter-spacing: .42em; text-transform: uppercase;
  color: var(--beige-500); margin-top: 3px;
}
.main-nav { display: flex; gap: clamp(16px, 2.6vw, 36px); align-items: center; }
.main-nav a {
  font-size: 13.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cream-bright); position: relative; padding: 6px 0;
}
.nav-book {
  background: var(--beige-400); color: var(--olive-deep) !important;
  padding: 10px 22px !important; border-radius: 999px; white-space: nowrap;
  transition: background .35s ease, transform .35s ease;
}
.nav-book:hover { background: var(--cream); transform: translateY(-2px); }
.nav-book::after { display: none; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--beige-500);
  transform: scaleX(0); transform-origin: right; transition: transform .4s ease;
}
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-phone {
  border: 1px solid var(--beige-500);
  padding: 10px 22px !important; border-radius: 999px;
  color: var(--cream-bright) !important; white-space: nowrap;
  transition: background .35s ease, color .35s ease;
}
.nav-phone:hover { background: var(--beige-500); color: var(--olive-deep) !important; }
.nav-phone::after { display: none; }
.nav-toggle { display: none; }

/* ---------- hero scrub ---------- */
.scrub-section { position: relative; }
#hero { height: 480vh; background: var(--olive-deep); }
.scrub-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
}
.scrub-sticky canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.scrub-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(32,36,20,.62) 0%, rgba(32,36,20,.12) 30%,
      rgba(32,36,20,.10) 55%, rgba(32,36,20,.72) 100%);
}
.hero-copy {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 0 6vw; pointer-events: none;
}
/* NOTE: the scrub engine overwrites `transform` on these lines each frame,
   so centering must never rely on transform — use left/right + margin and
   the separate `translate` property instead. */
.reveal-line {
  position: absolute; left: 0; right: 0; margin-inline: auto;
  width: min(920px, 88vw);
  top: 50%; translate: 0 -50%;
  /* stacked layers must not all flash visible before the scrub engine's first
     tick — only the first line shows until inline opacity takes over */
  opacity: 0;
}
#hero .reveal-line:first-of-type { opacity: 1; }

.hero-kicker {
  font-size: 13px; letter-spacing: .5em; text-transform: uppercase;
  color: var(--beige-400); margin-bottom: 26px;
}
.hero-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(52px, 9vw, 128px);
  letter-spacing: .08em; line-height: .98;
  color: var(--cream-bright);
  text-shadow: 0 2px 40px rgba(32,36,20,.65);
  animation: trackIn 2.4s cubic-bezier(.16,1,.3,1) both;
}
@keyframes trackIn {
  from { letter-spacing: .3em; opacity: 0; }
  to   { letter-spacing: .08em; opacity: 1; }
}
.hero-title .amp { color: var(--beige-500); font-style: italic; }
.hero-tag {
  margin-top: 30px;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(20px, 2.6vw, 30px);
  color: var(--beige-200);
  text-shadow: 0 1px 24px rgba(32,36,20,.8);
}
.hero-rule {
  width: 64px; height: 1px; background: var(--beige-500);
  margin: 26px auto 0;
}
.rl-big {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 5vw, 64px); line-height: 1.12;
  color: var(--cream-bright);
  text-shadow: 0 2px 34px rgba(32,36,20,.75);
}
.rl-big em { color: var(--beige-400); font-style: italic; }
.rl-small {
  margin-top: 22px; font-size: 16px; font-weight: 700; letter-spacing: .26em;
  text-transform: uppercase; color: var(--cream-bright);
  text-shadow: 0 2px 10px rgba(32,36,20,1), 0 1px 24px rgba(32,36,20,.9);
}
.hero-cta-row { display: flex; gap: 18px; justify-content: center; margin-top: 34px; pointer-events: auto; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 13.5px; letter-spacing: .22em;
  text-transform: uppercase; padding: 18px 38px; border-radius: 999px;
  border: 1px solid var(--beige-500);
  transition: background .35s ease, color .35s ease, transform .35s ease;
  cursor: pointer;
}
.btn-solid { background: var(--beige-500); color: var(--olive-deep); font-weight: 700; }
.btn-solid:hover { background: var(--cream); border-color: var(--cream); transform: translateY(-2px); }
.btn-ghost { color: var(--cream-bright); background: rgba(32,36,20,.35); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: var(--beige-500); color: var(--olive-deep); transform: translateY(-2px); }

/* ---------- ported from ghibli-robot-hero: rise-in + glass button ---------- */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.rise   { animation: heroRise .7s cubic-bezier(.22, 1, .36, 1) both; }
.rise-2 { animation-delay: .09s; }
.rise-3 { animation-delay: .18s; }
.rise-4 { animation-delay: .27s; }

/* Glass pill: two stacked radials blended with overlay, gradient hairline
   drawn as a masked padded box, cold/warm inset shadows, and a sheen band
   that starts off the left edge and crosses once per hover. */
.btn-glass {
  position: relative; overflow: hidden;
  border: none; color: var(--cream-bright); font-weight: 700;
  background-image:
    radial-gradient(101.79% 101.79% at 65.61% 81.79%, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 100%),
    radial-gradient(114.65% 114.65% at 9.73% 17.27%, #b3946b 0%, #4a5130 100%);
  background-blend-mode: overlay, normal;
  box-shadow:
    12px 14px 24px rgba(32, 36, 20, .45),
    inset -3px -3px 4px rgba(241, 233, 214, .38),
    inset 4px 4px 4px rgba(32, 36, 20, .18);
}
.btn-glass:hover { background-image:
    radial-gradient(101.79% 101.79% at 65.61% 81.79%, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 100%),
    radial-gradient(114.65% 114.65% at 9.73% 17.27%, #b3946b 0%, #4a5130 100%);
  color: var(--cream-bright); }
.btn-glass::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  padding: 2px; border-radius: inherit; opacity: .5;
  background: linear-gradient(176.87deg, rgba(255,255,255,.55) 8.56%, rgba(255,255,255,0) 85.04%);
  -webkit-mask: linear-gradient(#fff, #fff) content-box, linear-gradient(#fff, #fff);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff, #fff) content-box, linear-gradient(#fff, #fff);
  mask-composite: exclude;
  filter: blur(1px);
  pointer-events: none;
}
.btn-glass::after {
  content: ""; position: absolute; inset: 1px; z-index: 1;
  border-radius: inherit; opacity: 0; mix-blend-mode: overlay;
  background: radial-gradient(101.79% 101.79% at 65.61% 81.79%, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 100%);
  transition: opacity .3s ease-in-out;
  pointer-events: none;
}
.btn-glass:hover::after { opacity: 1; }
.btn-sheen {
  position: absolute; top: 0; bottom: 0; left: 0; width: 33%;
  z-index: 1; pointer-events: none;
  transform: translateX(-140%) skewX(-16deg);
  filter: blur(5px);
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 100%);
}
@keyframes glassSheen {
  from { transform: translateX(-140%) skewX(-16deg); }
  to   { transform: translateX(320%) skewX(-16deg); }
}
.btn-glass:hover .btn-sheen { animation: glassSheen .85s cubic-bezier(.32, 0, .24, 1); }
.btn-glass .btn-label, .btn-glass > :not(.btn-sheen) { position: relative; z-index: 3; }

@media (prefers-reduced-motion: reduce) {
  .rise { animation: none !important; opacity: 1 !important; transform: none !important; }
  .btn-glass:hover .btn-sheen { animation: none; }
}

.scroll-hint {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .4em; text-transform: uppercase;
  color: var(--beige-200); transition: opacity .5s ease;
}
.scroll-hint::after {
  content: ""; width: 1px; height: 44px;
  background: linear-gradient(var(--beige-500), transparent);
  animation: hintDrop 1.8s ease-in-out infinite;
}
@keyframes hintDrop { 0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.progress-track {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: rgba(194,163,126,.18);
}
.progress-fill { height: 100%; width: 0; background: var(--beige-500); }

/* ---------- generic section furniture ---------- */
.section-label {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 12px; letter-spacing: .5em; text-transform: uppercase;
}
.section-label::before { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .6; }
.h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(38px, 4.6vw, 62px); line-height: 1.08; letter-spacing: .01em;
}
.h2 em { font-style: italic; color: var(--beige-600); }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s ease, transform .9s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

/* ---------- story (the room) ---------- */
.media-section { position: relative; overflow: hidden; }
.media-bg { position: absolute; inset: 0; }
.media-bg video, .media-bg img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  will-change: transform;
}
#story .media-veil {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(32,36,20,.94) 0%, rgba(32,36,20,.82) 42%, rgba(42,47,27,.42) 100%);
}
.story-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto;
  padding: clamp(120px, 16vh, 200px) clamp(24px, 5vw, 64px);
}
.story-copy { max-width: 640px; }
.story-copy .section-label { color: var(--beige-400); }
.story-copy .h2 { margin: 26px 0 30px; color: var(--cream-bright); }
.story-copy .h2 em { color: var(--beige-400); }
.story-copy p { color: var(--cream-bright); font-size: 18.5px; font-weight: 500; max-width: 56ch; text-shadow: 0 1px 14px rgba(32,36,20,.75); }
.story-copy p + p { margin-top: 18px; }
.story-sign {
  margin-top: 34px; font-family: var(--serif); font-style: italic;
  font-size: 24px; color: var(--beige-300, var(--beige-400));
}
.story-sign span { display: block; font-family: var(--sans); font-style: normal;
  font-size: 12px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--beige-500); margin-top: 8px; }

.stat-strip {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(194,163,126,.28);
  background: rgba(32,36,20,.78); backdrop-filter: blur(8px);
}
.stat {
  padding: 34px 20px; text-align: center;
  border-left: 1px solid rgba(194,163,126,.16);
}
.stat:first-child { border-left: none; }
.stat-num {
  font-family: var(--serif); font-size: clamp(30px, 3.4vw, 46px);
  color: var(--beige-400); line-height: 1;
}
.stat-cap { margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .24em;
  text-transform: uppercase; color: var(--cream-bright); }

/* ---------- services ---------- */
#services { background: var(--beige-200); color: var(--olive-deep); position: relative; }
#services::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--beige-600);
}
.services-inner { max-width: 1280px; margin: 0 auto; padding: clamp(90px, 12vh, 150px) clamp(24px, 5vw, 64px); }
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(48px, 7vh, 84px); }
.services-head .section-label { color: var(--olive-700); }
.services-head .h2 { color: var(--olive-deep); margin-top: 24px; }
.services-head p { max-width: 44ch; color: var(--olive-800); font-size: 17px; }

.svc-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--beige-600); border: 1px solid var(--beige-600);
}
.svc-card {
  background: var(--cream-bright); padding: 38px 30px 42px;
  transition: background .4s ease;
  position: relative; overflow: hidden;
}
.svc-card:hover { background: var(--cream); }
.svc-card::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--olive-700); transform: scaleX(0); transform-origin: left;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.svc-card:hover::after { transform: scaleX(1); }
.svc-num {
  font-family: var(--serif); font-style: italic; font-size: 15px;
  color: var(--beige-600); letter-spacing: .1em;
}
.svc-card h3 {
  font-family: var(--serif); font-weight: 600; font-size: 24px;
  color: var(--olive-900); margin: 14px 0 12px; line-height: 1.15;
}
.svc-card p { font-size: 15.5px; color: var(--olive-900); font-weight: 500; line-height: 1.62; }

.spec-row {
  margin-top: clamp(48px, 7vh, 72px);
  display: flex; align-items: center; justify-content: center; gap: clamp(18px, 4vw, 54px);
  flex-wrap: wrap;
  font-size: 12.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--olive-700);
}
.spec-row span { display: flex; align-items: center; gap: 12px; }
.spec-row span::before { content: "◆"; font-size: 7px; color: var(--beige-600); }

/* warranty band */
.warranty-band {
  background: var(--olive-900); color: var(--cream);
  position: relative; overflow: hidden;
}
.warranty-inner {
  max-width: 1280px; margin: 0 auto;
  padding: clamp(70px, 9vh, 110px) clamp(24px, 5vw, 64px);
  display: flex; align-items: center; justify-content: space-between; gap: 44px; flex-wrap: wrap;
}
.warranty-inner .wb-left { max-width: 620px; }
.wb-years {
  font-family: var(--serif); font-size: clamp(64px, 8vw, 110px); line-height: 1;
  color: var(--beige-400);
}
.wb-years small { font-size: .32em; letter-spacing: .3em; text-transform: uppercase; color: var(--cream); display: block; margin-top: 6px; font-family: var(--sans); }
.warranty-inner h3 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.2; margin-bottom: 14px; color: var(--cream-bright);
}
.warranty-inner p { color: var(--beige-200); max-width: 58ch; }

/* ---------- craft ---------- */
#craft .media-veil {
  position: absolute; inset: 0;
  background: linear-gradient(280deg, rgba(32,36,20,.94) 0%, rgba(32,36,20,.8) 44%, rgba(42,47,27,.4) 100%);
}
.craft-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto;
  padding: clamp(120px, 16vh, 200px) clamp(24px, 5vw, 64px);
  display: flex; justify-content: flex-end;
}
.craft-copy { max-width: 620px; }
.craft-copy .section-label { color: var(--beige-400); }
.craft-copy .h2 { margin: 26px 0 30px; color: var(--cream-bright); }
.craft-copy .h2 em { color: var(--beige-400); }
.craft-copy > p { font-size: 18.5px; font-weight: 500; color: var(--cream-bright); text-shadow: 0 1px 14px rgba(32,36,20,.75); }
.craft-list { margin-top: 36px; display: grid; gap: 0; }
.craft-list li {
  list-style: none; display: flex; gap: 18px; align-items: baseline;
  padding: 16px 0; border-top: 1px solid rgba(194,163,126,.32);
  font-size: 17px; font-weight: 500; color: var(--cream-bright);
  text-shadow: 0 1px 12px rgba(32,36,20,.8);
}
.craft-list li:last-child { border-bottom: 1px solid rgba(194,163,126,.26); }
.craft-list b { color: var(--beige-300, var(--beige-400)); font-weight: 700; }
.craft-list .tick { color: var(--beige-500); font-family: var(--serif); font-style: italic; }

/* ---------- testimonials ---------- */
#word { background: var(--cream-bright); color: var(--olive-deep); }
.word-inner { max-width: 1280px; margin: 0 auto; padding: clamp(90px, 12vh, 150px) clamp(24px, 5vw, 64px); }
.word-inner .section-label { color: var(--olive-700); }
.word-inner .h2 { color: var(--olive-deep); margin: 24px 0 8px; }
.word-sub { color: var(--olive-800); margin-bottom: clamp(44px, 6vh, 70px); }
.word-sub b { color: var(--olive-900); }
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
.quote-card {
  background: var(--beige-200); border: 1px solid var(--beige-500);
  padding: 40px 38px 34px; position: relative;
}
.quote-card::before {
  content: "“"; position: absolute; top: 6px; left: 26px;
  font-family: var(--serif); font-size: 96px; line-height: 1;
  color: var(--beige-600); opacity: .55;
}
.quote-card p {
  position: relative; font-family: var(--serif); font-size: 21px;
  font-weight: 500; line-height: 1.5; color: var(--olive-900);
}
.quote-card figcaption {
  margin-top: 20px; font-size: 12.5px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--olive-700);
}

/* ---------- estimate / hours / map ---------- */
#estimate { background: var(--olive-deep); position: relative; }
#estimate::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(194,163,126,.3); }
.est-inner {
  max-width: 1280px; margin: 0 auto;
  padding: clamp(90px, 12vh, 150px) clamp(24px, 5vw, 64px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 6vw, 90px);
}
.est-left .section-label { color: var(--beige-400); }
.est-left .h2 { color: var(--cream-bright); margin: 24px 0 20px; }
.est-left .h2 em { color: var(--beige-400); }
.est-left > p { color: var(--cream-bright); font-weight: 500; max-width: 52ch; }

.hours-table { margin-top: 36px; width: 100%; border-collapse: collapse; }
.hours-table caption {
  text-align: left; font-size: 12px; letter-spacing: .4em; text-transform: uppercase;
  color: var(--beige-500); padding-bottom: 14px;
}
.hours-table td {
  padding: 11px 0; border-top: 1px solid rgba(194,163,126,.28);
  font-size: 16px; font-weight: 500; color: var(--cream-bright);
}
.hours-table td:last-child { text-align: right; color: var(--beige-200); font-weight: 700; }
.hours-table tr.closed td:last-child { color: var(--beige-600); letter-spacing: .18em; text-transform: uppercase; font-size: 12.5px; }

/* ---------- relief-map artwork (replaces the Google embed) ---------- */
.map-art {
  position: relative; margin-top: 36px; overflow: hidden;
  border: 1px solid rgba(194,163,126,.45);
  background: var(--olive-800);
  aspect-ratio: 16 / 9;
  cursor: grab; touch-action: none; user-select: none;
}
.map-art.dragging { cursor: grabbing; }
.map-layer {
  position: absolute; inset: 0;
  transform-origin: 0 0; will-change: transform;
}
.map-art.gliding .map-layer { transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
.map-layer video {
  width: 100%; height: 100%; display: block; object-fit: cover;
  pointer-events: none;
}

/* Google-style zoom controls, olive edition */
.map-controls {
  position: absolute; right: 14px; top: 14px; z-index: 3;
  display: flex; flex-direction: column;
  border: 1px solid rgba(194,163,126,.5); border-radius: 8px; overflow: hidden;
  box-shadow: 0 6px 18px rgba(32,36,20,.4);
}
.map-controls button {
  width: 40px; height: 40px; border: none; cursor: pointer;
  background: rgba(32,36,20,.85); color: var(--cream-bright);
  font-size: 20px; line-height: 1; backdrop-filter: blur(6px);
  transition: background .25s ease;
}
.map-controls button:first-child { border-bottom: 1px solid rgba(194,163,126,.35); }
.map-controls button:hover { background: var(--beige-500); color: var(--olive-deep); }

/* the pin: drops in, then bobs; pulse ring beneath */
.map-marker {
  position: absolute; left: 48%; top: 36%; z-index: 2;
  width: 34px; height: 46px; margin: -46px 0 0 -17px;
  cursor: pointer; outline: none;
  transform-origin: 50% 100%;
}
.marker-pin {
  width: 34px; height: 46px; display: block;
  filter: drop-shadow(0 6px 8px rgba(32,36,20,.5));
  animation: pinDrop .8s cubic-bezier(.22, 1.4, .36, 1) .6s both,
             pinBob 3.2s ease-in-out 1.6s infinite;
  transform-origin: 50% 100%;
}
@keyframes pinDrop {
  from { transform: translateY(-70px) scale(.6); opacity: 0; }
  60%  { transform: translateY(0) scale(1.06); opacity: 1; }
  to   { transform: none; opacity: 1; }
}
@keyframes pinBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.marker-pulse {
  position: absolute; left: 50%; bottom: -5px;
  width: 30px; height: 12px; margin-left: -15px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(74,81,48,.55), rgba(74,81,48,0));
  animation: pulseRing 2.4s ease-out 1.6s infinite;
}
@keyframes pulseRing {
  0% { transform: scale(.6); opacity: .9; }
  70% { transform: scale(2.1); opacity: 0; }
  100% { transform: scale(2.1); opacity: 0; }
}
.map-marker:hover .marker-pin, .map-marker:focus-visible .marker-pin {
  animation-play-state: paused, paused; transform: scale(1.12);
  transition: transform .3s ease;
}

/* Google-style info window, cream edition */
.map-infocard {
  position: absolute; left: 48%; top: 36%; z-index: 4;
  transform: translate(-50%, calc(-100% - 58px)) scale(.85);
  transform-origin: 50% 100%;
  width: 232px; padding: 16px 18px 14px;
  background: var(--cream-bright); color: var(--olive-deep);
  border: 1px solid var(--beige-500); border-radius: 10px;
  box-shadow: 0 16px 40px rgba(32,36,20,.45);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .35s cubic-bezier(.22, 1, .36, 1);
}
.map-infocard.open {
  opacity: 1; pointer-events: auto;
  transform: translate(-50%, calc(-100% - 58px)) scale(1);
}
.map-infocard::after {
  content: ""; position: absolute; left: 50%; bottom: -7px;
  width: 12px; height: 12px; margin-left: -6px;
  background: var(--cream-bright);
  border-right: 1px solid var(--beige-500); border-bottom: 1px solid var(--beige-500);
  transform: rotate(45deg);
}
.map-infocard b { font-family: var(--serif); font-size: 17px; display: block; }
.mi-stars { display: block; margin-top: 3px; font-size: 12.5px; color: var(--beige-600); letter-spacing: .06em; }
.mi-stars em { font-style: normal; color: var(--olive-700); }
.mi-addr { display: block; margin-top: 7px; font-size: 13.5px; line-height: 1.5; color: var(--olive-800); }
.mi-row { display: flex; gap: 16px; margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--beige-200); }
.mi-row a {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--olive-700);
}
.mi-row a:hover { color: var(--olive-deep); text-decoration: underline; text-underline-offset: 3px; }
.map-art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(32,36,20,.55) 0%, rgba(32,36,20,0) 38%);
}
.map-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; padding: 18px 20px;
}
.map-caption .mc-addr {
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cream-bright); text-shadow: 0 1px 12px rgba(32,36,20,.9);
  line-height: 1.6;
}
.map-caption .mc-addr b { color: var(--beige-300, var(--beige-400)); }
.map-open {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--olive-deep); background: var(--beige-400);
  padding: 10px 18px; border-radius: 999px; font-weight: 700;
  transition: background .3s ease, transform .3s ease;
}
.map-open:hover { background: var(--cream); transform: translateY(-2px); }

/* hours rows slide in one after another once the table reveals */
.hours-table tr td { opacity: 0; transform: translateX(-16px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.hours-table.in tr td { opacity: 1; transform: none; }
.hours-table.in tr:nth-child(2) td { transition-delay: .18s; }

/* ---------- Cal.com booking modal ---------- */
.cal-modal {
  position: fixed; inset: 0; z-index: 1500;
  display: none; align-items: center; justify-content: center;
  padding: 4vh 4vw;
  background: rgba(32, 36, 20, .82); backdrop-filter: blur(8px);
}
.cal-modal.open { display: flex; animation: calFade .3s ease both; }
@keyframes calFade { from { opacity: 0; } to { opacity: 1; } }
.cal-box {
  position: relative; width: min(1060px, 100%); height: min(780px, 100%);
  background: var(--cream-bright); border: 1px solid var(--beige-500);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  animation: heroRise .5s cubic-bezier(.22,1,.36,1) both;
  display: flex; flex-direction: column;
}
.cal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; background: var(--olive-900);
  border-bottom: 1px solid rgba(194,163,126,.35);
}
.cal-head span {
  font-family: var(--serif); font-size: 19px; color: var(--cream-bright);
}
.cal-close {
  background: none; border: 1px solid var(--beige-500); color: var(--cream);
  width: 34px; height: 34px; border-radius: 999px; font-size: 17px;
  cursor: pointer; line-height: 1;
  transition: background .3s ease, color .3s ease;
}
.cal-close:hover { background: var(--beige-500); color: var(--olive-deep); }
.cal-box iframe { flex: 1; width: 100%; border: 0; background: var(--cream-bright); }
.book-inline {
  color: var(--beige-400); text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer;
}
.book-inline:hover { color: var(--cream-bright); }

.est-form {
  background: var(--olive-900); border: 1px solid rgba(194,163,126,.35);
  padding: clamp(34px, 4vw, 54px);
  align-self: start;
}
.est-form h3 {
  font-family: var(--serif); font-weight: 500; font-size: 30px;
  color: var(--cream-bright); margin-bottom: 8px;
}
.est-form .form-sub { font-size: 15px; color: var(--beige-200); margin-bottom: 30px; }
.field { margin-bottom: 22px; }
.field label {
  display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--beige-300, #d8c3a0); margin-bottom: 9px;
}
.field input, .field select, .field textarea {
  width: 100%; background: var(--olive-800);
  border: 1px solid rgba(194,163,126,.35);
  color: var(--cream-bright); font-family: var(--sans); font-size: 16px;
  padding: 14px 16px; border-radius: 2px; outline: none;
  transition: border-color .3s ease, background .3s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--beige-500); background: var(--olive-700);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c2a37e' fill='none' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.est-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { margin-top: 18px; font-size: 14.5px; font-weight: 500; color: var(--beige-200); text-align: center; }
.form-success {
  display: none; text-align: center; padding: 60px 10px;
}
.form-success.show { display: block; }
.form-success .fs-mark { font-family: var(--serif); font-size: 64px; color: var(--beige-400); line-height: 1; }
.form-success h4 { font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--cream-bright); margin: 18px 0 10px; }
.form-success p { color: var(--beige-200); font-size: 15.5px; }

/* ---------- footer ---------- */
.site-footer { background: var(--olive-900); border-top: 1px solid rgba(194,163,126,.28); }
.foot-inner {
  max-width: 1280px; margin: 0 auto;
  padding: clamp(56px, 8vh, 90px) clamp(24px, 5vw, 64px) 40px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(36px, 5vw, 70px);
}
.foot-brand img { height: 64px; margin-bottom: 20px; }
.foot-brand p { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--beige-300, var(--beige-400)); max-width: 30ch; }
.foot-col h5 {
  font-size: 11.5px; letter-spacing: .4em; text-transform: uppercase;
  color: var(--beige-500); margin-bottom: 20px;
}
.foot-col a, .foot-col address {
  display: block; font-style: normal; color: var(--cream);
  font-size: 15.5px; margin-bottom: 12px; line-height: 1.5;
}
.foot-col a:hover { color: var(--beige-400); }
.foot-base {
  border-top: 1px solid rgba(194,163,126,.18);
  padding: 22px clamp(24px, 5vw, 64px);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 12.5px; letter-spacing: .12em; color: var(--beige-400);
  max-width: 1280px; margin: 0 auto;
}

/* bigger hero booking button */
.btn-big { padding: 22px 46px; font-size: 15px; }

/* floating booking pill (desktop) — glass treatment, docks bottom-right */
.float-book {
  position: fixed; right: 26px; bottom: 26px; z-index: 1300;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 32px; border-radius: 999px;
  font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cream-bright);
  background-image:
    radial-gradient(101.79% 101.79% at 65.61% 81.79%, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 100%),
    radial-gradient(114.65% 114.65% at 9.73% 17.27%, #b3946b 0%, #4a5130 100%);
  background-blend-mode: overlay, normal;
  box-shadow: 0 14px 34px rgba(32,36,20,.55),
    inset -3px -3px 4px rgba(241,233,214,.38), inset 4px 4px 4px rgba(32,36,20,.18);
  overflow: hidden;
  opacity: 0; transform: translateY(24px); pointer-events: none;
  transition: opacity .5s ease, transform .5s cubic-bezier(.22,1,.36,1);
  animation: floatNudge 5s ease-in-out infinite;
}
.float-book.show { opacity: 1; transform: none; pointer-events: auto; }
.float-book:hover { filter: brightness(1.1); }
.float-book .btn-label { position: relative; z-index: 3; }
.float-book:hover .btn-sheen { animation: glassSheen .85s cubic-bezier(.32,0,.24,1); }
@keyframes floatNudge {
  0%, 88%, 100% { scale: 1; }
  92% { scale: 1.05; }
  96% { scale: 1; }
}
@media (prefers-reduced-motion: reduce) { .float-book { animation: none; } }

/* mobile call bar */
.mobile-bar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .est-inner { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .main-nav { display: none; }
  .brand img { height: 42px; }
  #hero { height: 420vh; }
  .hero-cta-row .btn { padding: 15px 26px; }
  .hero-cta-row .btn-big { padding: 19px 34px; font-size: 14px; }
  .svc-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: none; border-top: 1px solid rgba(194,163,126,.16); }
  .quote-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .craft-inner { justify-content: flex-start; }
  .foot-inner { grid-template-columns: 1fr; }
  .warranty-inner { flex-direction: column; align-items: flex-start; }
  .float-book { display: none; } /* the mobile bar owns booking on phones */
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1200;
    background: var(--olive-900); border-top: 1px solid rgba(194,163,126,.4);
  }
  .mobile-bar a {
    text-align: center; padding: 16px 8px; font-size: 12.5px;
    letter-spacing: .22em; text-transform: uppercase; color: var(--cream-bright);
  }
  .mobile-bar a.mb-call { background: var(--beige-500); color: var(--olive-deep); font-weight: 700; }
  .site-footer { padding-bottom: 54px; }
}
