/* ==========================================================================
   NorthStar Property Services
   Design system: midnight navy night sky + warm bulb-gold glow
   Type pairing: Playfair Display (display) + Inter (UI/body)
   ========================================================================== */

:root {
  /* --- Surfaces (night sky) --- */
  --midnight-900: #060D1A;
  --midnight-800: #0A1628;
  --midnight-700: #0F2039;
  --midnight-600: #16304F;
  --midnight-500: #1E3E63;

  /* --- Bulb gold (accent / CTA) --- */
  --gold-300: #FFE6B0;
  --gold-400: #F0C878;
  --gold-500: #D9A54C;
  --gold-600: #B8863A;

  /* --- Festive supports (used sparingly) --- */
  --evergreen: #1A4D39;
  --berry: #C1442E;

  /* --- Text --- */
  --snow: #F7FAFC;
  --slate-200: #DDE5EF;
  --slate-300: #C7D2E0;
  --slate-400: #94A6BC;

  /* --- Semantic tokens --- */
  --bg: var(--midnight-800);
  --bg-alt: var(--midnight-900);
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hi: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.10);
  --border-hi: rgba(240, 200, 120, 0.38);
  --text: var(--snow);
  --text-muted: var(--slate-300);
  --text-dim: var(--slate-400);
  --accent: var(--gold-500);
  --accent-hi: var(--gold-400);
  --on-accent: #1A1203;

  /* --- Type scale (fluid) --- */
  --fs-display: clamp(2.6rem, 6.2vw, 4.6rem);
  --fs-h2: clamp(2rem, 3.8vw, 2.9rem);
  --fs-h3: 1.1875rem;
  --fs-lede: clamp(1.0625rem, 1.6vw, 1.1875rem);
  --fs-body: 1rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* --- Space & shape --- */
  --shell: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* --- Motion tokens (chosen per distance/complexity, not one global value) --- */
  --t-tap: 120ms cubic-bezier(.4, 0, .2, 1);     /* press feedback */
  --t-hover: 220ms cubic-bezier(.4, 0, .2, 1);   /* small state change */
  --t-reveal: 620ms cubic-bezier(.16, .84, .32, 1); /* entrance, longer distance */

  --shadow-card: 0 2px 4px rgba(0,0,0,.2), 0 12px 32px rgba(0,0,0,.28);
  --shadow-lift: 0 4px 10px rgba(0,0,0,.26), 0 24px 56px rgba(0,0,0,.38);
  --shadow-glow: 0 0 0 1px rgba(240,200,120,.25), 0 10px 40px rgba(217,165,76,.22);
}

/* ========================= Base ========================= */

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

html {
  scroll-behavior: smooth;
  /* offset anchors so the sticky header doesn't cover headings */
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance; /* avoids orphan words on headings */
}

p { margin: 0; }
img, svg { display: block; max-width: 100%; }

a {
  color: var(--accent-hi);
  text-decoration: none;
  transition: color var(--t-hover);
}
a:hover { color: var(--gold-300); }

ul, ol { margin: 0; padding: 0; list-style: none; }

/* Visible, consistent focus for keyboard users (never removed) */
:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -140%);
  z-index: 200;
  padding: .75rem 1.25rem;
  background: var(--gold-500);
  color: var(--on-accent);
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: transform var(--t-hover);
}
.skip-link:focus { transform: translate(-50%, 0); }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ========================= Buttons ========================= */

.btn {
  --btn-y: .8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 44px; /* touch target floor */
  padding: var(--btn-y) 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  text-align: center;
  /* transform/opacity/shadow only — never layout-shifting properties */
  transition: background-color var(--t-hover),
              border-color var(--t-hover),
              color var(--t-hover),
              box-shadow var(--t-hover),
              transform var(--t-tap);
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }

.btn-primary {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  color: var(--on-accent); /* ~8:1 on gold */
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 8px 24px rgba(217,165,76,.26);
}
.btn-primary:hover {
  background: linear-gradient(180deg, var(--gold-300), var(--gold-400));
  color: var(--on-accent);
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 12px 34px rgba(217,165,76,.4);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: var(--surface-hi);
  border-color: var(--border-hi);
  color: var(--text);
  transform: translateY(-2px);
}
.btn-ghost:active { transform: translateY(0); }

