/* =========================================================
   1. RESET & BASE
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body,
h1, h2, h3, h4,
p, ul, ol, figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

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

button {
  font: inherit;
  cursor: pointer;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-base);
  color: var(--color-text);
  background: var(--color-offwhite);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: var(--lh-tight);
  color: var(--color-heading);
  font-weight: 500;
  text-wrap: balance;
}

/* The one "voice" accent: a single italic Lora phrase in shoreline teal. */
h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--cs-shore);
  font-weight: 500;
}

/* =========================================================
   2. DESIGN TOKENS
   ========================================================= */
:root {
  /* ----------------------------------------------------------
     Coastal Shine design-system tokens (coastal-sunset palette).
     Ported from coastal-shine-design-system/tokens/*.css.
     Teal-dominant (trust) · gold = warm pop · coral = pinpoint glint.
     ---------------------------------------------------------- */
  --cs-tide:      #0B4650; /* primary dark: text, headers, dark sections, primary buttons */
  --cs-tide-700:  #0E5A66; /* primary button hover */
  --cs-shore:     #12818E; /* secondary: eyebrows, links, the waves */
  --cs-shore-600: #0F6B76; /* link hover */
  --cs-gold:      #F4A93C; /* the shine — hero/accent pop, sparingly */
  --cs-gold-deep: #E0892C; /* gold TEXT on light backgrounds (contrast-safe) */
  --cs-coral:     #F1785A; /* the glint — tiny accents only */
  --cs-coral-600: #DC5C3D; /* coral text/hover */
  --cs-sand:      #FBF5EA; /* warm neutral page background (default surface) */
  --cs-sand-200:  #F4ECDC; /* alternating warm band */
  --cs-foam:      #CDE9E4; /* light tint: soft fills, alternating sections */
  --cs-foam-300:  #B6DDD6; /* foam borders / chips */
  --cs-foam-bright:#7FD0C4;/* brighter foam (reversed mark waves) */
  --cs-ink:       #2C5560; /* body text on light backgrounds */
  --cs-ink-soft:  #5E7C84; /* muted body, captions, placeholders */
  --cs-white:     #FFFFFF; /* card surfaces over sand */
  --cs-line:      #E4DAC8; /* warm hairline — borders, dividers */

  --focus-ring: color-mix(in srgb, var(--cs-shore) 45%, transparent);

  /* ----------------------------------------------------------
     Legacy variable names remapped to the new palette so the
     existing selectors below cascade to the new look unchanged.
     ---------------------------------------------------------- */
  --color-ocean-900: var(--cs-tide);
  --color-ocean-700: var(--cs-tide-700);
  --color-ocean-500: var(--cs-shore);
  --color-ocean-300: var(--cs-foam-bright);
  --color-foam: var(--cs-foam);
  --color-white: var(--cs-white);
  --color-offwhite: var(--cs-sand);

  --color-text: var(--cs-ink);
  --color-text-muted: var(--cs-ink-soft);
  --color-heading: var(--cs-tide);

  --color-shine: var(--cs-gold);
  --color-shine-dark: var(--cs-gold-deep);
  --color-shine-contrast: var(--cs-tide);

  --color-border: var(--cs-line);
  --color-glass: color-mix(in srgb, var(--cs-sand) 88%, transparent);

  /* Typography — Lora (display) + Source Sans 3 (body) */
  --font-heading: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, sans-serif;

  --fs-h1: clamp(2.25rem, 4vw + 1rem, 3.25rem);
  --fs-h2: clamp(1.6rem, 2.5vw + 1rem, 2rem);
  --fs-h3: clamp(1.2rem, 1vw + 1rem, 1.5rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  --lh-tight: 1.12;
  --lh-base: 1.6;

  /* Spacing scale (4px base) */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --container-width: 1180px;
  --container-padding: clamp(1rem, 4vw, 2.5rem);

  /* Radius / shadow / transitions */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 4px rgba(11, 70, 80, 0.08);
  --shadow-md: 0 6px 20px -8px rgba(11, 70, 80, 0.14);
  --shadow-lg: 0 16px 40px -12px rgba(11, 70, 80, 0.22);
  --shadow-glow: 0 0 0 3px var(--focus-ring);
  --shadow-glint: 0 0 0 4px color-mix(in srgb, var(--cs-coral) 28%, transparent);

  --transition-fast: 150ms ease;
  --transition-base: 220ms ease;
  --transition-slow: 400ms ease;
  --ease-out-soft: cubic-bezier(0.22, 0.61, 0.36, 1);

  --nav-height: 72px;
  --nav-height-scrolled: 60px;
}

/* =========================================================
   3. UTILITIES
   ========================================================= */
.container {
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  background: var(--color-ocean-700);
  color: var(--color-white);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0.5rem;
}

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

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

.section-head {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ocean-500);
  margin-bottom: var(--space-xs);
}

