/* ===== CUSTOM PROPERTIES ===== */
:root {
  /* Colors */
  --color-primary: #0d0d0d;
  --color-sage: #5e6b52;
  --color-sage-light: #7c8c6e;
  --color-sage-hover: #4d5943;
  --color-bg: #ffffff;
  --color-bg-alt: #faf9f6;
  --color-border: #e0ddd8;
  --color-text-light: #555555;
  --color-white: #ffffff;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(13, 13, 13, 0.06);
  --shadow-md: 0 4px 12px rgba(13, 13, 13, 0.08);
  --shadow-lg: 0 8px 30px rgba(13, 13, 13, 0.12);
  --shadow-hover: 0 12px 40px rgba(13, 13, 13, 0.15);

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;
}

/* ===== RESET ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-primary);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.375rem;
  letter-spacing: 0;
}

h4 {
  font-size: 1.125rem;
  letter-spacing: 0;
}

p {
  margin-bottom: 1rem;
}

.text-light {
  color: var(--color-text-light);
}

.text-center {
  text-align: center;
}

.accent-italic {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-sage);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: var(--space-sm);
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--space-xl) 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--transition-base);
  min-height: 44px;
  min-width: 44px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: #333;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-sage {
  background-color: var(--color-sage);
  color: var(--color-white);
}

.btn-sage:hover {
  background-color: var(--color-sage-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  transition: all var(--transition-base);
}

.nav.scrolled {
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--color-primary);
  transition: width var(--transition-base);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile menu button */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-primary);
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  padding: var(--space-lg) 1.25rem;
  z-index: 999;
}

.nav-mobile.open {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nav-mobile a {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + var(--space-xl)) 1.25rem var(--space-xl);
}

.hero-content {
  max-width: 720px;
}

.hero h1 {
  margin-bottom: var(--space-md);
}

.hero p {
  font-size: 1.0625rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

/* ===== STATS SECTION ===== */
.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  text-align: center;
  padding: var(--space-xl) 0;
}

.stat-item h3 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* ===== BEFORE/AFTER SLIDER ===== */
.ba-section {
  padding: var(--space-xl) 0;
}

.ba-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--space-lg);
}

.ba-tab {
  padding: 0.625rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1.5px solid var(--color-border);
  border-radius: 2px;
  transition: all var(--transition-base);
  min-height: 44px;
}

.ba-tab.active,
.ba-tab:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.ba-slider {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 4px;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
}

.ba-slider img {
  display: block;
  width: 100%;
  pointer-events: none;
}

.ba-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  clip-path: inset(0 50% 0 0);
}

.ba-before img {
  width: 100%;
  max-width: none;
}

.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background: var(--color-white);
  transform: translateX(-50%);
  z-index: 2;
}

.ba-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--color-white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.ba-label {
  position: absolute;
  bottom: 1rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  z-index: 3;
}

.ba-label-before {
  left: 1rem;
  background: var(--color-primary);
  color: var(--color-white);
}

.ba-label-after {
  right: 1rem;
  background: var(--color-white);
  color: var(--color-primary);
}

.ba-description {
  text-align: center;
  margin-top: var(--space-md);
  color: var(--color-text-light);
  font-size: 0.9375rem;
}

/* ===== BEFORE/AFTER CAROUSEL (filmstrip) ===== */
.ba-carousel {
  position: relative;
}

.ba-viewport {
  overflow: hidden;
}

.ba-track {
  display: flex;
  align-items: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.ba-slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: clamp(340px, 56vh, 540px);
  margin: 0;
}

/* Definite width from a per-slide aspect-ratio keeps centering stable even
   before the lazy images have loaded. */
.ba-carousel .ba-slider {
  height: clamp(340px, 56vh, 540px);
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}

.ba-carousel .ba-slider img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
}

/* Aspect ratios are set inline per slide so cloned loop slides inherit them. */

/* WIDER SCREENS: center-mode with faded peeks of the neighbouring photos on
   each side, so the empty margins become a preview of what's next/previous. */
@media (min-width: 768px) {
  .ba-viewport {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 15%, #000 85%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 15%, #000 85%, transparent 100%);
  }

  .ba-slide {
    flex: 0 0 auto;
    padding: 0 1.5rem;
    opacity: 0.35;
    transform: scale(0.88);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .ba-slide.is-active {
    opacity: 1;
    transform: none;
  }

  /* Faded side slides are click-to-open, not drag-to-compare */
  .ba-slide:not(.is-active) .ba-slider {
    cursor: pointer;
  }
}

/* PHONE: one comparison fills the width, no peek (no empty space to fill) */
@media (max-width: 767px) {
  .ba-carousel .ba-slider {
    width: 100%;
    height: auto;
  }
}

/* Category badge (top-left) */
.ba-cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  background: rgba(13, 13, 13, 0.55);
  border-radius: 2px;
  z-index: 3;
}

