/* ============================================================
   BREATHETHERM — DESIGN SYSTEM
   Aesthetic: Professional · Heritage-warm · Cottage not Palace
   All colours via var(--) for easy client modification
   ============================================================ */

/* ── DESIGN TOKENS ────────────────────────────────────────── */
:root {
  /* Brand - Sampled from new logo */
  --primary:        #00479A; 
  --primary-dark:   #003373;
  --primary-mid:    #005CBF;
  --primary-light:  rgba(0, 71, 154, 0.09);
  
  --sage:           #3CC6B0; 
  --sage-light:     rgba(60, 198, 176, 0.18);
  
  --terra:          #25D366; /* #F1513B; */
  --terra-dark:     #c9402b;
  --terra-light:    rgba(241, 81, 59, 0.13);
  
  --navy:           #1664AD; 
  --navy-dark:      #0E467D;
  --navy-light:     rgba(22, 100, 173, 0.10);

  /* Functional Brand Shadows */
  --sh-primary:     0 6px 22px rgba(0, 71, 154, 0.32);
  --sh-terra:       0 6px 22px rgba(241, 81, 59, 0.35);

  /* State Colors */
  --success:        #3A7D44;
  --error:          #C0392B;
  --whatsapp:       #25D366;

  /* Neutrals */
  --bg:             #ffffff;
  --cream:          #f8fbfc;
  --cream-mid:      #edf4f7;
  --cream-deep:     #dfeaee;
  --stone-100:      #d2dee4;
  --stone-200:      #b5c8d1;
  --stone-400:      #869ea9;
  
  /* Text Colors */
  --ink:            #0a192f;
  --ink-mid:        #23395b;
  --ink-light:      #5c748e;
  --ink-xlight:     #95aec7;
  --white:          #ffffff;

  /* Typography */
  --font-sans:      'DM Sans', sans-serif;
  --font-serif:     'Playfair Display', Georgia, serif;

  /* Shape */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   18px;
  --r-xl:   24px;
  --r-pill: 999px;

  /* Shadow */
  --sh-sm: 0 1px 4px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
  --sh-md: 0 4px 20px rgba(0,0,0,0.09), 0 1px 3px rgba(0,0,0,0.04);
  --sh-lg: 0 12px 40px rgba(0,0,0,0.13);
  --sh-xl: 0 24px 64px rgba(0,0,0,0.18);

  /* Motion */
  --ease:    cubic-bezier(0.16, 1, 0.3, 1);
  --easestd: cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --nav-h: 68px;
  --max-w: 1180px;
}

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-sans); background: var(--bg); color: var(--ink); line-height: 1.65; overflow-x: hidden; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-serif); }

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.6rem;
}
h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-family: var(--font-sans);
}
p {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--ink-mid);
  margin-bottom: 1rem;
}
p:last-child { margin-bottom: 0; }
em { font-style: italic; }
.serif { font-family: var(--font-serif); }

/* ── LAYOUT ───────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }

@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

/* ── SECTION TAGS ─────────────────────────────────────────── */
.tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.8rem;
}
.tag--ghost { color: rgba(255,255,255,0.45); }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-sm);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform 0.22s var(--easestd), box-shadow 0.22s var(--easestd), background 0.22s var(--easestd);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn-arrow::after {
  content: '→';
  margin-left: 2px;
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(4px); }

.btn-terra  { background: var(--terra); color: var(--white); }
.btn-terra:hover  { background: var(--terra-dark); transform: translateY(-1px); box-shadow: var(--sh-terra); }

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--sh-primary); }

.btn-green { background: var(--primary); color: var(--white); }
.btn-green:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--sh-primary); }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-1px); }

.btn-ghost-light { background: transparent; border: 1.5px solid rgba(255,255,255,.3); color: rgba(255,255,255,.85); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); color: var(--white); }

.btn-outline-green  { background: transparent; border: 1.5px solid var(--primary); color: var(--primary); }
.btn-outline-green:hover  { background: var(--primary-light); }

.btn-outline-navy   { background: transparent; border: 1.5px solid var(--navy); color: var(--navy); }
.btn-outline-navy:hover   { background: var(--navy-light); }

.btn-full { width: 100%; justify-content: center; margin-bottom: 10px; }

.btn-nav {
  background: var(--primary-mid);
  color: var(--cream) !important;
  padding: 9px 18px;
  font-size: 0.82rem;
}
.btn-nav:hover { background: var(--primary-dark); }

