/* ==========================================================================
   Sunshine Lighting Co. — Design System
   Display: Fraunces (warm, characterful serif — echoes the vintage sun mark)
   Body: Inter (clean, quiet, gets out of the way)
   ========================================================================== */

:root {
  --bg: #0a0b0d;
  --bg-alt: #131518;
  --bg-alt-2: #1a1d21;
  --bg-alt-3: #202429;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #f6f3ec;
  --text-muted: #b7b7b2;
  --text-dim: #7d7e7c;

  --gold: #f0b429;
  --gold-bright: #ffd25f;
  --gold-deep: #b9791a;
  --gold-glow: rgba(240, 180, 41, 0.35);
  --gold-glow-soft: rgba(240, 180, 41, 0.14);

  --night-blue: #0d1420;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 22px;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- utility ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px 2px var(--gold-glow);
  flex-shrink: 0;
}

.section {
  padding: clamp(64px, 10vw, 140px) 0;
  position: relative;
}
.section-alt { background: var(--bg-alt); }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

h2.headline {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  color: var(--text);
}
h2.headline em {
  font-style: italic;
  color: var(--gold);
}

.lede {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 52ch;
}
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1a1300;
  box-shadow: 0 8px 30px -8px var(--gold-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -8px var(--gold-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}
.btn-block { width: 100%; }

/* ---------- nav ---------- */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled {
  padding: 14px 0;
  background: rgba(10, 11, 13, 0.96);
  border-bottom-color: var(--line);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Fjalla One", "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--text);
  white-space: nowrap;
}
.brand img { height: 48px; width: auto; flex-shrink: 0; }
.brand .brand-wordmark { height: 30px; }
.site-nav .brand { gap: 4px; }
.site-nav .brand .brand-icon { height: 74px; }
.site-nav .brand .brand-wordmark { height: 42px; }
@media (max-width: 640px) {
  .site-nav .brand .brand-icon { height: 52px; }
  .site-nav .brand .brand-wordmark { height: 30px; }
}
.brand small {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 3px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 38px);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-links a { transition: color 0.25s var(--ease); position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 14px; }
.site-nav .nav-cta .btn { padding: 11px 22px; font-size: 0.86rem; }
@media (max-width: 480px) {
  .site-nav .nav-cta .btn { padding: 9px 16px; font-size: 0.78rem; }
}
.nav-phone {
  display: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.nav-phone svg { vertical-align: -3px; margin-right: 6px; color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-family: "Fraunces", serif;
  font-size: 1.8rem;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}
.mobile-panel.open { transform: translateY(0); }
.mobile-panel a { color: var(--text); }
.mobile-panel .btn { margin-top: 10px; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}
@media (min-width: 640px) {
  .nav-phone { display: block; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--night-blue);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--night-blue);
}
.hero-media > img,
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
@media (max-width: 640px) {
  .hero-media > img,
  .hero-media video { object-position: center 30%; }
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,7,9,0.55) 0%, rgba(6,7,9,0.15) 30%, rgba(6,7,9,0.55) 68%, var(--bg) 100%),
    linear-gradient(90deg, rgba(6,7,9,0.55) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 200px;
  padding-bottom: 96px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(20, 21, 24, 0.75);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 28px;
}
.hero-eyebrow svg { color: var(--gold); }

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  max-width: 15ch;
  color: var(--text);
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(100deg, var(--gold-bright), var(--gold) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 26px;
  max-width: 44ch;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.hero-actions {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-stats {
  margin-top: 64px;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 56px);
  border-top: 1px solid var(--line);
  padding-top: 28px;
  max-width: 720px;
}
.hero-stat .num {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  color: var(--gold-bright);
}
.hero-stat .label {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-top: 2px;
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 36px;
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-cue .line {
  width: 1px; height: 44px;
  background: linear-gradient(var(--gold), transparent);
}
@media (min-width: 860px) { .scroll-cue { display: flex; } }

/* ---------- page hero (interior pages) ---------- */

.page-hero {
  position: relative;
  padding: 172px 0 90px;
  background: var(--night-blue);
  overflow: hidden;
}
.page-hero-media {
  position: absolute; inset: 0; z-index: 0;
}
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,9,11,0.72), rgba(8,9,11,0.55) 55%, var(--bg) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 20ch; }
.page-hero .lede { color: var(--text-muted); margin-top: 20px; font-size: 1.08rem; max-width: 60ch; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--text-dim);
  margin-bottom: 22px;
}
.breadcrumb a:hover { color: var(--gold); }