.btn-sm  { --btn-y: .6rem; padding-inline: 1.1rem; font-size: var(--fs-xs); }
.btn-lg  { --btn-y: 1rem;  padding-inline: 1.9rem; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

/* ========================= Header ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background-color var(--t-hover), border-color var(--t-hover);
}
.site-header.is-stuck {
  background: rgba(6, 13, 26, 0.92);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 74px;
}

.brand { display: flex; align-items: center; gap: .7rem; color: var(--text); flex: none; }
.brand:hover { color: var(--text); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: .6875rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.nav-desktop {
  display: flex;
  gap: 1.9rem;
  margin-inline: auto;
}
.nav-desktop a {
  position: relative;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: 500;
  padding-block: .35rem;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--gold-400);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-hover);
}
.nav-desktop a:hover { color: var(--text); }
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after { transform: scaleX(1); }
.nav-desktop a.is-active { color: var(--gold-400); }

.header-actions { display: flex; align-items: center; gap: 1rem; flex: none; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.header-phone svg { width: 16px; height: 16px; fill: var(--gold-500); }
.header-phone:hover { color: var(--text); }

/* Mobile menu */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 19px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t-hover), opacity var(--t-hover);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: .75rem var(--gutter) 1.75rem;
  background: var(--midnight-900);
  border-top: 1px solid var(--border);
}
.nav-mobile[hidden] { display: none; }
.nav-mobile a {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--text-muted);
  font-size: 1.0625rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:hover { color: var(--text); }
.nav-mobile .btn { margin-top: 1rem; border-bottom: 0; }
.nav-mobile-phone {
  justify-content: center;
  border-bottom: 0 !important;
  color: var(--gold-400) !important;
  font-weight: 600 !important;
}

/* ========================= Shared section bits ========================= */

.section { padding-block: var(--section-y); position: relative; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-title { font-size: var(--fs-h2); margin-bottom: 1rem; }
.section-lede {
  font-size: var(--fs-lede);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 38rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.1rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(240,200,120,.16);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(240,200,120,.14); }
  50%      { box-shadow: 0 0 0 7px rgba(240,200,120,.05); }
}

/* ========================= Hero ========================= */

.hero {
  position: relative;
  padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, var(--midnight-600) 0%, transparent 60%),
    linear-gradient(180deg, var(--midnight-800) 0%, var(--midnight-900) 100%);
}

/* Twinkling star layer — pure CSS, no images */
.starfield {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%,  rgba(255,255,255,.85) 50%, transparent 50%),
    radial-gradient(1.2px 1.2px at 28% 42%,  rgba(255,255,255,.55) 50%, transparent 50%),
    radial-gradient(1.8px 1.8px at 44% 12%,  rgba(255,255,255,.75) 50%, transparent 50%),
    radial-gradient(1.1px 1.1px at 62% 34%,  rgba(255,255,255,.5)  50%, transparent 50%),
    radial-gradient(1.7px 1.7px at 78% 20%,  rgba(255,255,255,.8)  50%, transparent 50%),
    radial-gradient(1.3px 1.3px at 90% 46%,  rgba(255,255,255,.55) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 8%  62%,  rgba(255,255,255,.6)  50%, transparent 50%),
    radial-gradient(1.2px 1.2px at 34% 72%,  rgba(255,255,255,.45) 50%, transparent 50%),
    radial-gradient(1.6px 1.6px at 56% 58%,  rgba(255,255,255,.65) 50%, transparent 50%),
    radial-gradient(1.3px 1.3px at 72% 78%,  rgba(255,255,255,.5)  50%, transparent 50%),
    radial-gradient(1.4px 1.4px at 86% 68%,  rgba(255,255,255,.55) 50%, transparent 50%),
    radial-gradient(1.1px 1.1px at 20% 88%,  rgba(255,255,255,.4)  50%, transparent 50%);
  animation: twinkle 7s ease-in-out infinite alternate;
}
.starfield-sm { opacity: .5; }
@keyframes twinkle {
  from { opacity: .45; }
  to   { opacity: 1; }
}