/* ── SCROLL REVEAL ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-hero {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-hero.visible { opacity: 1; transform: none; }

.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.3s, box-shadow 0.3s;
  pointer-events: none;
  background: rgba(255,255,255,0.97);
}
#main-nav.nav-visible { opacity: 1; transform: none; pointer-events: all; }
#main-nav.nav-scrolled {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--stone-100), var(--sh-sm);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}
.logo em { color: var(--terra); font-style: italic; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 0.855rem;
  font-weight: 500;
  color: var(--ink-mid);
  transition: color 0.2s;
}
.nav-links a:not(.btn-nav):hover { color: var(--primary); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.3s; }

.mobile-nav {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--stone-100);
  padding: 20px 40px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s;
  pointer-events: none;
}
.mobile-nav.open { transform: none; opacity: 1; pointer-events: all; }
.mobile-nav a {
  padding: 10px 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-mid);
  border-bottom: 1px solid var(--cream-mid);
}

@media (max-width: 820px) {
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;

  overflow: hidden;

  background-image: url("assets/images/BT-hero-bkg.jpg") ;
  
  background-size: cover ;
  background-position: left;
  background-repeat: no-repeat;
  background-attachment: scroll;

  
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;

}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 60px;
  background-color: var(--navy);
  opacity: 0.9;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--sage);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow-line { flex: 0 0 36px; height: 1px; background: var(--sage); opacity: 0.5; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { color: var(--terra); }
.hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stat {
  position: absolute;
  right: 5%; bottom: 20%;
  z-index: 2;
  background: var(--primary-dark);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  padding: 20px 24px;
  border-radius: var(--r-lg);
  text-align: center;
}
.hero-stat .stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--terra);
  line-height: 1;
}
.hero-stat .stat-lbl {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}
@keyframes scrollAnim {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50%       { transform: scaleY(1.3); opacity: 0.8; }
}

@media (max-width: 820px) {
  .hero-stat { display: none; }
  .hero h1 { font-size: 2.4rem; }
}

/* ============================================================
   PROBLEM
   ============================================================ */
.challenge-section { background: var(--cream-mid); padding: 100px 0; }

.challenge-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.challenge-left h2 { margin-bottom: 20px; }
.challenge-left p  { max-width: 420px; }
.challenge-right   { display: flex; flex-direction: column; gap: 16px; }

.problem-card {
  padding: 24px 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--stone-100);
  background: var(--cream);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}
.problem-card:hover { box-shadow: var(--sh-md); }
.problem-icon i {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--terra-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-dark);
  font-size: 22px;        /* replaces width/height */

}

/* Card headings promoted from h4 to h3 to fix the document outline.
   Sizing is pinned here so they render exactly as before. */
.problem-card h3 {
  color: var(--ink);
  margin-bottom: 4px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
}
.problem-card p  { font-size: 0.875rem; margin: 0; color: var(--ink-light); }

@media (max-width: 900px) {
  .challenge-layout { grid-template-columns: 1fr; gap: 44px; }
}
.stat-lbl {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   APPROACH SECTION
   ============================================ */
/* Section id renamed from #approach to #solution so the
   existing nav/footer links to #solution resolve. */
#solution {
  background-color: var(--navy);
  color: var(--cream);
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.approach__inner {
  max-width: var(--max-w);
  margin: auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

@media (max-width: 768px) {
  .approach__inner { padding: 0 20px; grid-template-columns: 1fr; }
}

.eyebrow {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.12em;
  opacity: 0.6;
  margin-bottom: 1.5rem;
}

/* Was ".approach h2" — no element on the page carried class="approach",
   so these rules never applied. Re-scoped to the section id so the
   intended sizing and terracotta emphasis now take effect. */
#solution h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

#solution h2 em {
  color: var(--terra);
  font-style: italic;
}

.intro {
  color: var(--cream-deep);
  max-width: 48ch;
  opacity: 0.85;
  margin-bottom: 2.5rem;
}

/* RIGHT PANEL */
.approach__panel {
  background: var(--cream-deep);
  padding: 2.5rem;
  border-radius: var(--r-md);
  margin: auto;
  gap: 1rem;
}

.approach__panel h3 {
  margin-bottom: 2rem;
  font-size: 1.25rem;
}

.approach__steps {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.approach__steps li {
  display: grid;
  grid-template-columns: 100% 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.approach__steps img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.approach__steps strong {
  display: block;
  margin-bottom: 0.25rem;
}

.approach__steps p {
  opacity: 0.75;
  font-size: 0.95rem;
  color: var(--cream-deep);
}

/* --- Approach Benefits List --- */
.approach__benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--cream-deep);
}

.approach__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0;
  border: none;
}

.benefit-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.benefit-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.benefit-text strong {
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
}

.benefit-text span {
  color: var(--ink-light);
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 1;
}

/* ============================================================
   WALL LAYER EXPLORER
   ============================================================ */
.explorer-section { background: var(--bg); padding: 100px 0; }
.explorer-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 34px;
  align-items: start;
}

