/* =================================================================
   Jared's Agency — Stylesheet
   Warm & approachable design system + components + page styles
   ================================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Warm palette */
  /* Cedar & Sparrow palette — soft cedar-sage + sparrow neutrals */
  --bg:            #F4EFE6;  /* warm oatmeal cream */
  --surface:       #FDFBF7;  /* cards / raised areas */
  --surface-warm:  #F6F0E6;  /* subtly warm surface */
  --ink:           #29241D;  /* warm brown-charcoal text */
  --muted:         #766D5E;  /* secondary text */
  --accent:        #4E6153;  /* dusty cedar-sage (primary) */
  --accent-dark:   #3C4C41;  /* hover */
  --accent-soft:   #DFE5DC;  /* tinted sage backgrounds */
  --sage:          #6E5A46;  /* warm taupe-brown (secondary accent) */
  --sage-soft:     #ECE4D8;  /* warm tan tint */
  --band-green:    #3D3931;  /* dove-greige section band */
  --band-accent:   #CBB68C;  /* sparrow-buff accent on dark bands */
  --border:        #E4DBCB;  /* warm hairlines */
  --ink-on-dark:   #F6F1E6;
  --sparrow:       #A99B88;  /* dove-taupe neutral (the sparrow) */
  --sparrow-deep:  #8A7A66;  /* deeper feather-taupe */
  --chestnut:      #9C5A3C;  /* warm wing-flash accent, used sparingly */

  /* Type */
  --font-display: "IM Fell English", Georgia, "Times New Roman", serif;
  --font-body:    "Bitter", Georgia, "Times New Roman", serif;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;

  /* Radius / shadow */
  --radius-sm: 8px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(43, 36, 32, 0.06);
  --shadow:    0 12px 30px rgba(43, 36, 32, 0.08);
  --shadow-lg: 0 24px 60px rgba(43, 36, 32, 0.12);

  --maxw: 1140px;
  --header-h: 76px;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--bg);
  /* faint paper grain for a touch of vintage texture */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)' opacity='0.045'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1rem; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip-to-content link — off-screen until keyboard-focused */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.6rem 1.1rem;
  background: var(--accent);
  color: var(--bg);
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section { padding-block: var(--space-7); }
.section--tight { padding-block: var(--space-6); }
/* Dark green section band with off-white text */
.band-green { background: var(--band-green); color: var(--ink-on-dark); }
.band-green h1, .band-green h2, .band-green h3, .band-green h4 { color: var(--ink-on-dark); }
.band-green .eyebrow { color: var(--band-accent); }
.band-green .lead,
.band-green .text-muted,
.band-green .included li,
.band-green .service-block .included li,
.band-green .faq-a p { color: rgba(251, 244, 236, 0.82); }
.band-green .link-arrow { color: var(--ink-on-dark); }
.band-green .included li::before,
.band-green .service-block .included li::before { color: var(--band-accent); }
.band-green .check-list li { color: var(--ink-on-dark); }
.band-green .check-list li::before { background: rgba(203, 182, 140, 0.22); color: var(--band-accent); }
.band-green .faq-item { border-color: rgba(251, 244, 236, 0.18); }
.band-green .faq-q { color: var(--ink-on-dark); }
.band-green .faq-q::after { color: var(--band-accent); }
/* primary/learn-more buttons sit on the dark band as light buttons */
.band-green .btn--primary { background: var(--ink-on-dark); color: var(--accent-dark); }
.band-green .btn--primary:hover { background: var(--band-accent); color: var(--accent-dark); box-shadow: 0 10px 28px rgba(61, 57, 49, 0.45); }
/* keep white cards inside dark bands fully legible */
.band-green .card, .band-green .work-card, .band-green .quote { color: var(--ink); }
.band-green .card h3, .band-green .work-card h3 { color: var(--ink); }
.band-green .card .text-muted, .band-green .work-card .text-muted { color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.section-head { max-width: 640px; margin-bottom: var(--space-5); }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.2rem; color: var(--muted); }

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

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--accent);
  color: var(--ink-on-dark);
  box-shadow: var(--shadow-sm);
  position: relative;
  isolation: isolate;
  transition: transform 0.15s ease, background 0.45s ease, box-shadow 0.45s ease, color 0.45s ease;
}
/* every green (primary) button fades + blurs into the warm brown on hover, site-wide */
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--sage);
  filter: blur(16px);
  opacity: 0;
  transition: opacity 0.45s ease;
}
.btn--primary:hover {
  background: var(--sage);
  color: var(--ink-on-dark);
  box-shadow: 0 10px 28px rgba(90, 62, 44, 0.4);
}
.btn--primary:hover::after { opacity: 0.55; }
/* keep the off-white label through click / focus / visited states (no grey-blue flash) */
.btn--primary:link,
.btn--primary:visited,
.btn--primary:focus,
.btn--primary:active { color: var(--ink-on-dark); }
.btn--ghost { background: transparent; color: var(--sage); border-color: var(--sage); }
.btn--ghost:hover { background: var(--sage); border-color: var(--sage); color: var(--ink-on-dark); }
.btn--light { background: var(--ink-on-dark); color: var(--ink); }
/* deeper brown + light outline so the hover reads clearly against the
   green→brown CTA gradient these buttons sit on */
