/* =========================================================
   Ephesians 2:8 — stylesheet
   Design tokens + reset + layout + components + responsive
   ========================================================= */

:root {
  /* Brand palette */
  --ink: #15171b;            /* primary dark (matches site theme-color) */
  --ink-2: #1c2027;          /* secondary dark panel */
  --ink-3: #262b34;          /* tertiary dark, borders on dark */
  --paper: #ffffff;
  --paper-alt: #f4f6f9;      /* light section background */
  --paper-line: #e4e8ef;     /* light borders */
  --text: #171a1f;
  --text-muted: #5b6270;
  --text-soft: #8891a1;
  --text-inverse: #f5f7fa;
  --text-inverse-muted: #aab2c0;

  --accent: #2563eb;         /* primary blue accent */
  --accent-2: #0ea5e9;       /* secondary cyan-blue */
  --accent-ink: #0f3f9e;     /* accent on light bg (text) */
  --accent-soft: #e8f0fe;    /* accent tint background */
  --good: #2fbf71;           /* open-now green */

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.16);

  --container: 1180px;
  --gap: clamp(1rem, 2vw, 1.75rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.28s;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body { margin: 0; }
img, picture { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; flex: none; vertical-align: -0.125em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
table { border-collapse: collapse; width: 100%; }
input, select, textarea { font: inherit; color: inherit; }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow.on-dark { color: var(--accent-2); }

h1, .h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}
h2, .h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.015em;
}
h3, .h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.lede {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  max-width: 62ch;
}
.section-head { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); max-width: 68ch; }
.section-head + .section-head { margin-top: -1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.5em;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.96rem;
  border: 1.5px solid transparent;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-ink); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text-inverse);
}
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--paper-line);
  color: var(--text);
}
.btn-outline-dark:hover { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }

.btn-sm { padding: 0.6em 1.15em; font-size: 0.86rem; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(21, 23, 27, 0.86);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  flex-direction: column;
  color: var(--text-inverse);
  line-height: 1.1;
}
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand-name span { color: var(--accent-2); }
.brand-tag { font-size: 0.72rem; color: var(--text-inverse-muted); letter-spacing: 0.02em; margin-top: 2px; }

.nav-desktop { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav-links { display: flex; gap: clamp(1rem, 2vw, 1.9rem); }
.nav-links a {
  color: var(--text-inverse-muted);
  font-weight: 600;
  font-size: 0.94rem;
  position: relative;
  padding: 0.35em 0;
  transition: color var(--dur) var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 2px;
  background: var(--accent-2);
  transition: right var(--dur) var(--ease);
  border-radius: 2px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-inverse);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.45em 0.9em 0.45em 0.7em;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 0 rgba(47, 191, 113, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 191, 113, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(47, 191, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 191, 113, 0); }
}

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  align-items: center;
  justify-content: center;
  color: #fff;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--ink);
  z-index: 90;
  padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-inverse);
  font-weight: 700;
  font-size: 1.15rem;
}
.mobile-menu .status-pill { margin-top: 1.5rem; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1100px 520px at 15% -10%, #1e2735 0%, var(--ink) 55%),
    linear-gradient(180deg, var(--ink), var(--ink-2));
  color: var(--text-inverse);
  padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 6vw, 4rem);
  overflow: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}