.explorer-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 28px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--stone-100);
  background: var(--cream);
  cursor: pointer;
  transition: all 0.2s;
}
.legend-item:hover,
.legend-item.lactive { border-color: var(--terra); background: var(--terra-light); }
.legend-label { font-size: 0.8rem; font-weight: 500; color: var(--ink-mid); }

.wall-svg-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--stone-100);
  background: var(--cream);
  box-shadow: var(--sh-md);
}
.wall-svg { width: 100%; height: auto; display: block; cursor: default ; }

/* SVG hotspots */
.hs-group { cursor: pointer; }
.hs-group:focus {
  outline: none;
}

.hs-group:focus-visible {

  outline: none;
  filter: drop-shadow(0 0 6px #00aaff)
          drop-shadow(0 0 12px #00aaff);

}
@keyframes hsPulse {
  0%   { r: 32; opacity: 0.5; }
  100% { r: 40; opacity: 0; } 
}*/
.hs-dot {
  fill: var(--primary-mid);
  opacity: 1.0;
  transition: all 0.4s;
}
.hs-label {
  fill: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
}
.hs-group:hover .hs-dot,
.hs-group.hactive .hs-dot {
   /* fill: var(--primary-dark); opacity: 1; */
   

  outline: none;
  filter: drop-shadow(0 0 6px #00aaff)
          drop-shadow(0 0 12px #00aaff);

   }

/* Layer info card */
.layer-card {
  margin-top: 0px;
  border: 1px solid var(--stone-100);
  border-radius: var(--r-xl);
  background: var(--cream);
  overflow: hidden;
  opacity: 1;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.layer-card.lc-visible { opacity: 1; transform: none; }

.layer-card-header { padding: 18px 22px 14px; border-bottom: 1px solid var(--stone-100); }
.layer-card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}
.layer-card-desc {
  padding: 14px 22px;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--ink-mid);
  border-bottom: 1px solid var(--stone-100);
}
.layer-card-specs { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.spec-box {
  padding: 14px 18px;
  border-right: 1px solid var(--stone-100);
}
.spec-box:last-child { border-right: none; }
.spec-key {
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-400);
  margin-bottom: 3px;
}
.spec-val {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--ink);
}
.layer-card-price {
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream-deep);
}
.price-key  { font-size: 0.75rem; color: var(--ink-light); font-style: italic; }
.price-val  { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; color: var(--terra); }

@media (max-width: 1000px) { .explorer-layout { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .layer-card-specs { grid-template-columns: 1fr 1fr; }
  .spec-box:nth-child(2) { border-right: none; }
  .explorer-legend { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   PRICE SECTION
   ============================================ */
#price {
  background: var(--cream-mid);
  padding: 7rem 0;
  border-top: 1px solid var(--stone-100);
  border-bottom: 1px solid var(--stone-100);
}
.price-header { max-width: 580px; margin-bottom: 4rem; }
.comparison-table-wrap { overflow-x: auto;   display: flex; justify-content: center; }
.comparison-table {
  width: max-content;  /* keeps natural width */
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.875rem;
}
.comparison-table th {
  padding: 1rem 1.25rem;
  text-align: center;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.comparison-table th:first-child { text-align: left; color: var(--ink-light); }
.th-bad { background: var(--primary-light); color: var(--ink-light); border-radius: var(--r-sm) var(--r-sm) 0 0; }
.th-good { background: var(--primary-mid); color: var(--white); border-radius: var(--r-sm) var(--r-sm) 0 0; }
.comparison-table td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--stone-100);
}
/* .comparison-table td:not(:first-child) { text-align: center; } */

.comparison-table td:first-child { font-weight: 600; text-align: center; padding-right: 10px; } 

.comparison-table td span.rag {
  display: inline-flex;
  width: 14px;
  height: 14px;
  min-width: 14px; /* ensures alignment */
  border-radius: 50%;
  margin-right: 10px;
  transform: translateY(1px); /* subtle optical alignment */
  box-shadow: 0 0 0 2px rgba(0,0,0,0.05);

}

/* Colours */
.rag-green  { background-color: var(--success); }
.rag-amber  { background-color: #fbbf24; }
.rag-red    { background-color: var(--error); }

.comparison-table tr:hover td { background: rgba(0,0,0,0.02); }

.price-callout {
  margin-top: 3rem;
  background: var(--primary-dark);
  color: var(--cream);
  padding: 3% 25%;
  border-radius: var(--r-xl);

  display: flex;              /* ✅ important */
  align-items: center;        /* ✅ vertical centering */
  justify-content: flex-start;

  gap: 2rem;
  flex-wrap: wrap;
  text-align: left;
}
.price-callout i { font-size: 2.5rem; color: var(--terra); flex-shrink: 0; }
.price-callout h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--terra);
  display: flex;
  align-items: center;
  gap: 5px;
}
/* These lines were <h4> used for visual weight only; they are now
   <p class="callout-line">. Identical appearance, correct semantics. */
.price-callout .callout-line {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0.3rem 0;
  line-height: 1.4;
}
/* A stray closing brace sat here in the original file. Browsers discard
   it during error recovery, so nothing was visibly broken, but it made
   the stylesheet fail validation and confused tooling. Removed. */
.price-callout p { font-size: 1.5rem; color: var(--stone-400); }

/* ============================================================
   AUDIENCE PATHS
   ============================================================ */
.paths-section { background: var(--primary); padding: 100px 0; }
.paths-header  { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.paths-header h2     { color: var(--white); }
.paths-header h2 em  { color: var(--terra); }
.paths-intro         { color: rgba(255,255,255,0.55); }

.paths-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.path-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-xl);
  padding: 0 30px 36px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.path-card:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.3);
}
.path-accent-bar { height: 3px; margin-bottom: 28px; margin-left: -30px; margin-right: -30px; }
.path-terra .path-accent-bar { background: var(--terra); }
.path-green .path-accent-bar { background: var(--sage); }
.path-navy  .path-accent-bar { background: var(--sage); } /* Unified accent for layout flow */