.section-head h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-sm);
}

.section-head p {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}

/* =========================================================
   4. BUTTONS & FORM ELEMENTS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  padding: 0.9rem 1.75rem;
  min-height: 44px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform var(--transition-base) var(--ease-out-soft),
              box-shadow var(--transition-base),
              background-color var(--transition-base),
              color var(--transition-base),
              border-color var(--transition-base);
  cursor: pointer;
}

.btn:active {
  transform: translateY(0.5px);
}

/* Primary action is deep tide (not gold). One primary per view. */
.btn--primary {
  background: var(--cs-tide);
  color: var(--cs-sand);
}

.btn--primary:hover {
  background: var(--cs-tide-700);
}

/* Secondary: tide outline that reads on the warm sand hero. */
.btn--outline {
  background: transparent;
  border-color: var(--cs-tide);
  color: var(--cs-tide);
}

.btn--outline:hover {
  background: var(--cs-tide);
  border-color: var(--cs-tide);
  color: var(--cs-sand);
}

/* Text/link button: grows a coral underline (DS .btn-text). Only used in
   the hero, so it's tuned bright enough to read on the gradient background. */
.btn--text {
  background: transparent;
  border: none;
  color: var(--cs-coral);
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: var(--space-2xs) var(--space-3xs);
  min-height: auto;
}

.btn--text:hover {
  border-bottom-color: var(--cs-coral);
}

.btn--block {
  width: 100%;
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-ocean-500);
  outline-offset: 2px;
}

/* Form fields */
.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
  margin-bottom: var(--space-md);
}

.form-field label {
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--color-heading);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  min-height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  border-color: var(--color-ocean-500);
  box-shadow: var(--shadow-glow);
  outline: none;
}

