/* ===========================================================
   Dunn Cleaning — brand stylesheet
   Navy / cream / brass. Mobile-first, fluid, motion-safe.
   =========================================================== */

:root {
  /* The palette is a fixed brand system — navy, cream and brass — and is not
     meant to invert. Declaring a light scheme stops browsers (and Android's
     auto-dark) from force-darkening the page, so it looks the same for
     everyone regardless of their device setting. */
  color-scheme: only light;

  /* brand */
  --navy-900: #060F33;
  --navy-800: #0A1A4F;
  --navy-700: #142A6B;
  --navy-600: #21408F;
  --cream:    #F2EFE4;
  --cream-2:  #FAF8F2;
  --brass:    #C8A96A;
  --brass-lt: #E0C88F;
  --ink:      #101828;
  --muted:    #5A6478;
  --line:     rgba(10, 26, 79, .12);

  --logo-ink: var(--cream);

  /* type */
  --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* fluid scale */
  --step-xs: clamp(.75rem, .72rem + .15vw, .82rem);
  --step-sm: clamp(.875rem, .84rem + .18vw, .95rem);
  --step-0:  clamp(1rem, .96rem + .2vw, 1.08rem);
  --step-1:  clamp(1.15rem, 1.08rem + .35vw, 1.35rem);
  --step-2:  clamp(1.45rem, 1.3rem + .7vw, 1.9rem);
  --step-3:  clamp(1.9rem, 1.6rem + 1.4vw, 2.8rem);
  --step-4:  clamp(2.4rem, 1.9rem + 2.4vw, 4rem);
  --step-5:  clamp(2.9rem, 2.1rem + 3.6vw, 5.2rem);

  /* space */
  --gutter: clamp(1.15rem, .8rem + 1.6vw, 2.5rem);
  --section-y: clamp(4rem, 3rem + 5vw, 8rem);
  --radius: 18px;
  --radius-lg: 26px;

  --shadow-sm: 0 2px 8px rgba(6, 15, 51, .06), 0 1px 2px rgba(6, 15, 51, .04);
  --shadow-md: 0 12px 30px rgba(6, 15, 51, .10), 0 4px 10px rgba(6, 15, 51, .05);
  --shadow-lg: 0 28px 70px rgba(6, 15, 51, .16), 0 8px 20px rgba(6, 15, 51, .07);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  color: var(--navy-900);
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy-800); color: var(--cream);
  padding: .75rem 1.25rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- layout ---------- */
.wrap { width: min(1180px, 100% - (var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.center { text-align: center; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step-xs);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 .9rem;
  display: flex; align-items: center; gap: .7rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1.5px; background: var(--brass); flex: none;
}
.center .eyebrow { justify-content: center; }
.center .eyebrow::after {
  content: ""; width: 28px; height: 1.5px; background: var(--brass); flex: none;
}

.lede { font-size: var(--step-1); color: var(--muted); max-width: 60ch; }
.center .lede { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--navy-800);
  --btn-fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem;
  min-height: 52px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-bg);
  border-radius: 999px;
  font-weight: 600; font-size: var(--step-sm);
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.28) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }

.btn--brass { --btn-bg: var(--brass); --btn-fg: var(--navy-900); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--cream);
  border-color: rgba(242, 239, 228, .45);
}
.btn--ghost:hover { background: rgba(242, 239, 228, .1); }
.btn--outline {
  --btn-bg: transparent; --btn-fg: var(--navy-800);
  border-color: rgba(10, 26, 79, .25);
}
.btn--outline:hover { background: var(--navy-800); color: var(--cream); }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.center .btn-row { justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding-block: .85rem;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: var(--cream-2);
  opacity: 0; transition: opacity .4s var(--ease);
  border-bottom: 1px solid var(--line);
}
.site-header.is-stuck::before { opacity: 1; }
.site-header.is-stuck { box-shadow: var(--shadow-sm); padding-block: .5rem; }

.header-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.brand svg, .brand img { width: auto; height: clamp(38px, 5vw, 52px); transition: height .4s var(--ease); }

/* Brand mark crossfades cream -> navy as the header goes sticky, so the real
   logo artwork stays legible against both the hero and the light bar. */