.path-icon i {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--ink-xlight);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--terr);
  font-size: 30px;        /* replaces width/height */
}
.path-card h3        { color: var(--white); font-size: 1.25rem; margin-bottom: 10px; }
.path-intro-text     { color: rgba(255,255,255,0.55); font-size: 0.875rem; line-height: 1.7; margin-bottom: 20px; }
.path-features       { flex: 1; margin-bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
.path-features li {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; gap: 9px;
}
.path-features li::before {
  content: ''; width: 5px; height: 5px;
  border-radius: 50%; flex-shrink: 0;
}
.path-terra .path-features li::before { background: var(--terra); }
.path-green .path-features li::before { background: var(--sage); }
.path-navy  .path-features li::before { background: var(--sage); }

@media (max-width: 900px) {
  .paths-cards { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

/* ============================================================
   CASE STUDIES / PROJECTS
   ============================================================ */
.projects-section { background: var(--cream-mid); padding: 100px 0; }
.section-header   { text-align: center; max-width: 560px; margin: 0 auto 56px; }

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.case-card {
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--stone-100);
  box-shadow: var(--sh-sm);
  transition: all 0.3s var(--ease);
}
.case-card:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); }

.case-img { height: 200px; position: relative; }
/* object-fit added: without it these photos were stretched to fill the
   200px frame rather than cropped to it. */
.case-hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-weight: 600;
}
.case-body { padding: 22px 24px; }
/* Promoted from h4 to h3 — see .problem-card h3 above. */
.case-body h3 {
  color: var(--ink);
  margin-bottom: 6px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
}
.case-body p  { font-size: 0.84rem; line-height: 1.65; color: var(--ink-light); margin-bottom: 14px; }
.case-metrics { display: flex; flex-wrap: wrap; gap: 8px; }
.case-metric-pill {
  font-size: 0.72rem; font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: var(--r-pill);
}
.projects-cta { text-align: center; margin-top: 40px; }

@media (max-width: 900px) { .projects-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .projects-grid { grid-template-columns: 1fr; } }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--bg); padding: 100px 0; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.testi-card {
  padding: 32px;
  border-radius: var(--r-xl);
  border: 1px solid var(--stone-100);
  background: var(--cream);
  transition: box-shadow 0.3s;
}
.testi-card:hover { box-shadow: var(--sh-md); }

.testi-stars { display: flex; gap: 3px; margin-bottom: 18px; }
.star        { color: var(--terra); font-size: 2rem; }

.testi-quote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 22px;
  position: relative;
  padding-left: 12px;
}
.testi-quote::before {
  content: '\201C';
  font-size: 5rem;
  line-height: 0;
  position: absolute;
  top: 16px; left: -18px;
  color: var(--primary);
  opacity: 0.25;
  font-style: normal;
}
.testi-author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--stone-100);
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}
.testi-name { font-weight: 600; font-size: 0.9rem; color: var(--ink); line-height: 1.2; display: block; }
.testi-role { font-size: 0.77rem; color: var(--ink-light); display: block; }

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

/* ============================================================
   TEAM
   ============================================================ */
.team-section { background: var(--cream-mid); padding: 100px 0; }

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 60px;
}

.team-card {
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--stone-100);
  box-shadow: var(--sh-sm);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.team-card:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); }