/* Prev/next arrows float over the image edges (don't steal width) */
.ba-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  padding-bottom: 3px;
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid var(--color-border);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.ba-nav:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.ba-nav:disabled {
  opacity: 0.3;
  cursor: default;
  box-shadow: none;
}

.ba-nav-prev { left: 0.5rem; }
.ba-nav-next { right: 0.5rem; }

.ba-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--space-md);
}

.ba-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-border);
  transition: all var(--transition-base);
}

.ba-dot.active {
  width: 22px;
  background: var(--color-sage);
}

/* ===== HOW IT WORKS ===== */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  counter-reset: step;
}

.step {
  text-align: center;
  counter-increment: step;
}

.step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-sage);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 1.25rem;
}

.step h4 {
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--color-text-light);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* ===== TESTIMONIALS ===== */
.testimonials-carousel {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform var(--transition-smooth);
}

.testimonial-card {
  flex: 0 0 100%;
  padding: var(--space-lg);
  text-align: center;
}

.testimonial-card blockquote {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.875rem;
}

.testimonial-role {
  color: var(--color-text-light);
  font-size: 0.8125rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--space-sm);
}

/* Match the before/after carousel: transparent 44px hit area, pill dot inside. */
.carousel-dot {
  width: 44px;
  height: 44px;
  background: none;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.carousel-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-border);
  transition: all var(--transition-base);
}

.carousel-dot.active::after {
  width: 22px;
  background: var(--color-sage);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

/* Round arrows, fill on hover — same vocabulary as .ba-nav. */
.carousel-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
  border-radius: 50%;
  font-size: 1rem;
  transition: all var(--transition-base);
}

.carousel-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* ===== PRICING CARDS ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.pricing-card {
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: 4px;
  padding: var(--space-lg);
  position: relative;
  transition: all var(--transition-base);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.pricing-card.popular {
  border-color: var(--color-sage);
}

.pricing-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--color-sage);
  color: var(--color-white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: var(--space-sm);
}

.pricing-card h3 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-light);
}

.pricing-features {
  margin-bottom: var(--space-md);
}

.pricing-features li {
  padding: 0.375rem 0;
  font-size: 0.9375rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.pricing-features li::before {
  content: '\2713';
  color: var(--color-sage);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-details {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
  margin-top: var(--space-sm);
}

.pricing-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
  font-size: 0.8125rem;
}

.pricing-detail-row span:first-child {
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
}

/* ===== ADD-ONS ===== */
.addons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

.addon-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  transition: all var(--transition-base);
}

.addon-card:hover {
  border-color: var(--color-sage-light);
  box-shadow: var(--shadow-sm);
}

.addon-name {
  font-weight: 600;
  font-size: 0.9375rem;
}

.addon-price {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-sage);
}

/* ===== FAQ ACCORDION ===== */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  min-height: 44px;
  cursor: pointer;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  color: var(--color-text-light);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ===== STICKY CTA BAR ===== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 998;
  /* Extra offset fully clears the overhanging close button (and any iOS
     viewport gap) so nothing peeks above the screen edge when hidden. */
  transform: translateY(calc(100% + 40px));
  pointer-events: none;
  transition: transform var(--transition-base);
}

.sticky-cta.visible {
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-cta-text h4 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
}

.sticky-cta-text p {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-bottom: 0;
}

.sticky-cta .btn {
  background: var(--color-white);
  color: var(--color-primary);
  padding: 0.625rem 1.25rem;
  font-size: 0.6875rem;
  white-space: nowrap;
}

.sticky-cta .btn:hover {
  background: var(--color-bg-alt);
}

.sticky-cta-close {
  position: absolute;
  top: -12px;
  right: 12px;
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}

/* ===== FOOTER ===== */
.footer {
  padding: var(--space-xl) 0 var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
}

.footer-links a {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-sage);
}

/* Trim the large empty white space at the very bottom on phones. */
@media (max-width: 767px) {
  #final-cta {
    padding: var(--space-lg) 0 var(--space-md);
  }
  .footer {
    padding: var(--space-lg) 0;
  }
}

/* ===== PORTFOLIO GRID ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/3;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 13, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.portfolio-overlay .btn {
  font-size: 0.6875rem;
  padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--color-white);
  color: var(--color-white);
}

.portfolio-overlay .btn:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

/* ===== ABOUT PAGE ===== */
.about-hero {
  padding-top: calc(var(--nav-height) + var(--space-xl));
}

.about-image {
  width: 100%;
  max-width: 500px;
  margin: 0 auto var(--space-lg);
  border-radius: 4px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
}

.about-content {
  max-width: 640px;
  margin: 0 auto;
}

.about-content h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  margin-bottom: var(--space-md);
}

