/* =========================================================
   LaunchSite Marketing — Design System
   Warm editorial professionalism: sage green + warm neutrals
   ========================================================= */

:root {
  /* Palette — Navy / Teal / Sky Blue / Beige (logo-cohesive, no green) */
  --cream:        #F5EFEB;   /* Beige from palette — main page bg */
  --cream-soft:   #FDFBF7;   /* near-white alternating section bands (very subtle warm tint) */
  --paper:        #FFFFFF;   /* pure white for cards, FAQ, pricing, forms */
  --ink:          #1F2D3D;   /* deep navy-tinted near-black */
  --ink-soft:     #3D4A5C;
  --muted:        #7A8290;
  --line:         #E5DED0;   /* soft warm-neutral line */
  /* "Sage" variables repointed to teal/sky blue so existing classes (.bg-sage, .btn-sage,
     .pill, etc.) automatically pick up the new palette without HTML edits. */
  --sage:         #7A95A7;   /* mid-teal accent */
  --sage-deep:    #567C8D;   /* Teal from palette */
  --sage-soft:    #C8D9E6;   /* Sky Blue from palette */
  /* `--olive-dark` is the dominant dark surface variable — deeper navy for footer,
     buttons, brand mark, and dark feature sections. */
  --olive-dark:   #18283C;   /* deeper navy (was palette #2F4156) */
  --clay:         #A88974;   /* soft warm tan — minimal warm accent, complements beige */
  --clay-soft:    #EAE0D4;
  /* Blue family — aligned to the palette */
  --blue-pale:    #E4ECF3;
  --blue-soft:    #C8D9E6;   /* Sky Blue */
  --blue:         #7A95A7;
  --blue-mid:     #567C8D;   /* Teal */
  --blue-deep:    #18283C;   /* deeper navy, in sync with --olive-dark */
  --navy:         #0E1B2C;   /* deepest navy for max contrast / hovers */
  --dusty-blue:   #7A95A7;

  /* Type */
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-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;
  --space-8: 8rem;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* Shadows — cool navy tint */
  --shadow-sm: 0 1px 2px rgba(31, 45, 61, 0.05), 0 1px 3px rgba(31, 45, 61, 0.04);
  --shadow-md: 0 6px 18px rgba(31, 45, 61, 0.08), 0 2px 6px rgba(31, 45, 61, 0.05);
  --shadow-lg: 0 18px 42px rgba(31, 45, 61, 0.10), 0 6px 14px rgba(31, 45, 61, 0.06);

  /* Layout */
  --container: 1240px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--olive-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--sage-deep); }

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

ul, ol { padding: 0; margin: 0; }
li { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: normal;
  font-variation-settings: "SOFT" 60, "WONK" 0;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 var(--space-3);
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { margin: 0 0 var(--space-3); color: var(--ink-soft); }
p.lead { font-size: 1.2rem; color: var(--ink); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--sage-deep);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.serif { font-family: var(--font-serif); }
.italic { font-style: italic; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-4);
}
.container-narrow {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

section { padding: var(--space-7) 0; }
section.tight { padding: var(--space-5) 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--olive-dark);
  color: var(--cream-soft);
}
.btn-primary:hover {
  background: var(--navy);
  color: var(--cream-soft);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: var(--paper);
  color: var(--olive-dark);
  border: 1px solid var(--line);
}
.btn-secondary:hover {
  background: var(--cream-soft);
  color: var(--olive-dark);
  border-color: var(--sage);
}
.btn-sage {
  background: var(--sage-deep);
  color: var(--cream-soft);
}
.btn-sage:hover {
  background: var(--olive-dark);
  color: var(--cream-soft);
  transform: translateY(-1px);
}
.btn-ghost {
  display: inline-block;
  color: var(--olive-dark);
  padding: 0.6rem 0;
  border-radius: 0;
  border-bottom: 1px solid var(--ink);
}
.btn-ghost:hover { color: var(--sage-deep); border-color: var(--sage-deep); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 239, 235, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-4);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand:hover { color: var(--sage-deep); }
.brand-logo {
  display: block;
  height: 48px;
  width: auto;
}
.site-footer .brand {
  padding: 0;
}
.site-footer .brand-logo {
  height: 60px;
  filter: brightness(0) invert(1);
}
@media (max-width: 560px) {
  .brand-logo { height: 40px; }
  .site-footer .brand-logo { height: 48px; }
}
/* Legacy brand-mark style kept for backwards compat (no longer used) */
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--olive-dark);
  display: grid;
  place-items: center;
  color: var(--cream-soft);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-links a, .nav-links button.nav-toggle {
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-links a:hover, .nav-links button.nav-toggle:hover {
  color: var(--olive-dark);
  background: var(--cream-soft);
}
.nav-links a.active { color: var(--olive-dark); }

.has-dropdown { position: relative; }
.nav-toggle { background: none; border: none; cursor: pointer; font-family: inherit; }
.nav-toggle .caret { font-size: 0.7em; opacity: 0.6; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.has-dropdown.open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.dropdown a small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 2px;
}
.dropdown a:hover {
  background: var(--cream);
  color: var(--olive-dark);
}

.nav-cta { margin-left: 0.6rem; }

/* Mobile nav button */
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: transparent;
}
.menu-btn:hover { background: var(--cream-soft); }
.menu-btn svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero {
  padding: var(--space-7) 0 var(--space-7);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.0fr;
  gap: var(--space-6);
  align-items: center;
}
.hero h1 { margin-bottom: var(--space-3); }
.hero .lead { max-width: 560px; }
.hero-media {
  position: relative;
  aspect-ratio: 4/5;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  background: var(--sage-soft);
}

/* Homepage hero — capped at 80vh on desktop, native 1545×1000 image with transparent bg */
.hero-home { padding: var(--space-4) 0 var(--space-5); }
.hero-home .hero-media { aspect-ratio: 1545 / 1000; }
.hero-home .hero-media img {
  background: transparent;
  box-shadow: none;
}
.hero-home .hero-badge { bottom: -64px; }
@media (min-width: 881px) {
  .hero-home { max-height: 100vh; }
}

/* =========================================================
   "What We Build" homepage bento — split intro panel + cards
   ========================================================= */
.what-we-build { padding: 0; }
.what-we-build > .container {
  max-width: none;
  padding: 0;
}

.wwb-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr);
  gap: 0;
}
@media (min-width: 881px) {
  .wwb-grid { max-height: 70vh; }
}

/* Intro panel (left) — square corners on the screen-edge side */
.wwb-intro {
  background: var(--sage-soft);
  border-radius: 0;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.wwb-intro .eyebrow { color: var(--blue-deep); }
.wwb-intro h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: var(--space-2);
}
.wwb-intro p {
  margin-bottom: var(--space-3);
  color: var(--blue-deep);
}
.wwb-intro .btn { align-self: flex-start; }
.wwb-intro-image {
  flex: 1;
  margin: var(--space-4) calc(-1 * var(--space-5)) calc(-1 * var(--space-5));
  min-height: 220px;
  overflow: hidden;
}
.wwb-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Popular services panel (right) — square corners, butts directly against intro panel */
.wwb-popular {
  background: var(--paper);
  border-radius: 0;
  padding: var(--space-5);
}
.wwb-popular > .eyebrow {
  color: var(--blue-deep);
  margin-bottom: var(--space-4);
  display: block;
}
.wwb-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: var(--space-2);
}
.wwb-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.wwb-card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sage-soft);
}
.wwb-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.wwb-card:hover .wwb-card-image img { transform: scale(1.04); }
.wwb-card-body { padding: var(--space-3); }
.wwb-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.wwb-card p {
  font-size: 0.93rem;
  margin-bottom: var(--space-3);
  color: var(--ink-soft);
}
.wwb-link {
  display: flex;
  align-items: center;
  padding-top: var(--space-2);
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.wwb-link::after {
  content: "↗";
  margin-left: auto;
  font-size: 1.2em;
  transition: transform .2s ease;
}
.wwb-link:hover { color: var(--blue-deep); }
.wwb-link:hover::after { transform: translate(2px, -2px); }

/* Mobile — stack everything */
@media (max-width: 880px) {
  .wwb-grid {
    grid-template-columns: 1fr;
    max-height: none;
  }
  .wwb-cards { grid-template-columns: 1fr; }
  .wwb-intro, .wwb-popular { padding: var(--space-4); }
  .wwb-intro-image {
    margin: var(--space-3) calc(-1 * var(--space-4)) calc(-1 * var(--space-4));
    min-height: 200px;
  }
  .what-we-build { padding: var(--space-5) 0; }
}

/* =========================================================
   "What makes our websites different" — product/tech section
   ========================================================= */
.what-makes-different {
  background: var(--cream-soft);
  padding: var(--space-6) 0;
  position: relative;
}

.md-head {
  max-width: 720px;
  margin: 0 auto var(--space-5);
  text-align: center;
}
.md-head .eyebrow { color: var(--blue-deep); }
.md-head h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin: var(--space-2) 0 var(--space-3);
}
.md-head p {
  font-size: 1.05rem;
  color: var(--ink-soft);
}

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

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

.md-card {
  background: var(--paper);
  border: 1px solid var(--clay-soft);
  border-radius: var(--r-lg);
  padding: var(--space-3) var(--space-4);
  box-shadow: 0 2px 12px rgba(24, 40, 60, 0.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.md-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(24, 40, 60, 0.08);
  border-color: var(--clay);
}

.md-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--clay-soft);
  color: var(--clay);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-2);
}
.md-icon svg { width: 22px; height: 22px; }

.md-card h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--ink);
}
.md-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.md-image {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(24, 40, 60, 0.18);
  background: var(--blue-deep);
  min-height: 100%;
}
/* Homepage variant — lock to the mockup's native 1545×1000 ratio so the image
   never gets cropped, and let it center within its grid cell since it'll
   typically be shorter than the stacked-card columns on either side. */
.what-makes-different .md-image {
  aspect-ratio: 1 / 1;
  min-height: 0;
  align-self: center;
}
.md-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.md-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-5);
}

/* Tablet — image moves to top, cards split 3+3 below */
@media (max-width: 1024px) {
  .md-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "image image"
      "left right";
    gap: var(--space-3);
  }
  .md-image {
    grid-area: image;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
  .md-col:nth-of-type(1) { grid-area: left; }
  .md-col:nth-of-type(3) { grid-area: right; }
}

/* Mobile — single column, image hidden to keep flow tight */
@media (max-width: 880px) {
  .what-makes-different { padding: var(--space-5) 0; }
  .md-head { margin-bottom: var(--space-4); }
  .md-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "left"
      "right";
    gap: var(--space-3);
  }
  .md-image { aspect-ratio: 4 / 3; }
  .md-card { padding: var(--space-3); }
  .md-cta { margin-top: var(--space-4); }
}

@media (max-width: 560px) {
  .md-image { display: none; }
}

/* =========================================================
   "Why Choose Us" — two-zone layout with overlapping photo
   ========================================================= */
.why-us { padding: 0; }

.why-us-top {
  background: var(--blue-deep);
  padding: var(--space-7) 0 var(--space-6);
}
.why-us-top-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-6);
  align-items: start;
}
.why-us-heading .eyebrow {
  color: var(--clay);
  margin-bottom: var(--space-2);
}
.why-us-heading h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin: 0;
  color: var(--paper);
}

.why-us-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.why-us-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: start;
}
.why-us-list .num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--clay);
  line-height: 1;
  padding-top: 0.15rem;
}
.why-us-list p {
  color: var(--paper);
  margin: 0;
  font-size: 0.98rem;
}
.why-us-list p strong { color: var(--paper); font-weight: 600; }

.why-us-bottom {
  background: var(--paper);
  padding: 0 0 var(--space-7);
}
.why-us-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: end;
}
.why-us-photo {
  margin-top: -180px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}
.why-us-photo img {
  width: 100%;
  height: auto;
  max-height: 1000px;
  object-fit: cover;
  display: block;
  aspect-ratio: 5 / 4;
}
.wu-photo-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 3;
  background: var(--paper);
  padding: 0.7rem 1rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  max-width: calc(100% - 32px);
}
.wu-photo-badge strong {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.15;
}
.wu-photo-badge span {
  color: var(--ink-soft);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.why-us-quote { padding-bottom: var(--space-3); }
.why-us-quote .quote-mark {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 5rem;
  color: var(--clay-soft);
  line-height: 0.3;
  margin-bottom: var(--space-4);
  margin-top: var(--space-3);
}
.why-us-quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 880px) {
  .why-us-top {
    padding: var(--space-5) 0 var(--space-4);
  }
  .why-us-bottom {
    padding: 0 0 var(--space-5);
  }
  .why-us-top-grid, .why-us-bottom-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    align-items: stretch;
  }
  .why-us-photo {
    margin-top: 0;
  }
  .why-us-quote { padding-bottom: 0; }
}

/* =========================================================
   "How It Works" — left content + full-bleed image right
   ========================================================= */
.how-it-works {
  padding: 0;
  background: var(--cream-soft);
}

.hiw-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0;
  align-items: stretch;
}
@media (min-width: 881px) {
  .hiw-wrap { max-height: 90vh; }
}