.brand-mark { position: relative; display: block; flex: none; }
.brand-mark img {
  display: block;
  height: clamp(38px, 5vw, 52px); width: auto;
  transition: opacity .4s var(--ease), height .4s var(--ease);
}
.brand-mark-navy { position: absolute; inset: 0; opacity: 0; }
.site-header.is-stuck .brand-mark-cream { opacity: 0; }
.site-header.is-stuck .brand-mark-navy { opacity: 1; }
.brand-text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  font-weight: 600; letter-spacing: .01em;
  color: var(--cream);
  transition: color .4s var(--ease);
  white-space: nowrap;
}
.site-header.is-stuck .brand-text { color: var(--navy-900); }
.brand { --logo-ink: var(--cream); }
.site-header.is-stuck .brand { --logo-ink: var(--navy-800); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav a {
  text-decoration: none;
  font-size: var(--step-sm); font-weight: 500;
  color: rgba(242, 239, 228, .88);
  position: relative; padding-block: .35rem;
  transition: color .3s;
}
.site-header.is-stuck .nav a { color: var(--navy-700); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--brass);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav a:hover { color: var(--brass); }

.header-cta { display: none; }
@media (min-width: 1000px) { .header-cta { display: inline-flex; } }

/* mobile nav */
.nav-toggle {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  background: transparent; border: 1.5px solid rgba(242,239,228,.35);
  border-radius: 50%; cursor: pointer;
  transition: border-color .3s, background .3s;
}
.site-header.is-stuck .nav-toggle { border-color: rgba(10,26,79,.2); }
.nav-toggle span {
  display: block; width: 18px; height: 1.8px; background: var(--cream);
  position: relative; transition: background .3s;
}
.site-header.is-stuck .nav-toggle span { background: var(--navy-800); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.8px;
  background: inherit; transition: transform .4s var(--ease), top .3s;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent !important; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); background: var(--navy-800); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); background: var(--navy-800); }

@media (max-width: 999px) {
  .nav {
    position: fixed; inset: 0 0 0 auto;
    width: min(340px, 84vw);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: .35rem;
    padding: 2rem var(--gutter);
    background: var(--cream-2);
    box-shadow: var(--shadow-lg);
    transform: translateX(101%);
    transition: transform .5s var(--ease);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav a { color: var(--navy-800) !important; font-size: var(--step-1); padding-block: .7rem; width: 100%; }
  .nav .btn { margin-top: 1rem; width: 100%; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(6,15,51,.5);
    opacity: 0; pointer-events: none; transition: opacity .4s;
    z-index: 99; backdrop-filter: blur(2px);
  }
  .nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
}
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .nav-backdrop { display: none; }
  /* the in-nav call button is for the mobile drawer only — the header
     already carries its own CTA on desktop */
  .nav > .btn { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 92svh, 940px);
  display: grid; align-items: center;
  padding-block: clamp(7rem, 14vh, 10rem) clamp(4rem, 8vh, 7rem);
  background: radial-gradient(120% 100% at 80% 0%, var(--navy-700) 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.hero h1, .hero h2 { color: var(--cream); }

/* animated bubbles */
.bubbles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bubble {
  position: absolute; bottom: -20%;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.42), rgba(255,255,255,.08) 42%, rgba(255,255,255,.02) 70%);
  border: 1px solid rgba(255,255,255,.14);
  animation: rise linear infinite;
  will-change: transform, opacity;
}
@keyframes rise {
  0%   { transform: translate3d(0, 0, 0) scale(.6); opacity: 0; }
  8%   { opacity: .75; }
  85%  { opacity: .5; }
  100% { transform: translate3d(var(--drift, 30px), -130vh, 0) scale(1.15); opacity: 0; }
}

/* soft sheen sweep */
.hero::after {
  content: ""; position: absolute; inset: -40% -10%; z-index: -1;
  background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, rgba(200,169,106,.10) 60deg, transparent 140deg);
  animation: sweep 22s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }

.hero-grid {
  display: grid; gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 940px) {
  .hero-grid { grid-template-columns: 1.08fr .92fr; }
}

/* The three trust badges are a single row — they read as one statement, so
   they must not wrap. Sizing is fluid so all three fit from 320px up. */
