/* =================================================================
   BLUETIDE — Premium Plumber (Growth Tier)
   Marine navy + saffron gold + ivory · editorial · cinematic micro-motion
   ================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --navy-950: #040d1c;
  --navy-900: #071833;
  --navy-800: #0a2e4a;
  --navy-700: #103e62;
  --navy-600: #1a5279;
  --gold-400: #f5b840;
  --gold-500: #e9a213;
  --gold-100: #fff5dc;
  --ivory:    #fafaf6;
  --ivory-2:  #f3f1e9;
  --paper:    #ffffff;
  --slate-700:#33425a;
  --slate-500:#5b6779;
  --slate-300:#cdd3dc;
  --line:     #e2dfd2;
  --line-2:   #1a334e;

  --primary:  var(--navy-800);
  --accent:   var(--gold-400);
  --accent-2: var(--gold-500);
  --bg:       var(--ivory);
  --text:     #1a2235;
  --muted:    var(--slate-500);

  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius:    18px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(7,24,51,.06), 0 2px 4px rgba(7,24,51,.04);
  --shadow:    0 4px 14px rgba(7,24,51,.08), 0 12px 32px rgba(7,24,51,.06);
  --shadow-lg: 0 18px 60px rgba(7,24,51,.16);
  --shadow-gold: 0 14px 40px rgba(245,184,64,.32);

  --ease:    cubic-bezier(.22,.61,.36,1);
  --ease-out:cubic-bezier(.16,1,.3,1);

  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2rem);

  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    ui-monospace, 'SF Mono', 'Cascadia Mono', 'Consolas', monospace;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -.015em; color: var(--navy-950); }
p { margin: 0; }

/* Livewire loading hidden until mounted */
[wire\:loading],
[wire\:loading\.delay],
[wire\:loading\.inline-block],
[wire\:loading\.inline] { display: none; }

/* data-list grid fix */
[data-list] { display: contents; }
div[data-list] { display: contents; }
/* Converted blades: data-list attribute is stripped → wrapper becomes a plain
   <div>. Promote that wrapper (the SOLE direct child of the grid) to
   display:contents so its children become real grid items. */
.services__grid > div:only-child,
.testimonials__grid > div:only-child,
.faqs__list > div:only-child { display: contents; }

/* Keyboard focus */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible,
.nav__cta:focus-visible,
.hero__cta:focus-visible,
.faq-item__q:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy-900); color: var(--paper);
  padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- 3. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

section[data-section] {
  position: relative;
  padding-block: clamp(4rem, 9vw, 7.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--navy-700);
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.eyebrow--light { color: var(--gold-100); }
.eyebrow--light::before { background: linear-gradient(90deg, var(--accent), transparent); }

.section-head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-title {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  letter-spacing: -.025em;
  margin-top: .8rem;
}
.section-title em,
.section-title .accent {
  font-style: italic;
  font-weight: 400;
  color: var(--navy-700);
  position: relative;
  display: inline-block;
}
.section-title em::after,
.section-title .accent::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 4%;
  height: 10px;
  background: var(--accent);
  opacity: .42;
  z-index: -1;
  border-radius: 2px;
}
.section-lead {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.06rem;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .96rem;
  letter-spacing: .005em;
  transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .35s;
  position: relative;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { background: var(--navy-900); color: var(--paper); box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--navy-800); box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.btn--accent { background: var(--accent); color: var(--navy-950); box-shadow: var(--shadow-gold); color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.btn--accent:hover { background: var(--accent-2); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid rgba(7,24,51,.18);
}
.btn--ghost:hover { border-color: var(--navy-900); background: var(--navy-900); color: var(--paper); }

.btn--ghost-light {
  background: transparent;
  color: var(--paper);
  border: 1.5px solid rgba(255,255,255,.28);
}
.btn--ghost-light:hover { background: var(--paper); color: var(--navy-900); border-color: var(--paper); }

.btn--full { width: 100%; }
.btn--magnetic { transition: transform .3s var(--ease-out), background .25s, color .25s, box-shadow .35s; }

/* ---------- 5. Scroll progress + back to top ---------- */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  z-index: 9999; transition: width .12s linear;
}
.back-to-top {
  position: fixed; right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy-900); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  opacity: 0; pointer-events: none;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s;
  z-index: 50;
  box-shadow: var(--shadow);
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--accent); color: var(--navy-950); color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }

/* ---------- 6. Header ---------- */
[data-section="header"] {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: 16px;
  background: rgba(255,255,255,0); backdrop-filter: blur(0);
  transition: background .35s var(--ease), backdrop-filter .35s, border-color .35s, padding .35s;
  border-bottom: 1px solid transparent;
}
[data-section="header"].is-scrolled {
  background: rgba(250,250,246,.85);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
  padding-block: 10px;
}
[data-section="header"] nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; background: var(--navy-900); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.12rem; color: var(--navy-950); letter-spacing: -.01em; }
.brand-text small { font-family: var(--font-mono); font-size: .68rem; color: var(--accent-2); letter-spacing: .18em; text-transform: uppercase; margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 1.8rem; }
.nav__links a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--slate-700);
  position: relative;
  padding-block: 4px;
  transition: color .25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.nav__links a:hover { color: var(--navy-950); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__links a.is-active { color: var(--navy-950); font-weight: 600; }

.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px;
  background: var(--navy-900); color: var(--paper);
  font-size: .88rem; font-weight: 600;
  transition: background .25s, transform .25s;
}
.nav__cta:hover { background: var(--accent); color: var(--navy-950); transform: translateY(-1px); color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.nav__cta svg { width: 14px; height: 14px; }

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--navy-900); color: var(--paper);
  font-size: 18px;
  align-items: center; justify-content: center;
}
.nav__cart { display: none; }

/* ---------- 7. Hero ---------- */
[data-section="hero"] {
  position: relative;
  padding-top: clamp(7rem, 14vh, 10rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(245,184,64,.18), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(10,46,74,.10), transparent 60%),
    var(--ivory);
  overflow: hidden;
}
.hero__deco-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10,46,74,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,46,74,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
  opacity: .55;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__content { max-width: 620px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
}
.hero__badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(245,184,64,.25);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(245,184,64,.18); }
  50%      { box-shadow: 0 0 0 8px rgba(245,184,64,.04); }
}

.hero__prefix {
  display: block;
  margin-top: 1.6rem;
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--navy-700);
}
.hero__title {
  font-size: clamp(2.6rem, 6.2vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin-top: .55rem;
}
.hero__title em,
.hero__title .accent {
  font-style: italic;
  font-weight: 400;
  color: var(--navy-700);
  position: relative;
  display: inline-block;
}
.hero__title em::after,
.hero__title .accent::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 6%;
  height: 14px;
  background: var(--accent);
  opacity: .55;
  z-index: -1;
  border-radius: var(--radius, 3px);
}
.hero__subtitle {
  display: block;
  margin-top: 1.2rem;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy-800);
}
/* The views render no data-field markers (the converter strips them): content is styled by class. */
.hero__content > .hero__text {
  margin-top: 1.1rem;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 540px;
}
.hero__cta-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 2rem;
  align-items: center;
}
.hero__cta-row > .hero__cta-label { display: none; }
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: 16px 30px;
  border-radius: 999px;
  background: var(--navy-900);
  color: var(--paper);
  font-weight: 600;
  font-size: .98rem;
  transition: transform .35s var(--ease-out), background .25s, box-shadow .35s;
  box-shadow: var(--shadow);
}
.hero__cta:hover { background: var(--accent); color: var(--navy-950); transform: translateY(-2px); box-shadow: var(--shadow-gold); color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.hero__cta::after { content: "→"; font-weight: 400; transition: transform .35s var(--ease); }
.hero__cta:hover::after { transform: translateX(4px); }

.hero__phone {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px 14px 18px;
  border-radius: 999px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  font-weight: 600;
  color: var(--navy-900);
  transition: border-color .25s, transform .25s, color .25s;
}
.hero__phone:hover { border-color: var(--navy-900); transform: translateY(-1px); }
.hero__phone-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--accent-2);
  display: inline-flex; align-items: center; justify-content: center;
}
.hero__phone-icon svg { width: 14px; height: 14px; }
.hero__phone small { display: block; font-size: .68rem; font-weight: 500; color: var(--muted); letter-spacing: .15em; text-transform: uppercase; line-height: 1; margin-bottom: 3px; }