.hiw-content {
  padding: var(--space-6) var(--space-5);
  padding-left: max(var(--space-4), calc((100vw - var(--container)) / 2 + var(--space-4)));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hiw-inner { max-width: 540px; }

.hiw-content .eyebrow {
  color: var(--clay);
  margin-bottom: var(--space-2);
}
.hiw-content h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: var(--space-5);
}

.hiw-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.hiw-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: start;
}
.hiw-num {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 2.8rem;
  color: var(--clay-soft);
  line-height: 0.9;
  min-width: 56px;
}
.hiw-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.hiw-text p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.95rem;
}

.hiw-image {
  overflow: hidden;
  background: var(--sage-soft);
}
.hiw-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 100%;
}

@media (max-width: 880px) {
  .hiw-wrap {
    grid-template-columns: 1fr;
    max-height: none;
  }
  .hiw-content {
    padding: var(--space-5) var(--space-4);
  }
  .hiw-content h2 { margin-bottom: var(--space-4); }
  .hiw-image {
    aspect-ratio: 4 / 3;
    min-height: 280px;
  }
  .hiw-num { font-size: 2.2rem; min-width: 48px; }
}

/* Satisfaction guarantee — slightly shorter section since copy is light */
.satisfaction { padding: var(--space-5) 0; }
@media (min-width: 881px) {
  .satisfaction { max-height: 80vh; }
  .satisfaction .split-media { aspect-ratio: 5 / 4; }
}

/* =========================================================
   Featured Work — sticky left, stacked cards right
   ========================================================= */
.featured-work {
  padding: var(--space-7) 0;
  background: var(--sage-deep);
  color: var(--cream-soft);
}

.fw-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-6);
  align-items: start;
}

.fw-intro {
  position: sticky;
  top: calc(var(--header-h) + var(--space-3));
  align-self: start;
}
.fw-intro .eyebrow {
  color: var(--cream-soft);
  opacity: 0.7;
  margin-bottom: var(--space-3);
  display: block;
}
.fw-intro h2 {
  color: var(--cream-soft);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin-bottom: var(--space-3);
}
.fw-intro .lead {
  color: rgba(245, 247, 235, 0.82);
  margin-bottom: var(--space-4);
}
.fw-cta {
  background: var(--clay-soft);
  color: var(--ink);
}
.fw-cta:hover {
  background: var(--cream-soft);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.fw-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.fw-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-md);
  overflow: hidden;
}
.fw-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.fw-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.fw-card:hover .fw-card-image img { transform: scale(1.03); }
.fw-card-body {
  padding: var(--space-4);
}
.fw-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.fw-card p {
  margin-bottom: var(--space-3);
  color: var(--ink-soft);
}
.fw-card .card-link {
  color: var(--blue-deep);
  font-weight: 500;
}

@media (max-width: 880px) {
  .featured-work { padding: var(--space-5) 0; }
  .fw-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .fw-intro {
    position: static;
    top: auto;
  }
}

/* =========================================================
   Final CTA — left content + full-bleed image right
   ========================================================= */
.cta-final {
  padding: 0;
  background: var(--paper);
}

.cta-final-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0;
  align-items: stretch;
}

.cta-final-content {
  padding: var(--space-6) var(--space-5);
  padding-left: max(var(--space-4), calc((100vw - var(--container)) / 2 + var(--space-4)));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta-final-inner { max-width: 640px; }

.cta-final-content .eyebrow {
  color: var(--clay);
  margin-bottom: var(--space-2);
  display: block;
}
.cta-final-content h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin-bottom: var(--space-3);
}
.cta-final-content p {
  font-size: 1.05rem;
  margin-bottom: var(--space-3);
  color: var(--ink-soft);
}

.cta-final-image {
  overflow: hidden;
  background: var(--sage-soft);
}
.cta-final-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 100%;
}

@media (max-width: 880px) {
  .cta-final-wrap {
    grid-template-columns: 1fr;
  }
  .cta-final-content {
    padding: var(--space-5) var(--space-4);
  }
  .cta-final-image {
    aspect-ratio: 4 / 3;
    min-height: 280px;
  }
}

/* =========================================================
   Services Hero — arch-shaped image on left, content on right
   ========================================================= */
.services-hero {
  padding: var(--space-5) 0;
}
@media (min-width: 881px) {
  .services-hero { max-height: 90vh; }
}

.services-hero .hero-grid {
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
}

.services-hero-media {
  aspect-ratio: 4 / 5;
}
.services-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 30% 10%;
  box-shadow: var(--shadow-lg);
}

/* ~15% smaller variant — used on the Landing Pages hero */
@media (min-width: 881px) {
  .services-hero-media-sm {
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
  }
}

.services-hero-content .eyebrow {
  color: var(--clay);
  margin-bottom: var(--space-2);
  display: block;
}
.services-hero-content h1 {
  margin-bottom: var(--space-3);
}
.services-hero-content .lead {
  margin-bottom: var(--space-3);
}

@media (max-width: 880px) {
  .services-hero .hero-grid {
    grid-template-columns: 1fr;
  }
  .services-hero-media {
    order: 2;
    aspect-ratio: 5 / 5;
    max-width: 420px;
    margin: 0 auto;
  }
}

/* =========================================================
   Services "Who It's For" — left-aligned heading + divided columns
   ========================================================= */
.who-its-for {
  background: var(--cream-soft);
  padding: var(--space-7) 0;
}

.wif-head {
  margin-bottom: var(--space-6);
}
.wif-head .eyebrow {
  color: var(--clay);
  margin-bottom: var(--space-2);
  display: block;
}
.wif-head h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: var(--space-3);
  max-width: 1000px;
}
.wif-head p {
  max-width: 900px;
  color: var(--ink-soft);
  margin: 0;
}

.wif-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.wif-col {
  padding: var(--space-2) var(--space-4);
  border-right: 1px solid var(--line);
}
.wif-col:first-child {
  padding-left: 0;
}
.wif-col:last-child {
  padding-right: 0;
  border-right: none;
}
.wif-col h4 {
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
}
.wif-col p {
  color: var(--ink-soft);
  margin-bottom: var(--space-3);
  font-size: 0.95rem;
}
/* When the paragraph is the last child (no link beneath), drop the trailing
   spacer so the card sits more compact. Cards that still have a .wif-link
   keep their original bottom rhythm. */
.wif-col p:last-child { margin-bottom: 0; }
.wif-link {
  color: var(--clay);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.wif-link::after {
  content: "›";
  font-size: 1.2em;
  line-height: 1;
  transition: transform .2s ease;
}
.wif-link:hover { color: var(--ink); }
.wif-link:hover::after { transform: translateX(3px); }

.wif-note {
  margin-top: var(--space-5);
  text-align: center;
}
.wif-note p { margin: 0; }

/* Second-row variant — 2 cards centered (paired with a 3-col wif-grid above) */
.wif-grid-row2 {
  margin-top: var(--space-5);
}
@media (min-width: 881px) {
  .wif-grid.wif-grid-row2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 66.67%;
    margin-left: auto;
    margin-right: auto;
  }
  /* In the centered 2-col grid the outer edges aren't flush to the container,
     so restore symmetric padding on both inner cards. */
  .wif-grid.wif-grid-row2 .wif-col:first-child { padding-left: var(--space-4); }
  .wif-grid.wif-grid-row2 .wif-col:last-child { padding-right: var(--space-4); }
}

@media (max-width: 880px) {
  .wif-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .wif-col {
    padding: var(--space-3) 0;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .wif-col:last-child {
    border-bottom: none;
  }
  .who-its-for { padding: var(--space-5) 0; }
}

/* =========================================================
   Services "What We Build" — heading + full-bleed image,
   cards row spans full width and overlaps image
   ========================================================= */
.services-build {
  padding: 0;
  background: var(--blue-pale);
  position: relative;
}

.sb-wrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto auto;
  align-items: stretch;
}

.sb-text {
  grid-column: 1;
  grid-row: 1;
  padding: var(--space-6) var(--space-5) var(--space-4);
  padding-left: max(var(--space-4), calc((100vw - var(--container)) / 2 + var(--space-4)));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sb-text .eyebrow {
  color: var(--clay);
  margin-bottom: var(--space-2);
  display: block;
}
.sb-text h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin: 0;
  max-width: 620px;
}

.sb-image {
  grid-column: 2;
  grid-row: 1 / span 2;
  overflow: hidden;
  background: var(--sage-soft);
  position: relative;
  z-index: 1;
}
.sb-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 100%;
}

.sb-cards-wrap {
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  z-index: 2;
  padding: 0 var(--space-5) var(--space-6);
  padding-left: max(var(--space-4), calc((100vw - var(--container)) / 2 + var(--space-4)));
  padding-right: max(var(--space-4), calc((100vw - var(--container)) / 2 + var(--space-4)));
}

.sb-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}
.sb-card {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.sb-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.sb-card-link {
  margin-top: auto;
  padding-top: var(--space-4);
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--clay);
  font-weight: 600;
  font-size: 0.95rem;
}
.sb-card-link::after {
  content: "\203A"; /* › */
  font-size: 1.3em;
  line-height: 1;
  transition: transform .2s ease;
}
.sb-card-link:hover { color: var(--ink); }
.sb-card-link:hover::after { transform: translateX(3px); }
.sb-icon {
  color: var(--clay);
  margin-bottom: var(--space-3);
}
.sb-icon svg { width: 28px; height: 28px; }
.sb-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.sb-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 880px) {
  .sb-wrap {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .sb-text {
    grid-column: 1;
    grid-row: 1;
    padding: var(--space-5) var(--space-4) var(--space-3);
  }
  .sb-image {
    grid-column: 1;
    grid-row: 2;
    aspect-ratio: 4 / 3;
    min-height: 240px;
  }
  .sb-cards-wrap {
    grid-column: 1;
    grid-row: 3;
    padding: var(--space-4);
  }
  .sb-cards { grid-template-columns: 1fr; }
}

/* Ongoing Support — sticky left intro, scrolling right cards */
.ongoing-support .split {
  align-items: start;
}
@media (min-width: 881px) {
  .ongoing-support-intro {
    position: sticky;
    top: calc(var(--header-h) + var(--space-3));
    align-self: start;
  }
}

/* =========================================================
   What Makes This Different — image left, intro middle, features right
   ========================================================= */
.what-different {
  padding: 0;
  background: var(--blue-deep);
}

.wd-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1.9fr;
  gap: 0;
  align-items: stretch;
}
@media (min-width: 881px) {
  .wd-grid { max-height: 90vh; }
}

.wd-image {
  overflow: hidden;
  background: var(--sage-soft);
}
.wd-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 100%;
}

.wd-intro {
  padding: var(--space-6) var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wd-intro .eyebrow {
  color: var(--clay);
  margin-bottom: var(--space-2);
  display: block;
}
.wd-intro h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  margin-bottom: var(--space-3);
  color: var(--paper);
}
.wd-intro p {
  color: var(--paper);
  margin-bottom: var(--space-4);
}
.wd-intro .btn { align-self: flex-start; }

.wd-features {
  padding: var(--space-4) var(--space-4);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5) var(--space-3);
  align-content: center;
}
.wd-feature-icon {
  color: var(--clay);
  margin-bottom: var(--space-2);
}
.wd-feature-icon svg { width: 26px; height: 26px; }
.wd-feature h4 {
  font-size: 1.05rem;
  margin-bottom: var(--space-2);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--line);
  color: var(--paper);
}
.wd-feature p {
  font-size: 0.92rem;
  color: var(--paper);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .wd-features { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .wd-grid {
    grid-template-columns: 1fr;
    max-height: none;
  }
  .wd-image {
    aspect-ratio: 4 / 3;
    min-height: 240px;
  }
  .wd-intro, .wd-features {
    padding: var(--space-5) var(--space-4);
  }
  .wd-features { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .wd-features { grid-template-columns: 1fr; }
}

/* =========================================================
   Services Process — split heading + 4 image-led step cards
   ========================================================= */
.services-process {
  padding: var(--space-7) 0;
  background: var(--paper);
}

.sp-header {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-6);
  align-items: start;
  margin-bottom: var(--space-6);
}
.sp-heading .eyebrow {
  color: var(--clay);
  margin-bottom: var(--space-2);
  display: block;
}
.sp-heading h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin: 0;
}
.sp-intro-text {
  padding-top: var(--space-3);
}
.sp-intro-text p {
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.65;
}

.sp-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}
.sp-step {
  display: flex;
  flex-direction: column;
}
.sp-step-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-md);
  margin-bottom: var(--space-3);
  background: var(--sage-soft);
}
.sp-step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.sp-step:hover .sp-step-image img { transform: scale(1.04); }

.sp-step-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
}
.sp-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--clay);
  color: var(--cream-soft);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  flex-shrink: 0;
}
.sp-step h4 {
  font-size: 1.1rem;
  margin: 0;
}
.sp-step p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .sp-header {
    grid-template-columns: 1fr;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
  }
  .sp-intro-text { padding-top: 0; }
  .sp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .sp-steps { grid-template-columns: 1fr; }
  .services-process { padding: var(--space-5) 0; }
}