.btn--light:hover {
  background: #3F2C1D;
  color: var(--ink-on-dark);
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(63, 44, 29, 0.5);
}
.btn--block { width: 100%; justify-content: center; }

/* dark-green section bands keep their light buttons (dark-green text, no brown glow) */
.band-green .btn--primary,
.band-green .btn--primary:link,
.band-green .btn--primary:visited,
.band-green .btn--primary:focus,
.band-green .btn--primary:active { color: var(--accent-dark); }
.band-green .btn--primary::after { display: none; }

.link-arrow {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.link-arrow::after { content: "→"; transition: transform 0.15s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- 5. Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 241, 230, 0.82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled { background: var(--bg); box-shadow: var(--shadow-sm); }
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
/* Cedar & Sparrow mark: a small sparrow perched on a cedar growth-ring */
.brand .mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  display: grid; place-items: center;
  flex: none;
}
.brand .mark::before { /* cedar ring */
  content: "";
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--ink-on-dark);
  opacity: 0.85;
}
.brand .mark::after { /* perched sparrow */
  content: "";
  position: absolute;
  width: 8px; height: 8px;
  background: var(--band-accent);
  border-radius: 50% 50% 50% 0;
  transform: rotate(45deg);
  top: 8px; right: 7px;
}

/* nav-menu holds both link groups; on desktop they sit together on the right */
.nav-menu { display: flex; align-items: center; gap: 0.4rem; }
.nav-group { display: flex; align-items: center; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.nav-group a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-group a:hover { background: var(--accent-soft); color: var(--accent-dark); }
.nav-group a.active { color: var(--accent-dark); font-weight: 600; }
.nav-cta { margin-left: 0.4rem; }
/* keep the CTA button text off-white — even on its own page, where the
   .active / aria-current rule above would otherwise darken it to muddy green */
.nav-cta .btn--primary,
.nav-cta .btn--primary.active,
.nav-cta .btn--primary[aria-current="page"] { color: var(--ink-on-dark); font-weight: 600; }
.nav-cta .btn--primary:hover { background: var(--sage); color: var(--ink-on-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  width: 44px; height: 44px;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero { padding-block: clamp(3rem, 8vw, 6rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { margin-bottom: 1.1rem; }
.hero .lead { margin-bottom: 1.8rem; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-note { margin-top: 1.4rem; font-size: 0.92rem; color: var(--muted); }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--accent-soft);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  left: 1.2rem; bottom: 1.2rem;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 0.75rem;
  max-width: 78%;
}
.hero-badge .num { font-family: var(--font-display); font-size: 1.7rem; color: var(--accent); line-height: 1; }
.hero-badge .cap { font-size: 0.85rem; color: var(--muted); line-height: 1.3; }

/* ---------- 6b. Home hero (centered + animated) ---------- */
.hero-home {
  position: relative;
  overflow: hidden;
  min-height: min(88vh, 780px);
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: clamp(4rem, 10vh, 7rem);
}
.hero-home-inner { position: relative; z-index: 2; max-width: 900px; }
.hero-home h1 { font-size: clamp(2.8rem, 7vw, 5rem); margin-bottom: 1.1rem; }
.hero-home .lead { font-size: clamp(1.1rem, 2.1vw, 1.4rem); max-width: 58ch; margin: 0 auto 2rem; }
.hero-home .hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.hero-home .hero-note { margin-top: 1.6rem; font-size: 0.95rem; color: var(--muted); }

/* Soft drifting background blobs (chocolate brown, faded + a faint green) */
.hero-bg { position: absolute; inset: -10% -5%; z-index: 0; pointer-events: none; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(30px); will-change: transform; }
.blob-1 { width: 46vw; max-width: 580px; aspect-ratio: 1; background: var(--sage);   opacity: 0.36; top: -6%;  left: -4%;  animation: drift1 12s ease-in-out infinite; }
.blob-2 { width: 42vw; max-width: 520px; aspect-ratio: 1; background: var(--sage);   opacity: 0.30; bottom: -10%; right: -6%; animation: drift2 14s ease-in-out infinite; }
.blob-3 { width: 34vw; max-width: 420px; aspect-ratio: 1; background: var(--accent); opacity: 0.22; top: 26%;  left: 42%;  animation: drift3 16s ease-in-out infinite; }

@keyframes drift1 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30%, 20%) scale(1.28); }
  66%  { transform: translate(16%, -16%) scale(0.88); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes drift2 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-28%, -18%) scale(1.22); }
  66%  { transform: translate(-12%, 18%) scale(1.1); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes drift3 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-26%, 26%) scale(1.32); }
  66%  { transform: translate(22%, 12%) scale(0.82); }
  100% { transform: translate(0, 0) scale(1); }
}