.hero__trust {
  margin-top: 2.4rem;
  display: flex; align-items: center; gap: 1.5rem;
  flex-wrap: wrap;
}
.hero__rating { display: flex; align-items: center; gap: 10px; }
.hero__stars { display: flex; gap: 2px; color: var(--accent); }
.hero__stars svg { width: 16px; height: 16px; fill: currentColor; }
.hero__rating-text { font-size: .9rem; color: var(--slate-700); }
.hero__rating-text strong { color: var(--navy-950); font-weight: 700; }
.hero__divider { width: 1px; height: 28px; background: var(--line); }
.hero__certified { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.hero__certified::before { content: "✓"; color: var(--navy-700); font-weight: 700; }

.hero__visual {
  position: relative;
  aspect-ratio: 4/5;
  max-height: 640px;
}
.hero__image-wrap {
  position: relative;
  width: 100%; height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(7,24,51,.18), 0 8px 24px rgba(7,24,51,.10);
}
.hero__image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__image-tint {
  position: absolute; inset: 0;
  background: linear-gradient(140deg, color-mix(in srgb, var(--wb-dark-surface, rgb(7,24,51)) 10%, transparent) 0%, transparent 40%, color-mix(in srgb, var(--background, rgb(245,184,64)) 18%, transparent) 100%);
  pointer-events: none;
}
.hero__floating-card {
  position: absolute;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line);
  z-index: 2;
}
.hero__floating-card--top { top: 24px; left: -28px; }
.hero__floating-card--bottom { bottom: 28px; right: -32px; flex-direction: column; align-items: flex-start; gap: 8px; padding: 1.2rem 1.4rem; }
.hero__floating-card .icon-tile {
  width: 44px; height: 44px;
  border-radius: var(--radius, 12px);
  background: var(--gold-100);
  color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero__floating-card .icon-tile svg { width: 22px; height: 22px; }
.hero__floating-card strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy-950); letter-spacing: -.02em; }
.hero__floating-card span { display: block; font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.hero__floating-card--bottom strong { font-size: 1.25rem; }
.hero__floating-card--bottom .pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--navy-800);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold-100);
}
.hero__floating-card--bottom .pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--background, #16a34a); box-shadow: 0 0 0 3px rgba(22,163,74,.2); }

/* ---------- 8. Stats band ---------- */
.stats-band {
  background: var(--navy-950);
  color: var(--paper);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  position: relative;
  overflow: clip;
}
.stats-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(245,184,64,.16), transparent 60%),
    radial-gradient(600px 280px at 90% 100%, rgba(26,82,121,.5), transparent 60%);
  pointer-events: none;
}
.stats-band__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); /* auto-fit: owner-supplied stats may be absent — never leave an empty column */
  gap: clamp(1.5rem, 3vw, 3rem);
  text-align: left;
}
.stat-item { position: relative; padding-left: 1.4rem; border-left: 2px solid rgba(245,184,64,.4); }
.stat-item__value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -.025em;
  color: var(--gold-400);
}
.stat-item__value sup { font-size: .55em; color: var(--paper); margin-left: 4px; vertical-align: super; }
.stat-item__label {
  display: block;
  margin-top: .65rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--gold-100);
}
.stat-item__caption {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,245,220,.5);
}

/* ---------- 9. About ---------- */
[data-section="about"] { background: var(--paper); }
.about__inner {
  display: grid;
  grid-template-columns: .95fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about__visual { position: relative; }
.about__visual-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5/6;
}
.about__visual-main img { width: 100%; height: 100%; object-fit: cover; }
.about__visual-deco {
  position: absolute;
  bottom: -28px; left: -28px;
  width: 56%;
  aspect-ratio: 4/3;
  background: var(--accent);
  border-radius: var(--radius);
  z-index: -1;
}
.about__visual-quote {
  position: absolute;
  top: 24px; right: -22px;
  background: var(--navy-900);
  color: var(--paper);
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius);
  max-width: 220px;
  box-shadow: var(--shadow-lg);
  font-size: .92rem;
  line-height: 1.5;
  z-index: 2;
}
.about__visual-quote::before {
  content: "❝";
  display: block;
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.8rem;
  line-height: .8;
  margin-bottom: 6px;
}
.about__content { max-width: 560px; }
.about__title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-top: .9rem;
  letter-spacing: -.02em;
}
.about__title em { font-style: italic; font-weight: 400; color: var(--navy-700); }
.about__content > .about__text {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 1.04rem;
}
.about__features {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.4rem;
}
.about__feature { display: flex; gap: 12px; align-items: flex-start; }
.about__feature-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius, 10px);
  background: var(--gold-100);
  color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about__feature-icon svg { width: 18px; height: 18px; }