/* Room to Grow — capped section height */
.room-to-grow { padding: var(--space-5) 0; }
@media (min-width: 881px) {
  .room-to-grow { max-height: 90vh; }
  .room-to-grow .split-media { aspect-ratio: 5 / 4; }
}

/* Flipped CTA variant — image on LEFT, dark navy content on RIGHT */
.cta-final-flipped {
  background: var(--paper);
}
.cta-final-flipped .cta-final-wrap {
  grid-template-columns: 1fr 2fr;
}
.cta-final-flipped .cta-final-content {
  padding-left: var(--space-5);
  padding-right: max(var(--space-4), calc((100vw - var(--container)) / 2 + var(--space-4)));
  color: var(--cream-soft);
}
.cta-final-flipped .cta-final-content .eyebrow { color: var(--clay); }
.cta-final-flipped .cta-final-content h2 { color: var(--ink); }
.cta-final-flipped .cta-final-content p { color: var(--ink-soft); }
.cta-final-flipped .btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--blue-deep);
}
.cta-final-flipped .btn-secondary:hover {
  background: var(--cream);
  color: var(--ink-soft);
  border-color: var(--blue-deep);
}

@media (max-width: 880px) {
  .cta-final-flipped .cta-final-wrap {
    grid-template-columns: 1fr;
  }
  .cta-final-flipped .cta-final-content {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
}

/* =========================================================
   About — Our Story + Why LaunchSite Exists (combined wrapper)
   ========================================================= */
.about-story {
  padding: var(--space-7) 0;
}

.as-wrap {
  background: var(--cream-soft);
  border-radius: var(--r-md);
  padding: var(--space-6);
}

.as-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-5);
  align-items: center;
  margin-bottom: var(--space-6);
}

.as-image {
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: var(--r-sm);
}
.as-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.as-content .eyebrow {
  color: var(--clay);
  margin-bottom: var(--space-2);
  display: block;
}
.as-content h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: var(--space-3);
}
.as-content p {
  color: var(--ink-soft);
  margin-bottom: var(--space-3);
  line-height: 1.65;
}

.as-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}
.as-card-icon {
  color: var(--clay);
  margin-bottom: var(--space-2);
}
.as-card-icon svg { width: 28px; height: 28px; }
.as-card h4 {
  font-size: 1.05rem;
  margin-bottom: var(--space-2);
}
.as-card p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.55;
}

@media (max-width: 880px) {
  .about-story { padding: var(--space-5) 0; }
  .as-wrap { padding: var(--space-4); }
  .as-top {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
  }
  .as-image { aspect-ratio: 4 / 3; }
  .as-cards { grid-template-columns: 1fr; gap: var(--space-3); }
}

/* =========================================================
   About — Our Philosophy (left content + image right)
   ========================================================= */
.about-philosophy {
  padding: var(--space-7) 0;
  background: var(--paper);
}

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

.ap-content .eyebrow {
  color: var(--clay);
  margin-bottom: var(--space-2);
  display: block;
}
.ap-content h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: var(--space-3);
}
.ap-content > p {
  color: var(--ink-soft);
  margin-bottom: var(--space-4);
  line-height: 1.65;
}

.ap-box {
  background: var(--clay-soft);
  border-left: 3px solid var(--clay);
  padding: var(--space-4);
  border-radius: var(--r-sm);
  margin-bottom: var(--space-4);
}
.ap-box h4 {
  font-size: 1.05rem;
  margin-bottom: var(--space-3);
}
.ap-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.ap-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}
.ap-list li::before {
  content: "\25C6"; /* ◆ diamond */
  color: var(--clay);
  font-size: 0.85em;
  flex-shrink: 0;
  padding-top: 4px;
}

.ap-image {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 5 / 6;
}
.ap-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 880px) {
  .about-philosophy { padding: var(--space-5) 0; }
  .ap-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .ap-image { aspect-ratio: 4 / 3; }
}

/* =========================================================
   About — Parallax quote banner
   ========================================================= */
.about-quote {
  position: relative;
  padding: var(--space-8) 0;
  background-image: url('../images/about/About4.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* parallax effect on desktop */
  color: var(--cream-soft);
  overflow: hidden;
}
.about-quote-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 27, 44, 0.78); /* dark navy overlay for legibility */
  z-index: 1;
}
.about-quote .container { position: relative; z-index: 2; }

.about-quote-text {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  font-style: normal;
}
.about-quote-text p {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--cream-soft);
  margin: 0 0 var(--space-4);
  letter-spacing: -0.01em;
}
.about-quote-text footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.about-quote-text .quote-name {
  color: var(--clay);
  font-weight: 600;
  font-style: normal;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.about-quote-text .quote-title {
  color: rgba(245, 247, 235, 0.7);
  font-size: 0.9rem;
}

/* On touch/iOS background-attachment: fixed is unreliable — fall back to scroll */
@media (hover: none), (max-width: 880px) {
  .about-quote {
    background-attachment: scroll;
    padding: var(--space-6) 0;
  }
}

/* About — Meet the owner — container matches anthony2 image (3:4 portrait) */
.about-local { padding: var(--space-5) 0; }
.about-local .split-media {
  aspect-ratio: 3 / 4;
  max-width: 480px;
  margin-left: auto;
}
.about-local .split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-xl);
}
@media (min-width: 881px) {
  .about-local { max-height: 90vh; }
}
@media (max-width: 880px) {
  .about-local .split-media { margin: 0 auto; }
}

/* =========================================================
   Pricing Hero — dark gradient banner (compact)
   ========================================================= */
.pricing-hero {
  padding: var(--space-6) 0 var(--space-5);
  background: linear-gradient(135deg, var(--olive-dark) 0%, #1F3957 100%);
  color: var(--cream-soft);
  text-align: center;
}
.ph-content {
  max-width: 820px;
  margin: 0 auto;
}
.pricing-hero .eyebrow {
  color: var(--sage-deep);
  margin-bottom: var(--space-2);
  display: block;
  letter-spacing: 0.18em;
  font-weight: 700;
}
.pricing-hero h1 {
  color: var(--cream-soft);
  margin-bottom: var(--space-2);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
}
.pricing-hero .lead {
  color: rgba(245, 247, 235, 0.82);
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Plans section + 3-column price grid variant */
.pricing-plans {
  padding: var(--space-5) 0 var(--space-7);
}
.pricing-plans .price-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1200px;
}
@media (max-width: 880px) {
  .pricing-plans .price-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Why Subscription — split header + 3 icon-led cards
   ========================================================= */
.why-subscription {
  padding: var(--space-7) 0;
  background: var(--cream-soft);
}

.ws-header {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-6);
  align-items: start;
  margin-bottom: var(--space-5);
}
.ws-heading .eyebrow {
  color: var(--clay);
  margin-bottom: var(--space-2);
  display: block;
}
.ws-heading h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin: 0;
}
.ws-intro {
  padding-top: var(--space-3);
}
.ws-intro p {
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.65;
}

.ws-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}
.ws-card {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: var(--space-4) var(--space-4) var(--space-5);
}
.ws-icon {
  color: var(--clay);
  margin-bottom: var(--space-4);
}
.ws-icon svg { width: 32px; height: 32px; }
.ws-card h4 {
  font-size: 1.2rem;
  margin-bottom: var(--space-2);
}
.ws-card p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .ws-header {
    grid-template-columns: 1fr;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
  }
  .ws-intro { padding-top: 0; }
  .ws-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .ws-cards { grid-template-columns: 1fr; }
  .why-subscription { padding: var(--space-5) 0; }
}

/* =========================================================
   Pricing — What's Included (sticky left, icon cards right)
   ========================================================= */
.whats-included {
  padding: var(--space-7) 0;
  background: var(--sage-deep);
  color: var(--cream-soft);
}

.wi-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-6);
  align-items: start;
}

.wi-intro {
  position: sticky;
  top: calc(var(--header-h) + var(--space-3));
  align-self: start;
}
.wi-intro .eyebrow {
  color: var(--cream-soft);
  opacity: 0.7;
  display: block;
  margin-bottom: var(--space-3);
}
.wi-intro h2 {
  color: var(--cream-soft);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin-bottom: var(--space-3);
}
.wi-divider {
  width: 56px;
  height: 1px;
  background: rgba(245, 247, 235, 0.35);
  margin-bottom: var(--space-3);
}
.wi-intro p {
  color: rgba(245, 247, 235, 0.82);
  margin-bottom: var(--space-4);
}

.wi-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.wi-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-md);
  padding: var(--space-4);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  align-items: start;
}
.wi-icon {
  color: var(--sage-deep);
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--sage-soft);
}
.wi-icon svg { width: 24px; height: 24px; }
.wi-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}
.wi-card-body p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}
.wi-card-body a {
  color: var(--blue-deep);
  font-weight: 500;
}

@media (max-width: 880px) {
  .whats-included { padding: var(--space-5) 0; }
  .wi-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .wi-intro {
    position: static;
    top: auto;
  }
  .wi-card {
    grid-template-columns: auto 1fr;
    gap: var(--space-3);
    padding: var(--space-3);
  }
}

/* =========================================================
   Pricing CTA — centered parallax banner
   ========================================================= */
.cta-parallax {
  position: relative;
  padding: var(--space-7) 0;
  background-image: url('../images/about/About4.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--cream-soft);
  overflow: hidden;
  text-align: center;
}
.cta-parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 27, 44, 0.78);
  z-index: 1;
}
.cta-parallax .container { position: relative; z-index: 2; }

.cta-parallax-content {
  max-width: 760px;
  margin: 0 auto;
}
.cta-parallax-content .eyebrow {
  color: var(--clay);
  margin-bottom: var(--space-2);
  display: block;
}
.cta-parallax-content h2 {
  color: var(--cream-soft);
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: var(--space-3);
}
.cta-parallax-content p {
  color: rgba(245, 247, 235, 0.82);
  margin: 0 auto var(--space-4);
  font-size: 1.05rem;
  max-width: 600px;
}
.cta-parallax-btns {
  justify-content: center;
}
.cta-parallax .btn-secondary {
  background: transparent;
  color: var(--cream-soft);
  border-color: rgba(255, 255, 255, 0.28);
}
.cta-parallax .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream-soft);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Touch/iOS — disable fixed background (parallax) which is unreliable there */
@media (hover: none), (max-width: 880px) {
  .cta-parallax {
    background-attachment: scroll;
    padding: var(--space-6) 0;
  }
}

/* Generic hero size cap — forced to 95vh on desktop */
.hero-cap { padding: var(--space-4) 0 var(--space-5); }
@media (min-width: 881px) {
  .hero-cap {
    min-height: 95vh;
    max-height: 95vh;
    display: flex;
    align-items: center;
  }
  .hero-cap > .container { width: 100%; }
  .hero-cap .hero-media { aspect-ratio: 4 / 4.5; }
}

/* =========================================================
   Industries Hub — "Why industry matters" intro (image left full-bleed)
   ========================================================= */
.industry-intro {
  padding: 0;
  background: var(--paper);
}
.ii-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  align-items: stretch;
}
.ii-image {
  overflow: hidden;
  background: var(--sage-soft);
}
.ii-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 100%;
}
.ii-content {
  padding: var(--space-6) var(--space-5);
  padding-right: max(var(--space-4), calc((100vw - var(--container)) / 2 + var(--space-4)));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ii-content .eyebrow {
  color: var(--clay);
  margin-bottom: var(--space-2);
  display: block;
}
.ii-content h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin-bottom: var(--space-3);
}
.ii-content p {
  color: var(--ink-soft);
  margin-bottom: var(--space-3);
}
.ii-content .btn {
  align-self: flex-start;
  margin-top: var(--space-2);
}

@media (max-width: 880px) {
  .ii-grid { grid-template-columns: 1fr; }
  .ii-content { padding: var(--space-5) var(--space-4); }
  .ii-image { aspect-ratio: 4 / 3; min-height: 280px; }
}

/* Why context matters — capped at 90vh */
.why-context { padding: var(--space-5) 0; }
@media (min-width: 881px) {
  .why-context { max-height: 90vh; }
  .why-context .split-media { aspect-ratio: 5 / 4; }
}

/* =========================================================
   Medical Practices — Pain Points + What Patients Want
   (dual overlapping images on alternating sides)
   ========================================================= */
.medical-pain {
  background: var(--cream-soft);
  padding: var(--space-7) 0;
}
.what-patients {
  background: var(--paper);
  padding: var(--space-7) 0;
}

.mp-grid, .wp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

/* Image cluster — relative positioned container with two overlapping images */
.mp-images, .wp-images {
  position: relative;
  aspect-ratio: 1 / 1.05;
}

/* Main image (larger) */
.mp-image-main, .wp-image-main {
  width: 70%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}
.mp-image-main img, .wp-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Secondary image (smaller, overlapping) */
.mp-image-secondary, .wp-image-secondary {
  position: absolute;
  width: 55%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
}
.mp-image-secondary img, .wp-image-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Pain points: main image top-left, secondary bottom-right */
.medical-pain .mp-image-main {
  /* anchored to top-left of container */
}
.medical-pain .mp-image-secondary {
  right: 0;
  bottom: 0;
}