/* Warm ambient light bloom behind the house */
.hero-glow {
  position: absolute;
  right: -5%;
  top: 18%;
  width: min(760px, 85vw);
  aspect-ratio: 1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(217,165,76,.17) 0%, rgba(217,165,76,.06) 38%, transparent 68%);
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: .8; transform: scale(1); }
  50%      { opacity: 1;  transform: scale(1.06); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-title {
  font-size: var(--fs-display);
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(100deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-400); /* fallback if background-clip unsupported */
}

.hero-sub {
  font-size: var(--fs-lede);
  color: var(--text-muted);
  line-height: 1.72;
  max-width: 34rem;
  margin-bottom: 2.25rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.5rem; }

.hero-trust { display: flex; flex-wrap: wrap; gap: .75rem 1.6rem; }
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--fs-sm);
  color: var(--text-dim);
}
.hero-trust svg { width: 17px; height: 17px; fill: var(--evergreen); flex: none; }
/* lift the evergreen check to meet 3:1 non-text contrast on dark navy */
.hero-trust svg { fill: #3E9E73; }

.hero-art { position: relative; }
.house-svg { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); }

/* Staggered bulb twinkle — each <g class="bulb"> carries its own --d delay */
.bulb { animation: bulbGlow 3.4s ease-in-out infinite; animation-delay: var(--d, 0s); transform-origin: center; }
@keyframes bulbGlow {
  0%, 100% { opacity: .55; }
  50%      { opacity: 1; }
}

/* Stats */
.stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  padding: 1.6rem 1.25rem;
  background: var(--midnight-800);
  text-align: center;
}
.stat dt {
  order: 2;
  font-size: var(--fs-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.stat dd {
  order: 1;
  margin: 0 0 .3rem;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  font-weight: 600;
  color: var(--gold-400);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
/* Word values ("Free", "Included") read better a touch smaller than numerals */
.stat dd.is-text { font-size: clamp(1.5rem, 2.6vw, 1.95rem); }
.stat { display: flex; flex-direction: column; }

/* ========================= Cards (services) ========================= */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}

.card-grid-single { max-width: 640px; margin-inline: auto; }

.card {
  position: relative;
  padding: 2.25rem 1.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform var(--t-hover), border-color var(--t-hover), box-shadow var(--t-hover), background-color var(--t-hover);
}
.card:hover {
  transform: translateY(-6px);
  background: var(--surface-hi);
  border-color: var(--border-hi);
  box-shadow: var(--shadow-lift);
}
.card h3 { font-size: 1.4rem; margin-bottom: .85rem; }
.card > p { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.72; }

.card-featured {
  background: linear-gradient(165deg, rgba(240,200,120,.09), rgba(255,255,255,.03));
  border-color: var(--border-hi);
  box-shadow: var(--shadow-glow);
}

.card-badge {
  position: absolute;
  top: -11px;
  left: 1.9rem;
  padding: .3rem .8rem;
  background: var(--gold-500);
  color: var(--on-accent);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 1.5rem;
  background: linear-gradient(150deg, rgba(240,200,120,.2), rgba(240,200,120,.05));
  border: 1px solid rgba(240,200,120,.28);
  border-radius: var(--r-md);
}
.card-icon svg { width: 26px; height: 26px; fill: var(--gold-400); }

.card-list { margin-top: 1.5rem; display: grid; gap: .65rem; }
.card-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: var(--fs-sm);
  color: var(--text-dim);
}
.card-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
}

.services-note {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-top: 2.5rem;
  padding: 1rem 1.3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.services-note svg { width: 19px; height: 19px; fill: var(--gold-400); flex: none; }

/* ========================= Process steps ========================= */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 2rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: transform var(--t-hover), border-color var(--t-hover), background-color var(--t-hover);
}
.step:hover {
  transform: translateY(-4px);
  border-color: var(--border-hi);
  background: var(--surface-hi);
}
.step-num {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 1.25rem;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
  color: var(--on-accent);
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(217,165,76,.3);
}
.step h3 { font-size: var(--fs-h3); margin-bottom: .6rem; }
.step p { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.7; }