.form-row {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================================
   5. HEADER / NAVIGATION
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: var(--color-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  height: var(--nav-height);
  transition: height var(--transition-base);
}

/* Logo stays left; nav + actions cluster to the right. */
.site-header .nav-links {
  margin-left: auto;
}

/* Below desktop the nav collapses to a dropdown, so push the phone + toggle right. */
@media (max-width: 1023px) {
  .header-actions {
    margin-left: auto;
  }
}

.site-header.is-scrolled .container {
  height: var(--nav-height-scrolled);
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

/* Always-visible tap-to-call in the header (hidden on the smallest screens) */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header-phone {
  display: none;
  align-items: center;
  gap: var(--space-2xs);
  color: var(--cs-tide);
  font-weight: 700;
  font-size: var(--fs-small);
  white-space: nowrap;
}

.header-phone svg {
  color: var(--cs-shore);
}

@media (min-width: 560px) {
  .header-phone { display: inline-flex; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links ul {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav-links a:not(.btn) {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
  padding: var(--space-2xs) var(--space-3xs);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: var(--space-3xs);
  right: var(--space-3xs);
  bottom: -2px;
  height: 2px;
  background: var(--color-shine);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base) var(--ease-out-soft);
}

.nav-links a:not(.btn):hover {
  color: var(--color-ocean-700);
}

.nav-links a:not(.btn):hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: none;
}

@media (min-width: 1024px) {
  .nav-cta {
    display: inline-flex;
  }
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--color-ocean-900);
}

.nav-toggle:hover {
  background: var(--color-foam);
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle.is-open .icon-menu {
  display: none;
}

.nav-toggle.is-open .icon-close {
  display: block;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

/* Mobile nav panel */
@media (max-width: 1023px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: var(--space-md) var(--container-padding) var(--space-lg);
    gap: var(--space-md);
    opacity: 0;
    transform: translateY(-12px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-base) var(--ease-out-soft),
                transform var(--transition-base) var(--ease-out-soft),
                visibility var(--transition-base);
  }

  .nav-links ul {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2xs);
  }

  .nav-links a:not(.btn) {
    display: block;
    padding: var(--space-sm);
  }

  .nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-cta {
    display: inline-flex;
    width: 100%;
  }
}

/* =========================================================
   6. HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--cs-tide) 0%,
    var(--cs-tide-700) 30%,
    var(--cs-shore) 65%,
    var(--cs-shore-600) 100%
  );
  background-size: 220% 220%;
  animation: hero-gradient-slide 18s ease-in-out infinite alternate;
}

@keyframes hero-gradient-slide {
  0% { background-position: 0% 25%; }
  100% { background-position: 100% 75%; }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding-block: var(--space-2xl);
}

@media (min-width: 900px) {
  .hero-content {
    grid-template-columns: 1.05fr 1fr;
    gap: var(--space-2xl);
  }
}

.hero-eyebrow {
  display: inline-block;
  color: var(--cs-foam);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.hero h1 {
  color: var(--cs-sand);
  font-size: clamp(2.25rem, 4vw + 1rem, 3.25rem);
  margin-bottom: var(--space-md);
}

/* Gradient hero needs the italic accent in gold, not the shared shoreline-teal
   default (h1 em, h2 em, h3 em), since teal-on-teal loses contrast here. */
.hero h1 em {
  color: var(--cs-gold);
}

.hero p.hero-sub {
  color: rgba(251, 245, 234, 0.92);
  font-size: 1.125rem;
  max-width: 44ch;
  margin-bottom: var(--space-lg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

/* Keeps the primary button crisp against the moving gradient, since its
   base tide color can otherwise get close to the gradient's own dark end. */
.hero-actions .btn--primary {
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.hero-actions .btn--primary:hover {
  box-shadow: 0 10px 28px -6px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-lg);
}

.trust-strip li {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  color: var(--cs-sand);
  font-size: 0.9rem;
  font-weight: 600;
}

.trust-strip svg {
  flex-shrink: 0;
  color: var(--cs-foam);
}

/* ---- Hero media frame around the swipe component ---- */
.hero-media {
  background: var(--cs-white);
  border-radius: var(--radius-lg);
  border: 0.5px solid var(--cs-line);
  box-shadow: var(--shadow-md);
  padding: var(--space-sm);
}

.hero-media__hint {
  text-align: center;
  margin: var(--space-xs) 0 var(--space-3xs);
  font-size: var(--fs-small);
  color: var(--cs-foam);
}

.hero-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

/* =========================================================
   6b. SWIPE-TO-SHINE (before/after reveal)
   Ported from coastal-shine-design-system BeforeAfter/GlintSpark.
   ========================================================= */
.before-after {
  --pos: 50%;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cs-tide);
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.before-after__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The dull "before" sits on top, clipped to the left of the divider.
   Drag the divider left to shrink it and reveal the clean base. */
.before-after__before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

/* Stylized fallback panes when no photos are supplied yet */
.before-after__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 7px;
  padding: 7px;
}

.before-after__fallback span {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}

.before-after__fallback--before span { background: #AEB6B0; }
.before-after__fallback--before span::before {
  content: '';
  position: absolute;
  top: 24%;
  left: -20%;
  width: 140%;
  height: 9px;
  background: rgba(120, 130, 125, 0.32);
  transform: rotate(-18deg);
}
.before-after__fallback--after span { background: #D6EEEA; }
.before-after__fallback--after span::before {
  content: '';
  position: absolute;
  top: 26%;
  left: -25%;
  width: 150%;
  height: 13px;
  background: rgba(255, 255, 255, 0.6);
  transform: rotate(-18deg);
}

/* Corner tags */
.before-after__tag {
  position: absolute;
  top: 9px;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  padding: 3px 7px;
  border-radius: 4px;
}
.before-after__tag--before {
  left: 9px;
  background: color-mix(in srgb, var(--cs-tide) 72%, transparent);
}
.before-after__tag--after {
  right: 9px;
  background: color-mix(in srgb, var(--cs-gold-deep) 92%, transparent);
}

/* The coral glint marker (exact DS path lives in the SVG markup) */
.before-after__glint {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  z-index: 2;
}

/* Divider + handle */
.before-after__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  background: #fff;
  transform: translateX(-1px);
  z-index: 3;
}

.before-after__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--cs-tide);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cs-tide);
  font-size: 14px;
  box-shadow: 0 1px 4px rgba(11, 70, 80, 0.25);
  transition: box-shadow var(--transition-base) var(--ease-out-soft);
}

/* Knob picks up the coral glow once the clean result is mostly revealed. */
.before-after[data-revealed] .before-after__knob {
  box-shadow: var(--shadow-glint);
}

.before-after__handle:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

/* =========================================================
   7. SERVICES
   ========================================================= */
.services-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

.service-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg);
  transition: transform var(--transition-base) var(--ease-out-soft), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

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