/* What patients want: main image top-right, secondary bottom-left */
.what-patients .wp-image-main {
  margin-left: auto;
}
.what-patients .wp-image-secondary {
  left: 0;
  bottom: 0;
}

/* Shared content styling */
.mp-content .eyebrow,
.wp-content .eyebrow {
  color: var(--clay);
  margin-bottom: var(--space-2);
  display: block;
}
.mp-content h2,
.wp-content h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: var(--space-3);
}
.mp-content > p,
.wp-content > p {
  color: var(--ink-soft);
  margin-bottom: var(--space-3);
  line-height: 1.65;
}

/* Bullet lists with disc markers (warm clay) */
.mp-bullets, .wp-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: var(--space-4);
  padding-left: 1.25rem;
}
.mp-bullets li, .wp-bullets li {
  list-style: disc;
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.5;
  display: list-item;
  padding-left: 0.3rem;
}
.mp-bullets li::marker, .wp-bullets li::marker {
  color: var(--clay);
}

@media (max-width: 880px) {
  .medical-pain, .what-patients {
    padding: var(--space-5) 0;
  }
  .mp-grid, .wp-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .mp-images, .wp-images {
    aspect-ratio: 1 / 1;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* Our Approach (medical practices) — capped at 90vh */
.approach-capped { padding: var(--space-5) 0; }
@media (min-width: 881px) {
  .approach-capped { max-height: 90vh; }
  .approach-capped .split-media { aspect-ratio: 5 / 4; }
}

/* =========================================================
   Designed For Real Medical Practices — image left + icon-led features right
   ========================================================= */
.designed-for {
  padding: var(--space-7) 0;
  background: var(--paper);
}

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

.df-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}
.df-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.df-content .eyebrow {
  color: var(--clay);
  margin-bottom: var(--space-2);
  display: block;
}
.df-content h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: var(--space-3);
}
.df-content > p {
  color: var(--ink-soft);
  margin-bottom: var(--space-4);
  line-height: 1.65;
}

.df-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.df-features li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: start;
}
.df-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--clay-soft);
  color: var(--clay);
  flex-shrink: 0;
}
.df-icon svg { width: 22px; height: 22px; }
.df-features h4 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}
.df-features p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.5;
}

@media (max-width: 880px) {
  .designed-for { padding: var(--space-5) 0; }
  .df-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .df-image {
    aspect-ratio: 4 / 3;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* =========================================================
   Medical Practices — Process (centered header + 4 numbered cols)
   ========================================================= */
.medical-process {
  padding: var(--space-7) 0;
  background: var(--cream-soft);
}

.mep-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-6);
}
.mep-head .eyebrow {
  color: var(--clay);
  display: block;
  margin-bottom: var(--space-2);
}
.mep-head h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: var(--space-3);
}
.mep-head p {
  color: var(--ink-soft);
  margin: 0;
}

.mep-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.mep-step {
  padding: 0 var(--space-4);
  border-right: 1px solid var(--line);
}
.mep-step:first-child { padding-left: 0; }
.mep-step:last-child {
  padding-right: 0;
  border-right: none;
}
.mep-num {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 500;
  color: var(--clay-soft);
  line-height: 0.85;
  display: block;
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}
.mep-step h4 {
  font-size: 1.15rem;
  margin-bottom: var(--space-2);
}
.mep-step p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .mep-steps {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5) 0;
  }
  .mep-step {
    padding: 0 var(--space-3);
    border-right: 1px solid var(--line);
  }
  .mep-step:nth-child(2n) { border-right: none; padding-right: 0; }
  .mep-step:nth-child(2n+1) { padding-left: 0; }
}

@media (max-width: 560px) {
  .mep-steps { grid-template-columns: 1fr; gap: var(--space-4); }
  .mep-step {
    padding: 0 0 var(--space-3);
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .mep-step:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }
  .medical-process { padding: var(--space-5) 0; }
  .mep-num { font-size: 3.8rem; }
}

/* =========================================================
   Medical Practices — Satisfaction Promise
   ========================================================= */
.satisfaction-promise {
  padding: var(--space-7) 0;
  background: var(--paper);
}

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

.sp-content .eyebrow {
  color: var(--clay);
  display: block;
  margin-bottom: var(--space-2);
}
.sp-content h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin-bottom: var(--space-3);
}
.sp-lead {
  color: var(--ink-soft);
  margin-bottom: var(--space-4);
  line-height: 1.65;
}

.sp-promise {
  background: var(--cream-soft);
  border-radius: var(--r-md);
  padding: var(--space-5);
  text-align: center;
}
.sp-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--clay-soft);
  color: var(--clay);
  display: grid;
  place-items: center;
  margin: 0 auto var(--space-3);
}
.sp-icon svg { width: 42px; height: 42px; }
.sp-promise h3 {
  font-size: 1.35rem;
  margin-bottom: var(--space-2);
}
.sp-promise p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.55;
}

@media (max-width: 880px) {
  .satisfaction-promise { padding: var(--space-5) 0; }
  .sp-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .sp-promise { padding: var(--space-4); }
  .sp-icon { width: 72px; height: 72px; }
  .sp-icon svg { width: 34px; height: 34px; }
}

/* =========================================================
   Locations Hub Hero — split heading + content, full-width image,
   4 icon feature cards
   ========================================================= */
.loc-hero {
  padding: var(--space-5) 0 var(--space-6);
}

.loc-hero-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-6);
  align-items: start;
  margin-bottom: var(--space-4);
}

.loc-hero-heading .eyebrow {
  display: block;
  margin-bottom: var(--space-2);
}
.loc-hero-heading h1 { margin: 0; }

.loc-hero-content { padding-top: var(--space-2); }
.loc-hero-content .lead { margin-bottom: var(--space-3); }

.loc-hero-image {
  aspect-ratio: 2.4 / 1;
  overflow: hidden;
  border-radius: var(--r-md);
  margin-bottom: var(--space-4);
}
.loc-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.loc-hero-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
}
.loc-hero-feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--space-4);
}
.loc-hero-icon {
  color: var(--clay);
  margin-bottom: var(--space-3);
}
.loc-hero-icon svg { width: 28px; height: 28px; }
.loc-hero-feature h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.loc-hero-feature p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 880px) {
  .loc-hero-top {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .loc-hero-content { padding-top: 0; }
  .loc-hero-image { aspect-ratio: 16 / 10; }
  .loc-hero-features { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .loc-hero-features { grid-template-columns: 1fr; }
}

/* =========================================================
   Locations Hub — Local Visibility section
   Image left + dark navy panel right with diagonal slant
   ========================================================= */
.visibility-section {
  position: relative;
  overflow: hidden;
  min-height: 540px;
}
@media (min-width: 881px) {
  .visibility-section {
    min-height: 95vh;
    max-height: 95vh;
  }
}

.vs-bg {
  position: absolute;
  inset: 0;
  background: var(--sage-soft);
}
.vs-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vs-content {
  position: relative;
  z-index: 2;
  margin-left: 48%;
  background: var(--olive-dark);
  color: var(--cream-soft);
  padding: var(--space-7) var(--space-5);
  padding-left: 120px;
  padding-right: max(var(--space-5), calc((100vw - var(--container)) / 2 + var(--space-4)));
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  clip-path: polygon(80px 0, 100% 0, 100% 100%, 0 100%);
}
@media (min-width: 881px) {
  .vs-content { min-height: 95vh; }
}
.vs-content .eyebrow {
  color: var(--cream-soft);
  opacity: 0.7;
  letter-spacing: 0.16em;
  margin-bottom: var(--space-2);
  display: block;
}
.vs-content h2 {
  color: var(--cream-soft);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: var(--space-3);
}
.vs-content p {
  color: rgba(245, 247, 235, 0.82);
  margin-bottom: var(--space-3);
  line-height: 1.65;
}
.vs-cta {
  background: var(--clay);
  color: var(--cream-soft);
  align-self: flex-start;
  margin-top: var(--space-2);
}
.vs-cta:hover {
  background: var(--cream-soft);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 880px) {
  .visibility-section { min-height: 0; }
  .vs-bg {
    position: relative;
    inset: auto;
    aspect-ratio: 16 / 10;
    width: 100%;
  }
  .vs-content {
    margin-left: 0;
    min-height: 0;
    padding: var(--space-5) var(--space-4);
    clip-path: none;
  }
}

/* Why local matters (All Locations) — capped at 90vh */
.why-local-capped { padding: var(--space-5) 0; }
@media (min-width: 881px) {
  .why-local-capped { max-height: 90vh; }
  .why-local-capped .split-media { aspect-ratio: 5 / 4; }
}

/* =========================================================
   New Braunfels — Our Approach (layered card over image)
   ========================================================= */
.approach-layered {
  padding: var(--space-7) 0;
  background: var(--paper);
}

.al-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  align-items: center;
  position: relative;
}

.al-card {
  background: var(--paper);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  margin-right: calc(-1 * var(--space-6));
  overflow: hidden;
}
.al-card-accent {
  height: 6px;
  background: var(--clay);
}
.al-card-inner {
  padding: var(--space-6) var(--space-5);
}
.al-card .eyebrow {
  color: var(--clay);
  display: block;
  margin-bottom: var(--space-2);
}
.al-card h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  margin-bottom: var(--space-3);
}
.al-card p {
  color: var(--ink-soft);
  margin-bottom: var(--space-4);
  line-height: 1.65;
}

.al-image {
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}
.al-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 880px) {
  .approach-layered { padding: var(--space-5) 0; }
  .al-wrap {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .al-card { margin-right: 0; }
  .al-image { aspect-ratio: 4 / 3; }
}

/* Hero size cap variant — 90vh */
@media (min-width: 881px) {
  .hero-cap-90 {
    min-height: 90vh;
    max-height: 90vh;
  }
}

/* Contact button in nav — ensure pill shape and white text override nav-link defaults */
.nav-links .btn {
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
}
.nav-links .btn-primary {
  background: var(--olive-dark);
  color: var(--cream-soft);
}
.nav-links .btn-primary:hover {
  background: var(--navy);
  color: var(--cream-soft);
}
.hero-badge {
  position: absolute;
  left: -18px;
  bottom: 28px;
  background: var(--paper);
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--ink);
  max-width: 480px;
}
.hero-badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue-mid);
  box-shadow: 0 0 0 4px rgba(86, 124, 141, 0.25);
}

/* ---------- Cards / Bento ---------- */
.bento {
  display: grid;
  gap: var(--space-3);
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--space-4);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage-soft);
}
.card h3 { margin-bottom: var(--space-2); }
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sage-soft);
  color: var(--sage-deep);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-3);
}
.card-icon svg { width: 22px; height: 22px; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: var(--space-3);
  font-weight: 500;
  color: var(--olive-dark);
}
.card-link::after { content: "→"; transition: transform .2s ease; }
.card-link:hover::after { transform: translateX(4px); }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }

/* Section heads */
.section-head {
  max-width: 720px;
  margin: 0 auto var(--space-5);
  text-align: center;
}
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { color: var(--ink-soft); }
.section-head .lead,
.container-narrow.center > .lead,
.container-narrow .center > .lead { margin-left: auto; margin-right: auto; max-width: 1000px;}

/* ---------- Surfaces / Backgrounds ---------- */
.bg-cream { background: var(--cream); }
.bg-cream-soft { background: var(--cream-soft); }
.bg-paper { background: var(--paper); }
.bg-olive {
  background: var(--olive-dark);
  color: var(--cream-soft);
}
.bg-olive h1, .bg-olive h2, .bg-olive h3, .bg-olive p { color: var(--cream-soft); }
.bg-olive .eyebrow { color: var(--sage-soft); }
.bg-olive .btn-secondary { background: transparent; color: var(--cream-soft); border-color: rgba(255,255,255,0.25); }
.bg-olive .btn-secondary:hover { background: rgba(255,255,255,0.08); }
.bg-sage {
  background: var(--sage-soft);
}

/* ---------- Process / Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-3);
  counter-reset: step;
}
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--space-4);
  position: relative;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--sage-soft);
  color: var(--sage-deep);
  font-family: var(--font-serif);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.step h4 { margin-bottom: var(--space-1); }
.step p { font-size: 0.95rem; margin-bottom: 0; }

/* ---------- FAQ accordion ---------- */
.faq-list { display: grid; gap: var(--space-2); max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-weight: 500;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 1.4rem;
  color: var(--sage-deep);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body {
  padding: 0 1.4rem 1.3rem;
  color: var(--ink-soft);
}
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  max-width: 980px;
  margin: 0 auto;
}
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--space-5);
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  background: var(--olive-dark);
  color: var(--cream-soft);
  border-color: var(--olive-dark);
}
.price-card.featured h3, .price-card.featured .price, .price-card.featured li { color: var(--cream-soft); }
.price-card.featured .price-sub { color: var(--sage-soft); }
.price-card .tag {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  background: var(--clay-soft);
  color: var(--ink);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
}
/* When a tag is present, push the title down so the two don't touch */
.price-card .tag + h3 {
  margin-top: var(--space-3);
}
.price-card.featured .tag { background: var(--clay); color: var(--cream-soft); }
.price {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  line-height: 1;
  margin: var(--space-2) 0;
  letter-spacing: -0.03em;
}
.price small { font-size: 1rem; color: var(--muted); margin-left: 0.2em; }
.price-sub { color: var(--muted); margin-bottom: var(--space-3); }
.price-list { margin: var(--space-3) 0 var(--space-4); }
.price-list li {
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.96rem;
  color: var(--ink-soft);
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}
.price-card.featured .price-list li { border-color: rgba(255,255,255,0.12); color: var(--cream-soft); }
.price-list li::before {
  content: "✓";
  color: var(--sage-deep);
  font-weight: 600;
  flex-shrink: 0;
}
.price-card.featured .price-list li::before { color: var(--sage-soft); }