/* connector line between steps on wide screens */
@media (min-width: 1000px) {
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: calc(2rem + 23px); /* aligns with the vertical center of .step-num */
    right: -1.5rem;
    width: 1.5rem;
    height: 1px;
    background: linear-gradient(90deg, var(--border-hi), transparent);
  }
}

/* ========================= Why us ========================= */

.why-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.why-copy .btn { margin-top: 2rem; }

.why-list { display: grid; gap: 1.6rem; }
.why-item { display: flex; gap: 1.1rem; }
.why-item svg {
  width: 26px; height: 26px;
  flex: none;
  padding: 4px;
  fill: var(--on-accent);
  background: var(--gold-500);
  border-radius: 50%;
  margin-top: 2px;
}
.why-item h3 { font-size: var(--fs-h3); margin-bottom: .4rem; }
.why-item p { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.7; }

/* ========================= Gallery ========================= */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.shot {
  position: relative;
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--midnight-700);
  transition: transform var(--t-hover), border-color var(--t-hover), box-shadow var(--t-hover);
}
.shot:hover {
  transform: translateY(-5px);
  border-color: var(--border-hi);
  box-shadow: var(--shadow-lift);
}
.shot-tall { grid-row: span 2; }
.shot-wide { grid-column: span 2; }

/* Placeholder "photo" — swap for real <img>. Height reserved to avoid CLS. */
.shot-ph {
  width: 100%;
  min-height: 190px;
  height: 100%;
  background:
    radial-gradient(circle at 30% 70%, rgba(240,200,120,.3), transparent 45%),
    radial-gradient(circle at 70% 40%, rgba(240,200,120,.22), transparent 42%),
    linear-gradient(170deg, var(--midnight-600), var(--midnight-900));
}
.shot-tall .shot-ph { min-height: 400px; }
.shot-ph[data-scheme="cool"] {
  background:
    radial-gradient(circle at 35% 60%, rgba(180,214,255,.32), transparent 45%),
    radial-gradient(circle at 72% 38%, rgba(214,232,255,.2), transparent 42%),
    linear-gradient(170deg, var(--midnight-600), var(--midnight-900));
}
.shot-ph[data-scheme="multi"] {
  background:
    radial-gradient(circle at 24% 62%, rgba(193,68,46,.34), transparent 38%),
    radial-gradient(circle at 48% 44%, rgba(240,200,120,.3), transparent 36%),
    radial-gradient(circle at 74% 64%, rgba(62,158,115,.32), transparent 38%),
    linear-gradient(170deg, var(--midnight-600), var(--midnight-900));
}
.shot-ph[data-scheme="commercial"] {
  background:
    radial-gradient(circle at 50% 76%, rgba(240,200,120,.26), transparent 50%),
    linear-gradient(170deg, var(--midnight-500), var(--midnight-900));
}
.shot-ph[data-scheme="estate"] {
  background:
    radial-gradient(circle at 18% 66%, rgba(240,200,120,.3), transparent 32%),
    radial-gradient(circle at 44% 52%, rgba(240,200,120,.26), transparent 30%),
    radial-gradient(circle at 68% 66%, rgba(240,200,120,.3), transparent 32%),
    radial-gradient(circle at 88% 56%, rgba(62,158,115,.26), transparent 30%),
    linear-gradient(170deg, var(--midnight-600), var(--midnight-900));
}

/* Real photos sit on top of the placeholder, which keeps the height reserved.
   If a file is missing, main.js adds .is-missing and the gradient shows through
   instead of a broken-image icon. */
.shot picture {
  position: absolute;
  inset: 0;
  display: block;
}
.shot picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.shot picture img.is-missing { display: none; }

.shot figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 2.5rem 1.1rem .95rem;
  background: linear-gradient(transparent, rgba(6,13,26,.94) 55%);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--slate-200);
}