.hero-badges {
  display: flex; flex-wrap: nowrap; gap: clamp(.25rem, 1.2vw, .5rem);
  margin-bottom: 1.5rem;
}
.pill {
  display: inline-flex; align-items: center; gap: clamp(.22rem, .9vw, .45rem);
  padding: .42rem clamp(.5rem, 2.1vw, .95rem);
  font-size: clamp(.62rem, .5rem + .32vw, .82rem);
  font-weight: 600;
  letter-spacing: clamp(0em, .04em, .04em);
  border-radius: 999px;
  background: rgba(242, 239, 228, .09);
  border: 1px solid rgba(242, 239, 228, .2);
  color: var(--cream);
  backdrop-filter: blur(6px);
  white-space: nowrap;
  flex: 0 1 auto; min-width: 0;
}
.pill svg { width: clamp(11px, 2.6vw, 14px); height: clamp(11px, 2.6vw, 14px); flex: none; }

/* The hours badge carries the longest label. Below the point where all three
   still fit, swap in a shorter form; the full wording stays in the DOM for
   screen readers and returns as soon as there is room. */
/* Only one form is present at a time — display:none keeps the hidden one out
   of the accessibility tree, so a screen reader reads the label once. The
   short form is a plain truncation, so nothing is lost when it is shown. */
.pill-short { display: none; }
@media (max-width: 560px) {
  .pill-full { display: none; }
  .pill-short { display: inline; }
}

.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; }
.hero .accent {
  color: var(--brass);
  font-style: italic;
}
.hero-lede { color: rgba(242, 239, 228, .82); font-size: var(--step-1); max-width: 52ch; }

.hero-proof {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem;
  margin-top: 2.2rem; padding-top: 1.8rem;
  border-top: 1px solid rgba(242, 239, 228, .16);
}
.proof-stars { display: flex; gap: .15rem; color: var(--brass); }
.proof-stars svg { width: 17px; height: 17px; }
.proof-text { font-size: var(--step-sm); color: rgba(242,239,228,.8); }
.proof-text strong { color: var(--cream); }

/* hero visual: logo medallion */
.hero-visual { display: grid; place-items: center; position: relative; }
.medallion {
  position: relative;
  width: min(440px, 82vw); aspect-ratio: 1;
  display: grid; place-items: center;
  --logo-ink: var(--cream);
}
.medallion::before, .medallion::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(242, 239, 228, .16);
}
.medallion::after {
  inset: 9%;
  border-color: rgba(200, 169, 106, .3);
  border-style: dashed;
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.medallion-glow {
  position: absolute; inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,106,.22), transparent 68%);
  filter: blur(22px);
  animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
.medallion .logo-full { width: 72%; height: auto; position: relative; }

/* On narrow screens the medallion is decorative — keep it compact so the
   hero copy and CTAs stay the focus and the fold isn't wasted. */
@media (max-width: 939px) {
  /* Copy leads on mobile so the headline and CTA are above the fold;
     the medallion follows as a smaller flourish — still fully animated. */
  .medallion { width: min(280px, 60vw); }
  .hero-grid { gap: clamp(1.75rem, 5vw, 2.5rem); }
}

/* ---------- trust bar ---------- */
.trustbar {
  background: var(--navy-900);
  color: rgba(242,239,228,.9);
  padding-block: 1.15rem;
  border-top: 1px solid rgba(242,239,228,.08);
}
.trustbar-inner {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .8rem clamp(1.4rem, 4vw, 3.5rem);
  font-size: var(--step-sm);
}
.trustbar-item { display: inline-flex; align-items: center; gap: .55rem; }
.trustbar-item svg { width: 17px; height: 17px; color: var(--brass); flex: none; }

/* ---------- services ---------- */
.card-grid {
  display: grid; gap: clamp(1rem, 2vw, 1.6rem);
  grid-template-columns: 1fr;
}
/* With five services, a plain 4-up strands the last card. Two-up, then
   three-up: 3 + 2 reads as a deliberate block rather than an orphan. */
@media (min-width: 620px)  { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.3rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, var(--brass), var(--navy-600));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: var(--step-sm); margin-bottom: 0; }

.card-icon {
  width: 54px; height: 54px; margin-bottom: 1.1rem;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(10,26,79,.07), rgba(200,169,106,.14));
  color: var(--navy-800);
  transition: transform .5s var(--ease);
}
.card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); }