/* ---------- Audience blocks ---------- */
.audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.audience-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.audience-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.audience-card .image {
  aspect-ratio: 16/10;
  background: var(--sage-soft);
  overflow: hidden;
}
.audience-card .image img { width: 100%; height: 100%; object-fit: cover; }
.audience-card .body { padding: var(--space-4); flex: 1; display: flex; flex-direction: column; }
.audience-card h3 { margin-bottom: var(--space-1); }
.audience-card .pain {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: var(--space-2);
  font-style: italic;
}

/* ---------- Portfolio before/after ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.portfolio-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.portfolio-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sage-soft);
}
.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.portfolio-item:hover .portfolio-image img { transform: scale(1.03); }

.portfolio-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--line);
  position: relative;
}
.thumb {
  aspect-ratio: 4/3;
  background: var(--sage-soft);
  position: relative;
  overflow: hidden;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .label {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: rgba(24, 40, 60, 0.9);
  color: var(--cream-soft);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-weight: 600;
}
.portfolio-body { padding: var(--space-4); }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--space-3); }
.form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.form input, .form textarea, .form select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 4px rgba(86, 124, 141, 0.18);
}
.form textarea { resize: vertical; min-height: 130px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--olive-dark);
  color: var(--cream-soft);
  padding: var(--space-7) 0 var(--space-4);
}
.site-footer h4 {
  color: var(--cream-soft);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  margin-bottom: var(--space-3);
  opacity: 0.7;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "brand brand contact contact"
    "services industries locations company";
  gap: var(--space-4) var(--space-5);
  margin-bottom: var(--space-5);
}
.footer-brand { grid-area: brand; }
.footer-grid > div:nth-child(2) { grid-area: services; }
.footer-grid > div:nth-child(3) { grid-area: industries; }
.footer-grid > div:nth-child(4) { grid-area: locations; }
.footer-grid > div:nth-child(5) { grid-area: company; }
.footer-grid > div:nth-child(6) { grid-area: contact; }
.footer-brand .brand { color: var(--cream-soft); margin-bottom: var(--space-3); }
.footer-brand p { color: rgba(245, 239, 227, 0.7); font-size: 0.95rem; max-width: 420px; }
.footer-grid ul li { margin-bottom: 0.55rem; }
.footer-grid ul li a {
  color: rgba(245, 239, 227, 0.78);
  font-size: 0.95rem;
}
.footer-grid ul li a:hover { color: var(--cream-soft); }
.footer-bottom {
  border-top: 1px solid rgba(245, 239, 227, 0.15);
  padding-top: var(--space-3);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  color: rgba(245, 239, 227, 0.6);
  font-size: 0.88rem;
}
.footer-bottom a { color: rgba(245, 239, 227, 0.78); }

/* ---------- Two-column splits ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}
.split-media {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-md);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--olive-dark);
  color: var(--cream-soft);
  border-radius: var(--r-xl);
  padding: var(--space-6);
  text-align: center;
}
.cta-banner h2 { color: var(--cream-soft); }
.cta-banner p { color: rgba(245, 239, 227, 0.78); max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-row { justify-content: center; margin-top: var(--space-3); }

/* ---------- Tag/Pill ---------- */
.pill {
  display: inline-block;
  background: var(--sage-soft);
  color: var(--sage-deep);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.pill.clay { background: var(--clay-soft); color: var(--clay); }

/* Checklist */
.checklist li {
  padding: 0.55rem 0;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "✓";
  color: var(--sage-deep);
  font-weight: 700;
  flex-shrink: 0;
}

/* Cross list (not covered) */
.crosslist li {
  padding: 0.55rem 0;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--ink-soft);
}
.crosslist li::before {
  content: "×";
  color: var(--clay);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 1.1em;
  line-height: 1.4;
}

/* ---------- Stats / number row ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.stat {
  text-align: center;
  padding: var(--space-3);
}
.stat .num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--sage-deep);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat .label { color: var(--muted); font-size: 0.92rem; }

/* Breadcrumbs */
.crumbs {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: var(--space-3);
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--olive-dark); }
.crumbs .sep { margin: 0 0.5rem; opacity: 0.6; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand contact"
      "services industries"
      "locations company";
  }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  section { padding: var(--space-6) 0; }
  .hero { padding: var(--space-5) 0 var(--space-6); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .hero-media { aspect-ratio: 5/4; }
  /* Hero badge — move further down on mobile so it doesn't cover image content */
  .hero-badge { bottom: 8px; left: 12px; }
  /* Why Choose Us — give the photo a little breathing room from the section above */
  .why-us-photo { margin-top: var(--space-3); }
  /* Industries hub "Why industry matters" — image below text on mobile */
  .ii-image { order: 2; }
  /* Industries + Locations hub ending CTA — image above text on mobile */
  .cta-final-image { order: -1; }
  /* NB / SA / Seguin "Common problems" — image above text on mobile (df-image is HTML-second on these pages) */
  .df-image { order: -1; }
  /* Contact page — tighter, more even padding on mobile */
  .contact-info .card { padding: var(--space-3); }
  .form-card { padding: var(--space-3); }
  .contact-info .value { word-break: break-word; }
  .split { grid-template-columns: 1fr; gap: var(--space-4); }
  .split-media { aspect-ratio: 5/4; }
  .grid-3, .audience, .portfolio-grid { grid-template-columns: 1fr; gap: var(--space-3); }
  .grid-2, .price-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "services"
      "industries"
      "locations"
      "company"
      "contact";
    gap: var(--space-4);
  }

  /* Mobile nav */
  .menu-btn { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--cream);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-3) var(--space-4);
    gap: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a, .nav-links button.nav-toggle {
    padding: 0.85rem 0.4rem;
    border-radius: 8px;
    width: 100%;
    justify-content: space-between;
  }
  .has-dropdown { width: 100%; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0.5rem 0.8rem;
    min-width: 0;
    display: none;
  }
  .has-dropdown.open > .dropdown { display: block; }
  .has-dropdown:hover > .dropdown { display: none; }
  .has-dropdown.open:hover > .dropdown { display: block; }
  .nav-cta { margin: 0.6rem 0 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container, .container-narrow { padding: 0 1.25rem; }
  section { padding: var(--space-5) 0; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-badge { left: 12px; bottom: 14px; max-width: 280px; }
  .price-card { padding: var(--space-4); }
  .price { font-size: 2.6rem; }
  .cta-banner { padding: var(--space-5) var(--space-3); border-radius: var(--r-lg); }
}

@media (max-width: 380px) {
  h1 { font-size: 2.1rem; }
  .btn { padding: 0.85rem 1.4rem; font-size: 0.95rem; }
}

/* ---------- Utility ---------- */
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-2); }
.mt-5 { margin-top: var(--space-5); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.hidden { display: none; }

/* =========================================================
   PHASE 2 — New Services pages, comparison, LP pages
   ========================================================= */

/* ---------- Tier Selector (Services hub: Landing/5-Page/Advanced cards) ---------- */
.tier-selector { padding: var(--space-7) 0; }
.ts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-5);
  align-items: stretch;
}
.ts-card {
  background: var(--paper);
  border: 1px solid var(--clay-soft);
  border-radius: var(--r-xl);
  padding: var(--space-5) var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  position: relative;
  text-decoration: none;
  color: var(--ink);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
  box-shadow: var(--shadow-sm);
}
.ts-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--clay);
  color: var(--ink);
}

/* Icon circle (top of each card) */
.ts-icon-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid var(--sage-deep);
  color: var(--sage-deep);
  display: grid;
  place-items: center;
  background: var(--paper);
  transition: border-color .25s ease, color .25s ease, background .25s ease;
}
.ts-icon-circle svg { width: 36px; height: 36px; }

.ts-card h3 {
  font-size: 1.5rem;
  margin: 0;
  color: inherit;
}
.ts-tagline {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--clay);
  margin: 0;
  line-height: 1.4;
}
.ts-card > p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
  flex: 1;
}
.ts-price-line {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin: 0;
  padding-top: var(--space-2);
  border-top: 1px solid var(--clay-soft);
  width: 100%;
}

.ts-read-more {
  font-size: 1.0rem;
  font-weight: 600;
  color: var(--sage-deep);
  margin-top: var(--space-2);
  transition: color .2s ease, transform .2s ease;
}
.ts-card:hover .ts-read-more { transform: translateY(-1px); }

/* Featured (middle) card — filled background, inverted colors */
.ts-card.ts-featured {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: var(--cream-soft);
  box-shadow: 0 12px 32px rgba(14, 27, 44, 0.30);
}
.ts-card.ts-featured h3 { color: var(--cream-soft); }
.ts-card.ts-featured > p { color: rgba(245, 239, 235, 0.92); }
.ts-card.ts-featured .ts-tagline { color: var(--clay-soft); }
.ts-card.ts-featured .ts-price-line {
  color: var(--cream-soft);
  border-top-color: rgba(245, 239, 235, 0.25);
}
.ts-card.ts-featured .ts-icon-circle {
  border-color: var(--cream-soft);
  color: var(--cream-soft);
  background: transparent;
}
.ts-card.ts-featured .ts-read-more { color: var(--cream-soft); }
.ts-card.ts-featured:hover {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 18px 44px rgba(14, 27, 44, 0.45);
}

/* Most Popular badge */
.ts-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--clay);
  color: var(--cream-soft);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(168, 137, 116, 0.35);
}

@media (max-width: 1024px) {
  .ts-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .ts-card { padding: var(--space-4); }
}

/* ---------- Best Fit Guide (sticky-left / scrolling-right card list) ---------- */
.best-fit-section { padding: var(--space-7) 0; }

.split.best-fit-split {
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-6);
  align-items: start;
}

.best-fit-intro {
  position: sticky;
  top: calc(var(--header-h) + var(--space-4));
}
.best-fit-intro .eyebrow {
  color: var(--sage-deep);
  margin-bottom: var(--space-2);
  display: block;
}
.best-fit-intro h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin: 0 0 var(--space-3);
}
.best-fit-intro p {
  color: var(--ink-soft);
  margin: 0 0 var(--space-4);
  max-width: 480px;
}

.best-fit-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.best-fit-card {
  padding: var(--space-4);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.best-fit-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--clay);
}
.best-fit-card h4 {
  font-size: 1.4rem;
  margin: 0 0 0.35rem;
  color: var(--ink);
}
.best-fit-sub {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0 0 var(--space-2);
}
.best-fit-card .checklist {
  margin: 0 0 var(--space-3);
  padding: 0;
  list-style: none;
}
.best-fit-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--sage-deep);
  transition: color .2s ease, transform .2s ease;
}
.best-fit-link:hover { color: var(--blue-deep); transform: translateX(2px); }

.best-fit-card-featured {
  border-color: var(--sage-deep);
  box-shadow: 0 8px 24px rgba(86, 124, 141, 0.12);
  position: relative;
}
.best-fit-card-featured::before {
  content: "Most Popular";
  position: absolute;
  top: -10px;
  right: var(--space-3);
  background: var(--clay);
  color: var(--cream-soft);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 880px) {
  .best-fit-section { padding: var(--space-5) 0; }
  .split.best-fit-split { gap: var(--space-4); }
  .best-fit-intro { position: static; }
  .best-fit-intro p { max-width: none; }
}

/* ---------- Why-Matters card grid (used on multiple service pages) ---------- */
.why-matters { padding: var(--space-7) 0; }
.wm-card {
  background: var(--paper);
  border: 1px solid var(--clay-soft);
  border-radius: var(--r-lg);
  padding: var(--space-4);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.wm-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--clay);
}
.wm-card h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0 0 0.6rem;
  color: var(--ink);
}
.wm-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ---------- Example Layout (Landing Pages page) ---------- */
.example-layout { padding: var(--space-7) 0; }
.el-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: start;
  margin-top: var(--space-5);
}
.el-mockup {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--blue-deep);
  aspect-ratio: 4/3;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.el-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.el-sections {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.el-sections li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--space-3);
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--clay-soft);
  border-radius: var(--r-lg);
  padding: var(--space-3);
}
.el-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--clay);
  line-height: 1;
}
.el-sections h4 {
  font-size: 1.05rem;
  margin: 0 0 0.3rem;
  color: var(--ink);
}
.el-sections p {
  font-size: 0.92rem;
  margin: 0;
  color: var(--ink-soft);
}

@media (max-width: 880px) {
  .el-grid { grid-template-columns: 1fr; gap: var(--space-3); }
  .el-mockup { position: static; aspect-ratio: 16/9; }
}