.team-photo-wrap {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: var(--primary-dark);
}
.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s var(--ease);
}
.team-card:hover .team-photo { transform: scale(1.03); }

.team-photo-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0, 29, 59, 0.72) 0%, transparent 100%);
  padding: 28px 24px 18px;
  display: flex;
  justify-content: flex-start;
}
.team-founding-year {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 4px 10px;
  border-radius: var(--r-pill);
}

.team-body { padding: 28px 30px 30px; }

.team-name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
}
.team-title {
  display: block;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}

.team-bio {
  font-size: 0.9rem;
  line-height: 1.78;
  color: var(--ink-light);
  margin-bottom: 22px;
}

.team-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--stone-100);
}
.team-cred {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  letter-spacing: 0.03em;
}

@media (max-width: 820px) {
  .team-grid { grid-template-columns: 1fr; max-width: 480px; margin: 60px auto 0; }
  .team-photo-wrap { height: 320px; }
}


/* ============================================================
   FAQ
   ============================================================ */
.faq-section  { background: var(--cream-mid); padding: 100px 0; }
.faq-layout   {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.faq-aside h2 { margin-bottom: 16px; }
.faq-aside p  { margin-bottom: 24px; }

.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  border-radius: var(--r-lg);
  border: 1px solid var(--stone-100);
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item:hover  { box-shadow: var(--sh-sm); }
.faq-item[open]  { border-color: var(--sage); box-shadow: var(--sh-sm); }

.faq-summary {
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--ink);
  list-style: none;
  user-select: none;
}
.faq-summary::-webkit-details-marker { display: none; }

.faq-chevron {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), background 0.2s;
}
.faq-chevron svg { transition: transform 0.3s; }
.faq-item[open] .faq-chevron { background: var(--primary); }
.faq-item[open] .faq-chevron svg { transform: rotate(180deg); }

.faq-body {
  padding: 16px 22px 20px;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--ink-mid);
  border-top: 1px solid var(--stone-100);
}

@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; gap: 40px; } }

/* ============================================================
   CONTACT & LEAD CAPTURE
   ============================================================ */
.contact-section { background: var(--primary); padding: 100px 0; }
.contact-layout  {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: start;
}
.contact-text h2      { color: var(--white); margin-bottom: 16px; }
.contact-text h2 em   { color: var(--terra); }
.contact-text > p     { color: rgba(255,255,255,0.65); margin-bottom: 32px; }

.contact-direct { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.contact-link   {
  display: flex; align-items: center; gap: 12px;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.contact-link:hover { color: var(--terra); }
/* 
.trust-row  { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; } */
.trust-row  { align-items: center; gap: 20px; }
.trust-chip {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--sage);
  display: flex; align-items: center; gap: 6px;
}
.trust-chip::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
}

select.form-input {
  /* Using URL encoded color #6B7280 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
textarea.form-input { resize: vertical; min-height: 90px; }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 44px; }
}

/* ============================================================
   TRUST BAND
   ============================================================ */
.trust-band {
  background: var(--cream-deep);
  border-top: 1px solid var(--stone-100);
  padding: 40px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 32px;
  width: 300px;
  /* border-right: 1px solid var(--stone-200);
  border-left: 1px solid var(--stone-200); */
}
/* .trust-item:last-child { border-right: none; } */
.trust-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.trust-name { font-size: 0.82rem; font-weight: 600; color: var(--ink); line-height: 1.2; display: block; }
.trust-desc { font-size: 0.70rem; color: var(--ink-light); display: block; }

@media (max-width: 700px) {
  .trust-item { border-right: none; border-bottom: 1px solid var(--stone-200); width: 100%; padding: 12px 20px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-dark); border-top: 1px solid rgba(255,255,255,0.05); }

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 48px;
}
.footer-brand .logo   { font-size: 1.1rem; margin-bottom: 12px; color: var(--white); }
.footer-brand p       { font-size: 0.82rem; color: var(--cream-mid); max-width: 260px; line-height: 1.7; }
.footer-brand address {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--cream-mid);
  margin-top: 10px;
  line-height: 1.7;
}
/* Footer headings changed from h5 to h2 so the outline no longer skips
   three levels. Every visual property is restated here, including the
   sans family and size, so the rendering is unchanged. */
.footer-col h2 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-mid);
  margin-bottom: 16px;
  line-height: 1.4;
}
.footer-col a {
  display: block;
  font-size: 0.84rem;
  color: var(--cream-mid);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-col a:hover { color: rgba(255,255,255,0.85); }

.footer-base { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 0; }
.footer-base-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-base span { font-size: 0.72rem; color: var(--cream-mid); letter-spacing: 0.04em; }
.footer-badges    { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.8);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.08em;
}

