:root{
  --brand: #2563eb;         /* primary blue */
  --brand-600: #1e40af;
  --text: #0f172a;
  --muted: #475569;
  --bg: #ffffff;
  --chip-gray: #334155;
  --chip-green: #16a34a;
  --navH: 88px;             /* navbar height */
  
  /* Pill tokens */
  --pill-blue:#2563eb;       /* Staging */
  --pill-green:#10b981;      /* Enhancement */
  --pill-violet:#7c3aed;     /* Upgrade */
  --pill-gray:#f4f5f7;       /* Room row background */
  --pill-ring: 0 0 0 3px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.12);
  
  /* One, consistent, SF/Inter-like system stack */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
               "Segoe UI", Roboto, Inter, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";

  /* Weights + spacing tuned to match your hero look */
  --font-weight-display: 800;   /* hero headline */
  --font-weight-head:    700;   /* section titles */
  --font-weight-body:    450;   /* clean, not too light */

  --tracking-tight:   -0.02em;  /* for big headlines */
  --tracking-normal:  -0.005em; /* for smaller heads */
  --lh-head: 1.12;
  --lh-body: 1.6;

  --nav-h-desktop: 92px; /* unified header height across all pages (overridden below) */
  --anchor-extra: 12px;   /* tiny breathing room below the nav */
  --ink-700: #334155;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

/* Make in-page hash links account for the fixed navbar height */
html {
  scroll-behavior: smooth;
}