/* ---------- Example Structures (5-Page Websites) ---------- */
.example-structures { padding: var(--space-7) 0; }
.es-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-5);
}
.es-card {
  background: var(--paper);
  border: 1px solid var(--clay-soft);
  border-radius: var(--r-lg);
  padding: var(--space-4);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.es-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--clay);
}
.es-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--sage-soft);
  color: var(--sage-deep);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-2);
}
.es-icon svg { width: 24px; height: 24px; }
.es-card h4 {
  font-size: 1.2rem;
  margin: 0 0 var(--space-2);
}
.es-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.es-list li {
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding-left: 1rem;
  position: relative;
}
.es-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--clay);
  font-weight: 700;
}

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

/* ---------- LP Form Grid (Landing Pages + LP ad pages) ---------- */
.lp-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: start;
}
.lp-form-intro h2 { margin-top: var(--space-2); }

@media (max-width: 880px) {
  .lp-form-grid { grid-template-columns: 1fr; gap: var(--space-4); }
}

/* ---------- Single-tier pricing grid ---------- */
.price-grid-single {
  display: grid;
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
  margin-top: var(--space-4);
}

/* ---------- Advanced Form (form sections, checkboxes, selects) ---------- */
.adv-form-card {
  max-width: 820px;
  margin: var(--space-5) auto 0;
}
.form-section-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ink);
  margin: var(--space-2) 0 0;
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.adv-form-card .form > .form-section-title:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.checkbox-group {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: var(--space-3);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1rem;
  background: var(--cream-soft);
}
.sr-legend {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
/* Use `label.checkbox` (or `.form label.checkbox`) for specificity —
   the global `.form label { display: block }` rule was overriding us. */
.form label.checkbox,
label.checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--ink);
  cursor: pointer;
  padding: 0.5rem 0;
  margin-bottom: 0; /* override .form label's margin-bottom */
  font-weight: 400;
}
/* Reset the global .form input rule for checkboxes — they shouldn't inherit
   the text-input padding/border/background that those rules apply. */
.form .checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  accent-color: var(--sage-deep);
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.checkbox span {
  flex: 1;
}

@media (max-width: 600px) {
  .checkbox-group { grid-template-columns: 1fr; }
}

/* ---------- Form Card (re-usable) ---------- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}
.form-card h3 { margin: 0 0 0.5rem; }
.form-card > p { color: var(--ink-soft); margin: 0 0 var(--space-3); }

@media (max-width: 880px) {
  .form-card { padding: var(--space-4); }
}

/* ---------- LP Ad-page section utilities ---------- */
.lp-hero { padding-top: var(--space-5); }
.lp-trust {
  font-size: 0.88rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.lp-problem .wm-card { background: var(--paper); }

/* ---------- Restaurant LP — visual feature cards ---------- */
.restaurant-features { padding: var(--space-7) 0; }
.rf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-5);
}
.rf-card {
  background: var(--paper);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: stretch;
  transition: transform .25s ease, box-shadow .25s ease;
}
.rf-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.rf-image {
  overflow: hidden;
  background: var(--cream-soft);
  min-height: 100%;
}
.rf-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.rf-card:hover .rf-image img { transform: scale(1.04); }
.rf-body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  justify-content: center;
}
.rf-body h3 {
  font-size: 1.4rem;
  margin: 0.3rem 0 0;
}
.rf-body p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--ink-soft);
}

@media (max-width: 1024px) {
  .rf-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .rf-card { grid-template-columns: 1fr; }
  .rf-image { aspect-ratio: 16/9; min-height: 0; }
}

/* ---------- Active nav-toggle state ---------- */
.nav-toggle.active {
  color: var(--sage-deep);
}

/* =========================================================
   "What's included" featured-service layout (Landing Pages page)
   ========================================================= */
.wi-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: var(--space-6);
  align-items: center;
}

.wi-content .eyebrow {
  color: var(--clay);
  display: block;
  margin-bottom: var(--space-2);
}
.wi-content h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin: 0 0 var(--space-3);
  max-width: 520px;
}
.wi-content > p {
  color: var(--ink-soft);
  margin: 0 0 var(--space-4);
  max-width: 520px;
}

.wi-features-box {
  background: var(--clay-soft);
  border-left: 4px solid var(--clay);
  border-radius: var(--r-md);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
}
.wi-features-box h4 {
  margin: 0 0 var(--space-3);
  font-size: 1.05rem;
  color: var(--ink);
}
.wi-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--space-4);
  row-gap: 0.65rem;
}
.wi-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}
.wi-features-list li::before {
  content: "◆";
  color: var(--clay);
  font-size: 0.72rem;
  margin-top: 6px;
  flex-shrink: 0;
}

/* Right-side media block with overlapping stat callout */
.wi-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}
.wi-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wi-stat {
  position: absolute;
  left: var(--space-3);
  right: var(--space-3);
  bottom: var(--space-3);
  background: var(--clay-soft);
  border-radius: var(--r-md);
  padding: var(--space-3) var(--space-4);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: center;
  box-shadow: 0 8px 24px rgba(24, 40, 60, 0.18);
}
.wi-stat-num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--clay);
  line-height: 1;
  letter-spacing: -0.02em;
}
.wi-stat-body strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 0.15rem;
}
.wi-stat-body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .wi-grid { gap: var(--space-4); }
  .wi-stat-num { font-size: 2.1rem; }
  .wi-stat { padding: var(--space-2) var(--space-3); gap: var(--space-2); }
}

@media (max-width: 880px) {
  .wi-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .wi-content h2, .wi-content > p { max-width: none; }
  .wi-media { aspect-ratio: 4/3; order: -1; }
  .wi-features-list { grid-template-columns: 1fr; }
}

/* =========================================================
   "Why it matters" — split layout w/ offset accent block
   ========================================================= */
.why-matters-split {
  padding: var(--space-6) 0;
  max-height: 90vh;
  display: flex;
  align-items: center;
}
.why-matters-split > .container { width: 100%; }

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

.wms-media {
  position: relative;
  padding: 0 var(--space-3) var(--space-3) 0;
  max-width: 87%;
  margin-left: auto;
  margin-right: auto;
}
.wms-media-frame {
  position: relative;
  z-index: 2;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.wms-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wms-accent {
  position: absolute;
  z-index: 1;
  left: var(--space-3);
  right: 0;
  top: var(--space-4);
  bottom: 0;
  background: var(--clay);
  border-radius: var(--r-md);
  display: block;
}

.wms-content .eyebrow {
  color: var(--clay);
  display: block;
  margin-bottom: var(--space-2);
}
.wms-content h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin: 0 0 var(--space-3);
  line-height: 1.15;
}
.wms-content p {
  color: var(--ink-soft);
  margin: 0 0 var(--space-3);
  font-size: 1.02rem;
  line-height: 1.6;
}

@media (max-width: 880px) {
  .why-matters-split {
    padding: var(--space-5) 0;
    max-height: none;
    display: block;
  }
  .wms-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .wms-media-frame { aspect-ratio: 4/3; }
  .wms-media { max-width: 480px; margin: 0 auto; }
}

/* =========================================================
   Pricing split (intro on left, single price card on right)
   ========================================================= */
.pricing-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: start;
}

.pricing-split-intro .eyebrow {
  color: var(--clay);
  display: block;
  margin-bottom: var(--space-2);
}
.pricing-split-intro h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin: 0 0 var(--space-3);
  max-width: 480px;
}
.pricing-split-intro p {
  color: var(--ink-soft);
  margin: 0 0 10 0;
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 480px;
}

.pricing-split-card {
  display: flex;
  justify-content: center;
}
.pricing-split-card .price-card {
  width: 100%;
  max-width: 460px;
}

@media (max-width: 880px) {
  .pricing-split {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .pricing-split-intro h2,
  .pricing-split-intro p { max-width: none; }
}

/* ---------- Hero trust line (small checkmark badges under CTAs) ---------- */
.hero-trust {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.hero-trust li::before {
  content: "✓";
  color: var(--sage-deep);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
}

/* ---------- Stacked variant of wi-features-list (title + description) ---------- */
.wi-features-list-stacked {
  grid-template-columns: 1fr 1fr;
  row-gap: var(--space-3);
}
.wi-features-list-stacked li {
  flex-direction: row;
  align-items: flex-start;
}
.wi-features-list-stacked li strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.wi-features-list-stacked li span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}
.wi-features-list-stacked li > strong,
.wi-features-list-stacked li > span {
  flex: none;
}
/* Wrap title+span in a flex column on the right of the bullet */
.wi-features-list-stacked li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
}
.wi-features-list-stacked li::before { margin-top: 6px; }
.wi-features-list-stacked li > strong,
.wi-features-list-stacked li > span {
  grid-column: 2;
}

@media (max-width: 600px) {
  .wi-features-list-stacked { grid-template-columns: 1fr; }
}

/* =========================================================
   "What's Included" — alternating 2-row zigzag layout
   (5-Page Websites page)
   ========================================================= */
.wi-zigzag-section { padding: var(--space-7) 0; }

.wi-zigzag {
  display: grid;
  gap: var(--space-6);
}

.wi-zigzag-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}

.wi-zigzag-text .eyebrow {
  color: var(--clay);
  display: block;
  margin-bottom: var(--space-2);
}
.wi-zigzag-text h2 {
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  margin: 0 0 var(--space-3);
  line-height: 1.15;
}
.wi-zigzag-text > p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
}

.wi-zigzag-image {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  background: var(--blue-deep);
}
.wi-zigzag-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Bullet list (12 included items on the second row) */
.wi-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--space-4);
  row-gap: 0.65rem;
}
.wi-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}
.wi-bullets li::before {
  content: "◆";
  color: var(--clay);
  font-size: 0.72rem;
  margin-top: 6px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .wi-bullets { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .wi-zigzag-section { padding: var(--space-5) 0; }
  .wi-zigzag { gap: var(--space-5); }
  .wi-zigzag-row {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  /* On mobile, always show image before its text (consistent feel) */
  .wi-zigzag-row .wi-zigzag-image { order: -1; }
  .wi-zigzag-image { aspect-ratio: 16/10; }
}

/* ---------- Stacked checklist (title on first line, description below) ---------- */
.checklist.checklist-stacked li {
  padding: 0.65rem 0;
  align-items: flex-start;
}
.checklist.checklist-stacked li::before {
  margin-top: 4px;
  line-height: 1;
}
.checklist.checklist-stacked li > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.checklist.checklist-stacked li strong {
  color: var(--ink);
  font-weight: 600;
  font-size: 1.02rem;
}
.checklist.checklist-stacked li span {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* =========================================================
   "What's Included" — single split (image left, text right)
   5-Page Websites page
   ========================================================= */
.wi-split-section { padding: var(--space-7) 0; }

.wi-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: var(--space-6);
  align-items: center;
}

.wi-split-image {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
  background: var(--blue-deep);
  max-width: 75%;
  margin-left: auto;
  margin-right: auto;
}
.wi-split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wi-split-text .eyebrow {
  color: var(--clay);
  display: block;
  margin-bottom: var(--space-2);
}
.wi-split-text h2 {
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  margin: 0 0 var(--space-3);
  line-height: 1.15;
}
.wi-split-text > p {
  color: var(--ink-soft);
  margin: 0 0 10 0;
  font-size: 1.02rem;
  line-height: 1.6;
}

@media (max-width: 880px) {
  .wi-split-section { padding: var(--space-5) 0; }
  .wi-split {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .wi-split-image { aspect-ratio: 4/3; }
}

/* ---------- Dark variant of wi-split-section ---------- */
.wi-split-section-dark {
  background: var(--blue-deep);
}
.wi-split-section-dark .wi-split-text .eyebrow {
  color: var(--clay-soft);
}
.wi-split-section-dark .wi-split-text h2 {
  color: var(--cream-soft);
}
.wi-split-section-dark .wi-split-text > p {
  color: rgba(245, 239, 235, 0.82);
}
.wi-split-section-dark .wi-bullets li {
  color: rgba(245, 239, 235, 0.85);
}
.wi-split-section-dark .wi-bullets li::before {
  color: var(--clay-soft);
}
.wi-split-section-dark .wi-split-image {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* =========================================================
   Full-bleed parallax hero (Advanced Websites page)
   ========================================================= */
.hero-fullbleed {
  position: relative;
  min-height: 78vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* parallax */
  background-repeat: no-repeat;
  padding: var(--space-7) 0 var(--space-6);
  color: var(--cream-soft);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Dark navy gradient overlay so text reads on any image */
.hero-fullbleed-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(14, 27, 44, 0.92) 0%,
      rgba(24, 40, 60, 0.85) 60%,
      rgba(24, 40, 60, 0.75) 100%
    );
  z-index: 1;
}

.hero-fullbleed > .container {
  position: relative;
  z-index: 2;
}

.hero-fullbleed-inner {
  max-width: 720px;
  padding: var(--space-5) 0;
}

/* Inline eyebrow — sits flush with the rest of the text */
.hero-fullbleed-eyebrow {
  color: var(--clay-soft);
  display: block;
}

.hero-fullbleed h1 {
  color: var(--cream-soft);
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  line-height: 1.1;
  margin: var(--space-3) 0;
  font-weight: 500;
}
.hero-fullbleed .lead {
  color: rgba(245, 239, 235, 0.86);
  max-width: 560px;
  font-size: 1.1rem;
  line-height: 1.55;
  margin-bottom: 0;
}

/* Extra breathing room around the CTA buttons on the dark hero */
.hero-fullbleed .btn-row {
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}
.hero-fullbleed .hero-trust {
  margin-top: var(--space-4);
}

/* Outline button — for dark hero backgrounds */
.btn-outline {
  background: transparent;
  color: var(--cream-soft);
  border: 1.5px solid rgba(245, 239, 235, 0.55);
}
.btn-outline:hover {
  background: var(--cream-soft);
  color: var(--blue-deep);
  border-color: var(--cream-soft);
}

/* Dark variant of hero-trust */
.hero-trust-dark {
  color: rgba(245, 239, 235, 0.88);
}
.hero-trust-dark li { color: rgba(245, 239, 235, 0.88); }
.hero-trust-dark li::before { color: var(--clay-soft); }

@media (max-width: 880px) {
  .hero-fullbleed {
    background-attachment: scroll; /* fixed bgs break on iOS Safari */
    min-height: 62vh;
    padding: var(--space-5) 0;
  }
  .hero-fullbleed-inner { padding: var(--space-3) 0; }
  .hero-fullbleed-eyebrow {
    margin-left: 0;
    padding-left: 0;
  }
}

/* =========================================================
   "Who it's for" — split header + 4-card grid
   (Advanced Websites page)
   ========================================================= */
.who-its-for-advanced { padding: var(--space-7) 0; }

/* Header: title left | vertical accent line | eyebrow + intro right */
.wia-head {
  display: grid;
  grid-template-columns: 1.4fr auto 1fr;
  gap: var(--space-5);
  align-items: stretch;
  margin-bottom: var(--space-6);
}
.wia-head-title h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin: 0;
  line-height: 1.15;
}
.wia-head-divider {
  width: 3px;
  background: var(--clay);
  border-radius: 2px;
  min-height: 100%;
}
.wia-head-intro {
  align-self: center;
}
.wia-head-intro .eyebrow {
  color: var(--clay);
  display: block;
  margin-bottom: var(--space-2);
}
.wia-head-intro p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* 4-card grid */
.wia-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.wia-card {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--clay);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: transform .25s ease, box-shadow .25s ease;
}
.wia-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.wia-icon {
  width: 52px;
  height: 52px;
  color: var(--clay);
  margin-bottom: var(--space-2);
}
.wia-icon svg { width: 100%; height: 100%; }
.wia-card h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
  color: var(--ink);
  line-height: 1.3;
}
.wia-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 1100px) {
  .wia-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .who-its-for-advanced { padding: var(--space-5) 0; }
  .wia-head {
    grid-template-columns: 1fr;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
  }
  .wia-head-divider {
    width: 60px;
    height: 3px;
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .wia-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   "Our Process" — circle zigzag layout (Advanced Websites)
   ========================================================= */
.process-circles { padding: var(--space-7) 0 var(--space-8); }

.section-head.center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.pc-wrap {
  position: relative;
  margin-top: var(--space-6);
  min-height: 360px;
}

/* Decorative wavy curve weaving through the circle centers */
.pc-curve {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* 5-column grid; each .pc-step shifts up or down to form the zigzag */
.pc-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-3);
  position: relative;
  z-index: 1;
  align-items: start;
}
.pc-step { margin: 0; }
.pc-step-up   { transform: translateY(-30px); }
.pc-step-down { transform: translateY(85px); }

/* The circle itself */
.pc-circle {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cream-soft);
  border: 1px solid var(--clay-soft);
  padding: var(--space-4);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.pc-circle:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(24, 40, 60, 0.10);
}