/* Staggered text entrance (delay set inline via --d) */
.hero-fade { opacity: 0; transform: translateY(24px); animation: heroIn 0.85s cubic-bezier(0.2,0.7,0.2,1) forwards; animation-delay: var(--d, 0s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ---------- 7. Logo strip ---------- */
.logos { border-block: 1px solid var(--border); background: var(--surface-warm); }
.logos .container { padding-block: 2.2rem; }
.logos p { text-align: center; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.3rem; }
.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 3.4rem);
}
.logo-row span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: #b9ab9c;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* ---------- 8. Cards / grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #e0d2c2; }

.card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
  font-size: 1.4rem;
}
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--muted); margin-bottom: 1rem; font-size: 1rem; }

/* ---------- 9. Work / case study cards ---------- */
.work-grid { grid-template-columns: repeat(3, 1fr); }
.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.work-card .thumb { aspect-ratio: 16 / 11; overflow: hidden; background: var(--accent-soft); }
.work-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.work-card:hover .thumb img { transform: scale(1.05); }
.work-card .body { padding: 1.4rem 1.5rem 1.6rem; }
.tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sage);
  background: var(--sage-soft);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.8rem;
}
.work-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.work-card .result { color: var(--accent-dark); font-weight: 600; }

/* ---------- 10. Stats band ---------- */
.band-dark {
  background: var(--ink);
  color: var(--ink-on-dark);
}
.band-dark h2, .band-dark h3 { color: var(--ink-on-dark); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--accent); line-height: 1; }
.stat .label { color: rgba(251,244,236,0.72); font-size: 0.95rem; margin-top: 0.4rem; }

/* ---------- 11. Process steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step { position: relative; padding-top: 0.5rem; }
.step .n {
  counter-increment: step;
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  color: var(--accent-dark);
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  display: grid; place-items: center;
  margin-bottom: 1rem;
}
.step .n::before { content: "0" counter(step); }
.step h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.step p { color: var(--muted); font-size: 1rem; margin: 0; }

/* ---------- 12. Testimonials ---------- */
.quotes { grid-template-columns: repeat(2, 1fr); }
.quote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.quote blockquote {
  margin: 0 0 1.3rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--ink);
}
.quote .author { display: flex; align-items: center; gap: 0.8rem; }
.quote .author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote .author .name { font-weight: 600; font-size: 0.98rem; }
.quote .author .role { color: var(--muted); font-size: 0.88rem; }

/* ---------- 13. Split / about teaser ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 5 / 4;
  background: var(--sage-soft);
  border: 1px solid rgba(90, 62, 44, 0.16);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }

/* Vintage sepia tone on photography — a touch of rustic warmth, comes alive on hover */
.split-media img,
.hero-visual img,
.work-card .thumb img {
  filter: sepia(0.34) saturate(0.85) contrast(0.96) brightness(1.02);
  transition: filter 0.45s ease, transform 0.4s ease;
}
.split-media:hover img,
.work-card:hover .thumb img {
  filter: sepia(0.1) saturate(1) contrast(1) brightness(1.02);
}
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; display: grid; gap: 0.7rem; }
.check-list li { padding-left: 1.9rem; position: relative; color: var(--ink); }
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 1.35rem; height: 1.35rem;
  background: var(--sage-soft); color: var(--sage);
  border-radius: 50%; display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 700;
}