.about__feature h4 { font-family: var(--font-body); font-size: .95rem; font-weight: 700; color: var(--navy-950); }
.about__feature p { font-size: .85rem; color: var(--muted); margin-top: 2px; }

.about__signoff {
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px;
}
.about__signoff-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.about__signoff strong { display: block; font-family: var(--font-display); color: var(--navy-950); font-size: 1.05rem; }
.about__signoff span { display: block; font-size: .83rem; color: var(--muted); margin-top: 2px; }

/* ---------- 10. Services ---------- */
[data-section="services"] {
  background: var(--ivory-2);
  position: relative;
}
[data-section="services"]::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(10,46,74,.08) 1px, transparent 0);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  opacity: .5;
  pointer-events: none;
}
.services__head {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.services__head-text { max-width: 620px; }
.services__title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  letter-spacing: -.025em;
  margin-top: .6rem;
}
.services__title em { font-style: italic; font-weight: 400; color: var(--navy-700); }
.services__head-cta { display: none; }
@media (min-width: 900px) { .services__head-cta { display: inline-flex; } }

.services__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.service-card {
  --card-bg: var(--paper);
  --card-fg: var(--navy-950);
  position: relative;
  background: var(--surface, var(--card-bg));
  color: var(--card-fg);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.7rem 1.6rem;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease-out), box-shadow .45s, border-color .35s;
  overflow: hidden;
  min-height: 280px;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }

/* Bento accent: every 7th card spans full width with dark variant */
.service-card:nth-child(7n+1) {
  grid-column: 1 / -1;
  background: var(--navy-900);
  color: var(--paper);
  border-color: transparent;
}
.service-card:nth-child(7n+1) h3,
.service-card:nth-child(7n+1) .service-card__title { color: var(--paper); }
.service-card:nth-child(7n+1) .service-card__price { color: var(--gold-400); }
.service-card:nth-child(7n+1) .service-card__footer { border-top-color: var(--border, rgba(255,255,255,.12)); }
.service-card:nth-child(7n+1) .service-card__icon { background: rgba(245,184,64,.12); color: var(--accent); }
.service-card:nth-child(7n+1) .service-card__subtitle { color: var(--gold-400); }
.service-card:nth-child(7n+1) > div { color: rgba(255,255,255,.78); }

.service-card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--gold-100);
  color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
  transition: transform .5s var(--ease-out), background .35s;
}
.service-card--feature .service-card__icon { background: rgba(245,184,64,.12); color: var(--accent); }
.service-card:hover .service-card__icon { transform: rotate(-6deg) scale(1.06); }
.service-card__icon svg { width: 26px; height: 26px; }

.service-card__title { font-size: 1.3rem; margin-bottom: .55rem; letter-spacing: -.015em; }
.service-card__subtitle { display: block; font-family: var(--font-mono); font-size: .72rem; color: var(--accent-2); letter-spacing: .18em; text-transform: uppercase; margin-bottom: .8rem; }
.service-card--feature .service-card__subtitle { color: var(--gold-400); }
.service-card > .service-card__content { font-size: .96rem; color: var(--muted); flex: 1; }
.service-card--feature > .service-card__content { color: rgba(255,255,255,.78); }

.service-card__footer {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.service-card--feature .service-card__footer { border-top-color: rgba(255,255,255,.12); }
.service-card__price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy-950);
  letter-spacing: -.02em;
}
.service-card__price small { font-size: .68rem; color: var(--muted); font-family: var(--font-mono); margin-left: 4px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.service-card--feature .service-card__price small { color: rgba(255,245,220,.6); }
.service-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .88rem; font-weight: 600;
  color: var(--navy-900);
  transition: color .25s, gap .35s var(--ease);
}
.service-card--feature .service-card__link,
.service-card:nth-child(7n+1) .service-card__link { color: var(--gold-400); }
.service-card__link:hover { gap: 12px; color: var(--accent-2); }
.service-card__link::after { content: "→"; }

/* hide bound image inside non-feature cards (it's still wired) */
.service-card__visual-img { display: none; }
.service-card__media {
  margin: -1.8rem -1.7rem 1.4rem;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--navy-900);
}
.service-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card:nth-child(7n+1) .service-card__media { background: var(--navy-950); }