.pc-icon {
  width: 32px;
  height: 32px;
  color: var(--clay);
  flex-shrink: 0;
}
.pc-icon svg { width: 100%; height: 100%; }

.pc-circle h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
  line-height: 1.25;
}
.pc-circle p {
  font-size: 0.78rem;
  margin: 0;
  line-height: 1.4;
  color: var(--ink-soft);
}

/* Featured (highlighted) circle — clay filled, cream text */
.pc-step-featured .pc-circle {
  background: var(--clay);
  border-color: var(--clay);
  color: var(--cream-soft);
  box-shadow: 0 14px 32px rgba(168, 137, 116, 0.35);
}
.pc-step-featured .pc-circle h4 { color: var(--cream-soft); }
.pc-step-featured .pc-circle p  { color: rgba(245, 239, 235, 0.92); }
.pc-step-featured .pc-icon      { color: var(--cream-soft); }

@media (max-width: 1100px) {
  .pc-grid { grid-template-columns: repeat(3, 1fr); }
  .pc-step-up, .pc-step-down { transform: none; }
  .pc-curve { display: none; }
  .pc-wrap { min-height: 0; }
}
@media (max-width: 768px) {
  .pc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .pc-grid { grid-template-columns: 1fr; }
  .pc-circle {
    aspect-ratio: auto;
    border-radius: var(--r-lg);
    padding: var(--space-3) var(--space-4);
  }
}

/* =========================================================
   Scale section — image sized down + 4 icon+title cards below
   (Advanced Websites page)
   ========================================================= */
.scale-section {
  display: flex;
  align-items: center;
  padding: var(--space-5) 0;
}
.scale-section > .container {
  width: 100%;
  max-width: 100%;
  padding-left: 10%;
  padding-right: 10%;
}
.scale-section .split-media {
  max-width: 100%;
  aspect-ratio: 5/4;
  margin-left: auto;
  margin-right: auto;
}

/* Inner "card" wrapper that holds the split + 4-card row */
.scale-inner {
  background: var(--cream);
  border-radius: var(--r-xl);
  padding: var(--space-5);
}

@media (max-width: 880px) {
  .scale-section {
    max-height: none;
    display: block;
    padding: var(--space-5) 0;
  }
  .scale-section > .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
  .scale-section .split-media { max-width: 100%; }
  .scale-inner { padding: var(--space-4); }
}

.scale-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--clay-soft);
}
.scale-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.scale-icon {
  width: 32px;
  height: 32px;
  color: var(--clay);
}
.scale-icon svg { width: 100%; height: 100%; }
.scale-card h4 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
  line-height: 1.3;
}

@media (max-width: 1024px) {
  .scale-cards { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
}
@media (max-width: 600px) {
  .scale-cards { grid-template-columns: 1fr; }
}

/* ---------- LP hero image — 20% smaller variant with softer rounding ---------- */
@media (min-width: 881px) {
  .lp-hero-media-sm {
    max-width: 100%;
    aspect-ratio: 1545/1000;
    margin-left: auto;
    margin-right: auto;
  }
}
.lp-hero-media-sm img {
  border-radius: var(--r-sm);
  box-shadow: none;
  background: transparent;
}

/* Mobile — let the LP hero image render at its natural aspect ratio so
   the mockup doesn't get cropped by the parent .hero-media's 4/5 ratio. */
@media (max-width: 880px) {
  .lp-hero-media-sm {
    aspect-ratio: auto;
  }
  .lp-hero-media-sm img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
}

/* =========================================================
   Problem section — split header + 3-card grid
   (LP pages)
   ========================================================= */
.problem-section { padding: var(--space-7) 0; background: var(--cream-soft);}

/* Header: title left, body paragraph right */
.problem-head {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-5);
  align-items: start;
  margin-bottom: var(--space-6);
}
.problem-head-title .eyebrow {
  color: var(--clay);
  display: block;
  margin-bottom: var(--space-2);
}
.problem-head-title h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin: 0;
  line-height: 1.15;
}
.problem-head-body p {
  margin: 0 10 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
}

/* 3-card grid */
.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.problem-card {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: transform .25s ease, box-shadow .25s ease;
}
.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.problem-icon {
  width: 44px;
  height: 44px;
  color: var(--clay);
  margin-bottom: var(--space-2);
}
.problem-icon svg { width: 100%; height: 100%; }
.problem-card h4 {
  font-size: 1.2rem;
  margin: 0;
  color: var(--ink);
  line-height: 1.3;
}
.problem-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 1024px) {
  .problem-head { grid-template-columns: 1fr; gap: var(--space-3); }
  .problem-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .problem-section { padding: var(--space-5) 0; }
  .problem-cards { grid-template-columns: 1fr; }
}

/* =========================================================
   Solution section (LP pages) — image+offset accent left,
   content + 2x2 feature grid right
   ========================================================= */
.lp-solution-section { padding: var(--space-7) 0; }

.sol-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: var(--space-6);
  align-items: center;
}

/* Left side — image with bottom-left offset accent outline */
.sol-media {
  position: relative;
  padding: 0 0 var(--space-4) var(--space-3);
  max-width: 90%;
}
.sol-media-frame {
  position: relative;
  z-index: 2;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.sol-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sol-accent {
  position: absolute;
  z-index: 1;
  left: 0;
  right: var(--space-4);
  top: var(--space-4);
  bottom: 0;
  border: 2px solid var(--clay);
  border-radius: var(--r-md);
}

/* Right side — content */
.sol-content .eyebrow {
  color: var(--clay);
  display: block;
  margin-bottom: var(--space-2);
}
.sol-content h2 {
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 var(--space-3);
}
.sol-content > p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 var(--space-3);
}

/* 2x2 feature grid */
.sol-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin: var(--space-3) 0 0;
}
.sol-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: start;
}
.sol-feature-icon {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--clay-soft);
  border-radius: var(--r-sm);
  color: var(--clay);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.sol-feature-icon svg { width: 22px; height: 22px; }
.sol-feature h4 {
  font-size: 1.02rem;
  margin: 0 0 0.25rem;
  color: var(--ink);
  line-height: 1.3;
}
.sol-feature p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

@media (max-width: 1024px) {
  .sol-features { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .lp-solution-section { padding: var(--space-5) 0; }
  .sol-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .sol-media { max-width: 480px; margin: 0 auto; }
  .sol-media-frame { aspect-ratio: 4/3; }
}

/* =========================================================
   "What's Included" — dark teal split with stacked cards
   (LP pages)
   ========================================================= */
.wid-section {
  background: var(--sage-deep);
  color: var(--cream-soft);
  padding: var(--space-7) 0;
}

.wid-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: var(--space-6);
  align-items: start;
}

.wid-left {
  position: sticky;
  top: calc(var(--header-h) + var(--space-4));
}
.wid-left .eyebrow {
  color: rgba(245, 239, 235, 0.7);
  display: block;
  margin-bottom: var(--space-2);
}
.wid-left h2 {
  color: var(--cream-soft);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1.15;
  margin: 0 0 var(--space-3);
}
.wid-divider {
  display: block;
  width: 60px;
  height: 1px;
  background: rgba(245, 239, 235, 0.45);
  margin: 0 0 var(--space-3);
}
.wid-left p {
  color: rgba(245, 239, 235, 0.85);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 var(--space-3);
  max-width: 420px;
}

/* Cream / beige CTA button — for use on dark backgrounds */
.btn-cream {
  background: var(--cream-soft);
  color: var(--ink);
  border: 1px solid var(--cream-soft);
}
.btn-cream:hover {
  background: var(--clay-soft);
  border-color: var(--clay-soft);
  color: var(--ink);
}

/* Right-side stacked cards */
.wid-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.wid-card {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: var(--space-3) var(--space-4);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wid-card:hover {
  transform: translateX(3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}
.wid-icon {
  width: 48px;
  height: 48px;
  background: var(--sage-soft);
  color: var(--sage-deep);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.wid-icon svg { width: 22px; height: 22px; }
.wid-card h4 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--ink);
  line-height: 1.3;
}

@media (max-width: 880px) {
  .wid-section { padding: var(--space-5) 0; }
  .wid-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .wid-left {
    position: static;
  }
  .wid-left p { max-width: none; }
}

/* ---------- Pricing split — "Perfect for" subhead + upsell note ---------- */
.pricing-perfect-for {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin: var(--space-3) 0 0.5rem;
}
.pricing-split-intro .checklist {
  margin: 0;
}
.pricing-upsell-note {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 480px;
}

/* =========================================================
   3-step process — centered circles with curved connectors
   (LP pages)
   ========================================================= */
.process-circles3 { padding: var(--space-7) 0; }

.pc3-grid {
  list-style: none;
  margin: var(--space-6) auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: var(--space-3);
  align-items: center;
  max-width: 1100px;
}

.pc3-step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
}
.pc3-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1.5px solid var(--clay-soft);
  background: var(--paper);
  color: var(--clay);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-2);
  transition: transform .25s ease, box-shadow .25s ease;
}
.pc3-circle svg { width: 30px; height: 30px; }
.pc3-step:hover .pc3-circle {
  transform: scale(1.05);
  box-shadow: 0 10px 24px rgba(168, 137, 116, 0.20);
}
.pc3-num {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--clay);
  margin-right: 0.2rem;
}
.pc3-step h4 {
  font-size: 1.15rem;
  margin: 0;
  color: var(--ink);
}
.pc3-step p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0;
  max-width: 280px;
  line-height: 1.5;
}