/* ---------- 14. CTA band ---------- */
.cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--sage) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.cta h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta p { color: rgba(255,255,255,0.9); max-width: 48ch; margin: 0 auto 1.8rem; }

/* ---------- 15. Page header (interior pages) ---------- */
.page-head { padding-block: clamp(3rem, 7vw, 5rem) clamp(2rem, 4vw, 3rem); text-align: center; background: linear-gradient(180deg, var(--accent) 0%, var(--bg) 100%); }
.page-head .lead { max-width: 56ch; margin-inline: auto; }
/* On the green header gradient the accent-green eyebrow would vanish; use ink so it stays legible */
.page-head .eyebrow, .page-head .eyebrow a { color: var(--ink); }

/* ---------- 16. Service detail blocks ---------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-block: var(--space-6);
}
.service-block .meta .icon {
  width: 56px; height: 56px; font-size: 1.6rem;
  border-radius: 14px;
  background: var(--accent-soft); color: var(--accent-dark);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.service-block .included { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 0.6rem; }
.service-block .included li { padding-left: 1.7rem; position: relative; color: var(--muted); }
.service-block .included li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.service-block .outcome {
  margin-top: 1.4rem;
  background: var(--sage-soft);
  color: var(--sage);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  font-weight: 500;
}

/* ---------- 17. Team ---------- */
.team-grid { grid-template-columns: repeat(4, 1fr); }
.member { text-align: center; }
.member .photo { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; margin-bottom: 0.9rem; background: var(--accent-soft); }
.member .photo img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-size: 1.15rem; margin-bottom: 0.1rem; }
.member .role { color: var(--accent-dark); font-size: 0.9rem; font-weight: 500; }

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

/* ---------- 18. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.45rem; }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; }

/* Select dropdown */
.field select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background-color: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 2.4rem 0.8rem 0.95rem;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23756A60' stroke-width='2'><path d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
}
.field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* Service checklist */
.fieldset { border: none; padding: 0; margin: 0 0 1.2rem; }
.fieldset legend { padding: 0; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.6rem; }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 1.2rem; }
.checkbox { display: flex; align-items: center; gap: 0.55rem; cursor: pointer; font-size: 0.98rem; color: var(--ink); }
.checkbox input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; margin: 0; cursor: pointer; }

.contact-detail { margin-bottom: 1.8rem; }
.contact-detail .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.3rem; }
.contact-detail a, .contact-detail p { font-size: 1.1rem; font-weight: 500; color: var(--ink); margin: 0; }
.contact-detail a:hover { color: var(--accent); }

/* ---------- 19. FAQ accordion ---------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  background: none; border: none;
  font: inherit; font-weight: 600; font-size: 1.1rem;
  color: var(--ink);
  text-align: left;
  padding: 1.3rem 2.5rem 1.3rem 0;
  position: relative;
  cursor: pointer;
}
.faq-q::after {
  content: "+";
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--accent); font-weight: 400;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-q::after { content: "–"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq-a p { color: var(--muted); padding-bottom: 1.3rem; margin: 0; }

/* ---------- 20. Footer ---------- */
.site-footer { background: var(--ink); color: var(--ink-on-dark); padding-block: var(--space-6) var(--space-4); margin-top: clamp(4rem, 8vw, 6rem); position: relative; }
/* Mirrored green gradient band above the footer (matches the page-head, reversed) */
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: clamp(4rem, 8vw, 6rem); background: linear-gradient(180deg, var(--bg) 0%, var(--accent) 100%); pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.site-footer .brand { color: var(--ink-on-dark); margin-bottom: 0.8rem; }
.site-footer p { color: rgba(251,244,236,0.66); font-size: 0.95rem; max-width: 30ch; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(251,244,236,0.55); margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-col a { color: rgba(251,244,236,0.82); font-size: 0.96rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(251,244,236,0.14);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.88rem; color: rgba(251,244,236,0.55);
}
.social { display: flex; gap: 0.8rem; }
.social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(251,244,236,0.22);
  display: grid; place-items: center;
  color: rgba(251,244,236,0.82);
  font-size: 0.95rem;
}
.social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
/* green social buttons for light backgrounds (e.g. contact page) */
.social--green a { border-color: var(--accent); color: var(--accent-dark); }
.social--green a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink-on-dark); }