.card-list { list-style: none; margin: 1rem 0 0; padding: 0; }
.card-list li {
  position: relative; padding-left: 1.5rem;
  font-size: var(--step-sm); color: var(--muted);
  margin-bottom: .35rem;
}
.card-list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brass);
}

/* ---------- before / after gallery ----------
   Each photo is a single composite the cleaners shot themselves, with the
   before and after side by side. They're presented whole rather than split,
   so nothing is cropped or misrepresented. */
/* sliding track, same treatment as the review marquee */
.shot-marquee {
  position: relative;
  overflow: hidden;
  cursor: grab;
  /* allow vertical page scrolling, but let JS own horizontal gestures */
  touch-action: pan-y;
}
.shot-marquee:active { cursor: grabbing; }

/* The edge fade is a painted overlay rather than a mask. iOS Safari has a
   long-standing repaint bug where a mask over a long-running animation stops
   updating once the element scrolls out of view — the track appears frozen
   and clipped until a touch forces a repaint. */
.shot-marquee::before, .shot-marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: clamp(24px, 6vw, 90px);
  z-index: 2; pointer-events: none;
}
.shot-marquee::before { left: 0; background: linear-gradient(90deg, var(--cream-2), transparent); }
.shot-marquee::after { right: 0; background: linear-gradient(270deg, var(--cream-2), transparent); }

.shot-track {
  display: flex; gap: clamp(1rem, 2vw, 1.5rem);
  width: max-content;
  /* Drag offset and the loop are combined in one transform: `translate` as a
     separate property is unsupported on older iOS Safari, which dropped the
     drag entirely there. */
  animation: marquee-drag var(--duration, 120s) linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}
@keyframes marquee-drag {
  from { transform: translate3d(var(--drag, 0px), 0, 0); }
  to   { transform: translate3d(calc(var(--drag, 0px) - 50%), 0, 0); }
}
.shot-marquee:hover .shot-track,
.shot-marquee:focus-within .shot-track,
.shot-marquee.is-paused .shot-track { animation-play-state: paused; }

.shot {
  margin: 0;
  flex: none;
  width: min(340px, 72vw);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.shot:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.shot-media {
  position: relative; display: block;
  width: 100%; padding: 0; border: 0;
  aspect-ratio: 1; overflow: hidden;
  background: var(--navy-900);
  cursor: zoom-in;
}
/* contain, not cover — these are composites, so cropping would cut off
   half of the before/after comparison */
.shot-media img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .7s var(--ease);
}
.shot:hover .shot-media img { transform: scale(1.03); }

.shot-zoom {
  position: absolute; right: .7rem; bottom: .7rem;
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(6, 15, 51, .72);
  color: var(--cream);
  backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.shot-zoom svg { width: 17px; height: 17px; }
.shot:hover .shot-zoom, .shot-media:focus-visible .shot-zoom { opacity: 1; transform: none; }

.shot figcaption {
  display: flex; align-items: baseline; justify-content: space-between; gap: .75rem;
  padding: .95rem 1.15rem 1.05rem;
}
.shot figcaption strong {
  font-family: var(--font-display);
  font-size: var(--step-1); font-weight: 600;
  color: var(--navy-900); line-height: 1.2;
}
.shot figcaption span {
  flex: none;
  font-size: var(--step-xs); font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--brass);
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100svh;
  background: rgba(6, 15, 51, .95);
  backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }

.lightbox-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem var(--gutter);
  color: var(--cream);
}
.lightbox-title { min-width: 0; }
.lightbox-title strong {
  display: block;
  font-family: var(--font-display); font-size: var(--step-1); font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lightbox-title span { font-size: var(--step-xs); color: rgba(242,239,228,.6); letter-spacing: .08em; text-transform: uppercase; }

.lightbox-close {
  flex: none; width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%; cursor: pointer;
  background: rgba(242,239,228,.1);
  border: 1px solid rgba(242,239,228,.2);
  color: var(--cream);
  transition: background .3s, transform .3s var(--ease);
}
.lightbox-close:hover { background: rgba(242,239,228,.2); transform: rotate(90deg); }
.lightbox-close svg { width: 20px; height: 20px; }

.lightbox-stage {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 0; overflow: hidden;
  /* room for the prev/next buttons, which sit outside the image */
  padding: 0 clamp(3.2rem, 9vw, 5.5rem);
}
/* On phones the buttons overlay the image and swiping is the main gesture,
   so the photo gets the full width instead of losing it to the controls. */
@media (max-width: 680px) {
  .lightbox-stage { padding-inline: .75rem; }
  .lightbox-nav {
    width: 44px; height: 44px;
    background: rgba(6, 15, 51, .55);
    backdrop-filter: blur(6px);
  }
  .lightbox-prev { left: .35rem; }
  .lightbox-next { right: .35rem; }
}
/* A flex item shrinks to fit both axes of the content box, so the image is
   bounded without percentage max-heights (which have no definite parent
   height to resolve against on an auto-sized centred item). */
.lightbox-stage img {
  display: block;
  min-width: 0; min-height: 0;
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}

.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%; cursor: pointer;
  background: rgba(242,239,228,.12);
  border: 1px solid rgba(242,239,228,.22);
  color: var(--cream);
  transition: background .3s, transform .3s var(--ease);
}
.lightbox-nav:hover { background: rgba(200,169,106,.85); color: var(--navy-900); }
.lightbox-nav svg { width: 22px; height: 22px; }
.lightbox-prev { left: clamp(.4rem, 2vw, 1.5rem); }
.lightbox-next { right: clamp(.4rem, 2vw, 1.5rem); }
.lightbox-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox-next:hover { transform: translateY(-50%) translateX(3px); }

.lightbox-foot {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  padding: 1rem var(--gutter) calc(1rem + env(safe-area-inset-bottom));
  color: rgba(242,239,228,.6);
  font-size: var(--step-sm);
}
.lightbox-hint { display: none; }
@media (min-width: 700px) { .lightbox-hint { display: inline; } }

body.lightbox-open { overflow: hidden; }

/* ---------- before / after (legacy slider, kept for future pairs) ---------- */
.ba-grid {
  display: grid; gap: clamp(1.2rem, 2.5vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
}
.ba {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--navy-800);
}
.ba-figure {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  background: var(--navy-700);
}
.ba-figure img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 3px; margin-left: -1.5px;
  background: var(--cream);
  box-shadow: 0 0 0 1px rgba(6,15,51,.2);
  pointer-events: none;
}
.ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--cream);
  box-shadow: var(--shadow-md);
}
.ba-handle::before {
  content: "‹ ›";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-size: 1.35rem; font-weight: 700; letter-spacing: .1em;
  color: var(--navy-800);
  line-height: 1;
}
.ba-tag {
  position: absolute; top: .9rem; z-index: 3;
  padding: .3rem .8rem;
  font-size: var(--step-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  border-radius: 999px;
  background: rgba(6, 15, 51, .68);
  color: var(--cream);
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.ba-tag--before { left: .9rem; }
.ba-tag--after { right: .9rem; background: rgba(200,169,106,.92); color: var(--navy-900); }
.ba-caption {
  padding: 1rem 1.3rem 1.15rem;
  color: var(--cream);
}
.ba-caption strong { display: block; font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; }
.ba-caption span { font-size: var(--step-sm); color: rgba(242,239,228,.66); }

.ba-empty {
  display: grid; place-items: center; text-align: center;
  gap: .5rem; padding: clamp(2.5rem, 6vw, 4rem);
  border: 2px dashed rgba(10,26,79,.18);
  border-radius: var(--radius-lg);
  color: var(--muted);
  background: rgba(255,255,255,.5);
}
.ba-empty svg { width: 42px; height: 42px; color: var(--brass); }

/* ---------- process ---------- */
.steps {
  display: grid; gap: clamp(1.5rem, 3vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  counter-reset: step;
  position: relative;
}
.step { position: relative; counter-increment: step; padding-top: 3.6rem; }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display);
  font-size: var(--step-3); font-weight: 600;
  color: var(--brass);
  line-height: 1;
}
.step::after {
  content: ""; position: absolute; top: 1.1rem; left: 3.4rem; right: -1rem;
  height: 1px; background: linear-gradient(90deg, var(--line), transparent);
}
.step:last-child::after { display: none; }
.step h3 { font-size: var(--step-1); margin-bottom: .3rem; }
.step p { color: var(--muted); font-size: var(--step-sm); margin: 0; }

/* ---------- reviews ---------- */
.reviews { background: var(--navy-900); color: var(--cream); position: relative; overflow: hidden; }
.reviews h2 { color: var(--cream); }
.reviews .lede { color: rgba(242,239,228,.72); }
.reviews::before {
  content: ""; position: absolute; inset: auto -10% -40% -10%; height: 60%;
  background: radial-gradient(60% 100% at 50% 100%, rgba(33,64,143,.5), transparent 70%);
  pointer-events: none;
}

.marquee {
  position: relative;
  margin-top: 3rem;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}
/* painted fade rather than a mask — see the note on .shot-marquee */
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: clamp(20px, 6vw, 80px);
  z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--navy-900), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--navy-900), transparent); }