/* ========================= Testimonials ========================= */

.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}
.quote {
  margin: 0;
  padding: 2rem 1.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform var(--t-hover), border-color var(--t-hover);
}
.quote:hover { transform: translateY(-4px); border-color: var(--border-hi); }

.stars { display: flex; gap: .2rem; margin-bottom: 1.1rem; }
.stars svg { width: 18px; height: 18px; fill: var(--gold-400); }

.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: 'Playfair Display', serif;
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.68;
  color: var(--slate-200);
}
.quote figcaption {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}
.quote-name { font-weight: 600; font-size: var(--fs-sm); }
.quote-meta { font-size: var(--fs-xs); color: var(--text-dim); }

/* ========================= Pricing ========================= */

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.price {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.4rem 1.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform var(--t-hover), border-color var(--t-hover), box-shadow var(--t-hover);
}
.price:hover { transform: translateY(-5px); border-color: var(--border-hi); box-shadow: var(--shadow-lift); }
.price-featured {
  background: linear-gradient(165deg, rgba(240,200,120,.1), rgba(255,255,255,.03));
  border-color: var(--border-hi);
  box-shadow: var(--shadow-glow);
}
.price h3 { font-size: 1.5rem; margin-bottom: .35rem; }
.price-for { font-size: var(--fs-xs); color: var(--text-dim); margin-bottom: 1.5rem; }
.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gold-400);
  margin-bottom: 1.75rem;
}
.price-from {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: .3rem;
}
.price-unit {
  font-family: 'Inter', sans-serif;
  font-size: .875rem;
  font-weight: 400;
  color: var(--text-dim);
}
.price-list { display: grid; gap: .7rem; margin-bottom: 2rem; flex: 1; }
.price-list li {
  position: relative;
  padding-left: 1.7rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.price-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .45em;
  width: 11px; height: 6px;
  border-left: 2px solid var(--gold-500);
  border-bottom: 2px solid var(--gold-500);
  transform: rotate(-45deg);
}

/* ========================= FAQ ========================= */

.faq-shell { max-width: 840px; }
.faq-list { display: grid; gap: .8rem; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-hover), background-color var(--t-hover);
}
.faq-item[open] { border-color: var(--border-hi); background: var(--surface-hi); }
.faq-item:hover { border-color: var(--border-hi); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: 1.1rem 1.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev {
  width: 22px; height: 22px;
  flex: none;
  fill: var(--gold-400);
  transition: transform var(--t-hover);
}
.faq-item[open] .faq-chev { transform: rotate(180deg); }

.faq-body { padding: 0 1.4rem 1.4rem; }
.faq-body p { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.75; max-width: 60ch; }

/* ========================= Quote / contact ========================= */

.quote-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 15% 0%, var(--midnight-600) 0%, transparent 62%),
    linear-gradient(180deg, var(--midnight-900), var(--midnight-800));
}
.quote-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.quote-contact { display: grid; gap: 1rem; margin-top: 2.25rem; }
.quote-contact li { display: flex; align-items: center; gap: .8rem; font-size: var(--fs-sm); color: var(--text-muted); }
.quote-contact svg { width: 19px; height: 19px; fill: var(--gold-400); flex: none; }
.quote-contact a { color: var(--text); font-weight: 500; }
.quote-contact a:hover { color: var(--gold-400); }

.quote-form {
  padding: clamp(1.6rem, 3vw, 2.5rem);
  background: rgba(10, 22, 40, .72);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px);
}

