/* ============================================================
   WATER WIZARD USA — Design System
   Editorial-utility | Deep ocean navy + warm gold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap');

:root {
  /* Color tokens — palette anchored to logo indigo #2D2F8B */
  --c-ink: #0A0B1F;          /* near-black with indigo undertone */
  --c-ink-soft: #1F2147;     /* soft indigo for body text on light bg */
  --c-ocean: #3D40A8;        /* slightly lighter than logo, for hovers and accents */
  --c-ocean-deep: #2D2F8B;   /* logo blue exact (rgb 45, 47, 139) */
  --c-gold: #D4A537;         /* yellower gold, crisper against indigo */
  --c-gold-deep: #B08720;    /* darker gold for hovers + accents on light bg */
  --c-sand: #F5EFE3;
  --c-paper: #FBF9F5;
  --c-bone: #ECE6D9;
  --c-line: #DCD3C0;
  --c-line-strong: #1F2147;
  --c-mute: #6B6E85;          /* slightly indigo-tinted neutral */
  --c-success: #1F6B4A;
  --c-alert: #B33A2E;

  /* Typography — Nunito everywhere, weights distinguish hierarchy */
  --f-display: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max-w: 1340px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 7rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-ink);
  background: var(--c-paper);
  font-feature-settings: 'ss01', 'cv11';
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ============================================================
   Typography
   ============================================================ */

h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--c-ink);
}

h1 { font-size: clamp(2.25rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.85rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 2rem); font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

/* No italics anywhere — em renders as bold instead */
em { font-style: normal; font-weight: 700; color: inherit; }
i  { font-style: normal; font-weight: 700; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-gold-deep);
  font-weight: 500;
}

.eyebrow--ink { color: var(--c-ink); }
.eyebrow--paper { color: var(--c-sand); opacity: 0.75; }

.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--c-ink-soft); max-width: 60ch; }

.serif-italic { font-weight: 700; font-style: normal; color: var(--c-gold-deep); }

/* ============================================================
   Layout primitives
   ============================================================ */

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section-y) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--ocean { background: var(--c-ocean-deep); color: var(--c-sand); }
.section--ocean h1, .section--ocean h2, .section--ocean h3 { color: var(--c-paper); }
.section--ocean .lede { color: var(--c-bone); }
.section--sand { background: var(--c-sand); }
.section--bone { background: var(--c-bone); }

.divider {
  height: 1px;
  background: var(--c-line);
  margin: 0;
}

.divider--strong { background: var(--c-line-strong); height: 1px; }

/* ============================================================
   Utility bar (top of every page)
   ============================================================ */

.utility-bar {
  background: var(--c-ocean-deep);
  color: var(--c-sand);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 0.5rem 0;
}

.utility-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.utility-bar a { color: var(--c-gold); }
.utility-bar a:hover { color: var(--c-paper); }

.utility-meta { display: flex; gap: 1.5rem; opacity: 0.85; }
.utility-meta span:not(:last-child)::after { content: '·'; margin-left: 1.5rem; opacity: 0.5; }

/* ============================================================
   Header / nav
   ============================================================ */

.site-header {
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--c-ocean-deep);
  border-radius: 2px;
}

.brand-mark svg { width: 22px; height: 22px; }
.brand-name { line-height: 1; }
.brand-name small {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--c-ink-soft);
  position: relative;
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--c-ocean); }
.nav a.has-children::after { content: '↓'; font-size: 0.7em; margin-left: 0.3em; opacity: 0.5; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--c-ocean-deep);
  color: var(--c-paper);
  padding: 0.7rem 1.25rem;
  border-radius: 2px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--c-ocean); color: var(--c-paper); }

/* WordPress menu CTA — applies to any nav menu item with CSS class "menu-cta",
   AND as a fallback any link to /reliability-audit/ in primary nav.
   Both .nav (theme fallback) and .site-nav (built menus) targeted. */