.marquee:active { cursor: grabbing; }
/* while dragging, don't fight the pointer with hover-pause transitions */
.marquee.is-dragging .marquee-track,
.shot-marquee.is-dragging .shot-track { transition: none; }
.marquee-track {
  display: flex; gap: 1.25rem;
  width: max-content;
  animation: marquee-drag var(--duration, 70s) linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee + .marquee { margin-top: 1.25rem; }
.marquee--reverse .marquee-track { animation-direction: reverse; }

.review {
  flex: none;
  width: min(390px, 82vw);
  padding: 1.7rem 1.7rem 1.5rem;
  background: rgba(242, 239, 228, .05);
  border: 1px solid rgba(242, 239, 228, .13);
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
  display: flex; flex-direction: column;
  transition: background .4s, border-color .4s, transform .4s var(--ease);
}
.review:hover { background: rgba(242,239,228,.09); border-color: rgba(200,169,106,.4); transform: translateY(-4px); }
.review-stars { display: flex; gap: .12rem; color: var(--brass); margin-bottom: .85rem; }
.review-stars svg { width: 15px; height: 15px; }
.review p {
  font-size: var(--step-sm);
  color: rgba(242, 239, 228, .88);
  margin: 0 0 1.1rem;
  flex: 1;
}
.review footer {
  display: flex; align-items: center; gap: .7rem;
  font-size: var(--step-xs);
  color: rgba(242, 239, 228, .6);
  padding-top: .9rem;
  border-top: 1px solid rgba(242,239,228,.1);
}
.avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brass), #9c7f45);
  color: var(--navy-900);
  font-weight: 700; font-size: .8rem;
  font-family: var(--font-body);
}
.review footer strong { display: block; color: var(--cream); font-size: var(--step-sm); font-weight: 600; }

/* ---------- areas ---------- */
.areas-grid {
  display: grid; gap: clamp(1.5rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 860px) { .areas-grid { grid-template-columns: 1fr 1fr; } }

.area-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .6rem 1.15rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: var(--step-sm); font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s, background .3s;
}
.chip::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brass); flex: none;
}
.chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brass); }

.map-card {
  position: relative;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--navy-800), var(--navy-900));
  color: var(--cream);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
/* A slow drifting aurora rather than a static grid — the graph-paper squares
   read as broken image tiles on a phone. */
.map-card::before {
  content: ""; position: absolute; inset: -40%;
  background:
    radial-gradient(38% 44% at 28% 30%, rgba(200,169,106,.30), transparent 65%),
    radial-gradient(34% 40% at 74% 62%, rgba(33,64,143,.55), transparent 68%),
    radial-gradient(30% 36% at 50% 88%, rgba(200,169,106,.16), transparent 70%);
  filter: blur(6px);
  animation: map-drift 26s ease-in-out infinite alternate;
  pointer-events: none;
}
/* Soft sheen sweeping across, matching the hero and CTA panel. */
.map-card::after {
  content: ""; position: absolute; inset: -50%;
  background: conic-gradient(from 210deg at 50% 50%, transparent 0deg, rgba(242,239,228,.07) 55deg, transparent 130deg);
  animation: sweep 30s linear infinite;
  pointer-events: none;
}
@keyframes map-drift {
  0%   { transform: translate3d(-3%, -2%, 0) scale(1); }
  50%  { transform: translate3d(2%, 3%, 0) scale(1.08); }
  100% { transform: translate3d(4%, -3%, 0) scale(1.02); }
}
/* Content sits above both animated layers. */
.map-card h3 { color: var(--cream); position: relative; z-index: 1; }
.map-card p { color: rgba(242,239,228,.72); position: relative; z-index: 1; font-size: var(--step-sm); }
.map-pin {
  position: relative; z-index: 1;
  display: flex; align-items: baseline; gap: .6rem;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(242,239,228,.1);
  font-size: var(--step-sm);
}
.map-pin:last-of-type { border-bottom: 0; }
.map-pin strong { font-weight: 600; }
.map-pin span { color: rgba(242,239,228,.55); font-size: var(--step-xs); margin-left: auto; }