.field { display: flex; flex-direction: column; margin-bottom: 1.15rem; border: 0; padding: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.field label,
.field legend {
  margin-bottom: .45rem;
  padding: 0;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.req { color: var(--gold-400); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: .75rem .9rem;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-body); /* 16px — prevents iOS zoom-on-focus */
  transition: border-color var(--t-hover), background-color var(--t-hover), box-shadow var(--t-hover);
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.field input::placeholder,
.field textarea::placeholder { color: var(--slate-400); }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(255,255,255,.2); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: rgba(255,255,255,.08);
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(240,200,120,.2);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F0C878'%3E%3Cpath d='M7.4 8.6 12 13.2l4.6-4.6L18 10l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 20px;
  padding-right: 2.6rem;
}
.field select option { background: var(--midnight-800); color: var(--text); }

/* Error shown next to its own field, not only summarized at top */
.err { margin-top: .4rem; font-size: var(--fs-xs); color: #FF9E8F; font-weight: 500; }
.err[hidden] { display: none; }
.hint { margin-top: .4rem; font-size: var(--fs-xs); color: var(--text-dim); }

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #E8705C;
  box-shadow: 0 0 0 3px rgba(232,112,92,.18);
}

.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .5rem; }
.check {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  padding: .5rem .85rem;
  margin: 0;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-muted);
  transition: border-color var(--t-hover), background-color var(--t-hover), color var(--t-hover);
}
.check:hover { border-color: var(--border-hi); color: var(--text); }
.check input { width: 18px; height: 18px; accent-color: var(--gold-500); flex: none; margin: 0; }
.check:has(input:checked) {
  border-color: var(--border-hi);
  background: rgba(240,200,120,.1);
  color: var(--text);
}

/* Photo uploads — one file per input (Netlify Forms limit) */
.files { display: grid; gap: .5rem; }
.field input[type="file"] {
  min-height: 44px;
  padding: .45rem .6rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  cursor: pointer;
}
.field input[type="file"]::file-selector-button {
  margin-right: .8rem;
  padding: .45rem .9rem;
  background: rgba(240,200,120,.12);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
}

.quote-form .btn { margin-top: .6rem; }
.form-foot { margin-top: 1rem; font-size: var(--fs-xs); color: var(--text-dim); text-align: center; }

.form-status { margin-top: 1rem; font-size: var(--fs-sm); font-weight: 500; text-align: center; }
.form-status:empty { display: none; }
.form-status.is-ok {
  padding: .9rem 1rem;
  background: rgba(62,158,115,.14);
  border: 1px solid rgba(62,158,115,.4);
  border-radius: var(--r-sm);
  color: #8FE3BC;
}
.form-status.is-err {
  padding: .9rem 1rem;
  background: rgba(232,112,92,.12);
  border: 1px solid rgba(232,112,92,.4);
  border-radius: var(--r-sm);
  color: #FF9E8F;
}
.form-status.is-warn {
  padding: .9rem 1rem;
  background: rgba(240,200,120,.1);
  border: 1px solid rgba(240,200,120,.38);
  border-radius: var(--r-sm);
  color: var(--gold-300);
  text-align: left;
  line-height: 1.6;
}

/* Honeypot — removed from view and from the a11y tree, but still submitted.
   Deliberately not display:none, which some bots skip. */
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Submit button while the request is in flight */
.btn[disabled],
.btn[aria-busy="true"] {
  opacity: .62;
  cursor: not-allowed;
  pointer-events: none;
}

/* ========================= Service areas page ========================= */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(ellipse 85% 70% at 30% -10%, var(--midnight-600) 0%, transparent 62%),
    linear-gradient(180deg, var(--midnight-800), var(--midnight-900));
}
.page-hero-inner { position: relative; z-index: 1; max-width: 46rem; }
.page-title { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 1.25rem; }
.page-hero .hero-cta { margin-top: 2.25rem; margin-bottom: 0; }

.breadcrumb { margin-bottom: 1.75rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.breadcrumb li { display: flex; align-items: center; gap: .5rem; font-size: var(--fs-xs); color: var(--text-dim); }
.breadcrumb li + li::before {
  content: '';
  width: 5px; height: 5px;
  border-top: 1.5px solid var(--slate-400);
  border-right: 1.5px solid var(--slate-400);
  transform: rotate(45deg);
  flex: none;
}
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb [aria-current="page"] { color: var(--text-muted); font-weight: 500; }

.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.4rem;
}
.area-card {
  padding: 1.9rem 1.7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform var(--t-hover), border-color var(--t-hover), background-color var(--t-hover), box-shadow var(--t-hover);
}
.area-card:hover {
  transform: translateY(-5px);
  background: var(--surface-hi);
  border-color: var(--border-hi);
  box-shadow: var(--shadow-lift);
}
.area-card h3 {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.45rem;
  margin-bottom: .55rem;
}
.area-card h3::before {
  content: '';
  width: 9px; height: 9px;
  flex: none;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 10px rgba(240,200,120,.6);
}
.area-note {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 1.25rem;
}
.area-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.area-tags li {
  padding: .3rem .7rem;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  color: var(--text-dim);
}