.nav .menu-cta > a,
.nav li.menu-cta > a,
.nav a[href*="reliability-audit"],
.nav a[href*="Reliability"],
.site-nav .menu-cta > a,
.site-nav li.menu-cta > a,
.site-nav a[href*="reliability-audit"],
.site-nav a[href*="Reliability"] {
  color: var(--c-gold) !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  transition: color 0.2s !important;
}
.nav .menu-cta > a:hover,
.nav li.menu-cta > a:hover,
.nav a[href*="reliability-audit"]:hover,
.nav a[href*="Reliability"]:hover,
.site-nav .menu-cta > a:hover,
.site-nav li.menu-cta > a:hover,
.site-nav a[href*="reliability-audit"]:hover,
.site-nav a[href*="Reliability"]:hover {
  color: var(--c-gold-deep) !important;
}

.nav-toggle { display: none; }

@media (max-width: 980px) {
  .nav { display: none; }
  .nav-toggle {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--c-line-strong);
    border-radius: 2px;
  }
  .nav-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--c-ink);
    position: relative;
  }
  .nav-toggle span::before, .nav-toggle span::after {
    content: ''; position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--c-ink);
  }
  .nav-toggle span::before { top: -6px; }
  .nav-toggle span::after { top: 6px; }
  .site-header.is-open .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--c-paper);
    padding: 1.5rem var(--gutter);
    border-bottom: 1px solid var(--c-line);
    gap: 1rem;
  }
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  background: var(--c-paper);
  overflow: hidden;
  border-bottom: 1px solid var(--c-line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 8vw, 7rem);
  align-items: center;
}

.hero-eyebrow-row {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.75rem;
}
.hero-eyebrow-row .rule { flex: 1; height: 1px; background: var(--c-ink); opacity: 0.25; max-width: 80px; }

.hero h1 { margin-bottom: 1.5rem; }
.hero h1 em {
  font-style: normal;
  font-weight: 700;
  color: var(--c-gold-deep);
}

.hero-meta {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--c-line-strong);
  padding-top: 1.5rem;
}
.hero-meta dt {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-bottom: 0.4rem;
}
.hero-meta dd {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--c-ink);
}

.hero-cta-row {
  display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem;
}

.hero-image {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--c-bone);
  overflow: hidden;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 40, 64, 0.4) 100%);
}
.hero-image-tag {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
  z-index: 2;
  color: var(--c-paper);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: end;
}
.hero-image-tag b { font-family: var(--f-display); font-size: 1.1rem; letter-spacing: -0.01em; text-transform: none; font-weight: 500; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { aspect-ratio: 16/10; max-height: 360px; }
  .hero-meta { grid-template-columns: 1fr; gap: 1rem; }
  .hero-meta div { padding-bottom: 1rem; border-bottom: 1px solid var(--c-line); }
  .hero-meta div:last-child { border-bottom: none; padding-bottom: 0; }
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--f-body);
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  border-radius: 2px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--c-ocean-deep);
  color: var(--c-paper);
}
.btn-primary:hover { background: var(--c-ocean); }

.btn-gold {
  background: var(--c-gold);
  color: var(--c-ink);
}
.btn-gold:hover { background: var(--c-gold-deep); color: var(--c-paper); }

.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-line-strong);
}
.btn-ghost:hover { background: var(--c-ink); color: var(--c-paper); }

.btn-link {
  padding: 0;
  background: none;
  color: var(--c-ocean);
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
}
.btn-link:hover { color: var(--c-gold-deep); }

.btn .arr { transition: transform 0.2s; }
.btn:hover .arr { transform: translateX(3px); }

/* ============================================================
   Service cards (numbered)
   ============================================================ */

.services-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border-top: 1px solid var(--c-line-strong);
  border-bottom: 1px solid var(--c-line-strong);
}

.svc-card {
  padding: 2.25rem 2rem;
  border-right: 1px solid var(--c-line);
  background: var(--c-paper);
  transition: background 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.svc-card:last-child { border-right: none; }
.svc-card:hover { background: var(--c-sand); }

.svc-num {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--c-gold-deep);
  margin-bottom: 1.5rem;
}