/* ---------- contact / CTA ---------- */
.cta-panel {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--navy-700), var(--navy-900) 70%);
  color: var(--cream);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: center;
}
.cta-panel h2 { color: var(--cream); }
.cta-panel .lede { color: rgba(242,239,228,.78); }
.cta-panel::before {
  content: ""; position: absolute; top: -50%; left: -20%; width: 140%; height: 200%;
  background: conic-gradient(from 90deg at 50% 50%, transparent, rgba(200,169,106,.13), transparent 45%);
  animation: sweep 26s linear infinite;
  pointer-events: none;
}
.cta-inner { position: relative; }

.contact-grid {
  display: grid; gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: 1fr;
  margin-top: 2.5rem;
  text-align: left;
}
/* 2x2 rather than 3+1, so no card is left stranded on its own row. Cards
   stretch to the tallest in the row, so a value that wraps onto two lines
   never knocks the others out of alignment. */
.contact-grid > * { align-self: stretch; }
/* Two columns only once there's room for the email; below that the cards
   stack full width, where it always fits. */
@media (min-width: 760px)  { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
/* The email is far longer than the other three values, so its column gets the
   extra room rather than shrinking the address to an unreadable size. */
@media (min-width: 1180px) {
  /* The email and opening-hours columns are sized to their content so both
     stay on one line; phone and covering share what's left. */
  .contact-grid { grid-template-columns: 1fr auto auto 1fr; }
}
.contact-item {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: 1.3rem 1.15rem;
  border-radius: var(--radius);
  background: rgba(242,239,228,.06);
  border: 1px solid rgba(242,239,228,.12);
  transition: background .35s, border-color .35s, transform .35s var(--ease);
  text-decoration: none;
  min-width: 0;
}
.contact-item:hover { background: rgba(242,239,228,.11); border-color: rgba(200,169,106,.42); transform: translateY(-3px); }
.contact-item svg { width: 22px; height: 22px; color: var(--brass); flex: none; margin-top: .15rem; }
.contact-item > div { min-width: 0; }
.contact-item span { display: block; font-size: var(--step-xs); letter-spacing: .1em; text-transform: uppercase; color: rgba(242,239,228,.55); margin-bottom: .15rem; }
.contact-item strong {
  display: block;
  font-size: var(--step-0); font-weight: 600;
  line-height: 1.35;
}
/* The email is much longer than the other values. Never force it onto one
   line: a device with a wider fallback font or larger text setting would
   overflow the card. Let it wrap at the @ instead, which always fits. */
/* Short values that should stay on one line where there is room. */
.contact-item strong.is-tight { white-space: nowrap; }
@media (max-width: 400px) { .contact-item strong.is-tight { white-space: normal; } }

/* Values that can wrap onto two lines on narrow screens. */
.contact-item strong.is-wrap { white-space: normal; overflow-wrap: break-word; }
/* Sized to sit on one line like the other values. The <wbr> after the @ is
   only a fallback: if a device's font is wide enough that it truly cannot
   fit, it breaks there rather than mid-domain or through the border. */
.contact-item strong.is-long {
  font-size: clamp(.72rem, .58rem + .42vw, .92rem);
  letter-spacing: -.01em;
  white-space: nowrap;
  hyphens: none;
}
/* On phones the icon, gap and padding leave the address only ~180px, which is
   exactly its natural width — so it tips into wrapping. Reclaim a little room
   and trim the type so it stays on one line. */
@media (max-width: 620px) {
  .contact-item { padding-inline: .9rem; gap: .65rem; }
  .contact-item strong.is-long { font-size: .78rem; letter-spacing: -.015em; }
}
/* The very narrowest phones genuinely cannot fit it — break at the <wbr>
   (after the @) rather than through the border. */
@media (max-width: 340px) {
  .contact-item strong.is-long { white-space: normal; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 1.4rem 0;
  background: none; border: 0;
  text-align: left; cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--step-1); font-weight: 600; color: var(--navy-900);
  transition: color .3s;
}
.faq-q:hover { color: var(--navy-600); }
.faq-icon {
  flex: none; width: 26px; height: 26px; position: relative;
  border-radius: 50%; border: 1.5px solid var(--brass);
  transition: transform .45s var(--ease), background .3s;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 11px; height: 1.6px; background: var(--brass);
  transform: translate(-50%, -50%);
  transition: transform .45s var(--ease);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon { background: var(--brass); transform: rotate(180deg); }
.faq-q[aria-expanded="true"] .faq-icon::before,
.faq-q[aria-expanded="true"] .faq-icon::after { background: var(--navy-900); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.faq-a > div { overflow: hidden; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a p { color: var(--muted); font-size: var(--step-sm); padding-bottom: 1.4rem; margin: 0; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(242, 239, 228, .7);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: var(--step-sm);
}
.footer-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(242,239,228,.12);
}
.site-footer .brand { --logo-ink: var(--cream); margin-bottom: 1rem; }
.site-footer .brand-text { color: var(--cream); }
.site-footer h4 {
  color: var(--cream); font-family: var(--font-body);
  font-size: var(--step-xs); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: .55rem; }
.footer-list a { text-decoration: none; transition: color .3s; }
.footer-list a:hover { color: var(--brass); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: .8rem 1.5rem;
  justify-content: space-between; align-items: center;
  padding-top: 1.8rem;
  font-size: var(--step-xs);
  color: rgba(242,239,228,.5);
}
.footer-legal {
  display: flex; flex-wrap: wrap; gap: .35rem 1.5rem;
  justify-content: space-between; align-items: center;
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(242,239,228,.08);
  font-size: var(--step-xs);
  color: rgba(242,239,228,.42);
  letter-spacing: .02em;
}
.footer-legal strong { color: rgba(242,239,228,.6); font-weight: 600; letter-spacing: .06em; }

.footer-credit {
  margin-top: .7rem;
  font-size: var(--step-xs);
  text-align: center;
}
.footer-credit a {
  display: inline-flex; align-items: center; gap: .4rem;
  color: rgba(242,239,228,.38);
  text-decoration: none;
  letter-spacing: .02em;
  transition: color .3s;
}
.footer-credit a:hover { color: rgba(242,239,228,.7); }
.footer-credit-mark {
  width: 15px; height: 15px; flex: none;
  opacity: .8;
  /* the mark's own blue/grey reads fine at this size on navy; no recolour needed */
}

/* ---------- sticky mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; gap: .6rem;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(6, 15, 51, .94);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(242,239,228,.12);
  transform: translateY(110%);
  transition: transform .45s var(--ease);
}
.callbar.is-visible { transform: translateY(0); }
.callbar .btn { flex: 1; padding-inline: .8rem; min-height: 48px; }
@media (min-width: 1000px) { .callbar { display: none; } }
@media (max-width: 999px) { body { padding-bottom: 0; } }

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  /* Drop the decorative motion only. */
  .bubble, .hero::after, .medallion::after, .medallion-glow,
  .cta-panel::before, .map-card::before, .map-card::after { animation: none !important; }
  .btn::after { display: none; }

  /* The blanket reset below would also freeze the review and gallery
     carousels, which are content rather than decoration — a frozen track
     just looks broken. They stay moving, slowed right down, and both remain
     manually scrollable either way. */
  *:not(.marquee-track):not(.shot-track),
  *:not(.marquee-track):not(.shot-track)::before,
  *:not(.marquee-track):not(.shot-track)::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .marquee-track { animation-duration: 160s !important; }
  .shot-track { animation-duration: 260s !important; }
}

/* ---------- print ---------- */
@media print {
  .site-header, .callbar, .bubbles, .marquee { display: none; }
  body { background: #fff; color: #000; }
}