.hood-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.5rem;
}
.hood-col {
  padding: 1.6rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.hood-col h3 {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}
.hood-col ul { display: grid; gap: .6rem; }
.hood-col li {
  position: relative;
  padding-left: 1.1rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.hood-col li::before {
  content: '';
  position: absolute;
  left: 0; top: .66em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--slate-400);
}

.outside-inner {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}
.outside-inner .section-lede { margin-inline: auto; margin-top: 1rem; }
.outside-inner .hero-cta { margin-top: 2.25rem; margin-bottom: 0; }

/* ========================= Footer ========================= */

.site-footer {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--midnight-900);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-blurb {
  margin-top: 1.1rem;
  font-size: var(--fs-sm);
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 28rem;
}
.footer-col { display: flex; flex-direction: column; gap: .7rem; }
.footer-col h2 {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: .4rem;
}
.footer-col a { font-size: var(--fs-sm); color: var(--text-dim); }
.footer-col a:hover { color: var(--gold-400); }
.footer-hours { margin-top: .4rem; font-size: var(--fs-xs); color: var(--slate-400); line-height: 1.7; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: var(--fs-xs);
  color: var(--slate-400);
}

/* Sticky mobile CTA */
.float-cta {
  position: fixed;
  z-index: 90;
  right: 1rem;
  bottom: 1rem;
  display: none;
  align-items: center;
  min-height: 50px;
  padding: .85rem 1.5rem;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  color: var(--on-accent);
  font-size: var(--fs-sm);
  font-weight: 700;
  border-radius: var(--r-pill);
  box-shadow: 0 8px 28px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.2) inset;
}
.float-cta:hover { color: var(--on-accent); }

/* ========================= Scroll reveal ========================= */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--t-reveal), transform var(--t-reveal);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ========================= Responsive ========================= */

@media (max-width: 1080px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { justify-content: space-between; }
  .header-actions { margin-left: auto; }
}

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 520px; margin-inline: auto; }
  .hero-copy { text-align: left; }
  .why-grid,
  .quote-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .shot-tall { grid-row: span 1; }
  .shot-wide { grid-column: span 2; }
  .shot-tall .shot-ph { min-height: 190px; }
}

@media (max-width: 760px) {
  .header-phone { display: none; }
  .header-actions .btn { display: none; }
  .float-cta { display: inline-flex; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 560px) {
  :root { --section-y: 3.75rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-trust { flex-direction: column; gap: .6rem; }
  .stats { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .shot-wide { grid-column: span 1; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .card, .price, .quote { padding-inline: 1.4rem; }
}

/* Landscape phones: keep the hero from eating the whole viewport */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { padding-top: 2rem; }
  .hero-art { max-width: 340px; }
}

/* ========================= Reduced motion =========================
   Render the final, readable state of every effect — no entrance
   animations, no twinkle, no parallax-style motion. */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal { opacity: 1; transform: none; }
  .starfield { opacity: .8; animation: none; }
  .hero-glow { animation: none; opacity: .9; transform: none; }
  .bulb { animation: none; opacity: 1; }
  .eyebrow-dot { animation: none; }

  /* keep hover affordances, drop the movement */
  .card:hover, .step:hover, .price:hover, .quote:hover, .shot:hover,
  .btn-primary:hover, .btn-ghost:hover { transform: none; }
}

/* ========================= Print ========================= */

@media print {
  .site-header, .float-cta, .hero-art, .starfield, .hero-glow, .nav-mobile { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
  .section { padding-block: 1.5rem; }
}