/* ---------- 21. Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 21b. Free audit: teaser, sticky CTA, success ---------- */
/* Homepage teaser band */
.audit-teaser {
  display: grid;
  grid-template-columns: 1.5fr auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(135deg, var(--accent) 0%, var(--sage) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.8rem);
}
.audit-teaser .eyebrow { color: rgba(255, 255, 255, 0.85); }
.audit-teaser h2 { color: #fff; margin-bottom: 0.5rem; }
.audit-teaser p { color: rgba(255, 255, 255, 0.9); margin: 0; max-width: 52ch; }
.audit-teaser-cta { text-align: center; }
.audit-teaser-cta .btn { white-space: nowrap; }
.audit-teaser-note { font-size: 0.85rem; color: rgba(255, 255, 255, 0.8); margin: 1.2rem 0 0; }

/* Sticky "Get a free audit" CTA (injected sitewide by main.js) */
.audit-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 45;
  background: var(--accent);
  color: var(--ink-on-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(140%);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.15s ease;
  pointer-events: none;
}
.audit-fab::before { content: "✦"; font-size: 0.9rem; }
.audit-fab.show { opacity: 1; transform: none; pointer-events: auto; }
.audit-fab:hover { background: var(--accent-dark); color: var(--ink-on-dark); transform: translateY(-2px); }

/* Post-submit success state */
.audit-success { text-align: center; padding: 0.5rem 0 1rem; }
.audit-success-mark {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-dark);
  display: grid; place-items: center;
  font-size: 1.9rem; font-weight: 700;
  margin: 0 auto 1.2rem;
}
.audit-success h3 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.audit-success > p { color: var(--muted); }
.audit-next {
  text-align: left;
  max-width: 30rem;
  margin: 1.2rem auto 1.4rem;
  padding-left: 1.3rem;
  display: grid; gap: 0.6rem;
  color: var(--muted);
}
.audit-next li { padding-left: 0.2rem; }

/* ---------- 21c. Motion: marquee, parallax, page transitions ---------- */

/* Continuous logo/tool marquee. JS adds .ready (and duplicates the row) so it
   loops seamlessly; without JS or with reduced motion it stays the static,
   centered, wrapping row defined in section 7. */
.logos .marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos .marquee.ready .logo-row {
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: max-content;
  animation: logo-marquee 34s linear infinite;
}
.logos .marquee.ready:hover .logo-row { animation-play-state: paused; }
@keyframes logo-marquee { to { transform: translateX(-50%); } }

/* Hero background drifts slower than content on scroll (parallax). The blobs
   keep their own drift animation; main.js shifts the whole layer. */
.hero-bg { will-change: transform; }

/* Page enter / leave transitions (site-wide). Enter is pure CSS so there is no
   flash if JS is slow. The rise is on <main> (not <body>) so it never turns the
   body into a containing block for the sticky header or the fixed audit CTA.
   Leave is triggered by main.js adding .is-leaving before navigating. */
body { animation: page-fade 0.45s ease both; }
@keyframes page-fade { from { opacity: 0; } to { opacity: 1; } }
body.is-leaving { opacity: 0; transition: opacity 0.28s ease; }
main { animation: page-rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes page-rise { from { transform: translateY(12px); } to { transform: none; } }

/* ---------- 21d. Resources hub ---------- */
/* Article cards reuse .card / .tag; .read is the small read-time line */
.resource-card .read { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.6rem; }
.resource-card { display: flex; flex-direction: column; }
.resource-card .link-arrow { margin-top: auto; }

/* Downloadable (lead-magnet) cards on the dark band */
.dl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  color: var(--ink);
}
.dl-card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-dark);
  display: grid; place-items: center;
  font-size: 1.4rem; margin-bottom: 1rem;
}
.dl-card h3 { font-size: 1.15rem; margin-bottom: 0.3rem; color: var(--ink); }
.dl-card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 1rem; }
.dl-soon {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-dark); background: var(--accent-soft);
  padding: 0.25rem 0.6rem; border-radius: var(--radius-pill);
  align-self: flex-start; margin-bottom: 0.9rem;
}
.notify { display: flex; gap: 0.5rem; margin-top: auto; }
.notify input {
  flex: 1; min-width: 0; font: inherit; font-size: 0.95rem;
  background: var(--bg); color: var(--ink);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
}
.notify input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.notify button {
  font: inherit; font-weight: 600; font-size: 0.9rem;
  background: var(--accent); color: #fff; border: none;
  border-radius: var(--radius-sm); padding: 0.6rem 1rem; cursor: pointer; white-space: nowrap;
  transition: background 0.15s ease;
}
.notify button:hover { background: var(--accent-dark); }
.notify-ok { margin-top: auto; color: var(--accent-dark); font-weight: 600; font-size: 0.95rem; }