@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 580px) { .footer-main { grid-template-columns: 1fr; } }

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.modal-open { opacity: 1; pointer-events: all; }

.modal-panel {
  background: var(--white);
  border-radius: var(--r-xl);
  max-width: 840px;
  width: 100%;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  box-shadow: var(--sh-xl);
  position: relative;
  transform: scale(0.94) translateY(20px);
  transition: transform 0.45s var(--ease);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.modal-open .modal-panel { transform: scale(1) translateY(0); }

.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--cream-mid);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-mid);
  z-index: 10;
  transition: all 0.2s;
  border: 1px solid var(--stone-100);
}
.modal-close:hover { background: var(--stone-100); color: var(--ink); }

.modal-hero {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 32px 82px 32px ;
  position: relative;
}
.modal-hero-bg { position: absolute; inset: 0; }
.modal-hero-terra .modal-hero-bg { background: linear-gradient(145deg, var(--terra) 0%, var(--terra-dark) 100%); }
.modal-hero-green .modal-hero-bg { background: linear-gradient(145deg, var(--sage) 0%, var(--primary-dark) 100%); }
.modal-hero-navy  .modal-hero-bg { background: linear-gradient(145deg, var(--navy) 0%, var(--navy-dark) 100%); }

.modal-hero-tagline { position: relative; z-index: 1; margin-bottom: 10px;}
.modal-hero-tagline span {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: rgba(255,255,255,0.75);
  line-height: 1.35;
}
.modal-hero-stat {
  position: relative; z-index: 1;
  margin-top: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 14px 18px;
  border-radius: var(--r-lg);
  display: inline-block;
}
.modal-hero-stat span  { display: block; font-size: 1.8rem; font-weight: 700; color: var(--white); font-family: var(--font-serif); }
.modal-hero-stat small { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); }

.modal-body { padding: 40px 36px 36px; display: flex; flex-direction: column; }
.modal-tag  {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 14px;
  align-self: flex-start;
}
.modal-tag-terra { color: var(--terra);    background: var(--terra-light); }
.modal-tag-green { color: var(--primary);  background: var(--primary-light); }
.modal-tag-navy  { color: var(--navy);     background: var(--navy-light); }

.modal-body h3       { font-size: 1.5rem; margin-bottom: 12px; line-height: 1.2; color: var(--ink); }
.modal-body > p      { font-size: 0.9rem; line-height: 1.7; margin-bottom: 22px; color: var(--ink-mid); }

.modal-list          { margin-bottom: 26px; flex: 1; }
.modal-list li {
  font-size: 0.875rem;
  color: var(--ink-mid);
  padding: 8px 0;
  border-bottom: 1px solid var(--stone-100);
  display: flex; align-items: center; gap: 10px;
}
.modal-list li::before {
  content: '✓';
  font-size: 0.65rem;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.modal-terra .modal-list li::before { color: var(--terra);    background: var(--terra-light); }
.modal-green .modal-list li::before { color: var(--primary);  background: var(--primary-light); }
.modal-navy  .modal-list li::before { color: var(--navy);     background: var(--navy-light); }

@media (max-width: 720px) {
  .modal-panel { grid-template-columns: 1fr; }
  .modal-hero  { min-height: 160px; }
  .modal-body  { padding: 24px 20px; }
}

/* ============================================================
   STICKY WHATSAPP
   ============================================================ */
.sticky-wa {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 150;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.sticky-wa:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }

/* Keeps the floating WhatsApp button clear of the iOS home indicator. */
@supports (padding: env(safe-area-inset-bottom)) {
  .sticky-wa { bottom: calc(28px + env(safe-area-inset-bottom)); }
}

/* ============================================================
   UTILITY & POLISH
   ============================================================ */
/* Keyboard users can jump past the nav straight to the content. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  padding: 12px 20px;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

.nav-logo { display: inline-flex; align-items: center; }

.contact-form-frame {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

::selection { background: var(--primary-light); color: var(--ink); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream-mid); }
::-webkit-scrollbar-thumb { background: var(--stone-200); border-radius: var(--r-sm); }
::-webkit-scrollbar-thumb:hover { background: var(--sage); }

/* ============================================================
   INTERIOR PAGES
   Everything below supports the pages beneath the homepage:
   pillar guides, location pages, blog and the privacy policy.
   The homepage does not use any of it.
   ============================================================ */

/* ── Page hero ───────────────────────────────────────────── */
.page-hero {
  background: var(--primary-dark);
  color: var(--cream);
  padding: calc(var(--nav-h) + 72px) 0 72px;
}
.page-hero .eyebrow { color: var(--cream); opacity: 0.7; }
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 20ch;
  margin-bottom: 1.2rem;
}
.page-hero-sub {
  color: var(--cream-mid);
  font-size: 1.05rem;
  max-width: 62ch;
  margin-bottom: 0;
}