.service-card__ribbon {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: var(--color-shine);
  color: var(--color-shine-contrast);
  font-size: var(--fs-small);
  font-weight: 700;
  padding: var(--space-3xs) var(--space-sm);
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-foam);
  color: var(--color-ocean-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.service-card h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-3xs);
}

.service-card__price {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--cs-gold-deep);
  margin-bottom: var(--space-2xs);
}

.service-card__price .price-flag {
  letter-spacing: 0.05em;
}

.service-card p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.service-card__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.service-card__media span {
  font-size: var(--fs-small);
  color: var(--color-white);
  background: rgba(10, 61, 82, 0.45);
  padding: var(--space-2xs) var(--space-sm);
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  color: var(--color-ocean-700);
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.link-arrow svg {
  transition: transform var(--transition-base) var(--ease-out-soft);
}

.link-arrow:hover {
  color: var(--color-shine-dark);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* Image placeholder gradients */
.img-placeholder {
  background-size: cover;
  background-position: center;
}

.gradient-1 { background: linear-gradient(135deg, var(--color-ocean-500), var(--color-ocean-300)); }
.gradient-2 { background: linear-gradient(135deg, var(--color-ocean-700), var(--color-ocean-500)); }
.gradient-3 { background: linear-gradient(135deg, var(--color-shine), var(--color-ocean-300)); }
.gradient-4 { background: linear-gradient(135deg, var(--color-ocean-900), var(--color-ocean-500)); }
.gradient-5 { background: linear-gradient(135deg, var(--color-ocean-300), var(--color-foam)); }
.gradient-6 { background: linear-gradient(135deg, var(--color-shine-dark), var(--color-ocean-700)); }
.gradient-7 { background: linear-gradient(160deg, var(--color-ocean-500), var(--color-shine)); }
.gradient-8 { background: linear-gradient(160deg, var(--color-ocean-900), var(--color-ocean-300)); }

/* =========================================================
   8. AUDIENCE / VALUE PROPS
   ========================================================= */
.audience-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .audience-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.audience-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: transform var(--transition-base) var(--ease-out-soft), box-shadow var(--transition-base);
}

.audience-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.audience-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-ocean-700);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.audience-card h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-2xs);
}

.audience-card p {
  color: var(--color-text-muted);
}

/* =========================================================
   9. WHY CHOOSE US
   ========================================================= */