.hero h1 em, .hero h1 i { color: var(--accent-2); font-style: normal; }
.hero .lede { color: var(--text-inverse-muted); margin-top: 1.1rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.75rem; }
.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Full-bleed photo hero (homepage) ---------- */
.hero-photo {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 78vh, 800px);
  display: flex;
  align-items: center;
  padding-block: clamp(3rem, 9vw, 5rem);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  z-index: -2;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(8, 10, 14, 0.92) 0%, rgba(8, 10, 14, 0.82) 32%, rgba(8, 10, 14, 0.45) 62%, rgba(8, 10, 14, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 10, 14, 0.65) 0%, rgba(8, 10, 14, 0.05) 40%, rgba(8, 10, 14, 0) 70%);
}
.hero-content {
  max-width: 640px;
  background: rgba(8, 10, 14, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 1.75rem) clamp(1.5rem, 3.5vw, 1.9rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-content .lede { color: #e7ebf2; }
.hero-content .stat-row { border-top-color: rgba(255, 255, 255, 0.22); }

.hero-photo-caption {
  position: absolute;
  top: clamp(1.25rem, 3vw, 1.75rem);
  right: clamp(1rem, 4vw, 3rem);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.hero-photo-caption svg { width: 1.05em; height: 1.05em; opacity: 0.9; }

/* Reserve the header brand's layout space so the nav doesn't shift, but
   hide the text itself (used on the homepage, where the hero photo already
   carries the branding). */
.brand--hidden { visibility: hidden; }

@media (max-width: 760px) {
  .hero-photo { min-height: clamp(520px, 88vh, 720px); align-items: flex-end; padding-bottom: 2.5rem; }
  .hero-bg { object-position: center 70%; }
  .hero-scrim {
    background:
      linear-gradient(0deg, rgba(8, 10, 14, 0.94) 0%, rgba(8, 10, 14, 0.8) 45%, rgba(8, 10, 14, 0.35) 75%, rgba(8, 10, 14, 0.1) 100%);
  }
  .hero-content { max-width: 100%; }
  .hero-photo-caption { top: 0.9rem; right: 1rem; font-size: 0.72rem; }
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(1.75rem, 4vw, 2.25rem);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.stat b { display: block; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: #fff; }
.stat span { font-size: 0.85rem; color: var(--text-inverse-muted); }

/* ---------- Image placeholder (used until real photos are added) ---------- */
.ph {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.10), rgba(255,255,255,0) 45%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, #2a3444, #171b22);
  color: var(--text-inverse);
  padding: 1.1rem;
}
.ph::before {
  content: "";
  position: absolute; inset: 0;
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: inherit;
  pointer-events: none;
}
.ph-label { display: flex; align-items: center; gap: 0.55em; font-size: 0.8rem; font-weight: 700; color: var(--text-inverse-muted); }
.ph-label svg { width: 18px; height: 18px; opacity: 0.85; flex: none; }
.card .ph, .nearby-card .ph { border-radius: inherit; }

.img-slot { width: 100%; height: 100%; overflow: hidden; border-radius: inherit; }
.img-slot img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.nearby-card .img-slot { width: 84px; height: 64px; border-radius: var(--radius-sm); flex: none; }
.inline-pin { width: 14px; height: 14px; vertical-align: -2px; margin-right: 2px; opacity: 0.7; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5rem); }
/* Cross-page deep links (e.g. the homepage's "Overcharged?" button landing
   on the Payment section) shouldn't tuck their heading under the sticky
   header. */
#payment { scroll-margin-top: 90px; }
.section-alt { background: var(--paper-alt); }
.section-dark {
  background: linear-gradient(180deg, var(--ink), var(--ink-2));
  color: var(--text-inverse);
}
.section-dark .text-muted { color: var(--text-inverse-muted); }

/* ---------- Clearance tool ---------- */
.tool-panel {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.tool-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  border: 1.5px solid var(--paper-line);
  background: #fff;
  padding: 0.6em 1.1em;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
  transition: all var(--dur) var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--accent-ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.tool-exact {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--paper-line);
  flex-wrap: wrap;
}
.tool-exact label { font-weight: 700; font-size: 0.9rem; }
.tool-exact input[type="range"] { flex: 1; min-width: 180px; accent-color: var(--accent); }
.tool-exact-value { font-weight: 800; color: var(--accent-ink); min-width: 5.5ch; }
.tool-results { margin-top: 1.5rem; display: grid; gap: 0.75rem; }
.tool-result-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--paper-alt);
  border: 1px solid var(--paper-line);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.tool-result-row.is-hidden { display: none; }
.tool-result-row .fit-ok { color: #167a45; font-weight: 700; font-size: 0.85rem; }
.tool-result-row .fit-no { color: #b3261e; font-weight: 700; font-size: 0.85rem; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-locations { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-media { aspect-ratio: 16/10.5; position: relative; }
.card-ribbon {
  position: absolute;
  top: 0.85rem;
  left: -0.4rem;
  z-index: 2;
  background: #b45309;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.35em 0.9em 0.35em 1.1em;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.35);
}
.card-body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: 0.65rem; flex: 1; }
.card-body h3 { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.card-addr { color: var(--text-muted); font-size: 0.92rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.15rem; }
.badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.32em 0.7em;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.badge.alt { background: #fff2e0; color: #8a5300; }
.badge.badge-coming-soon, .badge-coming-soon { background: #b45309; color: #fff; }
.coming-soon-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #b45309;
  background: #fff2e0;
  padding: 0.15em 0.55em;
  border-radius: var(--radius-pill);
  vertical-align: middle;
}
.clearance-mini { display: flex; gap: 1.25rem; font-size: 0.85rem; color: var(--text-muted); margin-top: 0.15rem; }
.clearance-mini b { color: var(--text); font-weight: 700; }
.card-actions { display: flex; gap: 0.6rem; margin-top: auto; padding-top: 0.5rem; }

.nearby-card { display: flex; gap: 0.9rem; align-items: center; padding: 0.85rem; border-radius: var(--radius-md); border: 1px solid var(--paper-line); background: #fff; transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.nearby-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.nearby-card .ph, .nearby-card img { width: 84px; height: 64px; border-radius: var(--radius-sm); object-fit: cover; flex: none; }
.nearby-card .ph-label { font-size: 0.6rem; }
.nearby-card .ph-label svg { width: 13px; height: 13px; }

/* Feature list ("In the bay" style, 8 items) */
.feature-grid { grid-template-columns: repeat(4, 1fr); }
.feature-item {
  padding: 1.4rem 1.2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.feature-item:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-3px); }
.feature-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.16);
  color: var(--accent-2);
  margin-bottom: 0.9rem;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-item .eyebrow { display: block; margin-bottom: 0.3rem; }
.feature-item p { color: var(--text-inverse-muted); font-size: 0.92rem; }

/* light variant of feature list (used on info page) */
.feature-item.light { background: #fff; border-color: var(--paper-line); }
.feature-item.light .feature-icon { background: var(--accent-soft); color: var(--accent-ink); }
.feature-item.light p { color: var(--text-muted); }
.feature-item.light .eyebrow { color: var(--accent-ink); }

/* Numbered steps */
.step-list { counter-reset: step; display: grid; gap: 1rem; }
.step {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--paper-line);
}
.step-num {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

/* Touchless / split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-md); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }

/* Testimonials */
.testimonial {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stars { display: flex; gap: 0.2rem; color: #f5a524; }
.stars svg { width: 16px; height: 16px; }
.testimonial p { color: var(--text); font-size: 0.98rem; }
.testimonial-author { font-weight: 700; font-size: 0.88rem; color: var(--text-muted); }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--paper-line); box-shadow: var(--shadow-sm); }
table.clearance-table { min-width: 640px; }
.clearance-table th, .clearance-table td {
  text-align: left;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--paper-line);
  font-size: 0.94rem;
}
.clearance-table thead th {
  background: var(--paper-alt);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.clearance-table tbody tr:last-child td { border-bottom: none; }
.clearance-table tbody tr:hover { background: var(--accent-soft); }
.clearance-table a { color: var(--accent-ink); font-weight: 700; }

.callout {
  background: var(--accent-soft);
  border: 1px solid #cfe0fb;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  font-size: 0.95rem;
  color: #17223d;
  margin-top: 1.25rem;
}

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-weight: 700; font-size: 0.88rem; }
.field input, .field select, .field textarea {
  padding: 0.85em 1em;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--paper-line);
  background: #fff;
  font-size: 0.98rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.form-success {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  background: #e9f9ef;
  border: 1px solid #bfe9cf;
  color: #14532d;
  font-weight: 600;
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 22px; height: 22px; flex: none; color: #2fbf71; }
form.is-hidden { display: none; }

/* Map */
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--paper-line); box-shadow: var(--shadow-sm); }
.map-frame iframe { width: 100%; height: 260px; border: 0; display: block; }

/* Combined "all seven locations" overview map (Leaflet) */
.map-overview {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--paper-line);
  box-shadow: var(--shadow-md);
  background: var(--paper-alt);
  z-index: 0;
}
.map-overview .leaflet-container { font-family: var(--font-sans); z-index: 0; }
.map-overview .leaflet-popup-content-wrapper { border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.map-overview .leaflet-popup-content { margin: 0.9rem 1rem; }
.wash-pin-dot {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.4);
  transform: rotate(-45deg);
}
.wash-pin-dot--soon { background: #b45309; }
.map-popup { display: flex; flex-direction: column; gap: 0.35rem; min-width: 180px; }
.map-popup strong { font-size: 0.95rem; }
.map-popup span { font-size: 0.82rem; color: var(--text-muted); }
.map-popup-actions { display: flex; gap: 0.9rem; margin-top: 0.25rem; }
.map-popup-actions a { font-weight: 700; font-size: 0.82rem; color: var(--accent-ink); }

.map-overview--fallback,
.map-fallback {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.map-fallback { padding: 1.75rem; }
.map-fallback p { font-size: 0.92rem; color: var(--text-muted); }
.map-fallback ul { margin-top: 0.9rem; display: grid; gap: 0.5rem; }
.map-fallback li { font-size: 0.88rem; color: var(--text-muted); }
.map-fallback a { color: var(--accent-ink); font-weight: 700; }

/* Breadcrumb */
.breadcrumb { display: flex; gap: 0.5em; align-items: center; font-size: 0.85rem; color: var(--text-inverse-muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--text-inverse-muted); transition: color var(--dur); }
.breadcrumb a:hover { color: #fff; }

/* Page hero (secondary pages, shorter than home hero) */
.page-hero { padding-block: clamp(2.5rem, 6vw, 3.75rem); }
.page-hero .h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.key-info-row { display: flex; flex-wrap: wrap; gap: clamp(1.25rem, 4vw, 3rem); margin-top: 2rem; }
.key-info { display: flex; flex-direction: column; gap: 0.15rem; }
.key-info b { font-size: 1.35rem; font-weight: 800; }
.key-info span { font-size: 0.8rem; color: var(--text-inverse-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--text-inverse-muted); padding-block: clamp(3rem, 6vw, 4rem) 1.75rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem, 5vw, 3rem); }
.footer-brand .brand-name { color: var(--text-inverse); }
.footer-desc { margin-top: 0.9rem; max-width: 38ch; font-size: 0.92rem; }
.footer-col h4 { color: var(--text-inverse); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col a { font-size: 0.92rem; transition: color var(--dur); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
}
.footer-bottom > :nth-child(1) { justify-self: start; }
.footer-bottom > :nth-child(2) { justify-self: center; }
.footer-bottom > :nth-child(3) { justify-self: end; }
.footer-bottom a { font-weight: 700; color: var(--text-inverse-muted); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.flex-center { display: flex; align-items: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 1rem; top: -60px;
  background: #fff; color: var(--ink); padding: 0.75rem 1.1rem;
  border-radius: var(--radius-sm); font-weight: 700; z-index: 200;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-media, .split-media { order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: block; }
  .stat-row { grid-template-columns: repeat(2, 1fr); row-gap: 1.5rem; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { grid-template-columns: 1fr; text-align: left; }
  .footer-bottom > :nth-child(1), .footer-bottom > :nth-child(2), .footer-bottom > :nth-child(3) { justify-self: start; }
  .key-info-row { gap: 1.5rem 2rem; }
}

@media (max-width: 520px) {
  .grid-3, .grid-4, .feature-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas .btn { flex: 1 1 auto; }
  .card-actions { flex-direction: column; }
  .card-actions .btn { width: 100%; }
}

/* ---------- Photo gallery + lightbox ---------- */
.photo-gallery { margin-top: 1.5rem; }
.photo-strip {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.photo-strip::-webkit-scrollbar { height: 8px; }
.photo-strip::-webkit-scrollbar-thumb { background: var(--paper-line); border-radius: var(--radius-pill); }
.photo-thumb {
  flex: none;
  width: 190px;
  height: 140px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  scroll-snap-align: start;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  position: relative;
}
.photo-thumb:hover, .photo-thumb:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(10, 12, 16, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox[hidden] { display: none; }
.lightbox-figure { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; max-width: min(92vw, 1100px); max-height: 90vh; }
.lightbox-img { max-width: 100%; max-height: 78vh; border-radius: var(--radius-md); box-shadow: var(--shadow-md); object-fit: contain; }
.lightbox-count { color: rgba(255, 255, 255, 0.75); font-size: 0.85rem; font-weight: 600; }
.lightbox-btn {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-pill);
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.lightbox-btn svg { width: 1.3em; height: 1.3em; }
.lightbox-btn:hover, .lightbox-btn:focus-visible { background: rgba(255, 255, 255, 0.22); }
.lightbox-close { top: clamp(0.75rem, 3vw, 1.5rem); right: clamp(0.75rem, 3vw, 1.5rem); }
.lightbox-prev { left: clamp(0.5rem, 3vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: clamp(0.5rem, 3vw, 1.5rem); top: 50%; transform: translateY(-50%); }

@media (max-width: 560px) {
  .photo-thumb { width: 150px; height: 112px; }
  .lightbox-btn { width: 40px; height: 40px; }
}