.svc-card h3 { font-size: 1.5rem; margin-bottom: 0.9rem; }
.svc-card p { color: var(--c-ink-soft); font-size: 0.95rem; line-height: 1.55; flex: 1; }
.svc-card .read-more {
  margin-top: 1.5rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-ocean);
}

@media (max-width: 880px) {
  .services-strip { grid-template-columns: 1fr; }
  .svc-card { border-right: none; border-bottom: 1px solid var(--c-line); }
  .svc-card:last-child { border-bottom: none; }
}

/* ============================================================
   Two-column / Editorial blocks
   ============================================================ */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.split--reverse { grid-template-columns: minmax(0, 0.6fr) minmax(0, 0.4fr); }
.split--reverse .split-aside { order: 2; }

.split-aside .eyebrow { margin-bottom: 1.25rem; }
.split-aside h2 { margin-bottom: 1.5rem; }

@media (max-width: 880px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split-aside { order: 0; }
}

/* ============================================================
   Stats / proof grid
   ============================================================ */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border-top: 1px solid var(--c-line-strong);
}

.stat {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line-strong);
}
.stat:last-child { border-right: none; }

.stat-num {
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--c-ocean-deep);
  
}
.stat-num small { font-size: 1.5rem; color: var(--c-gold-deep); }
.stat-label {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-top: 1rem;
}

.section--ocean .stat-num { color: var(--c-paper); }
.section--ocean .stat-num small { color: var(--c-gold); }
.section--ocean .stat-label { color: var(--c-bone); opacity: 0.8; }
.section--ocean .stat { border-color: rgba(245, 239, 227, 0.15); border-bottom-color: rgba(245, 239, 227, 0.25); }

/* ============================================================
   Who We Serve cards
   ============================================================ */

.serve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.serve-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: 2.25rem 2rem 2rem;
  transition: all 0.25s ease;
  position: relative;
  display: flex; flex-direction: column;
}
.serve-card:hover { border-color: var(--c-ocean-deep); transform: translateY(-2px); }

.serve-card .marker {
  width: 48px; height: 48px;
  background: var(--c-ocean-deep);
  color: var(--c-gold);
  display: grid; place-items: center;
  font-family: var(--f-mono);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.serve-card h3 { margin-bottom: 1rem; font-size: 1.5rem; }
.serve-card ul { list-style: none; margin-top: 1rem; }
.serve-card ul li {
  padding: 0.65rem 0;
  border-top: 1px solid var(--c-line);
  font-size: 0.92rem;
  color: var(--c-ink-soft);
  display: flex; gap: 0.75rem;
}
.serve-card ul li::before { content: '+'; color: var(--c-gold-deep); font-family: var(--f-mono); }

/* ============================================================
   Audit callout (lead magnet)
   ============================================================ */

.audit-callout {
  background: var(--c-ocean-deep);
  color: var(--c-paper);
  position: relative;
  overflow: hidden;
}

.audit-callout::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40%;
  background: radial-gradient(circle at top right, rgba(201, 154, 79, 0.15), transparent 60%);
  pointer-events: none;
}

.audit-callout .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.audit-callout h2 { color: var(--c-paper); margin-bottom: 1.5rem; }
.audit-callout h2 em { color: var(--c-gold); font-style: normal; font-weight: 700; }

.audit-points { list-style: none; margin: 2rem 0 2.5rem; }
.audit-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(245, 239, 227, 0.18);
  font-size: 1.05rem;
}
.audit-points li:last-child { border-bottom: 1px solid rgba(245, 239, 227, 0.18); }
.audit-points b {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-gold);
  letter-spacing: 0.06em;
  align-self: start;
}