/* ---------- 11. Testimonials ---------- */
[data-section="testimonials"] {
  background: var(--navy-950);
  color: var(--paper);
  position: relative;
  overflow: clip;
}
[data-section="testimonials"]::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 380px at 90% 0%, rgba(245,184,64,.14), transparent 65%),
    radial-gradient(700px 360px at 10% 100%, rgba(26,82,121,.4), transparent 60%);
  pointer-events: none;
}
[data-section="testimonials"] h2 { color: var(--paper); }
[data-section="testimonials"] .section-title em { color: var(--gold-400); }
[data-section="testimonials"] .section-title em::after { background: var(--accent); opacity: .35; }
[data-section="testimonials"] .section-lead { color: rgba(255,245,220,.66); }

.testimonials__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial-card {
  background: var(--wb-tint, rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.8rem;
  display: flex; flex-direction: column;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .4s var(--ease-out), background .35s, border-color .35s;
}
.testimonial-card:hover { transform: translateY(-4px); background: var(--wb-tint, rgba(255,255,255,.06)); border-color: var(--border, rgba(245,184,64,.3)); }
.testimonial-card__stars { color: var(--accent); display: flex; gap: 3px; margin-bottom: 1.1rem; }
.testimonial-card__stars svg { width: 18px; height: 18px; fill: currentColor; }
.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.5;
  color: var(--paper);
  font-weight: 400;
  letter-spacing: -.005em;
  flex: 1;
}
.testimonial-card__person {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; gap: 12px;
}
.testimonial-card__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--accent);
  background: var(--navy-700);
}
.testimonial-card__name { font-family: var(--font-display); font-size: 1.02rem; color: var(--paper); letter-spacing: -.01em; }
.testimonial-card__role { display: block; margin-top: 2px; font-size: .82rem; color: var(--gold-400); font-family: var(--font-mono); letter-spacing: .04em; }

/* ---------- 12. FAQs ---------- */
[data-section="faqs"] { background: var(--paper); }
.faqs__inner {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.faqs__intro { position: sticky; top: 110px; }
.faqs__title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -.02em;
  margin-top: .6rem;
}
.faqs__title em { font-style: italic; font-weight: 400; color: var(--navy-700); }
.faqs__lead { margin-top: 1rem; color: var(--muted); font-size: 1.02rem; }
.faqs__cta {
  margin-top: 1.8rem;
  padding: 1.4rem 1.5rem;
  background: var(--ivory-2);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
}
.faqs__cta strong { display: block; font-family: var(--font-display); color: var(--navy-950); font-size: 1.1rem; margin-bottom: 4px; }
.faqs__cta a { color: var(--navy-900); font-weight: 600; border-bottom: 1.5px solid var(--accent); }

.faqs__list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.faq-item.is-open { border-color: var(--navy-800); box-shadow: var(--shadow); }
.faq-item__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy-950);
  letter-spacing: -.005em;
}
.faq-item__q-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ivory-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .3s, transform .35s var(--ease);
  position: relative;
}
.faq-item__q-icon::before, .faq-item__q-icon::after {
  content: ""; position: absolute;
  background: var(--navy-900);
  border-radius: 1px;
  transition: transform .3s var(--ease);
}
.faq-item__q-icon::before { width: 12px; height: 2px; }
.faq-item__q-icon::after  { width: 2px; height: 12px; }
.faq-item.is-open .faq-item__q-icon { background: var(--accent); }
.faq-item.is-open .faq-item__q-icon::after { transform: rotate(90deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease);
}
.faq-item__a-inner {
  padding: 0 1.4rem 1.4rem 1.4rem;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.7;
}

/* ---------- 13. Contact ---------- */
[data-section="contact"] {
  background: var(--ivory);
  position: relative;
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.contact__info {
  position: relative;
  background: var(--navy-950);
  color: var(--paper);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 100%;
}
.contact__info::before {
  content: ""; position: absolute;
  top: -100px; right: -100px;
  width: 280px; height: 280px;
  background: var(--background, radial-gradient(circle, rgba(245,184,64,.32), transparent 70%));
  pointer-events: none;
}
.contact__info-eyebrow { color: var(--gold-100); }
.contact__info-eyebrow::before { background: linear-gradient(90deg, var(--accent), transparent); }
.contact__info-title {
  color: var(--paper);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  margin-top: .6rem;
  letter-spacing: -.02em;
  position: relative;
}
.contact__info-title em { color: var(--gold-400); font-style: italic; font-weight: 400; }
.contact__info-lead {
  margin-top: 1rem;
  color: rgba(255,245,220,.7);
  font-size: 1rem;
  position: relative;
}

.contact__list {
  margin-top: 2rem;
  display: flex; flex-direction: column; gap: 1.1rem;
  position: relative;
}
.contact__list-item { display: flex; align-items: flex-start; gap: 14px; }
.contact__list-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius, 12px);
  background: rgba(245,184,64,.14);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact__list-icon svg { width: 18px; height: 18px; }