.breadcrumbs {
  font-size: 0.78rem;
  color: var(--cream-mid);
  opacity: 0.75;
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.breadcrumbs a { color: var(--cream-mid); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs a:hover { color: var(--white); }
.crumb-sep { opacity: 0.5; }

/* ── Prose column ────────────────────────────────────────── */
.prose-section { padding: 72px 0; background: var(--bg); }
.prose {
  /* ~70 characters at this size; long-form reading width. */
  max-width: 760px;
}
.prose h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--ink);
}
.prose h2:first-of-type { margin-top: 0; }
.prose h3 {
  font-size: 1.15rem;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  color: var(--ink);
}
.prose p { color: var(--ink-mid); }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--primary-mid); }
.prose .lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ink);
}
.prose-legal { max-width: 820px; }
.prose-legal h2 { font-size: 1.25rem; margin-top: 2.4rem; }
.updated-line { font-size: 0.85rem; color: var(--ink-light); font-style: italic; }

/* ── Lists ───────────────────────────────────────────────── */
.tick-list, .plain-list, .town-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
}
.tick-list li, .plain-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--ink-mid);
  line-height: 1.7;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 11px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
.plain-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 13px;
  width: 10px; height: 1px;
  background: var(--stone-200);
}
.town-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.town-list li {
  font-size: 0.82rem;
  color: var(--ink-mid);
  background: var(--cream-mid);
  border-radius: var(--r-pill);
  padding: 6px 14px;
}

.numbered-steps, .assembly-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
}
.numbered-steps li, .assembly-list li {
  counter-increment: step;
  position: relative;
  padding-left: 46px;
  margin-bottom: 16px;
  color: var(--ink-mid);
  line-height: 1.7;
}
.numbered-steps li::before, .assembly-list li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Data tables ─────────────────────────────────────────── */
.spec-table-wrap {
  /* Wide tables scroll inside their own container so the page body
     never scrolls sideways on a phone. */
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--stone-100);
  border-radius: var(--r-md);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 520px;
}
.spec-table caption {
  caption-side: top;
  text-align: left;
  padding: 14px 18px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  background: var(--cream-mid);
  border-bottom: 1px solid var(--stone-100);
}
.spec-table th, .spec-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--stone-100);
  vertical-align: top;
  line-height: 1.6;
}
.spec-table thead th {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-light);
  font-weight: 600;
  background: var(--cream);
}
.spec-table tbody th { color: var(--ink); font-weight: 600; }
.spec-table td { color: var(--ink-mid); }
.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table .row-highlight { background: var(--primary-light); }
.table-note { font-size: 0.8rem; color: var(--ink-light); font-style: italic; }
.suitability-table .rag { margin-right: 8px; }