/* Article (resource detail) prose */
.article { max-width: 720px; margin-inline: auto; }
.article > p,
.article > ul,
.article > ol,
.article > h2,
.article > h3,
.article > blockquote { max-width: 100%; }
.article h2 { font-size: 1.7rem; margin: 2.2rem 0 0.8rem; }
.article h3 { font-size: 1.3rem; margin: 1.8rem 0 0.6rem; }
.article p { margin: 0 0 1.2rem; }
.article ul, .article ol { margin: 0 0 1.4rem; padding-left: 1.3rem; }
.article li { margin-bottom: 0.5rem; }
.article blockquote {
  margin: 1.6rem 0; padding: 0.4rem 0 0.4rem 1.4rem;
  border-left: 3px solid var(--accent);
  font-family: var(--font-display); font-size: 1.3rem; line-height: 1.45; color: var(--ink);
}
.article-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.4rem; }
.article-back { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; margin-top: 2.5rem; }

/* Article "key takeaways" — a short, extractable summary (good for AI answer engines) */
.takeaways { background: var(--accent-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem 1.6rem; margin: 0 0 2rem; }
.takeaways .takeaways-title { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-dark); margin: 0 0 0.6rem; }
.takeaways ul { margin: 0; padding-left: 1.2rem; }
.takeaways li { margin-bottom: 0.4rem; color: var(--ink); }
.takeaways li:last-child { margin-bottom: 0; }

/* Article author block (E-E-A-T signal) */
.author-bio { display: flex; gap: 1rem; align-items: flex-start; margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid var(--border); }
.author-bio .avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; flex: none; }
.author-bio .who strong { font-weight: 600; }
.author-bio .who p { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.95rem; }
.author-bio .who a { font-weight: 600; }

/* Footer legal links (replaces the old social row) */
.footer-bottom .legal { display: flex; gap: 1.2rem; }
.footer-bottom .legal a { color: rgba(251, 244, 236, 0.66); font-size: 0.88rem; }
.footer-bottom .legal a:hover { color: #fff; }

/* Resource download card link sits at the card foot; stays green on the dark band */
.dl-card .link-arrow { margin-top: auto; color: var(--accent-dark); }
.band-green .dl-card .link-arrow { color: var(--accent-dark); }

/* ---------- 21e. Pricing calculator ---------- */
.founding {
  background: var(--sage-soft);
  border: 1px solid rgba(90, 62, 44, 0.18);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  display: flex; align-items: center; gap: 0.9rem;
  max-width: 760px; margin: 0 auto 2.5rem;
  color: var(--sage);
}
.founding .pill {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--sage); color: var(--ink-on-dark);
  padding: 0.35rem 0.75rem; border-radius: var(--radius-pill); white-space: nowrap;
}
.founding p { margin: 0; font-size: 0.98rem; }