/* ---------- service cards ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  background: var(--bg-alt);
  padding: 40px 32px;
  position: relative;
  transition: background 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  min-height: 300px;
}
.service-card:hover { background: var(--bg-alt-2); }
.service-card .icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--gold-glow-soft);
  color: var(--gold);
  margin-bottom: 26px;
}
.service-card h3 {
  font-size: 1.28rem;
  color: var(--text);
  margin-bottom: 12px;
}
.service-card p { color: var(--text-muted); font-size: 0.96rem; flex-grow: 1; }
.service-card .tag {
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 1080px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- service detail rows (services page) ---------- */

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding: clamp(48px, 7vw, 88px) 0;
  border-bottom: 1px solid var(--line);
}
.service-row:last-child { border-bottom: none; }
.service-row:nth-child(even) .service-row-media { order: 2; }
.service-row-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3.2;
  position: relative;
}
.service-row-media img { width: 100%; height: 100%; object-fit: cover; }
.service-row-index {
  font-family: "Fraunces", serif;
  font-style: italic;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 14px;
  display: block;
}
.service-row h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 18px; }
.service-row p.desc { color: var(--text-muted); font-size: 1.02rem; margin-bottom: 24px; }
.service-row ul { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; }
.service-row li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.96rem; color: var(--text);
}
.service-row li svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }

@media (max-width: 780px) {
  .service-row { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-row-media { order: 0; }
}

/* ---------- process ---------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.process-step { position: relative; padding-top: 8px; }
.process-step .step-num {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 3.2rem;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  line-height: 1;
  margin-bottom: 22px;
  display: block;
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--text); }
.process-step p { color: var(--text-muted); font-size: 0.94rem; }
.process-connector {
  position: absolute;
  top: 26px; left: calc(100% + 14px);
  width: calc(28px - 0px);
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 4px, transparent 4px 8px);
  display: none;
}
@media (min-width: 900px) { .process-connector.show { display: block; } }
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  font-family: "Inter", sans-serif;
}
.filter-btn:hover { color: var(--text); border-color: var(--gold); }
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1300;
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/5;
  background: var(--bg-alt-2);
}
.gallery-item.wide { aspect-ratio: 8/5; grid-column: span 2; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6,7,9,0.88) 100%);
  display: flex; align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.gallery-item:hover .overlay { opacity: 1; }
.overlay .cap-tag { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.overlay .cap-title { font-family: "Fraunces", serif; font-size: 1.05rem; margin-top: 4px; }

.gallery-item[hidden] { display: none; }

@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 2; }
}
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
}

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6,7,9,0.94);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 90vw; max-height: 84vh; border-radius: var(--radius-md); }
.lightbox-close {
  position: absolute; top: 28px; right: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-alt-2); border: 1px solid var(--line-strong);
  color: var(--text); display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-alt-2); border: 1px solid var(--line-strong);
  color: var(--text); display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }

/* ---------- awards / logos strip ---------- */

.strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strip span {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-dim);
  white-space: nowrap;
}

/* ---------- google reviews (Elfsight embed) ---------- */

.google-reviews-embed {
  max-width: 980px;
  margin: 0 auto;
  min-height: 220px;
  color-scheme: dark;
}

/* ---------- testimonials (legacy, unused now that reviews are live) ---------- */

.testi-wrap { position: relative; max-width: 820px; margin: 0 auto; }
.testi-track { overflow: hidden; }
.testi-slides {
  display: flex;
  transition: transform 0.6s var(--ease);
}
.testi-slide { min-width: 100%; text-align: center; padding: 0 8px; }
.testi-stars { color: var(--gold); font-size: 1.2rem; letter-spacing: 4px; margin-bottom: 26px; }
.testi-quote {
  font-family: "Fraunces", serif;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--text);
}
.testi-meta { margin-top: 28px; }
.testi-name { font-weight: 600; color: var(--gold-bright); }
.testi-when { color: var(--text-dim); font-size: 0.86rem; margin-top: 2px; }

.testi-dots {
  display: flex; justify-content: center; gap: 10px; margin-top: 40px;
}
.testi-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line-strong); border: none; cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.testi-dots button.active { background: var(--gold); transform: scale(1.3); }

/* ---------- before / after slider ---------- */

.ba-slider { max-width: 980px; margin: 0 auto; }

.ba-frame {
  --pos: 50%;
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: ew-resize;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.6);
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
.ba-after { z-index: 1; }
.ba-before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  will-change: clip-path;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.ba-handle::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 14px rgba(0,0,0,0.5);
}
.ba-handle-grip {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1300;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 8px 22px -4px rgba(0,0,0,0.55), 0 0 0 4px rgba(10,11,13,0.35);
  transition: transform 0.15s var(--ease);
}
.ba-frame.is-dragging .ba-handle-grip { transform: scale(1.12); }
.ba-frame.is-dragging .ba-before { will-change: clip-path; }