.contact__list-label {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,245,220,.5);
  display: block;
  margin-bottom: 4px;
}
.contact__list-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--paper);
  letter-spacing: -.005em;
  font-weight: 500;
  line-height: 1.3;
}
a.contact__list-value:hover { color: var(--gold-400); }

.contact__hours {
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.12);
  position: relative;
  display: flex; align-items: center; gap: 12px;
  font-size: .9rem;
  color: rgba(255,245,220,.78);
  flex-wrap: wrap;
}
.contact__hours-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(22,163,74,.12);
  color: #5be089;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.contact__hours-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--background, #5be089); }

.contact__map-link {
  margin-top: 1.6rem;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  color: var(--gold-100);
  font-size: .88rem;
  font-weight: 600;
  position: relative;
  transition: background .25s, border-color .25s;
}
.contact__map-link:hover { background: rgba(245,184,64,.1); border-color: var(--gold-400); }
.contact__map-link svg { width: 14px; height: 14px; }

/* form card */
.contact__form-card {
  background: var(--paper);
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.contact__form-head h3 { font-size: 1.6rem; letter-spacing: -.02em; margin-bottom: 6px; }
.contact__form-head p { color: var(--muted); font-size: .96rem; }
.contact__form { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 1.1rem; }
.contact__form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field__label {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--slate-700);
  font-weight: 500;
}
.field input, .field textarea, .field select {
  font-family: inherit;
  font-size: .98rem;
  color: var(--text);
  background: var(--ivory);
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color .25s, background .25s, box-shadow .25s;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--navy-800);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(10,46,74,.08);
}
.field textarea { resize: vertical; min-height: 130px; }

.contact__form-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  margin-top: .4rem;
}
.contact__form-foot small {
  font-size: .82rem; color: var(--muted);
  display: flex; align-items: center; gap: 6px;
}
.contact__form-submit { padding: 16px 32px; }

/* ---------- 14. Page hero (sub-pages) ---------- */
.page-hero {
  position: relative;
  padding-top: clamp(7rem, 14vh, 9rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(800px 380px at 80% -10%, rgba(245,184,64,.16), transparent 60%),
    var(--ivory);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -.025em;
}
.page-hero p { margin-top: .8rem; color: var(--muted); font-size: 1.06rem; max-width: 620px; margin-inline: auto; }
.page-hero__crumbs {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--navy-700);
  margin-bottom: .8rem;
}
.page-hero__crumbs span { color: var(--accent-2); }

/* Imaged variant — banner photo behind the page-hero text */
.page-hero--imaged {
  padding-top: clamp(8rem, 18vh, 12rem);
  padding-bottom: clamp(5rem, 10vw, 8rem);
  background: var(--surface, var(--page-hero-bg, none) center/cover no-repeat,
    var(--navy-900));
  border-bottom: none;
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.page-hero--imaged .page-hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(4,13,28,.55) 0%, rgba(4,13,28,.78) 100%),
    radial-gradient(900px 420px at 80% 10%, rgba(245,184,64,.20), transparent 65%);
  z-index: -1;
}
.page-hero--imaged > .container { position: relative; z-index: 1; }
.page-hero--imaged h1 { color: var(--paper); }
.page-hero--imaged p { color: rgba(255,245,220,.78); }
.page-hero--imaged .page-hero__crumbs { color: var(--gold-100); }
.page-hero--imaged .page-hero__crumbs span,
.page-hero--imaged .page-hero__crumbs a { color: var(--gold-400); }