.why-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.why-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  color: var(--color-ocean-500);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-item h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-3xs);
}

.why-item p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* =========================================================
   10. GALLERY
   ========================================================= */
.gallery-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-item__media {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base) var(--ease-out-soft);
}

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

.gallery-item figcaption {
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  background: var(--color-white);
  text-align: center;
}

/* =========================================================
   11. PROCESS / HOW IT WORKS
   ========================================================= */
.process-grid {
  display: grid;
  gap: var(--space-xl) var(--space-lg);
  grid-template-columns: 1fr;
  position: relative;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  position: relative;
  text-align: left;
}

.process-step__number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-ocean-300);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-2xs);
}

.process-step p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}


/* =========================================================
   12. TESTIMONIALS
   ========================================================= */
.testimonial-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.star-row {
  display: flex;
  gap: 0.15rem;
  color: var(--color-shine);
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text);
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.avatar-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-white);
  flex-shrink: 0;
}

.testimonial-author__info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-heading);
}

.testimonial-author__info span {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

/* =========================================================
   13. SERVICE AREA
   ========================================================= */
.service-area-layout {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 1024px) {
  .service-area-layout {
    grid-template-columns: 1.1fr 1fr;
  }
}

.area-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  aspect-ratio: 4 / 3;
  min-height: 320px;
}

.area-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-block: var(--space-lg);
}

.area-chip {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2xs) var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--color-white);
  transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

.area-chip:hover {
  background: var(--color-foam);
  border-color: var(--color-ocean-300);
  transform: translateY(-2px);
}

.map-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.map-placeholder svg {
  width: 48px;
  height: 48px;
}

/* =========================================================
   14. CONTACT / FORM
   ========================================================= */
.contact-layout {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.contact-info {
  background: var(--color-ocean-900);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.contact-info h2 {
  color: var(--color-white);
}

.contact-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-lg);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-block: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 500;
}

.contact-method:first-of-type {
  border-top: none;
}

.contact-method svg {
  flex-shrink: 0;
  color: var(--color-shine);
}

.contact-method a:hover {
  color: var(--color-shine);
}

.contact-form-wrap {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg);
}

/* honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =========================================================
   15. FOOTER
   ========================================================= */
.site-footer {
  background: var(--color-ocean-900);
  color: rgba(255, 255, 255, 0.85);
  padding-block: var(--space-2xl) var(--space-lg);
}

.footer-grid {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-grid .logo img {
  height: 52px;
}

.footer-brand p {
  margin-top: var(--space-sm);
  color: rgba(255, 255, 255, 0.7);
  max-width: 320px;
}

.footer-col h3 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--color-shine);
}

.social-row {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.social-row a:hover {
  background: var(--color-shine);
  color: var(--color-shine-contrast);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: var(--space-lg);
  text-align: center;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.6);
}

/* =========================================================
   15b. MEET CHAMP (founder)
   ========================================================= */
.meet-layout {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 900px) {
  .meet-layout {
    grid-template-columns: 0.8fr 1.1fr;
  }
}

.meet-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: flex-end;
  color: var(--cs-white);
}

.meet-photo span {
  font-size: var(--fs-small);
  background: rgba(11, 70, 80, 0.45);
  padding: var(--space-2xs) var(--space-sm);
  width: 100%;
}

.meet-body .signature {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--cs-shore);
  margin-top: var(--space-md);
}

/* =========================================================
   15c. PROOF BAND (real credentials — no fabricated reviews)
   ========================================================= */
.proof-band {
  background: var(--cs-tide);
  color: var(--cs-sand);
}

.proof-band h2 {
  color: var(--cs-sand);
}

.proof-band .eyebrow {
  color: var(--cs-foam);
}

.proof-layout {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 900px) {
  .proof-layout {
    grid-template-columns: 1.3fr 1fr;
  }
}

