/* ===========================================================
   Tidal Home Solutions — Design System
   Navy (brand) + warm sand neutrals + brass accent
   Fonts: Fraunces (display) / Work Sans (body)
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Work+Sans:wght@400;500;600;700&display=swap');

:root{
  /* Brand navy — muted/matte, desaturated from the logo's vivid indigo */
  --navy: #223047;
  --navy-dark: #131B29;
  --navy-deep: #1A2438;
  --navy-light: #3B4E68;
  --navy-tint: #EEF1F4;
  --navy-tint-2: #DFE4E9;

  /* Sand / warm matte neutrals */
  --sand-bg: #F6F3EC;
  --sand-card: #FFFFFF;
  --sand-100: #EFE8D9;
  --sand-200: #E1D5BD;
  --sand-300: #CDBB98;

  /* Ink (text) */
  --ink: #262521;
  --ink-muted: #5C594F;
  --ink-faint: #8C8779;

  /* Brass accent — muted/matte, used sparingly (mainly primary CTAs) */
  --brass: #8C6A3B;
  --brass-dark: #6E5230;
  --brass-tint: #EFE6D3;

  /* Semantic */
  --success: #3E7A57;
  --success-tint: #E7F1EA;
  --danger: #AC4A30;
  --danger-tint: #FBEAE5;

  /* Elevation / border */
  --border: #E4DECD;
  --border-strong: #CFC3A5;
  --shadow-sm: 0 1px 2px rgba(19, 27, 41, 0.06);
  --shadow-md: 0 8px 24px rgba(19, 27, 41, 0.10);
  --shadow-lg: 0 20px 48px rgba(19, 27, 41, 0.18);

  /* Type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

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

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --container: 1180px;
  --container-narrow: 780px;

  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body{
  margin: 0;
  background: var(--sand-bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
[hidden]{ display: none !important; }
img{ max-width: 100%; display: block; }
svg{ display: block; }
a{ color: inherit; text-decoration: none; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; }
h1, h2, h3, h4, p, figure{ margin: 0; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible{
  outline: 3px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link{
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4{
  font-family: var(--font-display);
  color: var(--navy-dark);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1{ font-size: clamp(2.4rem, 4.6vw, 3.75rem); font-weight: 600; }
h2{ font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h3{ font-size: clamp(1.35rem, 2vw, 1.6rem); }
h4{ font-size: 1.15rem; }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--brass-dark);
  background: var(--brass-tint);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
}
.eyebrow svg{ width: 16px; height: 16px; flex: none; }

.lede{
  font-size: 1.2rem;
  color: var(--ink-muted);
  line-height: 1.65;
  max-width: 62ch;
}

.section-head{
  max-width: 720px;
  margin: 0 0 var(--space-5);
}
.section-head.center{ margin-inline: auto; text-align: center; }
.section-head p{ margin-top: var(--space-2); }

/* ---------- Layout helpers ---------- */
.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
.container-narrow{
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
.section{ padding-block: var(--space-8); }
.section.tight{ padding-block: var(--space-7); }
.section.alt{ background: var(--sand-100); }
.section.navy{ background: var(--navy-dark); color: #EFEFFA; }
.section.navy h2, .section.navy h3{ color: #fff; }

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

/* Grid items default to min-width:auto, which lets long headings/words push
   the track wider than its container. Force them to respect the track. */
.grid > *, .footer-grid > *, .situation-grid > *, .stat-strip > *,
.gallery-grid > *, .pros-cons > *, .ba-feature > *, .callout > *,
.guide-layout > *, .field-row > *{ min-width: 0; }

.stack{ display: flex; flex-direction: column; }
.cluster{ display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn svg{ width: 18px; height: 18px; flex: none; }
.btn-primary{
  background: var(--brass);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover{ background: var(--brass-dark); box-shadow: var(--shadow-md); }
.btn-navy{
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover{ background: var(--navy-light); box-shadow: var(--shadow-md); }
.btn-outline{
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover{ background: var(--navy); color: #fff; }
.btn-outline.on-navy{ border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-outline.on-navy:hover{ background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-ghost{
  background: transparent;
  color: var(--navy);
  padding: 0.65rem 0.5rem;
}
.btn-ghost:hover{ color: var(--brass-dark); }
.btn-lg{ padding: 1.1rem 2rem; font-size: 1.05rem; }
.btn-block{ width: 100%; }
.btn[disabled]{ opacity: 0.6; cursor: not-allowed; }

/* ---------- Header / Nav ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 243, 236, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: 0.6rem;
}
.brand{ display: flex; align-items: center; gap: 0.75rem; flex: none; }
.brand img{ height: 68px; width: auto; }
.brand-name{ font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--navy-dark); line-height: 1.15; white-space: nowrap; }
.brand-name span{ display: none; }

.nav-links{
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
}
.nav-links a{
  color: var(--ink);
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.nav-links a:hover, .nav-links a[aria-current="page"]{ color: var(--navy); border-color: var(--brass); }

.nav-actions{ display: flex; align-items: center; gap: var(--space-3); flex: none; }
.nav-phone{ display: flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--navy); white-space: nowrap; flex: none; }
.nav-phone svg{ width: 18px; height: 18px; color: var(--brass); flex: none; }

.nav-toggle{
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle svg{ width: 24px; height: 24px; color: var(--navy); }

/* ---------- Hero ---------- */
.hero{
  padding-block: var(--space-7) var(--space-8);
  background: #16202F url('/assets/images/local/sarasota-marina-sunset.jpg') center 62% / cover no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17,24,36,0.88) 0%, rgba(17,24,36,0.80) 38%, rgba(17,24,36,0.55) 68%, rgba(17,24,36,0.82) 100%),
    linear-gradient(90deg, rgba(11,16,24,0.55) 0%, rgba(11,16,24,0.15) 55%);
  pointer-events: none;
}
.hero .container{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-7);
  align-items: start;
  position: relative;
  z-index: 1;
}
.hero .container > *{ min-width: 0; }
.hero h1{ color: #fff; }
.hero h1 em{ font-style: normal; color: var(--sand-200); }
.hero .lede{ color: rgba(255,255,255,0.82); margin-top: var(--space-3); }
.hero-badges{ display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-5); }
.hero-badge{ display: flex; align-items: center; gap: 0.55rem; font-weight: 500; color: rgba(255,255,255,0.92); }
.hero-badge svg{ width: 20px; height: 20px; color: var(--sand-200); flex: none; }
.hero-cta-row{ display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.hero-contact{ margin-top: var(--space-5); display: flex; align-items: center; gap: 0.7rem; color: rgba(255,255,255,0.85); }
.hero-contact svg{ width: 20px; height: 20px; color: var(--sand-200); }
.hero-contact strong{ color: #fff; font-size: 1.05rem; display: block; }

/* Capture card */
.capture-card{
  background: var(--sand-card);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-lg);
}
.capture-card h2{ font-size: 1.45rem; }
.capture-card .lede{ font-size: 1rem; margin-top: 0.4rem; color: var(--ink-muted); }
.capture-note{ display: flex; align-items: center; gap: 0.4rem; margin-top: var(--space-2); font-size: 0.85rem; color: var(--ink-faint); }
.capture-note svg{ width: 16px; height: 16px; }

/* ---------- Forms ---------- */
.field{ display: flex; flex-direction: column; gap: 0.4rem; margin-top: var(--space-3); }
.field label{ font-weight: 600; font-size: 0.92rem; color: var(--navy-dark); }
.field .req{ color: var(--danger); }
.field input,
.field select,
.field textarea{
  width: 100%;
  max-width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  min-height: 48px;
}
.field textarea{ min-height: 110px; resize: vertical; }
.field-row{ display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.field-help{ font-size: 0.85rem; color: var(--ink-faint); }
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"]{ border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.field-error{ font-size: 0.85rem; color: var(--danger); margin: 0; }
/* Spam trap: kept off-screen rather than display:none so bots still see and fill it */
.hp-field{ position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-error{ margin-top: var(--space-3); padding: 0.75rem 1rem; border-radius: var(--radius-sm); background: var(--danger-tint); color: var(--danger); font-size: 0.92rem; }
.form-error a{ color: var(--danger); font-weight: 700; }
.form-submit{ margin-top: var(--space-4); }

/* ---------- Cards ---------- */
.card{
  background: var(--sand-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
a.card:hover, .card.hoverable:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }

.icon-tile{
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--navy-tint);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}
.icon-tile svg{ width: 26px; height: 26px; }

/* Guide card specifics */
.guide-card{ display: flex; flex-direction: column; gap: var(--space-2); height: 100%; }
.guide-card .tag{ font-size: 0.78rem; font-weight: 600; color: var(--brass-dark); text-transform: none; letter-spacing: 0.02em; }
.guide-card h3{ font-size: 1.2rem; }
.guide-card p{ color: var(--ink-muted); font-size: 0.98rem; flex: 1; }
.guide-card .read-link{ display: flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--navy); margin-top: var(--space-1); }
.guide-card .read-link svg{ width: 18px; height: 18px; transition: transform var(--transition); }
.guide-card:hover .read-link svg{ transform: translateX(3px); }

/* ---------- Process steps ---------- */
.steps{ counter-reset: step; display: grid; gap: var(--space-4); }
.step{ display: flex; gap: var(--space-4); align-items: flex-start; }
.step-num{
  counter-increment: step;
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
}
.step-num::before{ content: counter(step); }

/* ---------- Before / After ---------- */
.ba-feature{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.ba-feature figure{ position: relative; margin: 0; aspect-ratio: 4/3; overflow: hidden; background: var(--sand-200); }
.ba-feature img{ width: 100%; height: 100%; object-fit: cover; }
.ba-feature figcaption{
  position: absolute; left: 0.75rem; bottom: 0.75rem;
  background: rgba(19,27,41,0.72); color: #fff;
  font-size: 0.8rem; font-weight: 600;
  padding: 0.3rem 0.7rem; border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}
.compare-slider{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  background: var(--sand-200);
}
.compare-slider figure{ margin: 0; position: absolute; inset: 0; }
.compare-slider img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.compare-slider .compare-tag{
  position: absolute; top: 0.85rem; z-index: 2;
  background: rgba(19,27,41,0.72); color: #fff;
  font-size: 0.8rem; font-weight: 600;
  padding: 0.3rem 0.7rem; border-radius: var(--radius-pill);
}
.compare-slider .compare-tag.before-tag{ left: 0.85rem; }
.compare-slider .compare-tag.after-tag{ right: 0.85rem; }
.compare-range-wrap{
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem;
  background: linear-gradient(0deg, rgba(19,27,41,0.55), transparent);
  z-index: 3;
}
.compare-range-wrap input[type="range"]{ width: 100%; accent-color: var(--brass); }

.ba-set{ margin-bottom: var(--space-6); }
.ba-set-head{ display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-3); flex-wrap: wrap; }
.ba-set-head h3{ margin: 0; }

.gallery-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.gallery-grid figure{ margin: 0; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; background: var(--sand-200); }
.gallery-grid img{ width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.gallery-grid a:hover img{ transform: scale(1.04); }

/* ---------- Testimonial / stat strip ---------- */
.stat-strip{ display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); text-align: center; }
.stat{ display: flex; flex-direction: column; gap: 0.2rem; }
.stat .num{ font-family: var(--font-display); font-size: 2.2rem; color: var(--navy); font-weight: 600; }
.stat .label{ color: var(--ink-muted); font-size: 0.92rem; }

/* ---------- Photo band (section divider with local photography) ---------- */
.photo-band{
  position: relative;
  padding-block: var(--space-8);
  color: #fff;
  background-size: cover;
  background-position: center;
  background-color: var(--navy-dark);
}
.photo-band::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(19,27,41,0.90) 0%, rgba(19,27,41,0.72) 55%, rgba(19,27,41,0.45) 100%);
}
.photo-band .container{ position: relative; z-index: 1; }
.photo-band-inner{ max-width: 620px; }
.photo-band h2{ color: #fff; }
.photo-band p{ color: rgba(255,255,255,0.85); margin-top: var(--space-3); }
.photo-band .eyebrow{ background: rgba(255,255,255,0.14); color: var(--sand-200); }
.photo-band-credit{ margin-top: var(--space-4); font-size: 0.82rem; color: rgba(255,255,255,0.55); }

/* ---------- Callout / CTA banner ---------- */
.callout{
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: var(--space-4);
  align-items: center;
}
.callout h2, .callout h3{ color: #fff; }
.callout p{ color: rgba(255,255,255,0.82); margin-top: 0.5rem; }
.callout-actions{ display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: flex-end; }

/* In-guide CTA card, reused across guide pages */
.guide-cta{
  background: var(--brass-tint);
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-block: var(--space-5);
}
.guide-cta .icon-tile{ background: #fff; color: var(--brass-dark); margin-bottom: 0; }
.guide-cta-body{ flex: 1; min-width: 240px; }
.guide-cta-body h4{ margin-bottom: 0.25rem; }
.guide-cta-body p{ color: var(--ink-muted); margin: 0; }

/* ---------- Footer ---------- */
.site-footer{ background: var(--navy-dark); color: rgba(255,255,255,0.72); padding-block: var(--space-7) var(--space-5); }
.footer-grid{ display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-5); }
.footer-brand{ display: flex; align-items: center; gap: 0.6rem; margin-bottom: var(--space-3); }
.footer-brand img{ height: 46px; filter: brightness(0) invert(1); }
.footer-brand span{ font-family: var(--font-display); color: #fff; font-weight: 600; font-size: 1.05rem; }
.site-footer h4{ color: #fff; font-family: var(--font-body); font-size: 0.92rem; font-weight: 700; letter-spacing: 0.03em; margin-bottom: var(--space-2); }
.site-footer a{ transition: color var(--transition); }
.site-footer a:hover{ color: #fff; }
.footer-list{ display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.95rem; }
.footer-bottom{
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.footer-disclaimer{ max-width: 780px; font-size: 0.82rem; line-height: 1.6; color: rgba(255,255,255,0.5); margin-top: var(--space-4); }

/* ---------- Guide / article prose ---------- */
.guide-hero{
  background:
    linear-gradient(100deg, rgba(19,27,41,0.97) 0%, rgba(19,27,41,0.90) 45%, rgba(19,27,41,0.80) 100%),
    url('/assets/images/local/sarasota-bay-map.jpg') center / cover no-repeat;
  background-color: var(--navy-dark);
  color: #fff;
  padding-block: var(--space-7) var(--space-6);
  position: relative;
}
.guide-hero .eyebrow{ background: rgba(255,255,255,0.12); color: #C9B48A; }
.guide-hero h1{ color: #fff; margin-top: var(--space-3); }
.guide-hero .lede{ color: rgba(255,255,255,0.82); }
.breadcrumb{ display: flex; align-items: center; gap: 0.4rem; font-size: 0.88rem; color: rgba(255,255,255,0.65); flex-wrap: wrap; }
.breadcrumb a:hover{ color: #fff; }
.breadcrumb svg{ width: 14px; height: 14px; }

.guide-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: var(--space-7);
  align-items: start;
}
.guide-toc{
  position: sticky;
  top: 6.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  background: var(--sand-card);
}
.guide-toc h4{ font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-faint); margin-bottom: var(--space-2); font-family: var(--font-body); font-weight: 700; }
.guide-toc ul{ display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.92rem; }
.guide-toc a{ color: var(--ink-muted); display: block; }
.guide-toc a:hover{ color: var(--navy); }

.prose{ max-width: 720px; }
.prose h2{ margin-top: var(--space-6); scroll-margin-top: 6rem; }
.prose h3{ margin-top: var(--space-5); scroll-margin-top: 6rem; }
.prose p{ margin-top: var(--space-3); color: var(--ink); }
.prose p.muted{ color: var(--ink-muted); }
.prose ul, .prose ol{ margin-top: var(--space-3); display: flex; flex-direction: column; gap: 0.6rem; }
.prose ul li{ padding-left: 1.6rem; position: relative; }
.prose ul li::before{
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--brass);
}
.prose ol{ counter-reset: item; }
.prose ol li{ padding-left: 2.1rem; position: relative; }
.prose ol li::before{
  counter-increment: item;
  content: counter(item);
  position: absolute; left: 0; top: 0;
  width: 1.5rem; height: 1.5rem;
  background: var(--navy-tint); color: var(--navy);
  border-radius: 50%;
  font-size: 0.78rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.prose blockquote{
  margin: var(--space-5) 0;
  padding: var(--space-4) var(--space-4);
  border-left: 4px solid var(--brass);
  background: var(--sand-100);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy-dark);
}
.prose table{ width: 100%; border-collapse: collapse; margin-top: var(--space-3); font-size: 0.95rem; }
.prose th, .prose td{ text-align: left; padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--border); }
.prose th{ color: var(--navy-dark); font-family: var(--font-body); font-weight: 700; }

.pros-cons{ display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-top: var(--space-3); }
.pros-cons > div{ border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); }
.pros{ background: var(--success-tint); }
.cons{ background: var(--danger-tint); }
.pros h4{ color: var(--success); font-size: 0.95rem; }
.cons h4{ color: var(--danger); font-size: 0.95rem; }
.pros ul li::before, .cons ul li::before{ display: none; }
.pros ul, .cons ul{ margin-top: var(--space-2); gap: 0.4rem; }
.pros li, .cons li{ padding-left: 1.4rem; position: relative; font-size: 0.95rem; }
.pros li::before{ content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.cons li::before{ content: "✕"; position: absolute; left: 0; color: var(--danger); font-weight: 700; }

.timeline{ display: flex; flex-direction: column; gap: 0; margin-top: var(--space-4); border-left: 2px solid var(--border-strong); }
.timeline-item{ padding: 0 0 var(--space-4) var(--space-4); position: relative; }
.timeline-item::before{
  content: "";
  position: absolute; left: -7px; top: 0.3rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--navy); border: 2px solid var(--sand-bg);
}
.timeline-item h4{ font-size: 1rem; color: var(--navy-dark); }
.timeline-item p{ color: var(--ink-muted); margin-top: 0.25rem; font-size: 0.95rem; }

.status-check{ display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-4); }
.status-check-item{ display: flex; gap: 0.75rem; padding: var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--sand-card); }
.status-check-item svg{ width: 20px; height: 20px; color: var(--navy); flex: none; margin-top: 0.1rem; }
.status-check-item strong{ display: block; color: var(--navy-dark); font-size: 0.96rem; }
.status-check-item span{ color: var(--ink-muted); font-size: 0.9rem; }

.case-study{
  margin-top: var(--space-7);
  background: var(--navy-dark);
  color: rgba(255,255,255,0.9);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.case-study .eyebrow{ background: rgba(255,255,255,0.12); color: #C9B48A; }
.case-study h3{ color: #fff; margin-top: var(--space-3); }
.case-study p{ margin-top: var(--space-3); color: rgba(255,255,255,0.85); line-height: 1.7; }
.case-study .result{ margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid rgba(255,255,255,0.15); font-family: var(--font-display); font-size: 1.15rem; color: #C9B48A; }

.related-guides{ margin-top: var(--space-7); }

/* ---------- Resource hub grid ---------- */
.situation-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }

/* ---------- FAQ / Accordion ---------- */
.accordion-item{ border-bottom: 1px solid var(--border); }
.accordion-trigger{
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  padding: var(--space-4) 0;
  background: none; border: none; text-align: left;
  font-family: var(--font-display); font-size: 1.1rem; color: var(--navy-dark);
  cursor: pointer;
}
.accordion-trigger svg{ width: 22px; height: 22px; color: var(--brass); flex: none; transition: transform var(--transition); }
.accordion-item[data-open="true"] .accordion-trigger svg{ transform: rotate(45deg); }
.accordion-panel{ overflow: hidden; max-height: 0; transition: max-height var(--transition); }
.accordion-item[data-open="true"] .accordion-panel{ max-height: 600px; }
.accordion-panel-inner{ padding-bottom: var(--space-4); color: var(--ink-muted); max-width: 68ch; }

/* ---------- Badges ---------- */
.badge-row{ display: flex; flex-wrap: wrap; gap: var(--space-2); }
.badge{
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--sand-100); border: 1px solid var(--border);
  color: var(--ink-muted); font-size: 0.85rem; font-weight: 600;
  padding: 0.4rem 0.85rem; border-radius: var(--radius-pill);
}
.badge svg{ width: 15px; height: 15px; color: var(--brass); }

/* ---------- Utility ---------- */
.mt-0{ margin-top: 0 !important; }
.text-center{ text-align: center; }
.visually-hidden{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px){
  .hero .container{ grid-template-columns: 1fr; }
  .guide-layout{ grid-template-columns: 1fr; }
  .guide-toc{ position: static; order: -1; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .situation-grid{ grid-template-columns: repeat(2, 1fr); }
  .stat-strip{ grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1040px){
  .nav-actions .nav-phone{ display: none; }
}

@media (max-width: 940px){
  .nav-links, .nav-actions .nav-phone{ display: none; }
  .nav-actions .btn-primary{ display: none; }
  .nav-toggle{ display: inline-flex; }
  .callout{ grid-template-columns: 1fr; text-align: left; }
  .callout-actions{ justify-content: flex-start; }
}

@media (max-width: 560px){
  .brand img{ height: 50px; }
  .brand-name{ font-size: 1rem; }
  .site-header .container{ padding-block: 0.5rem; }
}

@media (max-width: 680px){
  body{ font-size: 16px; }
  .section{ padding-block: var(--space-6); }
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; }
  .situation-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; gap: var(--space-4); }
  .ba-feature{ grid-template-columns: 1fr; }
  .field-row{ grid-template-columns: 1fr; }
  .pros-cons{ grid-template-columns: 1fr; }
  .stat-strip{ grid-template-columns: repeat(2, 1fr); }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  .hero{ padding-block: var(--space-6); }
  .capture-card{ padding: var(--space-4); }
}

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

/* Mobile nav panel */
.mobile-nav{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--navy-dark);
  color: #fff;
  padding: var(--space-4);
  overflow-y: auto;
}
.mobile-nav.open{ display: block; }
.mobile-nav-top{ display: flex; justify-content: space-between; align-items: center; }
.mobile-nav-top button{ background: none; border: none; color: #fff; padding: 0.5rem; cursor: pointer; }
.mobile-nav-top svg{ width: 26px; height: 26px; }
.mobile-nav-links{ display: flex; flex-direction: column; margin-top: var(--space-5); font-family: var(--font-display); font-size: 1.6rem; gap: var(--space-4); }
.mobile-nav-links a{ color: #fff; }
.mobile-nav .btn{ margin-top: var(--space-5); }
.mobile-nav-contact{ margin-top: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); color: rgba(255,255,255,0.8); }