/* ── Feature grids ───────────────────────────────────────── */
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 1.8rem 0;
}
.check-item {
  background: var(--cream);
  border: 1px solid var(--stone-100);
  border-radius: var(--r-md);
  padding: 22px;
}
.check-item h3 { margin-top: 0; font-size: 1rem; }
.check-item p { font-size: 0.875rem; margin-bottom: 0; }

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 1.8rem 0;
}
.evidence-card {
  background: var(--white);
  border: 1px solid var(--stone-100);
  border-radius: var(--r-md);
  padding: 22px;
  box-shadow: var(--sh-md, 0 2px 12px rgba(0,0,0,0.04));
}
.evidence-card h3 { margin-top: 8px; font-size: 1rem; }
.evidence-card p { font-size: 0.875rem; }
.evidence-card ul { list-style: none; padding: 0; margin: 12px 0 0; }
.evidence-card li {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  padding: 4px 0;
  border-top: 1px solid var(--stone-100);
}
.evidence-tag {
  display: inline-block;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  margin: 1.8rem 0;
}
.stat-block {
  background: var(--primary-dark);
  color: var(--cream);
  border-radius: var(--r-md);
  padding: 24px 20px;
  text-align: center;
}
.stat-figure {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-caption { font-size: 0.78rem; color: var(--cream-mid); line-height: 1.5; }

/* ── Callouts ────────────────────────────────────────────── */
.answer-box {
  background: var(--cream-mid);
  border-radius: var(--r-lg);
  padding: 28px 30px;
  margin-bottom: 2.4rem;
}
.answer-box h2 { margin-top: 0; font-size: 1.1rem; }
.answer-box p:last-child, .answer-box ul:last-of-type { margin-bottom: 0; }
.answer-box ul { list-style: none; padding: 0; }
.answer-box li {
  padding: 8px 0;
  border-bottom: 1px solid var(--stone-100);
  color: var(--ink-mid);
  font-size: 0.9rem;
}

.callout-box {
  border-left: 3px solid var(--primary);
  background: var(--cream);
  padding: 20px 24px;
  margin: 1.8rem 0;
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.callout-box p:last-child { margin-bottom: 0; }
.callout-warning { border-left-color: var(--terra-dark); }
.source-note { font-size: 0.78rem; color: var(--ink-light); font-style: italic; }

/* Editorial flag for content that must be supplied before publishing.
   Deliberately loud — it is meant to be impossible to miss in a review. */
.needs-input {
  border: 2px dashed var(--terra-dark);
  background: rgba(201, 64, 43, 0.05);
  border-radius: var(--r-md);
  padding: 18px 22px;
  margin: 1.6rem 0;
}
.needs-input strong {
  display: block;
  color: var(--terra-dark);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.needs-input p { font-size: 0.85rem; margin-bottom: 0; }

/* ── Technical hub specifics ─────────────────────────────── */
.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2rem;
}
.proof-strip span {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: var(--r-pill);
  padding: 7px 16px;
}

.page-toc {
  background: var(--cream);
  border: 1px solid var(--stone-100);
  border-radius: var(--r-md);
  padding: 24px 28px;
  margin-bottom: 2.4rem;
}
.page-toc h2 { margin-top: 0; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-light); }
.page-toc ol { margin: 0; padding-left: 20px; }
.page-toc li { margin-bottom: 6px; font-size: 0.88rem; }

.compare-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 1.8rem 0;
}
.compare-side { border-radius: var(--r-md); padding: 24px; }
.compare-side h3 { margin-top: 0; font-size: 0.95rem; }
.compare-side p { font-size: 0.85rem; }
.compare-bad { background: rgba(192, 57, 43, 0.07); border: 1px solid rgba(192, 57, 43, 0.2); }
.compare-good { background: rgba(58, 125, 68, 0.07); border: 1px solid rgba(58, 125, 68, 0.22); }
.compare-verdict { font-weight: 600; margin-bottom: 0; }
.compare-bad .compare-verdict { color: var(--error); }
.compare-good .compare-verdict { color: var(--success); }

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 1.6rem 0;
}
.resource-card {
  border: 1px solid var(--stone-100);
  border-radius: var(--r-md);
  padding: 22px;
  background: var(--white);
}
.resource-card h3 { margin-top: 0; font-size: 0.95rem; }
.resource-card p { font-size: 0.83rem; }
.resource-card a { font-size: 0.83rem; font-weight: 600; }

.local-contact {
  background: var(--cream-mid);
  border-radius: var(--r-lg);
  padding: 28px 30px;
  margin-top: 2.5rem;
}
.local-contact h2 { margin-top: 0; font-size: 1.05rem; }
.local-contact p { font-size: 0.9rem; }

/* ── Related guides + blog cards ─────────────────────────── */
.related-section { background: var(--cream); padding: 64px 0; }
.related-section h2 { text-align: center; margin-bottom: 32px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.related-card, .post-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--stone-100);
  border-radius: var(--r-md);
  padding: 24px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.related-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.07); }
.related-card h3, .post-card h3 { margin-top: 0; font-size: 1rem; color: var(--ink); }
.related-card p, .post-card p { font-size: 0.85rem; color: var(--ink-mid); margin-bottom: 0; }
.post-card { opacity: 0.75; }
.post-status {
  display: inline-block;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  border: 1px solid var(--stone-200);
  border-radius: var(--r-pill);
  padding: 3px 10px;
  margin-bottom: 10px;
}

/* ── Page CTA band ───────────────────────────────────────── */
.page-cta { background: var(--primary); padding: 72px 0; }
.cta-panel { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-panel h2 { color: var(--white); margin-bottom: 1rem; }
.cta-panel p { color: rgba(255,255,255,0.75); margin-bottom: 1.8rem; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.btn-outline-light {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.9);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); color: var(--white); }

/* ── Footer now carries four link columns, not three ─────── */
/* These restate the existing footer breakpoints (900px / 580px) rather
   than introducing new ones, so the cascade stays predictable. */
.footer-main { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; }

@media (max-width: 1100px) {
  .footer-main { grid-template-columns: 1.6fr 1fr 1fr; }
}
@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .footer-main { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .page-hero { padding: calc(var(--nav-h) + 48px) 0 48px; }
  .prose-section { padding: 48px 0; }
  .compare-panel { grid-template-columns: 1fr; }
  .page-toc { padding: 20px; }
}

/* Small inline pointer from a homepage section into its full guide. */
.inline-guide-link {
  font-size: 0.85rem;
  color: var(--ink-light);
  margin-top: 14px;
}
.inline-guide-link a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