/* ---------- 15. Footer ---------- */
[data-section="footer"] {
  background: var(--navy-950);
  color: rgba(255,255,255,.7);
  padding-block: clamp(3.5rem, 6vw, 5rem) 1.4rem;
  position: relative;
  overflow: clip;
}
[data-section="footer"]::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(1000px 500px at 70% 0%, rgba(245,184,64,.12), transparent 65%);
  pointer-events: none;
}
.footer__top {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 1.4rem;
}
.footer__brand { display: flex; flex-direction: column; gap: 1.1rem; }
.footer__brand-mark { display: flex; align-items: center; gap: 12px; }
.footer__brand-mark img {
  width: 44px; height: 44px;
  border-radius: var(--radius, 12px);
  background: var(--paper);
  object-fit: cover;
}
.footer__brand-mark .brand-text strong { color: var(--paper); font-size: 1.2rem; }
.footer__brand-mark .brand-text small { color: var(--gold-400); }
.footer__brand p { font-size: .94rem; line-height: 1.7; color: rgba(255,255,255,.6); max-width: 320px; }
.footer__contact {
  display: flex; flex-direction: column; gap: 6px;
  font-size: .92rem;
  color: rgba(255,255,255,.7);
}
.footer__contact a:hover { color: var(--gold-400); }
.footer__contact strong { color: var(--paper); }

.footer__col h3 {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1.1rem;
  font-weight: 500;
}
.footer__col a, .footer__col li {
  display: block;
  font-size: .92rem;
  color: rgba(255,255,255,.66);
  padding-block: 5px;
  transition: color .25s, padding-left .35s var(--ease);
}
.footer__col a:hover { color: var(--gold-400); padding-left: 6px; }