/* Curved connector line between steps */
.pc3-connector {
  width: 120px;
  height: 40px;
  align-self: center;
  margin-bottom: 70px; /* sit at roughly the height of the circles */
}
.pc3-connector svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 880px) {
  .process-circles3 { padding: var(--space-5) 0; }
  .pc3-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
    margin-top: var(--space-4);
  }
  .pc3-connector {
    width: 40px;
    height: 60px;
    margin: 0 auto;
    transform: rotate(90deg);
    transform-origin: center;
  }
}

/* ---------- Reassurance text — small soft callout after a lead paragraph ---------- */
.reassurance {
  font-size: 0.95rem;
  color: var(--clay);
  font-weight: 500;
  margin: 0 0 var(--space-3);
  padding-left: var(--space-3);
  border-left: 2px solid var(--clay-soft);
  line-height: 1.5;
}

/* ---------- Advanced Websites "Built around your business" — cap image height ---------- */
@media (min-width: 1025px) {
  #features .md-image {
    align-self: center;
    min-height: 0;
    max-height: 480px;
  }
}
/* Keep the image visible on small mobile (the global .md-image rule hides it
   on the homepage version, but on this page the image is meaningful content). */
@media (max-width: 560px) {
  #features .md-image { display: block; }
}

/* =========================================================
   Restaurant LP Hero — twin pill images with bounce decoration
   (NB Restaurants page)
   ========================================================= */
.rest-hero {
  padding: var(--space-5) 0 var(--space-6);
}

.rest-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-6);
  align-items: center;
}

.rest-hero-content .eyebrow {
  color: var(--clay);
  display: block;
  margin-bottom: var(--space-2);
}
.rest-hero-content h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 var(--space-3);
  font-weight: 500;
}
.rest-hero-content .lead {
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.55;
  max-width: 540px;
  margin: 0;
}

/* Right side — two pill-shaped images side by side, staggered up/down */
.rest-hero-media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  align-items: center;
}

.rest-pill {
  border-radius: 9999px;
  overflow: hidden;
  aspect-ratio: 5/9;
  background: var(--clay-soft);
}
.rest-pill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rest-pill-up   { transform: translateY(-24px); }
.rest-pill-down { transform: translateY(24px); }

/* Decorative bounce curve with small X — sits above the pills */
.rest-hero-bounce {
  position: absolute;
  top: -20px;
  left: 50%;
  width: 120px;
  height: 80px;
  transform: translateX(-30%) rotate(-8deg);
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .rest-hero-grid { gap: var(--space-5); }
  .rest-pill-up, .rest-pill-down { transform: none; }
  .rest-pill-up   { margin-top: -20px; }
  .rest-pill-down { margin-top: 20px; }
}

@media (max-width: 880px) {
  .rest-hero { padding: var(--space-4) 0 var(--space-5); }
  .rest-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .rest-hero-content .lead { max-width: none; }
  .rest-hero-media { max-width: 480px; margin: 0 auto; }
  .rest-pill { aspect-ratio: 4/6; }
  .rest-hero-bounce { top: -10px; width: 90px; height: 60px; }
}

/* =========================================================
   Restaurant LP — Problem section
   Centered header + 3 cards (middle one featured)
   ========================================================= */
.rest-problem { padding: var(--space-7) 0; background-color: var(--cream-soft);}

.rest-problem .section-head .eyebrow {
  color: var(--ink-soft);
  display: block;
  margin-bottom: var(--space-2);
}
.rest-problem .section-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1.15;
  margin: 0 0 var(--space-3);
}
.rest-problem .section-head p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 var(--space-2);
}
.rest-problem .section-head p:last-of-type { margin-bottom: 0; }

.rest-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
  align-items: stretch;
}

.rest-problem-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: var(--space-5) var(--space-4);
  box-shadow: 0 6px 24px rgba(24, 40, 60, 0.06);
  border: 1px solid var(--clay-soft);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: transform .25s ease, box-shadow .25s ease;
}
.rest-problem-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(24, 40, 60, 0.10);
}

.rest-problem-icon {
  width: 64px;
  height: 64px;
  color: var(--clay);
  margin-bottom: var(--space-2);
  position: relative;
  display: grid;
  place-items: center;
}
/* Soft scribble background behind icon */
.rest-problem-icon::before {
  content: "";
  position: absolute;
  inset: 8px;
  background: var(--clay-soft);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.6;
}
.rest-problem-icon svg {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1;
}
.rest-problem-card h4 {
  font-size: 1.3rem;
  margin: 0;
  color: var(--ink);
  line-height: 1.3;
}
.rest-problem-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Featured (middle) card — slightly elevated + accent title color */
.rest-problem-card-featured {
  box-shadow: 0 14px 40px rgba(24, 40, 60, 0.12);
  border-color: var(--sage-soft);
  position: relative;
  z-index: 1;
}
.rest-problem-card-featured h4 {
  color: var(--sage-deep);
}
.rest-problem-card-featured .rest-problem-icon {
  color: var(--sage-deep);
}
.rest-problem-card-featured .rest-problem-icon::before {
  background: var(--sage-soft);
}

@media (max-width: 1024px) {
  .rest-problem-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .rest-problem { padding: var(--space-5) 0; }
  .rest-problem-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Restaurant LP — Solution section
   Image + overlay badge on left, header + 2x2 feature cards on right
   ========================================================= */
.rest-solution { padding: var(--space-7) 0; }

.rest-sol-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: var(--space-6);
  align-items: center;
}

/* Left side — image with bottom-right badge overlay */
.rest-sol-media {
  position: relative;
  padding-bottom: var(--space-5);
  padding-right: var(--space-4);
}
.rest-sol-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: visible;
  aspect-ratio: 4/5;
}
.rest-sol-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

/* Clay-colored badge that overlaps the bottom-right of the image */
.rest-sol-badge {
  position: absolute;
  bottom: -28px;
  right: -28px;
  width: 260px;
  background: var(--clay);
  color: var(--cream-soft);
  border-radius: var(--r-lg);
  padding: var(--space-3) var(--space-4);
  box-shadow: 0 14px 36px rgba(168, 137, 116, 0.40);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.rest-sol-badge-icon {
  width: 36px;
  height: 36px;
  color: var(--cream-soft);
}
.rest-sol-badge-icon svg { width: 100%; height: 100%; }
.rest-sol-badge h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  color: var(--cream-soft);
}

/* Right side — content */
.rest-sol-content .eyebrow {
  color: var(--clay);
  display: block;
  margin-bottom: var(--space-2);
}
.rest-sol-content h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1.15;
  margin: 0 0 var(--space-3);
}
.rest-sol-content > p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 var(--space-3);
}

/* 2x2 feature card grid */
.rest-sol-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin: var(--space-4) 0;
}
.rest-sol-feature {
  background: var(--cream-soft);
  border-radius: var(--r-md);
  padding: var(--space-3) var(--space-3);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: start;
  border: 1px solid var(--clay-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.rest-sol-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(24, 40, 60, 0.06);
}
.rest-sol-feature-icon {
  width: 36px;
  height: 36px;
  color: var(--clay);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.rest-sol-feature-icon svg { width: 22px; height: 22px; }
.rest-sol-feature h4 {
  font-size: 1.02rem;
  margin: 0 0 0.25rem;
  color: var(--ink);
  line-height: 1.3;
}
.rest-sol-feature p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

@media (max-width: 1024px) {
  .rest-sol-features { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .rest-solution { padding: var(--space-5) 0; }
  .rest-sol-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .rest-sol-media { max-width: 480px; margin: 0 auto var(--space-4); }
  .rest-sol-frame { aspect-ratio: 4/3; }
  .rest-sol-badge {
    bottom: -20px;
    right: 12px;
    left: 12px;
    width: auto;
  }
}

/* =========================================================
   Restaurant LP — "Designed for restaurants" 4-pillar section
   Split header (title left | divider | body right) + 4 image cards
   ========================================================= */
.rest-pillars { padding: var(--space-7) 0; }

/* Header: title left | vertical accent line | paragraph right */
.rp-head {
  display: grid;
  grid-template-columns: 1.2fr auto 1fr;
  gap: var(--space-5);
  align-items: stretch;
  margin-bottom: var(--space-6);
}
.rp-head-title .eyebrow {
  color: var(--clay);
  display: block;
  margin-bottom: var(--space-2);
}
.rp-head-title h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin: 0;
  line-height: 1.15;
}
.rp-head-divider {
  width: 1px;
  background: var(--clay-soft);
  min-height: 100%;
}
.rp-head-body {
  align-self: center;
}
.rp-head-body p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* 4 image-cards in a row */
.rp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.rp-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.rp-image {
  border-radius: var(--r-sm);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--clay-soft);
}
.rp-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.rp-card:hover .rp-image img { transform: scale(1.04); }
.rp-card h3 {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
  line-height: 1.3;
}
.rp-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 1100px) {
  .rp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .rest-pillars { padding: var(--space-5) 0; }
  .rp-head {
    grid-template-columns: 1fr;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
  }
  .rp-head-divider {
    width: 60px;
    height: 1px;
    min-height: 0;
  }
}
@media (max-width: 600px) {
  .rp-grid { grid-template-columns: 1fr; gap: var(--space-3); }
  .rp-image { aspect-ratio: 4/3; }
}

/* =========================================================
   Mobile-only adjustments (touch-ups across multiple sections)
   ========================================================= */

/* 1. Services page — "What Makes LaunchSite Different"
      Add a divider between the two stacked rows on mobile so the 4th
      bullet visually separates from the 5th, matching the rhythm above.
      Restore the grid gap (space-4) as margin-top so the spacing
      above row 2's divider matches what sits between every other bullet. */
@media (max-width: 880px) {
  .wif-grid-row2 {
    margin-top: var(--space-4);
    border-top: 1px solid var(--line);
  }
  .wif-grid-row2 .wif-col:first-child {
    padding-top: var(--space-3);
  }
}

/* 2. Services page — "Best fit guide"
      Ensure single-column stack on mobile with intro on top, cards below. */
@media (max-width: 880px) {
  .split.best-fit-split {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .best-fit-intro { order: 0; }
  .best-fit-cards { order: 1; }
}

/* 3. Landing Pages — "What's Included" section
      - Image AFTER content (not before)
      - Taller aspect ratio so badge content fits
      - Image fills full column width on mobile (desktop has max-width: 80%)
      - Stat badge stacks to single column */
@media (max-width: 880px) {
  .wi-media {
    order: 1;
    aspect-ratio: 4/5;
    max-width: 100%;
  }
  .wi-stat {
    grid-template-columns: 1fr;
    gap: var(--space-1);
    text-align: left;
  }
  .wi-stat-num {
    font-size: 2.4rem;
  }
}

/* 4. Landing Pages — "Why It Matters" section
      Image below content on mobile. */
@media (max-width: 880px) {
  .wms-media { order: 1; }
}

/* 5. 5-Page Websites — "Why multi-page" section
      Uses same .wi-* classes as #3 above — image below content,
      taller image, single-column badge (handled by #3 rules). */
/* Already handled by rule block #3 since the section reuses .wi-grid */

/* 6. 5-Page Websites — "What's Included" section
      - Image below content on mobile
      - Image fills full column width on mobile (desktop has max-width: 75%) */
@media (max-width: 880px) {
  .wi-split-image {
    order: 1;
    max-width: 100%;
  }
}

/* 7. NB Landscapers LP — "Solution" section
      Image below content on mobile. */
@media (max-width: 880px) {
  .sol-media { order: 1; }
}

/* 8. NB Restaurants LP — "Solution" section
      Image below content on mobile + taller image so the dish shows
      more vertical content. Explicitly center via auto margins and
      remove the desktop's right-padding offset that was throwing it
      off-center on mobile. */
@media (max-width: 880px) {
  .rest-sol-media {
    order: 1;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    margin-top: var(--space-4);
    margin-bottom: 0;
    padding-right: 0;
    padding-bottom: var(--space-5);
  }
  .rest-sol-frame {
    aspect-ratio: 4/5;
  }
}

/* =========================================================
   Horizontal price card — "Alternative option" / buyout card
   (Pricing page — sits below the 3 main subscription cards)
   ========================================================= */
.price-card-horizontal {
  background: var(--cream-soft);
  border: 1px solid var(--clay-soft);
  border-radius: var(--r-xl);
  padding: var(--space-5);
  margin-top: var(--space-5);
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: var(--space-5);
  align-items: center;
}

.ph-intro .ph-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--clay);
  display: block;
  margin-bottom: 0.5rem;
}
.ph-intro h3 {
  font-size: 1.6rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
}
.ph-desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

.ph-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ph-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.4;
}
.ph-features li::before {
  content: "✓";
  color: var(--sage-deep);
  font-weight: 700;
  flex-shrink: 0;
}

.ph-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  min-width: 180px;
}
.ph-price {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.ph-price small {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 400;
  display: block;
  margin-top: 0.25rem;
  margin-left: 0;
}

@media (max-width: 1024px) {
  .price-card-horizontal {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }
  .ph-cta {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-3);
    border-top: 1px solid var(--clay-soft);
  }
}

@media (max-width: 720px) {
  .price-card-horizontal {
    grid-template-columns: 1fr;
    gap: var(--space-3);
    padding: var(--space-4);
  }
  .ph-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }
}