/* All anchor targets get native offset for fixed header */
.anchor-target {
  position: relative;
  display: block;
  height: 0; /* zero-height marker node */
  scroll-margin-top: calc(var(--nav-h-desktop) + var(--anchor-extra));
}
/* Global defaults */
html, body{
  font-family: var(--font-sans);
  font-weight: var(--font-weight-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  /* Ensure proper scrolling behavior for fixed header */
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
  /* Add padding for fixed header */
  padding-top: var(--nav-h-desktop) !important;
}

/* Headings (match hero feel) */
h1, h2, h3, h4, h5, h6{
  font-family: var(--font-sans);
  font-weight: var(--font-weight-head);
  letter-spacing: var(--tracking-normal);
  line-height: var(--lh-head);
  margin: 0 0 .5em 0;
}

/* Hero headline gets the bolder/tighter look */
.hero h1,
.section-title--display{
  font-weight: var(--font-weight-display);
  letter-spacing: var(--tracking-tight);
  line-height: 1.05;
}

/* Eyebrow/small caps labels (optional) */
.eyebrow{
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Body copy inside cards/sections */
.card, .section, .hiw{
  font-family: var(--font-sans);
}

/* ===== Navbar (FORCE ALWAYS VISIBLE) ===== */
/* Overridden by fixed header rules at end of file */

/* Removed old translucent variant - now using unified solid header below */

/* ===== Hero ===== */
.hero{
  position: relative;
  /* Hero becomes a banner */
  min-height: clamp(240px, 32vh, 420px); /* ≈ one-third of viewport on desktop */
  display:flex;
  align-items:center;
  color: white;
  background-size: cover;
  background-position: center;
}
.hero-overlay{
  position: absolute; inset: 0;
  /* Soften the overlay slightly */
  background: rgba(0,0,0,0.35); /* was heavier; lighten a bit */
}
.hero-content{
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 24px;
  text-align: center;
  width: 100%;
}
.hero h1{
  margin: 0 0 12px 0;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero p{
  margin: 0 0 24px 0;
  font-size: clamp(16px, 2.2vw, 20px);
  color: #e2e8f0;
}

/* ===== Buttons ===== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 120ms ease, background-color 120ms ease, color 120ms ease;
}
.btn.primary{
  background: var(--brand);
  color: white;
}
.btn.primary:hover{ background: var(--brand-600); transform: translateY(-1px); }
.btn.ghost{
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.6);
}
.btn.ghost:hover{ background: rgba(255,255,255,0.08); transform: translateY(-1px); }
.btn.link{
  background: transparent;
  color: var(--brand);
  padding: 0;
  border: none;
  font-weight: 700;
}
.cta-row{ display: flex; gap: 12px; justify-content: center; }

/* ===== Sections ===== */
.section-title{
  font-size: clamp(24px, 3vw, 32px);
  margin: 48px auto 12px;
  text-align: center;
}
.grid.two{
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 900px){
  .grid.two{ grid-template-columns: 1fr; }
}

/* Before/After Section */
.ba-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.ba-main-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  margin-top: 32px;
}

@media (max-width: 1024px) {
  .ba-main-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Thumbnail Gallery */
.ba-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 1024px) {
  .ba-thumbnails {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
  }
}

.thumbnail-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid transparent;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.thumbnail-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.thumbnail-item.active {
  border-color: var(--brand);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.thumbnail-item.placeholder {
  opacity: 0.6;
}

.thumbnail-item img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
}

@media (max-width: 1024px) {
  .thumbnail-item {
    min-width: 120px;
  }
}

.thumbnail-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: 8px 8px 4px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

/* Main Slider */
.ba-main-slider {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ba-main-slider:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.ba-slider-wrapper {
  position: relative;
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Slider Container */
.ba-slider {
  position: relative;
  width: 100%;
  height: 600px; /* Twice as big as before */
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  border-radius: 16px;
}

@media (max-width: 768px) {
  .ba-slider {
    height: 400px;
  }
}

.ba-slider-before,
.ba-slider-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ba-slider-before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.ba-slider-after {
  z-index: 1;
}

.ba-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Labels */
.ba-label {
  position: absolute;
  top: 16px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  z-index: 10;
}

.ba-label-before {
  left: 16px;
  background: linear-gradient(135deg, #6b7280, #4b5563);
}

.ba-label-after {
  right: 16px;
  background: linear-gradient(135deg, #10b981, #059669);
}

/* Slider Handle */
.ba-slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: white;
  transform: translateX(-50%);
  z-index: 5;
  cursor: col-resize;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}

.ba-slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  cursor: col-resize;
  transition: all 0.2s ease;
}

.ba-slider-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.ba-slider-button svg {
  width: 16px;
  height: 16px;
  color: #6b7280;
}

.ba-slider-button svg:first-child {
  margin-right: -4px;
}

.ba-slider-button svg:last-child {
  margin-left: -4px;
}

/* Copy Section */
.ba-copy {
  text-align: center;
}

.ba-copy h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.ba-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* How it Works */
.how{
  max-width: 880px;
  margin: 0 auto 64px;
  padding: 0 24px;
  text-align: center;
}
.steps{
  text-align: left;
  margin: 0 auto 16px;
  padding-left: 18px;
}
.steps li{ margin: 8px 0; }

/* Footer CTA */
.cta-final{
  text-align: center;
  padding: 48px 24px 72px;
  max-width: 880px;
  margin: 0 auto;
}
.cta-final h2{ margin: 0 0 8px; }
.cta-final p{ margin: 0 0 16px; color: var(--muted); }
.disclaimer{ color: #64748b; }

/* ===== Modal ===== */
#modal[aria-hidden="true"]{ display: none; }
#modal{
  position: fixed; inset: 0; z-index: 2000;
}
.modal-backdrop{
  position: absolute; inset: 0;
  background: rgba(15,23,42,0.46);
  backdrop-filter: blur(4px);
}
.modal-card{
  position: relative;
  max-width: 560px;
  margin: 8vh auto;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 60px rgba(2,6,23,0.18);
  padding: 20px 20px 8px;
}
.modal-close{
  position: absolute; top: 12px; right: 12px;
  background: #f1f5f9; border: 0; border-radius: 999px;
  width: 36px; height: 36px; cursor: pointer; font-size: 16px;
}
.modal-card h3{
  margin: 10px 10px 8px 10px;
  font-size: 22px;
}
.form-row{
  display: grid; gap: 6px; margin: 10px;
}
.form-row input, .form-row textarea{
  font: inherit;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  outline: none;
}
.form-row input:focus, .form-row textarea:focus{ border-color: var(--brand); }
.form-row textarea.has-content {
  color: var(--text) !important;
}
.form-row textarea::placeholder {
  color: #9ca3af;
}
.form-actions{
  display: flex; gap: 12px; align-items: center; margin: 10px;
}
.form-status{ margin: 10px; color: var(--muted); min-height: 1em; }

/* ===== GALLERY — LAYOUT WRAPPER ===== */
#gallery-app {
  --pill-blue: #2563eb;      /* STAGING */
  --pill-green: #10b981;     /* ENHANCEMENT */
  --pill-violet: #7c3aed;    /* UPGRADE */
  --pill-muted: #71717a;
  --chip-bg: #f4f4f5;
  --chip-border: #e4e4e7;
  --card-radius: 14px;
  --grid-gap: 18px;
  --container-max: 1280px;
}

.gallery-shell {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Pills baseline --- */
.pills { display:flex; gap:.5rem; flex-wrap:wrap; margin-bottom:1rem; }
.pill-row { display:flex; gap:.5rem; flex-wrap:wrap; margin-bottom:1rem; }
.pill { 
  font: 600 12px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  border: 1px solid transparent; 
  user-select:none; 
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

/* TYPE pills (row 1): always colored */
.pills .pill.pill--type-staging   { background: var(--pill-blue);   color:#fff; }
.pills .pill.pill--type-enhancement { background: var(--pill-green);  color:#fff; }
.pills .pill.pill--type-upgrade   { background: var(--pill-violet); color:#fff; }

/* Selected state: clear, "Apple-y" focus ring + lift */
.pills .pill.is-active{
  box-shadow: var(--pill-ring), 0 0 0 3px rgba(255,255,255,0.55) inset;
  transform: translateY(-1px);
}

/* Room pills (row 2): all gray, dark text, outlined when selected */
.room-pills .pill{
  background: var(--pill-gray);
  color:#111;
  border: 1px solid rgba(0,0,0,0.06);
}

/* Selected = outline in brand blue, no white text */
.room-pills .pill.is-active{
  background:#fff;
  color:#111;
  border:2px solid var(--pill-blue);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* Card grid container max width and gutters */
.gallery-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.card-grid { gap: 24px; }

/* ===== GRID ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: var(--grid-gap);
  min-height: 400px; /* Reserve space to prevent layout shift before images load */
}

/* ===== CARD ===== */
.g-card {
  background: #fff; border: 1px solid #eee;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.g-card .thumb {
  position: relative;
  width: 100%;
  /* Normal, non-superwide ratio: 3:2 */
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.g-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.g-card .thumb .hover-overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(to top, rgba(0,0,0,.35), rgba(0,0,0,.05));
  color: #fff; font-weight: 600; letter-spacing: .2px;
  font-size: 13px;
  opacity: 0; transition: opacity .15s ease;
}
.g-card:hover .hover-overlay { opacity: 1; }

.g-card .meta {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-top: 1px solid #f2f2f2;
}
.badge {
  display:inline-block; font:700 11px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  padding:.45rem .6rem; border-radius:999px; letter-spacing:.02em;
}
.badge--staging     { background:#e7f0ff; color:#1f3c88; }
.badge--enhancement { background:#e6fbf3; color:#0c7a57; }
.badge--upgrade     { background:#efe7ff; color:#4b2ca0; }

/* Keep captions single-line */
.card-caption {
  font-size: 13px;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Utility to keep a fragment from breaking */
.nowrap {
  white-space: nowrap;
}

.label {
  font-size: 13px; color: #0f172a; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.sub {
  font-size: 12px; color: #6b7280;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== MODAL / SLIDER ===== */
.g-modal {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(15,23,42,.72);
  display: none;
}
.g-modal.open { display: grid; place-items: center; }
.g-modal-inner {
  width: min(1200px, 94vw); max-height: 92vh;
  background: #0b0f19; border-radius: 12px; overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,.45);
}
.viewer {
  position: relative; width: 100%; height: min(72vh, 740px);
  background: #111827;
}
.viewer img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: contain;
  background: #0b0f19;
}
.viewer img.before { 
  z-index: 2;
  clip-path: inset(0 50% 0 0); /* BEFORE on left half */
}
.viewer img.after { z-index: 1; /* AFTER shows on right */ }
.slider-handle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 2px solid #0b0f19;
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
  z-index: 3; cursor: ew-resize;
}
.slider-line {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; background: rgba(255,255,255,.9); z-index: 2;
  transform: translateX(-1px);
}
.slider-label {
  position:absolute; top:10px; padding:.35rem .6rem; border-radius:999px; 
  font:700 11px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: rgba(17,24,39,.75); color:#fff;
  z-index: 3; pointer-events:none;
}
.slider-label--before { left:10px; }
.slider-label--after  { right:10px; background:rgba(16,185,129,.9); } /* green */
.g-modal-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; background: #0b0f19; color: #e5e7eb;
}
.g-modal-footer .desc { font-size: 13px; opacity: .9; }
.g-modal-close {
  appearance: none; border: none; border-radius: 8px;
  padding: 8px 10px; background: #111827; color: #fff;
  font-weight: 600; cursor: pointer;
}
.g-modal-close:hover { background: #1f2937; }

/* NAV - Consolidated at end of file (single source of truth) */

/* NAV / BRAND */
.nav-brand {
  display: inline-flex;
  align-items: center;
}

/* Hide the text wordmark next to the logo */
.site-header .brand .wordmark { display: none !important; }

/* logo sized to fit cleanly in 72px header */
/* Logo sizing consolidated at end of file */

.brand-word{
  font-weight: 700;
  letter-spacing: .2px;
  color:#0F172A;
}
.nav-links{ display:flex; gap:18px; align-items:center; justify-content: center; }
.nav-links a{
  color:#475569; text-decoration:none; font-weight:500; padding:6px 10px; border-radius:10px;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a[aria-current="location"]{ color:#0F172A; background:#F1F5F9; }
.btn-cta{ 
  background:#2563EB !important; 
  color:#fff !important; 
  text-decoration:none; 
  padding:12px 20px !important; 
  border-radius:12px; 
  font-weight:600; 
  box-shadow:0 8px 24px rgba(0,0,0,.08); 
  border:none; 
  cursor:pointer;
  white-space: nowrap !important;
  justify-self: end;
  display: inline-block !important;
  width: auto !important;
  min-width: auto !important;
  max-width: fit-content !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  flex-basis: auto !important;
}
.nav-toggle{ 
  display: none !important; 
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}
/* Mobile logo sizing consolidated at end of file */

/* ========================================
   HAMBURGER MENU (Mobile Navigation)
   ======================================== */

/* Hamburger button - hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  position: relative;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #0F172A;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger animation when menu is open */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile styles (under 800px) */
@media (max-width: 799px) {
  /* Show hamburger on mobile */
  .hamburger {
    display: flex !important;
    margin-left: auto;
    margin-right: 12px; /* Buffer from right edge */
  }
  
  /* Hide "Claim 5 Free Photos" button on mobile - use more specific selector */
  .site-header .btn-cta,
  .nav-wrap .btn-cta {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    pointer-events: none !important;
  }
  
  /* Navigation - hidden by default, shown when active */
  .site-header .nav-links,
  .nav-wrap .nav-links {
    display: none !important;
    position: fixed;
    top: 72px; /* Height of header */
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  
  /* Show navigation when active - highest specificity */
  .site-header .nav-links.active,
  .nav-wrap .nav-links.active {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Mobile nav link styles */
  .site-header .nav-links a,
  .nav-wrap .nav-links a {
    padding: 16px 24px;
    border-radius: 0;
    border-bottom: 1px solid #E2E8F0;
    width: 100%;
    text-align: left;
  }
  
  .site-header .nav-links a:hover,
  .nav-wrap .nav-links a:hover,
  .site-header .nav-links a[aria-current="location"],
  .nav-wrap .nav-links a[aria-current="location"] {
    background: #F1F5F9;
  }
  
  /* Last link - no border */
  .site-header .nav-links a:last-child,
  .nav-wrap .nav-links a:last-child {
    border-bottom: none;
  }
}

/* GRID + CARD (sizes the gallery nicely) */
.gallery-grid{ display:grid; grid-template-columns:repeat(12,1fr); gap:24px; padding-top:10px; }
.gallery-card, .g-card{ grid-column:span 4; background:#fff; border-radius:16px; border:1px solid #E2E8F0; overflow:hidden; box-shadow:0 8px 24px rgba(0,0,0,.08); }
@media (max-width:1100px){ .gallery-card, .g-card{ grid-column:span 6; } }
@media (max-width:640px){ .gallery-card, .g-card{ grid-column:span 12; } }

.gallery-media, .thumb{ position:relative; aspect-ratio:16/9; overflow:hidden; }
.gallery-media img, .thumb img{ width:100%; height:100%; object-fit:cover; display:block; }

/* --- Hero --- */
.hero {
  height: 40vh; min-height: 320px; max-height: 520px;
  display:grid; place-items:center; text-align:center; color:#fff; position:relative;
}
/* Darken the hero overlay slightly so white text reads cleanly */
.hero::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.28),
    rgba(0, 0, 0, 0.55)
  );
}
.hero > * { position: relative; z-index:1; }
/* HERO TYPOGRAPHY */
.hero h1{
  font-family: var(--font-sans);
  font-weight: 800;                 /* bold but refined */
  letter-spacing: -0.02em;          /* subtle negative tracking */
  line-height: 1.05;
  font-size: clamp(28px, 3.6vw, 48px);
  margin-bottom: 12px;
}

/* Subcopy under the H1 */
.hero p,
.hero .subhead {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  font-size: clamp(14px, 1.3vw, 18px);
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 1px rgba(0,0,0,0.35);
}
.hero .cta-row{ margin-top: 18px; display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* Hero headline */
.hero h1,
.hero .hero-title {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-display);
  letter-spacing: var(--tracking-tight);
  line-height: 1.05;
}

/* Section titles like "Before & After" */
.section-title,
#gallery h2,
#gallery .section-title {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-head);
  letter-spacing: var(--tracking-normal);
  color: #0b1220;                /* deep neutral, not pure black */
}

/* --- Section spacing / container --- */
.section { padding: 32px 20px; }
.container { max-width: var(--container); margin: 0 auto; }

/* --- Filter chips --- */
.pills-primary, .pills-secondary{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.pill{
  padding:8px 14px; border-radius:999px; font-weight:600; border:1px solid var(--ink-200);
  background:#fff; color:var(--ink-700); box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}
.pill[data-kind="staging"]{ background: var(--brand-blue); color:#fff; border-color:transparent;}
.pill[data-kind="enhancement"]{ background: var(--brand-green); color:#fff; border-color:transparent;}
.pill[data-kind="upgrade"]{ background: var(--brand-violet); color:#fff; border-color:transparent;}
.pill.is-active{ outline:3px solid var(--chip-ring); outline-offset: 2px; }

/* --- Card grid --- */
.gallery-grid{
  display:grid; grid-template-columns: repeat(12, 1fr); gap:24px;
  padding-top:10px;
  min-height: 400px; /* Reserve space to prevent layout shift before images load */
}
.gallery-card{
  grid-column: span 4; background:#fff; border-radius: var(--radius);
  border:1px solid var(--ink-200); overflow:hidden; box-shadow: var(--elev);
}
@media (max-width: 1100px){ .gallery-card{ grid-column: span 6; } }
@media (max-width: 640px){ .gallery-card{ grid-column: span 12; } }

/* Media ratio */
.gallery-media{
  position:relative; aspect-ratio: 16/9; overflow:hidden;
}
.gallery-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.gallery-media .hover-view{
  position:absolute; inset:0; display:grid; place-items:center;
  background: rgba(0,0,0,0); color:#fff; font-weight:600; opacity:0; transition:.25s ease;
}
.gallery-media:hover .hover-view{ background: rgba(0,0,0,.25); opacity:1; }

/* Card footer */
.card-meta{ display:flex; justify-content:space-between; padding:12px 14px; align-items:center; }
.badge-kind{
  font-size:12px; font-weight:800; color:#fff; padding:6px 10px; border-radius:999px;
}
.badge-kind.staging{ background:var(--brand-blue); }
.badge-kind.enhancement{ background:var(--brand-green); }
.badge-kind.upgrade{ background:var(--brand-violet); }
.meta-title{ color:var(--ink-700); font-weight:600; }

/* Modal labels */
.compare-modal .corner-label{
  position:absolute; top:10px; font-weight:800; padding:6px 12px; border-radius:999px; color:#fff;
}
.compare-modal .corner-label.left{ left:10px; background:rgba(0,0,0,.55)}
.compare-modal .corner-label.right{ right:10px; background:rgba(0,0,0,.55)}

/* --- Section Titles --- */
.section-title {
  text-align: center;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a; /* deep navy */
  margin: 8px 0 4px;
}

.section-subtitle {
  text-align: center;
  font-size: clamp(14px, 1.6vw, 16px);
  color: #64748b; /* slate-500 */
  margin: 0 0 24px;
  font-weight: 500;
}

/* --- Fix header/hero gap --- */
.site-header,
.header,
.navbar {
  margin-bottom: 0 !important;
}

.hero,
.hero-section,
.hero-wrap {
  margin-top: 0 !important;
  /* keep your existing hero padding; no extra margin needed */
}

/* If you previously used a spacer element for the fixed nav, neutralize it */
.header-spacer,
.nav-spacer {
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* === Clean body/html for sticky navbar === */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  /* No body padding needed for sticky positioning */
}

/* Navbar positioning handled above - no body padding needed for sticky */

/* Remove any accidental gap before the hero */
.hero,
.hero-section,
.hero-wrap {
  margin-top: 0 !important;
}

/* If there's a spacer element left in the DOM, neutralize it */
.header-spacer,
.nav-spacer {
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: none !important;
}

/* Removed: now using unified .anchor-target rule with --anchor-extra variable */

/* ===== HOW IT WORKS (Light Theme) ===== */
:root{
  --ink-900:#0f172a; /* headings */
  --ink-700:#1f2937; /* subheads */
  --ink-600:#4b5563; /* body */
  --surface:#ffffff;
  --surface-muted:#f6f7f9;
  --ring:#e5e7eb;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --radius: 16px;

  /* category brand colors (we already use these in pills) */
  --stage:#2563eb;        /* Staging = blue */
  --enhance:#10b981;      /* Enhancement = green */
  --upgrade:#7c3aed;      /* Upgrade = violet */
}

/* Ensure anchor scroll accounts for sticky nav height */
/* Removed duplicate - now handled by unified rule above */

/* Section wrapper */
.hiw {
  background: var(--surface);
  padding: 72px 0 40px;
}

/* Overline + H2 */
.hiw .eyebrow {
  font: 600 12px/1.2 var(--font-sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-600);
  text-align:center;
}
.hiw h2 {
  margin: 10px auto 12px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.12;
  color: var(--ink-900);
  text-align:center;
}
.hiw .lede {
  max-width: 780px;
  margin: 0 auto 36px;
  color: var(--ink-600);
  text-align:center;
}

/* Card grid */
.hiw-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 960px){
  .hiw-grid { gap: 28px; }
}

/* Card */
.hiw-card {
  background: var(--surface);
  border: 1px solid var(--ring);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
.hiw-card__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
}
@media (max-width: 960px){
  .hiw-card__inner { grid-template-columns: 1fr; }
}

/* Alternate layout: image left on even cards */
.hiw-card.is-alt .hiw-card__inner { grid-template-columns: .9fr 1.1fr; }
@media (max-width: 960px){
  .hiw-card.is-alt .hiw-card__inner { grid-template-columns: 1fr; }
}

/* Step label */
.hiw-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-muted);
  border: 1px solid var(--ring);
  border-radius: 999px;
  padding: 6px 10px;
  font: 600 12px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink-700);
  margin-bottom: 10px;
}
.hiw-dot { width:8px; height:8px; border-radius:50%; background: var(--stage); }
.hiw-step[data-kind="enhance"] .hiw-dot { background: var(--enhance); }
.hiw-step[data-kind="upgrade"] .hiw-dot { background: var(--upgrade); }

/* Content */
.hiw-copy {
  padding: 22px 22px 24px 22px;
}
.hiw-copy h3 {
  font: 700 clamp(18px, 2.2vw, 22px)/1.2 "Space Grotesk", Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink-900);
  margin: 6px 0 10px;
}
.hiw-copy p,
.hiw-copy li { color: var(--ink-600); }
.hiw-copy ul { margin: 10px 0 0 0; padding: 0 0 0 18px; }
.hiw-copy li { margin: 6px 0; }

/* Image */
.hiw-media {
  position: relative; min-height: 260px; overflow: hidden;
}
.hiw-media img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* Default: visible */
.hiw-card { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }

/* JS will add this while preparing the reveal */
.hiw-card.reveal-ready { opacity: 0; transform: translateY(16px); }

/* When observed in view */
.hiw-card.revealed { opacity: 1; transform: none; }

/* Container width aligns with gallery section */
.section-container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* --- HOW IT WORKS (light theme) --- */
.hiw.container {
  max-width: 1180px;
  margin: 96px auto 140px;
  padding: 0 24px;
}

.hiw .eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  color: #6b7280; /* cool gray */
  text-align: center;
  margin-bottom: 12px;
}

.hiw-title {
  text-align: center;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.2;
  color: #0f172a; /* slate-900 */
  margin: 0 0 8px;
}

.hiw-sub {
  text-align: center;
  color: #475569; /* slate-600 */
  max-width: 760px;
  margin: 0 auto 36px;
}

.hiw-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(2,6,23,.06);
  padding: 24px;
  margin: 20px 0 32px;
}

.hiw-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items: center;
}
.hiw-reverse { grid-template-columns: .95fr 1.05fr; }
.hiw-reverse .hiw-copy { order: 2; }
.hiw-reverse .hiw-media { order: 1; }

.hiw-copy h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  color: #0f172a;
  margin: 8px 0 8px;
}
.hiw-copy p { color: #334155; }
.hiw-bullets { color: #374151; margin: 10px 0 0 0; }
.hiw-bullets li { margin: 6px 0; }

.hiw-media img,
.hiw-inline {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.step-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #0f172a;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.step-chip .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #3B82F6; /* blue */
}

/* Responsive */
@media (max-width: 980px) {
  .hiw-split,
  .hiw-reverse { grid-template-columns: 1fr; }
  .hiw-reverse .hiw-copy { order: 1; }
  .hiw-reverse .hiw-media { order: 2; }
  .hiw-media img, .hiw-inline { max-height: 300px; }
}

/* Header positioning consolidated above */

/* Ensure anchor jumps don't land under the header */
/* Removed duplicate - now handled by unified rule at end of file */

/* Match "From your photos…" style */
.hiw .section-title{
  font-weight: var(--font-weight-head);
  letter-spacing: var(--tracking-normal);
  line-height: var(--lh-head);
}

/* Step title inside cards */
.hiw .card h3{
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Paragraphs look like hero subcopy */
.hiw p{
  font-weight: var(--font-weight-body);
  line-height: var(--lh-body);
}

/* --- HIW Step 4 compare --- */
.hiw-compare {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
  background: #0f172a0d;
  box-shadow: 0 6px 22px rgba(15,23,42,.08);
  --reveal: 50%;
}

.hiw-compare .hiw-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;   /* beat global img rules */
  object-fit: cover;
  display: block;
  z-index: 1;
}

.hiw-compare .hiw-after {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--reveal)) 0 0);
}

.hiw-chip {
  position: absolute;
  top: 12px;
  padding: 6px 10px;
  font: 700 12px/1 system-ui, -apple-system, Segoe UI, Roboto, Inter, sans-serif;
  letter-spacing: .06em;
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  user-select: none;
  z-index: 3;
}
.hiw-chip--before { left: 12px;  background: #0f172a; }
.hiw-chip--after  { right: 12px; background: #2563eb; }

/* Gentle ping-pong loop (runs only when .inview is present) */
@keyframes hiw-loop {
  0%   { --reveal: 18%; }
  45%  { --reveal: 82%; }
  55%  { --reveal: 82%; } /* tiny dwell at the end */
  100% { --reveal: 18%; }
}

/* Duration: 8s feels calm; tune to 6–10s if you like */
.hiw-compare.loop.inview .hiw-after {
  animation: hiw-loop 8s ease-in-out infinite both;
}

/* Pause loop while the user is interacting */
.hiw-compare:hover .hiw-after,
.hiw-compare.scrubbing .hiw-after {
  animation-play-state: paused;
}

/* Hover-scrub affordance */
.hiw-compare.hover-scrub { cursor: col-resize; }

/* Respect reduced motion: show a calm mid state */
@media (prefers-reduced-motion: reduce) {
  .hiw-compare.loop .hiw-after { animation: none; }
  .hiw-compare { --reveal: 50%; }
}

/* PRICING PAGE: Width + full-bleed neutralizer */
.page-pricing .wrap,
.page-pricing .container {
  /* your site's standard page width */
  max-width: 1160px;       /* <— set to the SAME value your Styles page uses */
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* Kill any full-bleed tricks under pricing (100vw rows, negative margins, etc.) */
.page-pricing .wrap [style*="100vw"],
.page-pricing .wrap .container-fluid,
.page-pricing .wrap .full,
.page-pricing .wrap .full-bleed,
.page-pricing .wrap .row,
.page-pricing .wrap .pricing-row,
.page-pricing .wrap .cards-row {
  width: auto !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Optional: grid helper if you're using your own rows */
.page-pricing .pricing-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0,1fr));
  gap: 18px;
}
.page-pricing .span-4  { grid-column: span 4; }
.page-pricing .span-6  { grid-column: span 6; }
.page-pricing .span-12 { grid-column: span 12; }

@media (max-width: 1020px) {
  .page-pricing .pricing-grid > * { grid-column: 1 / -1; }
}

/* Prevent accidental horizontal scroll if something still leaks */
html, body { overflow-x: hidden; }

/* ===== NAV: single source of truth (height + width + layout) ===== */
:root{
  /* header sizing */
  --nav-h-desktop: 92px;      /* was 72px */
  --logo-h-desktop: 78px;     /* was ~60px → ~30% larger */
  --nav-maxw: 1160px;         /* pick ONE width: 1120/1160/1200 */

  /* mobile (keeps things tidy on phones) */
  --nav-h-mobile: 68px;
  --logo-h-mobile: 54px;

  /* glass effect */
  --glass-alpha: .72;                                   /* 0.60–0.80 is the sweet spot */
  --glass-bg: rgba(255,255,255,var(--glass-alpha));     /* glass fill */
  --glass-border: rgba(148,163,184,.35);                /* slate-300ish */
  --glass-shadow: 0 8px 24px rgba(15,23,42,.06);        /* soft separation */
}

/* Single, universal header style (no scroll toggle) */
.site-header,
header.site-header,
.site-header.is-solid,
.site-header.is-transparent,
.site-header.scrolled {
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  z-index: 999999 !important;

  background: var(--glass-bg) !important;
  backdrop-filter: saturate(160%) blur(12px) !important;
  -webkit-backdrop-filter: saturate(160%) blur(12px) !important;

  border-bottom: 1px solid var(--glass-border) !important;
  box-shadow: var(--glass-shadow) !important;
}

.site-header .nav-wrap{
  /* Hard clamp the container width */
  width: min(100%, var(--nav-maxw)) !important;
  max-width: none !important;            /* let width() be the single source of truth */
  margin: 0 auto !important;

  /* Keep your spacing/height/layout */
  box-sizing: content-box !important;    /* padding doesn't shrink the clamp */
  padding: 0 24px !important;
  height: var(--nav-h-desktop) !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
}

/* Logo size */
.nav-brand .brand-mark{
  height: var(--logo-h-desktop) !important;
  width: auto !important;
  margin: 0 !important;
}

/* Nav links container */
.site-header .nav-links {
  display: flex !important;
  gap: 4px;
  align-items: center;
}

/* Nav links styling */
.site-header .nav-links a {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
  padding: 8px 12px !important;
  color: #1f2937 !important;  /* readable on glass */
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-header .nav-links a:hover {
  background: #F1F5F9 !important;
  color: #0F172A !important;
}

.site-header .nav-links a[aria-current="page"] {
  background: #EFF6FF !important;
  color: #2563EB !important;
  font-weight: 600;
}

/* CTA button styling */
.site-header .btn-cta{
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
  padding: 10px 18px !important;
  background: #2563EB !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(37,99,235,.28) !important;  /* enhanced for glass */
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.site-header .btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3) !important;
}

/* Offset content for fixed header */
body{ padding-top: var(--nav-h-desktop) !important; }
html{ scroll-padding-top: calc(var(--nav-h-desktop) + 8px) !important; }

/* Mobile responsive */
@media (max-width: 900px){
  .site-header .nav-wrap{ height: var(--nav-h-mobile) !important; }
  .nav-brand .brand-mark{ height: var(--logo-h-mobile) !important; }
}

@media (max-width: 800px) {
  .site-header .nav-links {
    display: none !important;
  }
  
  .site-header .nav-wrap {
    padding: 0 16px !important;
  }
}

/* Graceful fallback where blur isn't supported */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header{ background: rgba(255,255,255,.97) !important; }
}

/* Removed: now using layout-aware anchor scrolling via anchors.js */

/* --- Waitlist bar (pricing) --- */
/* The container that matches your cards' container width */
.pricing-shell {
  max-width: 1040px;
  margin: 0 auto;
}

/* Ensure the row aligns with the same container edges as cards */
.waitlist-row{
  width: 100%;
  margin: 16px 0 32px;      /* space under the grid */
}

/* Rectangular bar, full width of .pricing-shell */
.waitlist-bar{
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 16px 18px;
  background: #F8FAFF;
  border: 1px solid #E5EAF5;
  border-radius: 14px;      /* <-- rectangular (not 999px) */
}

/* Text + button */
.waitlist-copy{
  margin: 0;
  font-size: 14px;
  color: #0f172a;
}

.waitlist-bar .btn.subtle{
  background: #EEF2FF;
  border: 1px solid #C7D2FE;
  border-radius: 12px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
}
.waitlist-bar .btn.subtle:hover{
  background: #E0E7FF;
}

/* Stack nicely on mobile */
@media (max-width: 720px){
  .waitlist-bar{
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
  .waitlist-bar .btn.subtle{
    align-self: flex-start;
  }
}

/* ===== Social Proof Carousel ===== */
/* Shell + titles */
.sp-section { background: #f8fafc; padding: 72px 0; }
.sp-shell   { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.sp-eyebrow { text-align:center; color:#64748b; font:600 12px/1.2 var(--font-sans); margin-bottom:8px; }
.sp-title   { text-align:center; margin:0 0 24px; font-weight:800; letter-spacing:-0.02em; }

/* Slider frame */
.sp-viewport { position: relative; overflow: hidden; }
.sp-track    { list-style:none; margin:0; padding:0; display:flex; transition: transform .5s ease; }
.sp-slide    { min-width:100%; padding: 6px; }  /* small safe padding for glow */

/* Card */
.sp-card{
  background:#fff; border:1px solid #e5e7eb; border-radius:20px;
  box-shadow: 0 10px 30px rgba(2,6,23,.06);
  padding: 28px 28px 22px;
}

/* Stars row */
.sp-stars{ display:flex; gap:6px; color:#f59e0b; margin-bottom:12px; }
.sp-stars svg{ width:20px; height:20px; fill: currentColor; }

/* Quote copy */
.sp-quote{ margin: 0 0 18px; color:#0f172a; }
.sp-headline{ font-weight:700; font-size: clamp(18px, 1.8vw, 22px); margin:0 0 8px; }

/* Author */
.sp-author{ display:flex; align-items:center; gap:12px; }
.sp-avatar{ width:48px; height:48px; border-radius:999px; object-fit:cover; }
.sp-name{ font-weight:700; }
.sp-role{ color:#64748b; font-size:14px; }

/* Dots — centered circles */
.sp-dots{
  display:flex; justify-content:center; align-items:center;
  gap:10px; margin-top:16px;
}
.sp-dot{
  width:10px; height:10px; border-radius:999px; border:0; padding:0;
  background:#e2e8f0; cursor:pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.sp-dot.is-active, .sp-dot[aria-selected="true"]{
  background: var(--brand); transform: scale(1.2);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 18%, transparent);
}
.sp-dot:focus-visible{ outline:none; box-shadow:0 0 0 3px rgba(37,99,235,.35); }

/* Active slide helper (for no-motion users we still switch slides instantly) */
@media (prefers-reduced-motion: reduce){
  .sp-track{ transition: none; }
}

/* ===== Site Footer ===== */
.site-footer{border-top:1px solid #e5e7eb;background:#fff}
.footer-inner{max-width:1100px;margin:0 auto;padding:20px 16px;
  display:flex;gap:16px;justify-content:space-between;align-items:center}
.footer-nav a{margin-left:16px;color:#374151;text-decoration:none}
.footer-nav a:hover{text-decoration:underline}

/* Legal navigation styling */
.legal-nav a{margin-left:16px;color:#374151;text-decoration:none}
.legal-nav a:hover{text-decoration:underline}

/* Trust micro note used below CTAs */
.micro-note{
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--text-secondary, rgba(0,0,0,.56));
  letter-spacing: .01em;
}
@media (max-width: 640px){
  .micro-note{ font-size: .9rem; }
}

/* Calendly call links */
.nav-link.book-call {
  opacity: 0.8;
  transition: opacity .15s ease, color .15s ease;
}
.nav-link.book-call:hover { 
  opacity: 1; 
}

.hero-tertiary {
  margin-top: 8px;
  font-size: 0.95rem;
  color: rgba(0,0,0,.55);
  text-align: center;
}

.link-inline {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.link-inline:hover {
  text-decoration-thickness: 2px;
}

@media (max-width: 768px) {
  .nav-link.book-call { 
    /* ensure it wraps nicely on mobile menus */ 
  }
}


/* Book-a-call link style in dark hero */
.cta-inline .book-call {
  color: #8ab4ff;
  text-decoration: underline;
  font-weight: 600;
}
.cta-inline .book-call:hover { 
  opacity: 0.86; 
}

/* ===== Policy Pages ===== */
.policy-wrap { max-width: 820px; margin: 80px auto; padding: 0 20px; }
.policy-wrap h1 { font-size: 2.2rem; margin-bottom: .25rem; }
.policy-wrap h2 { margin-top: 1.75rem; font-size: 1.25rem; }
.policy-wrap p, .policy-wrap li { line-height: 1.7; color: #1f2937; }
.policy-wrap a { text-decoration: underline; }