.footer__social-row { display: flex; gap: 10px; margin-top: .4rem; }
.footer__social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: center;
  color: var(--paper);
  padding: 0;
  transition: background .25s, transform .25s, color .25s;
}
.footer__social-row a:hover { background: var(--accent); color: var(--navy-950); transform: translateY(-2px); padding-left: 0; color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.footer__social-row svg { width: 16px; height: 16px; fill: currentColor; }

.footer__bottom {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  padding-top: 1.4rem;
  font-size: .84rem;
  color: rgba(255,255,255,.45);
  font-family: var(--font-mono);
  letter-spacing: .04em;
}
.footer__bottom .legal { display: flex; gap: 1.4rem; }
.footer__bottom .legal a:hover { color: var(--gold-400); }

/* ---------- 16. Animations ---------- */
/* Reveal Animation System (CSS scroll-driven) — resting state is
   visible at rule level, the hidden from-state lives ONLY inside
   @reveal-in's keyframes, and the whole lane is gated behind
   @supports + no-preference so a non-supporting or reduced-motion
   visitor just sees the content, never a blank section. Replaces
   the old GSAP + ScrollTrigger fromTo reveals. */
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes reveal-clip-in {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0% 0 0); }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal-y {
      animation: reveal-in .9s var(--ease-out) both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }

    .reveal-grid [data-item]:nth-child(1) { animation: reveal-in .8s var(--ease-out) both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    .reveal-grid [data-item]:nth-child(2) { animation: reveal-in .8s var(--ease-out) both; animation-timeline: view(); animation-range: entry 8% entry 48%; }
    .reveal-grid [data-item]:nth-child(3) { animation: reveal-in .8s var(--ease-out) both; animation-timeline: view(); animation-range: entry 16% entry 56%; }
    .reveal-grid [data-item]:nth-child(n+4) { animation: reveal-in .8s var(--ease-out) both; animation-timeline: view(); animation-range: entry 24% entry 64%; }

    .about__visual-main {
      animation: reveal-clip-in 1.2s var(--ease-out) both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }

    .stats-band__grid .stat-item:nth-child(1) { animation: reveal-in .8s var(--ease-out) both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    .stats-band__grid .stat-item:nth-child(2) { animation: reveal-in .8s var(--ease-out) both; animation-timeline: view(); animation-range: entry 10% entry 50%; }
    .stats-band__grid .stat-item:nth-child(3) { animation: reveal-in .8s var(--ease-out) both; animation-timeline: view(); animation-range: entry 20% entry 60%; }
    .stats-band__grid .stat-item:nth-child(n+4) { animation: reveal-in .8s var(--ease-out) both; animation-timeline: view(); animation-range: entry 30% entry 70%; }

    /* Footer — fires once the footer enters the viewport. */
    .footer__top > *:nth-child(1) { animation: reveal-in .7s var(--ease-out) both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    .footer__top > *:nth-child(2) { animation: reveal-in .7s var(--ease-out) both; animation-timeline: view(); animation-range: entry 8% entry 68%; }
    .footer__top > *:nth-child(3) { animation: reveal-in .7s var(--ease-out) both; animation-timeline: view(); animation-range: entry 16% entry 76%; }
    .footer__top > *:nth-child(n+4) { animation: reveal-in .7s var(--ease-out) both; animation-timeline: view(); animation-range: entry 24% entry 84%; }
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; }
}
.hero__badge,
.hero__prefix,
.hero__title,
.hero__subtitle,
.hero__content > .hero__text,
.hero__cta-row,
.hero__trust { animation: fadeUp .9s var(--ease-out) both; }
.hero__prefix { animation-delay: .1s; }
.hero__title { animation-delay: .15s; }
.hero__subtitle { animation-delay: .3s; }
.hero__content > .hero__text { animation-delay: .4s; }
.hero__cta-row { animation-delay: .5s; }
.hero__trust { animation-delay: .6s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero__floating-card--top { animation: float 6s var(--ease) infinite; }
.hero__floating-card--bottom { animation: float 7s var(--ease) infinite reverse; }

/* ---------- 17. Render perf ---------- */
[data-section="services"],
[data-section="testimonials"],
[data-section="faqs"],
[data-section="contact"],
.stats-band {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

/* ---------- 18. Responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { aspect-ratio: 16/12; max-height: 540px; }
  .hero__floating-card--top { left: 14px; }
  .hero__floating-card--bottom { right: 14px; }
  .about__inner { grid-template-columns: 1fr; gap: 3rem; }
  .about__visual-quote { right: 14px; }
  .stats-band__grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2rem; }
  .services__grid { grid-template-columns: repeat(4, 1fr); }
  .service-card { grid-column: span 2; }
  .service-card--wide,
  .service-card--tall { grid-column: span 2; }
  .service-card--feature { grid-column: span 4; grid-template-columns: 1fr; }
  .service-card--feature .service-card__visual { min-height: 200px; order: -1; }
  .service-card--feature .service-card__visual::before { background: linear-gradient(180deg, transparent 60%, var(--navy-900)); }
  .testimonials__grid { grid-template-columns: 1fr 1fr; }
  .faqs__inner { grid-template-columns: 1fr; }
  .faqs__intro { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__links { display: none; position: absolute; top: 100%; left: 14px; right: 14px; background: var(--paper); flex-direction: column; align-items: stretch; padding: 1rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); margin-top: 8px; gap: 0; }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 14px; border-radius: var(--radius, 10px); }
  .nav__links a:hover, .nav__links a.is-active { background: var(--ivory-2); }
  .nav__links a::after { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }

  .hero__floating-card--top, .hero__floating-card--bottom { left: 8px; right: 8px; }
  .hero__floating-card--top { left: 8px; right: auto; max-width: 200px; }
  .hero__floating-card--bottom { right: 8px; left: auto; }
  .hero__cta-row { width: 100%; }
  .hero__phone { width: 100%; justify-content: flex-start; }

  .stats-band__grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .services__head { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card,
  .service-card--wide,
  .service-card--tall,
  .service-card--feature { grid-column: span 1; }
  .service-card--feature { grid-template-columns: 1fr; }

  .testimonials__grid { grid-template-columns: 1fr; }

  .about__features { grid-template-columns: 1fr; }
  .about__visual-quote { display: none; }
  .about__visual-deco { display: none; }

  .contact__form-row { grid-template-columns: 1fr; }
  .contact__form-foot { flex-direction: column; align-items: stretch; }
  .contact__form-foot small { order: 2; text-align: center; justify-content: center; }
  .contact__form-submit { order: 1; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- 19. Reduced motion ---------- */
@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;
  }
  .hero__floating-card--top, .hero__floating-card--bottom { animation: none; }
}

/* ---------- 20. Print ---------- */
@media print {
  [data-section="header"], .back-to-top, #scroll-progress { display: none; }
  body { background: var(--background, white); color: var(--text, black); }
}


/* WoBooks empty-image guard (theme:editor-compliance --fix --scope=img-empty-guard):
   image_url('') renders <img src=""> until the owner uploads a photo — hide it
   instead of leaking the browser's broken-image icon + alt text onto the page. */
img[src=""], img:not([src]) { display: none !important; }