.audit-card {
  background: var(--c-paper);
  color: var(--c-ink);
  padding: 2.5rem;
  border-radius: 2px;
  position: relative;
}
.audit-card .eyebrow { color: var(--c-gold-deep); margin-bottom: 1rem; }
.audit-card h3 { font-size: 1.65rem; margin-bottom: 1rem; color: var(--c-ink); }
.audit-card p { color: var(--c-ink-soft); margin-bottom: 2rem; font-size: 0.95rem; }

@media (max-width: 880px) {
  .audit-callout .wrap { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================================
   Service area list (data-driven look)
   ============================================================ */

.area-section { background: var(--c-bone); }

.area-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.area-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-ink);
}
.area-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0.5rem 1.1rem 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 0.95rem;
  color: var(--c-ink);
  transition: color 0.2s, padding 0.2s;
}
.area-list a:nth-child(odd) { padding-right: 1.5rem; border-right: 1px solid var(--c-line); }
.area-list a:nth-child(even) { padding-left: 1.5rem; }
.area-list a:hover { color: var(--c-ocean); padding-left: 0.4rem; }
.area-list a:nth-child(even):hover { padding-left: 1.9rem; }
.area-list .zip {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--c-mute);
  letter-spacing: 0.06em;
}

@media (max-width: 720px) {
  .area-grid { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: 1fr; }
  .area-list a:nth-child(odd) { padding-right: 0; border-right: none; }
  .area-list a:nth-child(even) { padding-left: 0; }
  .area-list a:nth-child(even):hover { padding-left: 0.4rem; }
}

/* ============================================================
   Testimonial / quote
   ============================================================ */

.quote-block {
  border-top: 1px solid var(--c-line-strong);
  border-bottom: 1px solid var(--c-line-strong);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.quote-block blockquote {
  font-family: var(--f-display);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 600;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: -0.015em;
  max-width: 32ch;
  color: var(--c-ink);
  margin-bottom: 2rem;
}
.quote-block blockquote::before { content: '“'; color: var(--c-gold-deep); margin-right: 0.1em; }
.quote-block blockquote::after { content: '”'; color: var(--c-gold-deep); }

.quote-attr {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-mute);
}
.quote-attr b { color: var(--c-ink); font-weight: 500; }

/* ============================================================
   Forms
   ============================================================ */

.form-shell {
  background: var(--c-paper);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--c-line);
}

.form-row { display: grid; gap: 1.25rem; margin-bottom: 1.25rem; }
.form-row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form-row--2 { grid-template-columns: 1fr; } }

.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-mute);
}
.form-field label .req { color: var(--c-alert); }

.form-field input, .form-field select, .form-field textarea {
  border: none;
  border-bottom: 1px solid var(--c-line-strong);
  background: transparent;
  padding: 0.7rem 0;
  font-family: var(--f-body);
  font-size: 1rem;
  color: var(--c-ink);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
}
.form-field textarea { min-height: 100px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--c-ocean); }

.form-consent {
  display: flex; gap: 0.75rem;
  font-size: 0.83rem; color: var(--c-mute); line-height: 1.5;
  margin: 1.5rem 0;
}
.form-consent input { margin-top: 0.25rem; flex-shrink: 0; }

.form-shell .btn { width: 100%; justify-content: center; }

/* ============================================================
   FAQ
   ============================================================ */

.faq-list { border-top: 1px solid var(--c-line-strong); }
.faq-item {
  border-bottom: 1px solid var(--c-line);
}
.faq-q {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 1.5rem 0;
  cursor: pointer;
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; font-family: var(--f-mono); color: var(--c-gold-deep); transition: transform 0.2s; }
.faq-item[open] .faq-q::after { content: '−'; }
.faq-a {
  padding: 0 0 1.5rem;
  color: var(--c-ink-soft);
  max-width: 70ch;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--c-ocean-deep);
  color: var(--c-bone);
  padding: clamp(3rem, 5vw, 5rem) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245, 239, 227, 0.15);
}

.footer-brand .brand { color: var(--c-paper); }
.footer-brand .brand-mark { background: var(--c-gold); }
.footer-brand .brand-mark svg { color: var(--c-ocean-deep); }
.footer-brand p {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--c-bone);
  opacity: 0.75;
  max-width: 30ch;
  line-height: 1.55;
}