/* ===== PRESETS / SHOP ===== */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.product-card {
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  transition: all var(--transition-base);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.product-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.product-card:hover .product-image img {
  transform: scale(1.03);
}

.product-info {
  padding: var(--space-md);
}

.product-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.product-description {
  color: var(--color-text-light);
  font-size: 0.9375rem;
  margin-bottom: var(--space-md);
}

/* ===== LANDSCAPE GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item.wide {
  grid-column: span 2;
}

/* ===== INTAKE FORM (Tally embed) ===== */
.intake-section {
  padding: var(--space-xl) 0;
}

.intake-section h2 {
  margin-bottom: var(--space-sm);
}

.intake-section .tally-embed {
  max-width: 920px;
  margin: 0 auto;
}

/* ===== PULL QUOTE ===== */
.pull-quote {
  text-align: center;
  padding: var(--space-lg) var(--space-sm);
  max-width: 600px;
  margin: 0 auto;
}

.pull-quote blockquote {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.pull-quote cite {
  font-style: normal;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-light);
}

/* ===== REVIEWS ===== */
.reviews-section h3 {
  margin-bottom: var(--space-md);
}

.review-card {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.review-stars {
  color: #d4a843;
  margin-bottom: 0.5rem;
  letter-spacing: 0.15em;
}

.review-author {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.review-badge {
  font-size: 0.75rem;
  color: var(--color-sage);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.review-text {
  color: var(--color-text-light);
  font-size: 0.9375rem;
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
/* Hidden state only applies when JS is running (html.js is set before paint).
   Without JS, .reveal content stays fully visible instead of disappearing. */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced-motion: show content immediately, no slide-in. */
@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  /* Honor reduced-motion site-wide: strip animations, transitions, and smooth scroll. */
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Visible keyboard focus ring (shows for keyboard users, not mouse clicks). */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible,
.ba-slider:focus-visible {
  outline: 2px solid var(--color-sage);
  outline-offset: 3px;
  border-radius: 2px;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== PAGE HEADER (for inner pages) ===== */
.page-header {
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-xl);
  text-align: center;
}

.page-header h1 {
  margin-bottom: var(--space-sm);
}

.page-header p {
  color: var(--color-text-light);
  max-width: 540px;
  margin: 0 auto;
}

/* ===== RESPONSIVE: TABLET (768px+) ===== */
@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .addons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ===== RESPONSIVE: DESKTOP (1024px+) ===== */
@media (min-width: 1024px) {
  h1 {
    font-size: 3.5rem;
  }

  .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .hero {
    min-height: 90vh;
  }

  .hero p {
    font-size: 1.125rem;
  }

  .container {
    padding: 0 2rem;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
}

/* ===== RESPONSIVE: LARGE DESKTOP (1440px+) ===== */
@media (min-width: 1440px) {
  h1 {
    font-size: 4rem;
  }

  :root {
    --max-width: 1320px;
  }
}

/* ===== FULL-BLEED STATEMENT BAND ===== */
.statement-band {
  position: relative;
  min-height: clamp(360px, 55vh, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--color-white);
}

.statement-band-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.statement-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Wash so the headline stays legible while the photo still reads through.
   Lighter at the edges, a touch deeper in the centre behind the text. */
.statement-band-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(13, 13, 13, 0.55) 0%, rgba(13, 13, 13, 0.28) 70%),
    linear-gradient(to right, rgba(13, 13, 13, 0.35), rgba(13, 13, 13, 0.2));
}

.statement-band-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: var(--space-2xl) 1.25rem;
  text-shadow: 0 1px 12px rgba(13, 13, 13, 0.45);
}

.statement-band-content h2 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.statement-band-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.section-label-light {
  color: var(--color-sage-light);
}

/* ===== TWO-COLUMN FAQ ===== */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.faq-intro .text-light {
  margin-top: var(--space-sm);
  max-width: 42ch;
}

@media (min-width: 900px) {
  .faq-layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: var(--space-xl);
    align-items: start;
  }

  /* Heading stays in view while the visitor scans the questions */
  .faq-intro {
    position: sticky;
    top: calc(var(--nav-height) + 1.5rem);
  }
}

/* ===== IMAGE SKELETON LOADER ===== */
/* .skeleton is added by JS only, so images stay visible if JS is disabled. */
.skeleton {
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg-alt);
}

.skeleton img {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.skeleton.is-loaded img {
  opacity: 1;
}

/* Shimmer sweep sits above the image while it loads, then is removed. */
.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.04) 45%,
    rgba(0, 0, 0, 0.08) 50%,
    rgba(0, 0, 0, 0.04) 55%,
    transparent 100%
  );
  transform: translateX(-100%);
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton.is-loaded::after {
  display: none;
}

@keyframes skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton::after {
    animation: none;
  }
  .skeleton img {
    transition: none;
  }
}