.proof-creds {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.proof-cred {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  color: var(--cs-sand);
}

.proof-cred svg {
  flex-shrink: 0;
  color: var(--cs-foam);
}

.proof-reviews-slot {
  border: 1px dashed color-mix(in srgb, var(--cs-foam) 40%, transparent);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  color: var(--cs-foam);
  font-size: var(--fs-small);
}

.proof-reviews-slot .glint-inline {
  margin-bottom: var(--space-sm);
}

/* =========================================================
   15d. MOBILE STICKY ACTION BAR (Call · Text · Estimate)
   ========================================================= */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--color-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--cs-line);
  padding: var(--space-2xs);
  gap: var(--space-2xs);
}

.mobile-bar a {
  flex: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 52px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cs-tide);
}

.mobile-bar a svg {
  color: var(--cs-shore);
}

.mobile-bar a.mobile-bar__primary {
  background: var(--cs-tide);
  color: var(--cs-sand);
}

.mobile-bar a.mobile-bar__primary svg {
  color: var(--cs-sand);
}

@media (max-width: 640px) {
  .mobile-bar {
    display: flex;
  }
  /* keep the fixed bar from covering the footer */
  .site-footer {
    padding-bottom: calc(var(--space-lg) + 64px);
  }
}

/* =========================================================
   15e. MEMBERSHIP / RECURRING PLANS
   ========================================================= */
/* Own tinted background (soft seafoam glow over sand) so it reads as a
   distinct "offer" band without breaking the section alternation. */
.plans {
  background:
    radial-gradient(120% 80% at 50% -10%, color-mix(in srgb, var(--cs-foam) 65%, transparent), transparent 60%),
    var(--cs-sand);
}

.plans-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 768px) {
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
  }
}

.plan-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: transform var(--transition-base) var(--ease-out-soft), box-shadow var(--transition-base);
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* Featured tier gets the shoreline border + a slight lift on desktop. */
.plan-card--featured {
  border: 2px solid var(--cs-shore);
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .plan-card--featured {
    transform: scale(1.04);
  }
  .plan-card--featured:hover {
    transform: scale(1.04) translateY(-6px);
  }
}

.plan-card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--cs-gold);
  color: var(--cs-tide);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-small);
  letter-spacing: 0.04em;
  padding: var(--space-3xs) var(--space-md);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

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

.plan-card__name {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  color: var(--color-heading);
  font-weight: 600;
}

.plan-card__cadence {
  color: var(--color-text-muted);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: var(--space-3xs);
}

.plan-card__price {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-block: var(--space-sm);
  border-block: 1px solid var(--color-border);
}

.plan-card__save {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--cs-gold-deep);
  line-height: 1;
}

.plan-card__unit {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.plan-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex-grow: 1;
}

.plan-card__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2xs);
  font-size: 0.95rem;
  color: var(--color-text);
}

.plan-card__features li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-card__features li.yes svg {
  color: var(--color-ocean-500);
}

.plan-card__features li.no {
  color: var(--color-text-muted);
}

.plan-card__features li.no svg {
  color: var(--cs-coral-600);
  opacity: 0.65;
}

.plans-note {
  text-align: center;
  margin-top: var(--space-lg);
  color: var(--color-text-muted);
  font-size: var(--fs-small);
}

.plans-note a {
  color: var(--color-ocean-700);
  font-weight: 600;
}

/* =========================================================
   15f. REVIEWS CAROUSEL
   ========================================================= */