.ba-tag {
  position: absolute;
  top: 18px;
  z-index: 4;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(10,11,13,0.72);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba-tag-before { left: 18px; }
.ba-tag-after { right: 18px; color: var(--gold-bright); }

.ba-range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  touch-action: none;
}
.ba-range::-webkit-slider-runnable-track {
  width: 100%;
  height: 100%;
  background: transparent;
}
.ba-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 46px;
  height: 46px;
  background: transparent;
  cursor: ew-resize;
  margin-top: 0;
}
.ba-range::-moz-range-track {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
}
.ba-range::-moz-range-thumb {
  width: 46px;
  height: 46px;
  background: transparent;
  border: none;
  cursor: ew-resize;
}
.ba-range:focus-visible ~ .ba-handle .ba-handle-grip {
  box-shadow: 0 8px 22px -4px rgba(0,0,0,0.55), 0 0 0 4px var(--gold-glow);
}

@media (max-width: 560px) {
  .ba-handle-grip { width: 38px; height: 38px; }
  .ba-tag { font-size: 0.68rem; padding: 5px 12px; top: 12px; }
  .ba-tag-before { left: 12px; }
  .ba-tag-after { right: 12px; }
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px);
  text-align: center;
  background: radial-gradient(120% 160% at 50% 0%, rgba(240,180,41,0.16), transparent 60%), var(--bg-alt);
  border: 1px solid var(--line);
}
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 18ch; margin: 0 auto; }
.cta-band .lede { margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { justify-content: center; margin-top: 36px; }

/* ---------- about page ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.about-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/3.6; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 780px) { .about-grid { grid-template-columns: 1fr; } }

.about-stack { display: flex; flex-direction: column; gap: clamp(32px, 5vw, 56px); }
.about-media-wide {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1600 / 1066;
  border: 1px solid var(--line);
}
.about-media-wide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-stack-text { max-width: 70ch; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.team-card .photo { aspect-ratio: 4/3.4; overflow: hidden; }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .info { padding: 26px 28px 30px; }
.team-card.no-photo .info { padding: 32px 28px; }
.team-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.team-card .role { color: var(--gold); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 14px; }
.team-card p.bio { color: var(--text-muted); font-size: 0.94rem; }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; } }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 960px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }

/* ---------- contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
}
.contact-line {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-line:last-child { border-bottom: none; }
.contact-line .ic {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold-glow-soft); color: var(--gold);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-line .label { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px; }
.contact-line .val { font-size: 1.02rem; color: var(--text); font-weight: 500; }
.contact-line a.val:hover { color: var(--gold-bright); }

.social-row { display: flex; gap: 12px; margin-top: 26px; }
.social-row a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s var(--ease);
}
.social-row a:hover { border-color: var(--gold); color: var(--gold); }

/* forms */
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.03em; color: var(--text-muted); margin-bottom: 9px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg-alt-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 0.96rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow-soft);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.82rem; color: var(--text-dim); margin-top: 14px; text-align: center; }

.form-success {
  text-align: center;
  padding: clamp(40px, 6vw, 64px) clamp(24px, 4vw, 40px);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.form-success .icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gold-glow-soft);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
}
.form-success h3 { font-family: "Fraunces", serif; font-size: 1.5rem; color: var(--text); margin-bottom: 12px; }
.form-success p { color: var(--text-muted); font-size: 0.98rem; max-width: 42ch; margin: 0 auto; }
.form-success a { color: var(--gold-bright); font-weight: 600; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 28px;
  filter: grayscale(0.5) invert(0.92) contrast(0.9);
  aspect-ratio: 16/9;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- footer ---------- */

.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 72px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 0.92rem; max-width: 34ch; }
.footer-col h4 {
  font-family: "Inter", sans-serif; font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-dim); font-weight: 600; margin-bottom: 18px;
}
.footer-col a, .footer-col p {
  display: block; color: var(--text-muted); font-size: 0.94rem;
  margin-bottom: 12px; transition: color 0.25s var(--ease);
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 26px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 0.82rem; color: var(--text-dim);
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- reveal-on-scroll ----------
   Content is always visible by default (opacity: 1) so nothing can be stranded
   invisible if JS fails or an observer never fires — only the subtle rise-in
   transform is gated behind JS. */
.reveal { opacity: 1; transform: translateY(16px); transition: transform 0.8s var(--ease); }
.reveal.in { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; transition: none; }
}

/* ---------- misc ---------- */
.hidden { display: none !important; }