.calc { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: 2rem; align-items: start; }
.svc-list { display: grid; gap: 0.8rem; }
.svc {
  display: flex; align-items: center; gap: 1rem;
  background: var(--surface);
  border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 1.1rem 1.3rem; cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.svc:hover { border-color: #d8c8b4; }
.svc.on { border-color: var(--accent); background: var(--accent-soft); }
/* checkbox stays in the tab order (keyboard accessible) but is visually replaced by .box */
.svc-check { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.svc:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.svc .box {
  width: 24px; height: 24px; border-radius: 7px;
  border: 2px solid var(--border); background: var(--surface);
  display: grid; place-items: center; flex: none; color: #fff;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.svc.on .box { background: var(--accent); border-color: var(--accent); }
.svc .box svg { width: 13px; height: 13px; opacity: 0; transition: opacity 0.15s ease; }
.svc.on .box svg { opacity: 1; }
.svc .svc-info { flex: 1; }
.svc .svc-info strong { font-weight: 600; display: block; }
.svc .svc-info span { color: var(--muted); font-size: 0.92rem; }
.svc .svc-price { text-align: right; flex: none; }
.svc .svc-price .was { color: var(--muted); text-decoration: line-through; font-size: 0.85rem; display: block; }
.svc .svc-price .now { font-family: var(--font-display); font-weight: 600; color: var(--accent-dark); font-size: 1.15rem; }
.svc .svc-price .per { color: var(--muted); font-size: 0.78rem; }

.summary {
  position: sticky; top: calc(var(--header-h) + 1rem);
  background: var(--ink); color: var(--ink-on-dark);
  border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-lg);
}
.summary h3 { color: var(--ink-on-dark); font-size: 1.3rem; }
.summary .picked { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 0.5rem; min-height: 2rem; }
.summary .picked li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.95rem; color: rgba(251, 244, 236, 0.8); }
.summary .picked li span:last-child { color: var(--ink-on-dark); white-space: nowrap; }
.summary .picked .empty { color: rgba(251, 244, 236, 0.55); font-style: italic; }
.summary .row { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.95rem; color: rgba(251, 244, 236, 0.78); margin-bottom: 0.5rem; }
.summary .row .strike { text-decoration: line-through; }
.summary .row.discount { color: var(--band-accent); font-weight: 600; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 0.8rem; padding-top: 0.8rem; border-top: 1px solid rgba(251, 244, 236, 0.16); }
.summary .total .lab { font-weight: 600; }
.summary .total .val { font-family: var(--font-display); font-size: 2rem; color: var(--band-accent); line-height: 1; }
.summary .total .val .per { font-family: var(--font-body); font-size: 0.8rem; color: rgba(251, 244, 236, 0.6); }
.summary .save { background: rgba(203, 182, 140, 0.16); color: var(--band-accent); border-radius: var(--radius-sm); padding: 0.5rem 0.8rem; font-size: 0.88rem; font-weight: 600; text-align: center; margin-top: 1rem; }
.summary .btn { width: 100%; justify-content: center; margin-top: 1.2rem; }
.summary .fine { font-size: 0.8rem; color: rgba(251, 244, 236, 0.55); text-align: center; margin: 0.8rem 0 0; }

@media (max-width: 860px) {
  .calc { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 600px) {
  .founding { flex-direction: column; align-items: flex-start; }
}

/* ---------- 22. Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 16 / 12; max-height: 420px; }
  .grid-3, .work-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .split, .service-block, .contact-grid { grid-template-columns: 1fr; }
  .service-block .meta { max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; order: 2; }
  .nav-menu {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: var(--shadow);
    transform: translateY(-135%);
    transition: transform 0.28s ease;
    visibility: hidden;
  }
  .nav-menu.open { transform: translateY(0); visibility: visible; }
  .nav-group { flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .nav-group a { padding: 0.85rem 1rem; font-size: 1.05rem; }
  .nav-right { margin-top: 0.3rem; }
  .nav-cta { margin: 0.4rem 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .audit-teaser { grid-template-columns: 1fr; }
  .audit-teaser-cta { text-align: left; }
  .audit-teaser-cta .btn { width: 100%; justify-content: center; }
}

@media (max-width: 640px) {
  .grid-3, .grid-2, .work-grid, .quotes, .values-grid, .team-grid { grid-template-columns: 1fr; }
  .stats, .steps { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding-block: var(--space-6); }
}

/* On the smallest screens the sticky CTA spans the width for easy thumb reach */
@media (max-width: 480px) {
  .audit-fab { left: 0.9rem; right: 0.9rem; bottom: 0.9rem; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-fade { opacity: 1 !important; transform: none !important; animation: none !important; }
  .hero-bg .blob { animation: none !important; }
  .btn:hover { transform: none; }
  .audit-fab { transition: opacity 0.2s ease; transform: none; }
  .audit-fab:hover { transform: none; }
  body, main { animation: none; }
  body.is-leaving { transition: none; }
  .logos .marquee.ready .logo-row { animation: none; }
}