.reviews-actions {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.reviews-carousel {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: var(--space-sm);
}

.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 88%;
  gap: var(--space-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: var(--space-2xs) var(--space-3xs) var(--space-md);
  flex: 1;
  min-width: 0;
  scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

@media (min-width: 640px) {
  .reviews-track { grid-auto-columns: 46%; }
}

@media (min-width: 1024px) {
  .reviews-track {
    grid-auto-columns: calc((100% - 2 * var(--space-lg)) / 3);
  }
}

.review-card {
  scroll-snap-align: start;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* Sample cards are visibly marked so no visitor mistakes them for real
   reviews. Remove the modifier + the "Sample" tag when you drop in a
   real testimonial. */
.review-card--sample {
  border: 1px dashed var(--color-ocean-300);
  background: color-mix(in srgb, var(--cs-white) 55%, var(--cs-foam));
  box-shadow: none;
}

.review-card__sample {
  align-self: flex-start;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--cs-shore);
  background: var(--cs-white);
  border: 1px solid var(--color-ocean-300);
  border-radius: var(--radius-pill);
  padding: 2px var(--space-2xs);
}

.review-card .star-row {
  color: var(--color-shine);
}

.review-card blockquote {
  margin: 0;
  color: var(--color-text);
  flex-grow: 1;
  font-size: 1rem;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.review-card__author .avatar-placeholder {
  font-size: 1.2rem;
  font-weight: 700;
}

.review-card__author strong {
  display: block;
  color: var(--color-heading);
  font-size: 0.95rem;
}

.review-card__author span {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

.carousel-btn {
  flex-shrink: 0;
  align-self: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--cs-tide);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-fast), transform var(--transition-fast), opacity var(--transition-fast);
}

.carousel-btn:hover {
  background: var(--color-foam);
  transform: translateY(-2px);
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 639px) {
  .carousel-btn { display: none; }
}

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

.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: var(--color-ocean-300);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.carousel-dots button.is-active {
  background: var(--cs-shore);
  transform: scale(1.35);
}

/* =========================================================
   15g. FAQ
   ========================================================= */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.faq-item[open] {
  box-shadow: var(--shadow-sm);
  border-color: var(--color-ocean-300);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-heading);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--color-ocean-700);
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--color-ocean-500);
  outline-offset: -3px;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--cs-shore);
  transition: transform var(--transition-base) var(--ease-out-soft);
}

.faq-item[open] summary .faq-chevron {
  transform: rotate(180deg);
}

.faq-item__body {
  padding: 0 var(--space-lg) var(--space-md);
  color: var(--color-text-muted);
}

.faq-item__body p {
  margin: 0;
}

/* =========================================================
   15h. REAL PHOTOS WIRED INTO PLACEHOLDERS
   ========================================================= */
/* Founder photo fills the 4:5 meet frame. The gradient behind it shows
   as a branded fallback if the file isn't saved yet (img self-hides). */
.meet-photo {
  background: linear-gradient(135deg, var(--color-shine), var(--color-ocean-300));
}

.meet-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Featured before/after spans two columns and shows at a wider 3:2 so
   both halves stay visible; the photo covers its gradient-backed tile. */
.gallery-item--feature {
  grid-column: span 2;
}

/* Service-card photos sit behind the service-name label. */
.service-card__media {
  position: relative;
}

.service-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__media span {
  position: relative;
  z-index: 1;
}

/* Two-image before/after tile: dirty (Before) + clean (After), each labeled. */
.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.ba-pair__cell {
  display: flex;
  flex-direction: column;
}

.ba-pair__cell img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.ba-pair__label {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-small);
  letter-spacing: 0.04em;
  color: var(--color-heading);
  background: var(--color-white);
  padding: var(--space-2xs);
}

/* =========================================================
   16. SCROLL-REVEAL ANIMATION
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--transition-slow) var(--ease-out-soft),
              transform var(--transition-slow) var(--ease-out-soft);
}

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

.reveal-group .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-group .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-group .reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal-group .reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal-group .reveal:nth-child(6) { transition-delay: 0.4s; }
.reveal-group .reveal:nth-child(7) { transition-delay: 0.48s; }
.reveal-group .reveal:nth-child(8) { transition-delay: 0.56s; }

/* =========================================================
   17. SECTION SCROLL OFFSET
   ========================================================= */
section[id] {
  scroll-margin-top: var(--nav-height);
}

/* =========================================================
   18. REDUCED MOTION OVERRIDES
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-bg .shine-sweep,
  .hero-bg .glow-pulse {
    animation: none;
  }
}