.footer-col h4 {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul a {
  color: var(--c-bone);
  font-size: 0.92rem;
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
}
.footer-col ul a:hover { opacity: 1; color: var(--c-paper); }

.footer-meta {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--c-bone);
  opacity: 0.65;
}

.footer-meta a { color: var(--c-gold); }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Page hero (sub-pages)
   ============================================================ */

.page-hero {
  background: var(--c-sand);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 5vw, 4rem);
  border-bottom: 1px solid var(--c-line);
}
.page-hero .breadcrumb {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-bottom: 1.25rem;
}
.page-hero .breadcrumb a { color: var(--c-mute); }
.page-hero .breadcrumb a:hover { color: var(--c-ocean); }
.page-hero .breadcrumb span { margin: 0 0.5rem; opacity: 0.5; }
.page-hero h1 { max-width: 18ch; margin-bottom: 1.25rem; }
.page-hero .lede { max-width: 60ch; }

/* ============================================================
   Body content (long-form prose)
   ============================================================ */

.prose { max-width: 65ch; font-size: 1.05rem; line-height: 1.65; color: var(--c-ink-soft); }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 { margin-top: 3rem; margin-bottom: 0.5rem; font-size: 2rem; }
.prose h3 { margin-top: 2rem; margin-bottom: 0.5rem; font-size: 1.4rem; }
.prose ul, .prose ol { padding-left: 1.5rem; }
.prose li { margin-bottom: 0.5rem; }
.prose strong { color: var(--c-ink); }

/* ============================================================
   Process / numbered steps
   ============================================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border-top: 1px solid var(--c-line-strong);
}
.step {
  padding: 2rem 1.5rem 2rem 0;
  border-right: 1px solid var(--c-line);
}
.step:last-child { border-right: none; padding-right: 0; }
.step-num {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--c-gold-deep);
  margin-bottom: 1.25rem;
}
.step h4 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.step p { font-size: 0.92rem; color: var(--c-ink-soft); }

/* ============================================================
   Plan / pricing cards (maintenance plans page)
   ============================================================ */

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0; border: 1px solid var(--c-line-strong); }
.plan { padding: 2.5rem 2rem; border-right: 1px solid var(--c-line); position: relative; }
.plan:last-child { border-right: none; }
.plan--feature { background: var(--c-ocean-deep); color: var(--c-bone); }
.plan--feature h3 { color: var(--c-paper); }
.plan--feature .plan-tag { background: var(--c-gold); color: var(--c-ocean-deep); }

.plan-tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--c-bone);
  color: var(--c-ink);
  padding: 0.3rem 0.7rem;
  margin-bottom: 1.5rem;
}

.plan h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.plan-sub { font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--c-mute); margin-bottom: 1.5rem; }
.plan--feature .plan-sub { color: var(--c-gold); }
.plan ul { list-style: none; padding: 0; margin: 1.5rem 0; }
.plan ul li {
  padding: 0.65rem 0;
  border-top: 1px solid var(--c-line);
  font-size: 0.92rem;
  display: grid; grid-template-columns: auto 1fr; gap: 0.6rem;
}
.plan--feature ul li { border-top-color: rgba(245, 239, 227, 0.15); }
.plan ul li::before { content: '✓'; color: var(--c-success); font-weight: 600; }
.plan--feature ul li::before { color: var(--c-gold); }

@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; }
  .plan { border-right: none; border-bottom: 1px solid var(--c-line); }
  .plan:last-child { border-bottom: none; }
}

/* ============================================================
   Animations
   ============================================================ */

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.rise { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.rise-1 { animation-delay: 0.05s; }
.rise-2 { animation-delay: 0.15s; }
.rise-3 { animation-delay: 0.25s; }
.rise-4 { animation-delay: 0.35s; }
.rise-5 { animation-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
