/* ==========================================================================
   Aarogic — "Calm Institution" design system
   Mobile-first. One file. No external requests.
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0B2B27;
  --teal-900: #0A3D37;
  --teal-700: #0F5C52;
  --teal-500: #2A8C7E;
  --sage-100: #E6F0EC;
  --sage-50: #F1F7F4;
  --ivory: #FBF8F3;
  --paper: #FFFFFF;
  --amber: #E9A93B;
  --amber-700: #9A6410;
  --amber-100: #FBF0DC;
  --line: #D9E3DF;
  --muted: #4F6762;
  --danger: #B42318;
  --ok: #1F7A4D;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-ui: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-card: 14px;
  --r-img: 18px;
  --r-pill: 999px;
  --r-input: 10px;
  --shadow-xs: 0 1px 2px rgba(11, 43, 39, .06);
  --shadow-sm: 0 2px 8px rgba(11, 43, 39, .06), 0 1px 2px rgba(11, 43, 39, .04);
  --shadow-md: 0 14px 34px -18px rgba(11, 43, 39, .28), 0 2px 8px rgba(11, 43, 39, .05);
  --shadow-lg: 0 30px 70px -30px rgba(11, 43, 39, .32), 0 4px 16px rgba(11, 43, 39, .06);
  --container: 1200px;
  --gutter: 20px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.sheet-open { overflow: hidden; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--teal-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-900); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--amber); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--amber-700);
  outline-offset: 3px;
  border-radius: 4px;
}
.cta-band :focus-visible,
.site-footer :focus-visible,
.mobile-sheet :focus-visible { outline-color: var(--amber); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--teal-700);
}
h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.12;
}
h3 { font-size: 1.35rem; line-height: 1.25; }
h4 { font-size: 1.05rem; line-height: 1.3; font-family: var(--font-ui); }
strong, b { font-weight: 650; }

.eyebrow {
  margin: 0 0 .8rem;
  font-family: var(--font-ui);
  font-size: .8rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.lede {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 64ch;
}
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 200;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--paper);
  padding: .8rem 1.1rem;
  border-radius: var(--r-input);
  font-weight: 600;
}
.skip-link:focus { transform: none; color: var(--paper); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section--ivory { background: var(--ivory); }
.section--white { background: var(--paper); }
.section--sage { background: var(--sage-50); }
.section--dark { background: var(--teal-900); color: var(--ivory); }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 46px;
  padding: .72rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-ui);
  font-size: .97rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease,
              transform .18s ease, box-shadow .18s ease;
}
.btn .icon { flex: 0 0 auto; transition: transform .18s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: var(--paper);
  box-shadow: 0 8px 20px -12px rgba(15, 92, 82, .75);
}
.btn--primary:hover {
  background: var(--teal-900);
  border-color: var(--teal-900);
  color: var(--paper);
  transform: translateY(-1px);
}
.btn--secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--secondary:hover {
  background: var(--sage-100);
  border-color: var(--teal-500);
  color: var(--ink);
}
.btn--secondary-light {
  background: transparent;
  border-color: rgba(251, 248, 243, .34);
  color: var(--ivory);
}
.btn--secondary-light:hover {
  background: rgba(251, 248, 243, .1);
  border-color: var(--ivory);
  color: var(--ivory);
}
.btn--amber {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
  box-shadow: 0 10px 24px -14px rgba(233, 169, 59, .9);
}
.btn--amber:hover {
  background: #F2B955;
  border-color: #F2B955;
  color: var(--ink);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  border-color: transparent;
  color: var(--teal-700);
  padding-inline: .6rem;
}
.btn--ghost:hover { background: var(--sage-100); color: var(--teal-900); }
.btn--sm { min-height: 44px; padding: .6rem 1rem; font-size: .9rem; }
.btn--lg { min-height: 52px; padding: .85rem 1.5rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 650;
  font-size: .94rem;
  color: var(--teal-700);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .18s ease, color .18s ease;
}
.text-link .icon { transition: transform .18s ease; }
.text-link:hover { color: var(--teal-900); border-bottom-color: currentColor; }
.text-link:hover .icon { transform: translateX(2px); }

.icon { display: inline-block; vertical-align: -0.15em; flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   Announcement
   -------------------------------------------------------------------------- */
.announcement {
  background: var(--teal-900);
  color: var(--ivory);
  font-size: .88rem;
}
.announcement-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  min-height: 44px;
  padding-block: .35rem;
}
.announcement p { margin: 0; text-align: center; line-height: 1.4; }
.announcement a { color: var(--amber); font-weight: 600; white-space: nowrap; }
.announcement a:hover { color: #F6C873; }
.announcement-close {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ivory);
}
.announcement-close:hover { background: rgba(251, 248, 243, .12); }
.announcement.is-dismissed { display: none; }

/* --------------------------------------------------------------------------
   Header and navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 248, 243, .9);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(251, 248, 243, .78); backdrop-filter: blur(14px) saturate(1.2); }
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -22px rgba(11, 43, 39, .45);
  background: rgba(251, 248, 243, .94);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  flex: 0 0 auto;
}
.brand:hover { color: var(--ink); }
.brand-mark { flex: 0 0 auto; }
.brand-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1;
}
.brand--footer { color: var(--ivory); }
.brand--footer:hover { color: var(--paper); }
.brand-mark--simple {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--teal-700);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}
.primary-nav { display: none; }
.header-actions { display: none; }
.menu-toggle {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
}
.menu-toggle:hover { background: var(--sage-100); }
.menu-toggle--close { margin-left: 0; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 44px;
  padding: .55rem .75rem;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: .94rem;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover { background: var(--sage-100); color: var(--teal-900); }
.nav-link.is-active { background: var(--sage-100); color: var(--teal-900); font-weight: 650; }
.nav-item { position: relative; }
.nav-drop-toggle .icon { transition: transform .18s ease; }
.nav-drop.is-open .nav-drop-toggle .icon { transform: rotate(180deg); }

.mega-panel, .drop-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 70;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav-drop.is-open > .mega-panel,
.nav-drop.is-open > .drop-panel { opacity: 1; visibility: visible; transform: none; }
.mega-panel { width: min(640px, calc(100vw - 48px)); display: grid; grid-template-columns: 1.4fr .9fr; gap: 20px; }
.mega-label {
  margin: 0 0 .55rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.mega-link {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .55rem;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
}
.mega-link:hover { background: var(--sage-50); color: var(--ink); }
.mega-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--sage-100);
  color: var(--teal-700);
}
.mega-link strong { display: block; font-size: .94rem; line-height: 1.3; }
.mega-link small { display: block; margin-top: 2px; font-size: .8rem; line-height: 1.35; color: var(--muted); }
.mega-aside {
  padding: 14px;
  border-radius: 12px;
  background: var(--sage-50);
}
.mega-aside p { font-size: .86rem; line-height: 1.5; color: var(--muted); }
.mega-aside .btn { margin-top: .25rem; }
.mega-note { margin: .8rem 0 0 !important; font-size: .76rem !important; color: var(--muted); }
.drop-panel { width: 290px; padding: 12px; }
.drop-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: .45rem .6rem;
  border-radius: 9px;
  color: var(--ink);
  font-size: .93rem;
  text-decoration: none;
}
.drop-link:hover { background: var(--sage-50); color: var(--teal-900); }
.drop-link--all { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 9px 9px; font-weight: 650; color: var(--teal-700); }
.header-call { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; color: var(--muted); text-decoration: none; white-space: nowrap; }
.header-call:hover { color: var(--teal-900); text-decoration: underline; }

/* Mobile sheet */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(11, 43, 39, .42);
  backdrop-filter: blur(2px);
}
.mobile-sheet {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom));
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.mobile-sheet.is-open { opacity: 1; visibility: visible; transform: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sheet-nav { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding-block: 10px; }
.sheet-link, .sheet-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 54px;
  padding: .5rem .25rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}
.sheet-group > summary::-webkit-details-marker { display: none; }
.sheet-group[open] > summary .icon { transform: rotate(180deg); }
.sheet-group > summary .icon { transition: transform .18s ease; }
.sheet-links { display: grid; padding: .3rem 0 .6rem .8rem; border-bottom: 1px solid var(--line); }
.sheet-links a {
  display: flex;
  align-items: center;
  min-height: 46px;
  color: var(--muted);
  font-size: 1rem;
  text-decoration: none;
}
.sheet-links a:hover { color: var(--teal-900); }
.sheet-group.is-active > summary { color: var(--teal-700); }
.sheet-link.is-active { color: var(--teal-700); font-weight: 700; }
.sheet-foot { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   Sticky mobile actions
   -------------------------------------------------------------------------- */
.sticky-actions {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 55;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 248, 243, .96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 30px -22px rgba(11, 43, 39, .5);
  transition: transform .22s ease, opacity .22s ease;
}
.sticky-actions.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }
body.has-sticky { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.2rem, 6vw, 4.8rem) clamp(3rem, 7vw, 6rem);
  background:
    radial-gradient(900px 520px at 88% 0%, rgba(42, 140, 126, .13), transparent 62%),
    radial-gradient(760px 480px at 4% 100%, rgba(233, 169, 59, .1), transparent 60%),
    linear-gradient(180deg, var(--sage-50), var(--ivory));
}
.hero-grid { display: grid; gap: 2.2rem; align-items: center; }
.hero-copy h1 { margin: 0 0 1rem; max-width: 15ch; }
.hero-sub {
  max-width: 52ch;
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.1rem;
  margin: 1.4rem 0 0;
  list-style: none;
  color: var(--muted);
  font-size: .88rem;
}
.hero-bullets li { display: flex; align-items: center; gap: .4rem; }
.hero-bullets .icon { color: var(--ok); }
.hero-media { position: relative; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: 16px -10px -16px 18px;
  border-radius: calc(var(--r-img) + 6px);
  background: linear-gradient(135deg, var(--sage-100), #DCEAE4);
  transform: rotate(-1.2deg);
}
.hero-photo {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: var(--r-img);
  border: 1px solid rgba(217, 227, 223, .9);
  box-shadow: var(--shadow-md);
  background: var(--paper);
}
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-photo figcaption { padding: .55rem .8rem; font-size: .75rem; line-height: 1.4; color: var(--muted); background: var(--paper); }
.hero-chips {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 7px;
  margin-top: 12px;
  list-style: none;
}
.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  justify-self: start;
  padding: .5rem .8rem;
  border: 1px solid rgba(217, 227, 223, .9);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-sm);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
.hero-chips .icon { color: var(--teal-700); }

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */
.trust-strip { background: var(--paper); border-block: 1px solid var(--line); }
.trust-strip ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.2rem;
  padding-block: 1.2rem;
  list-style: none;
}
.trust-strip li {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 550;
  line-height: 1.35;
}
.trust-strip .icon {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  padding: 8px;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--teal-700);
}

/* --------------------------------------------------------------------------
   Section header / feature cards
   -------------------------------------------------------------------------- */
.section-head { max-width: 760px; margin-bottom: 2.2rem; }
.section-head h2 { max-width: 20ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center h2, .section-head--center .lede { margin-inline: auto; }
.section-head--center h2 { max-width: 24ch; }

.feature-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-xs);
  color: var(--ink);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.feature-card:hover {
  transform: translateY(-3px);
  border-color: #C3D6CF;
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.feature-card h3 { margin: .2rem 0 .5rem; font-size: 1.22rem; }
.feature-card p { margin: 0 0 1rem; color: var(--muted); font-size: 1.0625rem; line-height: 1.55; }
.feature-card .text-link { margin-top: auto; }
.feature-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: .9rem;
  border-radius: 12px;
  background: var(--sage-100);
  color: var(--teal-700);
}
.feature-card--media { padding: 0; overflow: hidden; }
.feature-card--media .media { width: 100%; }
.feature-card--media .media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s ease; }
.feature-card--media:hover .media img { transform: scale(1.025); }
.feature-card--media .media figcaption { padding: .35rem .7rem; font-size: .75rem; line-height: 1.4; color: var(--muted); background: var(--sage-50); }
.feature-card--media h3, .feature-card--media p, .feature-card--media .feature-icon, .feature-card--media .text-link { margin-inline: 20px; }
.feature-card--media h3 { margin-top: 18px; }
.feature-card--media p { margin-bottom: 14px; }
.feature-card--media .text-link { margin-bottom: 20px; }

/* Country tiles */
.country-grid .feature-card {
  background: linear-gradient(160deg, var(--paper), var(--sage-50));
  min-height: 100%;
}
.country-grid .feature-icon { background: var(--paper); border: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   Price range charts
   -------------------------------------------------------------------------- */
.cost-layout { display: grid; gap: 1.4rem; }
.cost-panels { display: grid; gap: 16px; }
.cost-panel {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-img);
  box-shadow: var(--shadow-xs);
}
.price-chart + .price-chart { margin-top: 1.8rem; }
.price-label {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.25;
}
.price-rows { display: grid; gap: .55rem; }
.bar-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: .55rem;
}
.bar-name { font-size: .78rem; font-weight: 600; color: var(--ink); }
.bar-track {
  position: relative;
  display: block;
  height: 12px;
  border-radius: var(--r-pill);
  background: var(--sage-50);
  border: 1px solid var(--sage-100);
  overflow: hidden;
}
.bar-fill {
  position: absolute;
  top: 0; bottom: 0;
  border-radius: var(--r-pill);
  background: rgba(42, 140, 126, .42);
}
.bar-row--india .bar-name { color: var(--teal-900); font-weight: 750; }
.bar-row--india .bar-fill { background: var(--teal-700); }
.bar-value { font-size: .76rem; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.price-note, .cost-note { margin: .9rem 0 0; font-size: .85rem; line-height: 1.55; color: var(--muted); }
.cost-note { max-width: 76ch; font-size: .9rem; }
.cost-note strong { color: var(--ink); }

/* --------------------------------------------------------------------------
   Steps timeline
   -------------------------------------------------------------------------- */
.steps { list-style: none; display: grid; gap: 1.6rem; max-width: 880px; }
.step { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; }
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 22px; top: 50px; bottom: -26px;
  width: 2px;
  background: linear-gradient(var(--line), var(--sage-100));
}
.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--teal-900);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  box-shadow: 0 0 0 6px var(--sage-50);
}
.section--white .step-num { box-shadow: 0 0 0 6px var(--paper); }
.step-body h3 { margin: 8px 0 .4rem; font-size: 1.18rem; }
.step-body p { margin: 0; color: var(--muted); font-size: 1.0625rem; max-width: 62ch; line-height: 1.6; }
.step-photo { margin-top: 14px; max-width: 440px; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); }
.step-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.step-photo figcaption { padding: .4rem .7rem; font-size: .75rem; line-height: 1.4; color: var(--muted); background: var(--paper); }

/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.compare-table caption { padding: 14px 16px; text-align: left; font-weight: 650; color: var(--ink); }
.compare-table th, .compare-table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { background: var(--sage-50); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.compare-table tbody th { font-weight: 650; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:nth-child(even) { background: #FCFDFC; }
.table-note { margin: .7rem 0 0; font-size: .85rem; line-height: 1.5; color: var(--muted); }

/* --------------------------------------------------------------------------
   Stat cards
   -------------------------------------------------------------------------- */
.stat-grid { display: grid; gap: 12px; }
.stat-card {
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-xs);
}
.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--teal-900);
}
.stat-card span { display: block; margin-top: .35rem; font-size: .85rem; line-height: 1.45; color: var(--muted); }
.stat-note { margin: .6rem 0 0; font-size: .8rem; line-height: 1.45; color: var(--muted); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 1rem 0;
  list-style: none;
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.4;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--teal-700); }
.faq-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--teal-700);
  transition: transform .2s ease, background-color .2s ease;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--sage-100); }
.faq-a { overflow: hidden; }
.faq-a-inner { padding: 0 2.8rem 1.3rem 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.65; }
.faq-a-inner p:last-child { margin-bottom: 0; }
.faq-item[open] .faq-a { animation: faqIn .22s ease both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Quote / notice / checklist
   -------------------------------------------------------------------------- */
.quote-note {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-xs);
}
.quote-note .icon { color: var(--amber-700); }
.quote-label {
  margin: .5rem 0 .4rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-700);
}
.quote-note p:last-child {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.16rem;
  line-height: 1.45;
  color: var(--ink);
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal-500);
  border-radius: var(--r-input);
  background: var(--sage-50);
  font-size: 1.0625rem;
  line-height: 1.55;
}
.notice--warn { background: var(--amber-100); border-left-color: var(--amber-700); }
.notice .icon { margin-top: 2px; color: var(--teal-700); flex: 0 0 auto; }
.notice--warn .icon { color: var(--amber-700); }
.notice p { margin: .2rem 0 0; }
.notice strong { display: block; }
.checklist h3 { margin: 0 0 .8rem; font-size: 1.1rem; }
.checklist ul { list-style: none; display: grid; gap: .55rem; }
.checklist li { display: flex; align-items: flex-start; gap: .55rem; font-size: 1.0625rem; line-height: 1.5; }
.checklist .icon { margin-top: 2px; color: var(--ok); flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   Card row (mobile scroll-snap only)
   -------------------------------------------------------------------------- */
.card-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(255px, 82%);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scrollbar-width: thin;
}
.card-row::-webkit-scrollbar { height: 6px; }
.card-row::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }
.mini-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  scroll-snap-align: start;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  color: var(--ink);
  text-decoration: none;
}
.mini-card:hover { border-color: #C3D6CF; box-shadow: var(--shadow-sm); color: var(--ink); }
.mini-card h3 { margin: .1rem 0 .45rem; font-size: 1.05rem; }
.mini-card p { margin: 0 0 1rem; font-size: .88rem; line-height: 1.5; color: var(--muted); }
.mini-card .text-link { margin-top: auto; }

/* --------------------------------------------------------------------------
   Image + text
   -------------------------------------------------------------------------- */
.image-text-grid { display: grid; gap: 1.6rem; align-items: center; }
.image-text-media .media { overflow: hidden; border-radius: var(--r-img); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.image-text-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.image-text-media figcaption { padding: .45rem .8rem; font-size: .75rem; line-height: 1.4; color: var(--muted); background: var(--paper); }
.image-text-copy h2 { margin-bottom: .9rem; max-width: 20ch; }
.prose { color: var(--muted); font-size: 1.0625rem; line-height: 1.7; }
.prose > *:last-child { margin-bottom: 0; }
.prose h3 { margin: 1.4rem 0 .5rem; color: var(--ink); }
.prose h4 { margin: 1.2rem 0 .4rem; color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 1rem 1.1rem; }
.prose li { margin-bottom: .35rem; }
.prose strong { color: var(--ink); }
.image-text-copy .btn { margin-top: .5rem; }

/* --------------------------------------------------------------------------
   Resource card
   -------------------------------------------------------------------------- */
.resource-card {
  display: grid;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-img);
  box-shadow: var(--shadow-sm);
}
.resource-media img { width: 100%; height: 100%; min-height: 220px; aspect-ratio: 3 / 2; object-fit: cover; }
.resource-body { padding: 24px; display: flex; flex-direction: column; align-items: flex-start; }
.resource-meta { margin: 0 0 .5rem; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-700); }
.resource-body h3 { margin: 0 0 .6rem; font-size: 1.45rem; }
.resource-body p { color: var(--muted); font-size: 1.0625rem; }
.resource-body .text-link { margin-top: auto; }
.resource-card--text .resource-body { padding: 26px; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 5.5rem); }
.cta-band--dark {
  background:
    radial-gradient(700px 380px at 92% 8%, rgba(42, 140, 126, .38), transparent 65%),
    linear-gradient(135deg, var(--teal-900), #07312C);
  color: var(--ivory);
}
.cta-band--light { background: var(--sage-50); }
.cta-grid { display: grid; gap: 2rem; align-items: center; }
.cta-copy .eyebrow { color: var(--amber); }
.cta-band--light .cta-copy .eyebrow { color: var(--teal-700); }
.cta-copy h2 { color: var(--ivory); max-width: 18ch; }
.cta-band--light .cta-copy h2 { color: var(--ink); }
.cta-copy > p:not(.eyebrow) { color: rgba(251, 248, 243, .82); max-width: 56ch; margin: 1rem 0 1.5rem; font-size: 1.0625rem; }
.cta-band--light .cta-copy > p:not(.eyebrow) { color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-media .media { overflow: hidden; border-radius: var(--r-img); border: 1px solid rgba(251, 248, 243, .18); box-shadow: var(--shadow-lg); }
.cta-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.cta-media figcaption { padding: .45rem .8rem; font-size: .75rem; line-height: 1.4; color: rgba(251, 248, 243, .78); background: rgba(7, 49, 44, .7); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-enquiry {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-img);
  box-shadow: var(--shadow-sm);
}
.form-top { margin-bottom: 1.3rem; }
.form-step-label { margin: 0 0 .45rem; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.progress { height: 6px; overflow: hidden; border-radius: var(--r-pill); background: var(--sage-100); }
.progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal-500), var(--teal-700)); transition: width .25s ease; }
.form-step { margin: 0; padding: 0; border: 0; min-width: 0; }
.form-step legend { padding: 0; margin: 0 0 .35rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1.2; }
.form-help { margin: 0 0 1rem; font-size: .95rem; color: var(--muted); }
.chip-fieldset { margin: 1.2rem 0 0; padding: 0; border: 0; }
.chip-fieldset legend { padding: 0; margin-bottom: .6rem; font-size: .9rem; font-weight: 650; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--paper);
  font-size: .9rem;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.chip span:hover { border-color: var(--teal-500); background: var(--sage-50); }
.chip input:checked + span { background: var(--teal-700); border-color: var(--teal-700); color: var(--paper); font-weight: 600; }
.chip input:focus-visible + span { outline: 3px solid var(--amber-700); outline-offset: 2px; }

.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field > span { font-size: .9rem; font-weight: 650; }
.field > span em { font-style: normal; font-weight: 450; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: .65rem .8rem;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.0625rem;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal-500);
  outline: 3px solid rgba(42, 140, 126, .2);
  outline-offset: 0;
}
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid { border-color: var(--danger); }
.field-row { display: grid; gap: 0 14px; }
.field-group { min-width: 0; }
.field-group .field { margin-bottom: .15rem; }
.checkbox { display: flex; align-items: flex-start; gap: .65rem; margin: .7rem 0; font-size: 1.0625rem; line-height: 1.55; color: var(--muted); }
.checkbox input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal-700); }
.checkbox--consent { margin-top: 1rem; }
.checkbox a { color: var(--teal-700); }
.field-error { min-height: 1.2em; margin: .2rem 0 .6rem; font-size: .95rem; font-weight: 600; color: var(--danger); }
.form-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 1.1rem; }
.form-nav [data-next] { margin-left: auto; }
.form-status { min-height: 1.2em; margin: .8rem 0 0; font-size: .95rem; font-weight: 600; color: var(--teal-700); }
.form-status.is-error { color: var(--danger); }
.form-thanks { padding: 8px 2px 2px; outline: none; }
.thanks-mark { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1rem; border-radius: 50%; background: var(--sage-100); color: var(--ok); }
.form-thanks h3 { font-size: 1.7rem; margin-bottom: .4rem; }
.form-thanks > p { color: var(--muted); }
.thanks-steps { display: grid; gap: .9rem; margin: 1.2rem 0; padding: 0; list-style: none; counter-reset: thanks; }
.thanks-steps li { position: relative; padding-left: 2.4rem; counter-increment: thanks; }
.thanks-steps li::before {
  content: counter(thanks);
  position: absolute;
  left: 0; top: 0;
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--teal-900);
  color: var(--paper);
  font-size: .8rem;
  font-weight: 700;
}
.thanks-steps strong { display: block; font-size: .95rem; }
.thanks-steps span { display: block; font-size: .88rem; color: var(--muted); }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.2rem; }

.mini-form { margin-top: 1.5rem; padding: 16px; border: 1px solid rgba(251, 248, 243, .2); border-radius: 14px; background: rgba(251, 248, 243, .06); }
.mini-fields { display: grid; gap: 12px; }
.mini-form .field { margin: 0; }
.mini-form .field > span { color: rgba(251, 248, 243, .82); font-size: .8rem; }
.mini-form select, .mini-form input {
  width: 100%;
  min-height: 48px;
  padding: .6rem .8rem;
  border: 1px solid rgba(251, 248, 243, .24);
  border-radius: var(--r-input);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.0625rem;
}
.mini-note { margin: .7rem 0 0; font-size: .76rem; line-height: 1.45; color: rgba(251, 248, 243, .68); }

/* --------------------------------------------------------------------------
   Breadcrumbs, TOC, related, author
   -------------------------------------------------------------------------- */
.breadcrumbs { padding-top: 1.1rem; font-size: .8rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; color: var(--muted); }
.breadcrumbs li { display: flex; align-items: center; gap: .35rem; min-height: 44px; }
.breadcrumbs li + li::before { content: "›"; color: var(--line); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal-900); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 550; }

.toc { padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--sage-50); }
.toc-title { margin: 0 0 .5rem; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; display: grid; gap: .15rem; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; align-items: center; min-height: 44px; gap: .5rem; padding: .35rem 0; color: var(--ink); font-size: .88rem; text-decoration: none; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--teal-700); font-size: .76rem; font-weight: 700; }
.toc a:hover { color: var(--teal-700); text-decoration: underline; }

.related { margin-top: 2.5rem; }
.related h2 { font-size: 1.35rem; margin-bottom: .9rem; }
.related ul { list-style: none; display: grid; gap: 10px; }
.related a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 50px;
  padding: .65rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: var(--paper);
  color: var(--ink);
  font-size: .9rem;
  font-weight: 550;
  text-decoration: none;
}
.related a:hover { border-color: var(--teal-500); background: var(--sage-50); color: var(--teal-900); }

.author-box { display: flex; align-items: flex-start; gap: .8rem; margin-top: 2rem; padding: 16px 18px; border-radius: var(--r-card); background: var(--sage-50); }
.author-mark { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; background: var(--paper); color: var(--teal-700); border: 1px solid var(--line); }
.author-box p { margin: 0; font-size: .85rem; color: var(--muted); }
.last-updated { margin: 1rem 0 0; font-size: .78rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Home-specific layouts
   -------------------------------------------------------------------------- */
.check-grid { display: grid; gap: 2rem; }
.check-copy h2 { margin-bottom: .9rem; }
.check-side { display: grid; gap: 1rem; align-content: start; }
.guide-layout { display: grid; gap: 1.4rem; align-items: start; }
.guide-side { padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); }
.faq-layout { max-width: 880px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--teal-900); color: var(--ivory); padding-block: 3.5rem 1.5rem; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem 1.2rem; }
.footer-brand { grid-column: 1 / -1; max-width: 420px; }
.footer-tagline { margin: .7rem 0 .4rem; font-family: var(--font-display); font-size: 1.12rem; color: var(--amber); }
.footer-desc { margin: 0; font-size: .86rem; line-height: 1.55; color: rgba(251, 248, 243, .7); }
.footer-col h3 { margin: 0 0 .7rem; font-family: var(--font-ui); font-size: .72rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: rgba(251, 248, 243, .55); }
.footer-col ul { list-style: none; display: grid; gap: .15rem; }
.footer-col a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(251, 248, 243, .82); font-size: .86rem; text-decoration: none; }
.footer-col a:hover { color: var(--paper); text-decoration: underline; }
.footer-disclosure { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(251, 248, 243, .16); }
.footer-disclosure p { margin: 0 0 .8rem; max-width: 90ch; font-size: .78rem; line-height: 1.6; color: rgba(251, 248, 243, .62); }
.footer-copy { font-size: .78rem !important; color: rgba(251, 248, 243, .55) !important; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(251, 248, 243, .62); font-size: .78rem; text-decoration: none; }
.footer-legal a:hover { color: var(--paper); text-decoration: underline; }

/* --------------------------------------------------------------------------
   Cost calculator hooks (for the future /cost/ page)
   -------------------------------------------------------------------------- */
.calculator { display: grid; gap: 16px; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-img); box-shadow: var(--shadow-sm); }
.calculator-fields { display: grid; gap: 12px; }
.calculator-results { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.calc-result { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.calc-result span { font-size: .86rem; color: var(--muted); }
.calc-result strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--teal-900); }
.calc-result--saving strong { color: var(--ok); }
.calc-note { margin: 0; font-size: .76rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.error-page { min-height: 58vh; display: grid; align-items: center; text-align: center; }
.error-page .container { max-width: 720px; }
.error-code { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 8rem); line-height: 1; color: var(--sage-100); font-weight: 600; }
.error-page h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: .8rem; }
.error-page .section-actions { justify-content: center; }

/* --------------------------------------------------------------------------
   Reveal on scroll (JS adds .reveal-ready to <html>)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .55s ease, transform .55s ease;
  }
  .reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 560px) {
  :root { --gutter: 24px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-strip ul { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .mini-fields { grid-template-columns: 1fr 1fr; }
  .mini-form .btn { grid-column: 1 / -1; }
  .related ul { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; max-width: 420px; }
}

@media (min-width: 760px) {
  .feature-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-card { grid-template-columns: .95fr 1.05fr; }
  .resource-media img { min-height: 100%; aspect-ratio: auto; }
  .mini-fields { grid-template-columns: 1fr 1fr auto; }
  .mini-form .btn { grid-column: auto; }
  .form-enquiry { padding: 30px; }
}

@media (min-width: 768px) {
  .header-actions { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
  .header-call { display: none; }
  .menu-toggle { margin-left: 0; }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.04fr .96fr; gap: 3rem; }
  .trust-strip ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  .hero-copy h1 { max-width: 14ch; }
  .hero-chips { position: absolute; z-index: 3; bottom: 52px; left: 16px; }
  .hero-chips li { justify-self: start; background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); }
  .cost-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .check-grid { grid-template-columns: 1.25fr .75fr; gap: 3rem; align-items: start; }
  .guide-layout { grid-template-columns: 1.45fr .75fr; }
  .cta-grid--media { grid-template-columns: 1.05fr .95fr; gap: 3rem; }
  .image-text-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .image-text--reverse .image-text-media { order: 2; }
  .card-row { grid-auto-flow: unset; grid-auto-columns: unset; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; }
  .calculator-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-col:last-child ul { grid-template-columns: 1fr 1fr; gap: .15rem 1.2rem; }
}

@media (min-width: 1024px) {
  .feature-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1.5fr repeat(5, 1fr); gap: 2rem 1.5rem; }
  .footer-brand { grid-column: auto; }
  .toc { position: sticky; top: 96px; }
}

@media (min-width: 1180px) {
  :root { --header-h: 76px; }
  .primary-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
  .header-actions { display: flex; align-items: center; gap: 1.1rem; margin-left: .8rem; }
  .header-call { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-sheet, .sheet-backdrop { display: none !important; }
}

@media (max-width: 1179px) {
  .hero-grid { padding-top: .5rem; }
}

@media (max-width: 820px) {
  .sticky-actions { display: grid; }
  .hero { padding-top: 1.6rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .announcement-inner { align-items: flex-start; }
  .announcement p { text-align: left; }
  .announcement-close { margin-top: -2px; }
  .section-head h2 { max-width: 22ch; }
}

@media (max-width: 559px) {
  .trust-strip ul { grid-template-columns: 1fr; gap: .8rem; }
  .bar-row { grid-template-columns: 56px minmax(0, 1fr); }
  .bar-value { grid-column: 2; font-size: .72rem; margin-top: -2px; }
  .btn--lg { width: 100%; }
  .hero-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .footer-legal { gap: .2rem 1rem; }
}

/* --------------------------------------------------------------------------
   Responsive comparison table: stacked cards on small screens
   -------------------------------------------------------------------------- */
@media (max-width: 720px) {
  .table-wrap { overflow: visible; border: 0; background: transparent; border-radius: 0; }
  .compare-table { display: block; }
  .compare-table caption { display: block; padding: 0 0 .7rem; }
  .compare-table thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap;
  }
  .compare-table tbody { display: grid; gap: 12px; }
  .compare-table tr {
    display: block; padding: 16px; background: var(--paper);
    border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-xs);
  }
  .compare-table tbody th {
    display: block; padding: 0 0 .55rem; border: 0;
    font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  }
  .compare-table td {
    display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
    padding: .38rem 0; border: 0; font-size: .9rem;
  }
  .compare-table td::before {
    content: attr(data-label); flex: 0 0 auto; color: var(--muted);
    font-size: .74rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase;
  }
  .compare-table tbody tr:nth-child(even) { background: var(--paper); }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */
@media print {
  @page { margin: 16mm; }
  .site-header, .announcement, .sticky-actions, .site-footer, .mobile-sheet,
  .sheet-backdrop, .hero-chips, .no-print, .btn, .form-enquiry, .mini-form { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; padding-bottom: 0 !important; }
  .section { padding-block: .5rem; break-inside: avoid; }
  .container { max-width: none; padding: 0; }
  a { color: #000; text-decoration: underline; }
  .hero { background: none; padding: 0; }
  .hero-grid { display: block; }
  .hero-media { display: none; }
  .reveal-ready [data-reveal] { opacity: 1 !important; transform: none !important; }
  h1, h2, h3 { break-after: avoid; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* clinics.css */
/* ==========================================================================
   Group G6 — clinic directory, partner application, enquiry and legal pages.
   Every selector is scoped with the unique g6- prefix. No global resets.
   ========================================================================== */

/* --- shared inner hero ---------------------------------------------------- */
.g6-hero {
  padding-block: clamp(1rem, 3vw, 2rem) clamp(2.4rem, 6vw, 4rem);
  background: var(--ivory);
}
.g6-hero-grid { display: grid; gap: 2rem; align-items: center; }
.g6-hero-copy h1 {
  margin: .35rem 0 1rem;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1.06;
  max-width: 18ch;
}
.g6-hero-copy .lede { max-width: 58ch; }
.g6-hero-media { min-width: 0; }
.g6-hero-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-img);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}
.g6-hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.g6-hero-photo figcaption {
  padding: .5rem .8rem;
  font-size: .75rem;
  line-height: 1.4;
  color: var(--muted);
  background: var(--paper);
}

/* --- short answer box ----------------------------------------------------- */
.g6-answer-band {
  padding-block: 0 clamp(1.8rem, 4vw, 2.6rem);
  background: var(--ivory);
}
.g6-answer {
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal-700);
  border-radius: 0 var(--r-card) var(--r-card) 0;
  background: var(--sage-50);
}
.g6-answer .eyebrow { margin-bottom: .35rem; }
.g6-answer p:last-child { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--ink); }

/* --- directory filters ---------------------------------------------------- */
.g6-filters {
  margin: 0 0 2rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px dashed #AFC5BD;
  border-radius: var(--r-card);
  background: var(--sage-50);
}
.g6-filter-set { min-width: 0; margin: 0; padding: 0; border: 0; }
.g6-filter-grid { display: grid; gap: .9rem; }
.g6-filter-grid .field { margin: 0; }
.g6-filter-grid select:disabled {
  background: var(--paper);
  color: var(--muted);
  opacity: 1;
  cursor: not-allowed;
}
.g6-filter-action { display: flex; align-items: flex-end; }
.g6-filter-action .btn { width: 100%; }
.g6-filter-action .btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.g6-filter-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin: .95rem 0 0;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--muted);
}
.g6-filter-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: .15rem .6rem;
  border-radius: var(--r-pill);
  background: var(--amber-100);
  color: #6B4508;
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* --- honest empty state --------------------------------------------------- */
.g6-empty {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(1.8rem, 5vw, 3.2rem) clamp(1.2rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--r-img);
  background: var(--ivory);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.g6-empty-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--teal-700);
}
.g6-empty h2 { margin: .25rem 0 .9rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.g6-empty p { max-width: 60ch; margin-inline: auto; color: var(--muted); }
.g6-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 1.4rem;
}

/* --- example profile card ------------------------------------------------- */
.g6-profile-grid { display: grid; gap: 2rem; align-items: start; }
.g6-mock {
  overflow: hidden;
  border: 1px dashed #93B2A8;
  border-radius: var(--r-img);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}
.g6-mock-banner {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  padding: .7rem 1rem;
  border-bottom: 1px dashed #D9B77E;
  background: var(--amber-100);
  color: #6B4508;
  font-size: .82rem;
  font-weight: 750;
}
.g6-mock-head {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.15rem 1.2rem .75rem;
}
.g6-mock-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--sage-100);
  color: var(--teal-700);
}
.g6-mock-head h3 { margin: 0 0 .15rem; font-size: 1.22rem; }
.g6-mock-head p { margin: 0; font-size: .84rem; color: var(--muted); }
.g6-mock-list { display: grid; margin: 0; padding: .3rem 1.2rem 0; }
.g6-mock-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1rem;
  padding: .55rem 0;
  border-top: 1px solid var(--line);
}
.g6-mock-list dt { font-size: .8rem; font-weight: 650; color: var(--muted); }
.g6-mock-list dd { margin: 0; font-size: .84rem; line-height: 1.45; color: var(--ink); text-align: right; }
.g6-mock-foot {
  margin: .85rem 1.2rem 1.2rem;
  padding-top: .7rem;
  border-top: 1px dashed var(--line);
  font-size: .78rem;
  line-height: 1.5;
  color: var(--muted);
}
.g6-profile-copy .prose h3:first-child { margin-top: 0; }
.g6-inline-photo {
  margin-top: 1.2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.g6-inline-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.g6-inline-photo figcaption {
  padding: .45rem .7rem;
  font-size: .75rem;
  line-height: 1.4;
  color: var(--muted);
  background: var(--paper);
}

/* --- why / honesty / checklist splits ------------------------------------ */
.g6-why-grid,
.g6-check-grid,
.g6-honest-grid,
.g6-privacy-grid,
.g6-cta-split {
  display: grid;
  gap: 2rem;
  align-items: start;
}
.g6-why-side,
.g6-honest-side,
.g6-privacy-side,
.g6-check-media {
  display: grid;
  gap: 14px;
}
.g6-check-media .media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-img);
}
.g6-check-media .media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.g6-check-media .media figcaption {
  padding: .45rem .7rem;
  font-size: .75rem;
  color: var(--muted);
  background: var(--paper);
}
.g6-check-copy .section-head { margin-bottom: 1.2rem; }
.g6-small-note { margin: .9rem 0 0; font-size: .85rem; line-height: 1.55; color: var(--muted); }
.g6-cta-split { align-items: center; }
.g6-cta-copy h2 { max-width: 18ch; margin-bottom: .8rem; }
.g6-cta-copy > p:not(.eyebrow) { max-width: 58ch; color: var(--muted); }
.g6-cta-media .media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-img);
  box-shadow: var(--shadow-sm);
}
.g6-cta-media .media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.g6-cta-media .media figcaption {
  padding: .45rem .7rem;
  font-size: .75rem;
  color: var(--muted);
  background: var(--paper);
}

/* --- faq and related ------------------------------------------------------ */
.g6-faq-layout { display: grid; gap: 1.6rem; align-items: start; }
.g6-faq-side { min-width: 0; }
.g6-faq-side .author-box { margin-top: 0; }
.g6-related-band .related { margin-top: 0; }

/* --- application form ----------------------------------------------------- */
.g6-apply-grid { display: grid; gap: 2rem; align-items: start; }
.g6-apply-intro .section-head { margin-bottom: 1.3rem; }
.g6-apply-intro .checklist { margin-bottom: 1rem; }
.g6-apply-intro .notice { margin-top: 1rem; }
.g6-app { min-width: 0; }
.g6-app .field-group { min-width: 0; }
.g6-app .field { margin-bottom: .3rem; }
.g6-app .field-row { gap: 0 14px; }
.g6-app .field-error { margin-bottom: .5rem; }
.g6-app .chip-fieldset { margin: .35rem 0 .15rem; }
.g6-app .chip-fieldset legend {
  padding: 0;
  margin-bottom: .55rem;
  font-family: var(--font-ui);
  font-size: .9rem;
  font-weight: 650;
}
.g6-hint { margin: -.2rem 0 .5rem; font-size: .82rem; line-height: 1.45; color: var(--muted); }
.g6-app .checkbox { margin-top: 1rem; }
.g6-preview-note {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  margin: .75rem 0 0;
  padding: .8rem .9rem;
  border-radius: var(--r-input);
  background: var(--sage-50);
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.5;
}
.g6-preview-note .icon { flex: 0 0 auto; margin-top: 2px; color: var(--teal-700); }
.g6-noscript { margin-bottom: 1rem; }
.g6-chipset.g6-chips-invalid .chip span { border-color: var(--danger); background: #FDF3F2; }

/* --- data list ------------------------------------------------------------ */
.g6-data-list { display: grid; gap: .75rem; margin: 0 0 1.2rem; }
.g6-data-list > div {
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: var(--paper);
}
.g6-data-list dt { font-size: .9rem; font-weight: 700; color: var(--ink); }
.g6-data-list dd { margin: .25rem 0 0; font-size: .97rem; line-height: 1.6; color: var(--muted); }

/* --- enquiry page --------------------------------------------------------- */
.g6-enquiry { padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(3rem, 7vw, 6rem); }
.g6-enquiry-head { max-width: 840px; margin-bottom: 1.6rem; }
.g6-enquiry-head h1 { margin: .3rem 0 1rem; font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
.g6-enquiry-head .lede { max-width: 66ch; }
.g6-enquiry-grid { display: grid; gap: 1.6rem; align-items: start; }
.g6-enquiry-side { display: grid; gap: 14px; min-width: 0; }
.g6-side-card {
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: var(--shadow-xs);
}
.g6-side-card h2 { margin-bottom: .65rem; font-size: 1.22rem; }
.g6-side-card p:last-child { margin-bottom: 0; }
.g6-side-card p { font-size: .93rem; line-height: 1.55; color: var(--muted); }
.g6-side-card--warn { background: var(--amber-100); border-color: #E7C88C; }
.g6-side-card--warn p { color: #5C3B08; }
.g6-next-list { display: grid; gap: .8rem; list-style: none; counter-reset: g6next; }
.g6-next-list li {
  position: relative;
  padding-left: 2rem;
  font-size: .92rem;
  line-height: 1.55;
  color: var(--muted);
  counter-increment: g6next;
}
.g6-next-list li::before {
  content: counter(g6next);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal-900);
  color: var(--paper);
  font-size: .72rem;
  font-weight: 700;
}
.g6-next-list strong { display: block; color: var(--ink); font-size: .93rem; }
.g6-side-list { display: grid; gap: .45rem; list-style: none; }
.g6-side-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .9rem;
  line-height: 1.5;
  color: var(--muted);
}
.g6-side-list .icon { flex: 0 0 auto; margin-top: 2px; color: var(--amber-700); }
.g6-side-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
}
.g6-side-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.g6-side-photo figcaption {
  padding: .45rem .7rem;
  font-size: .75rem;
  line-height: 1.4;
  color: var(--muted);
  background: var(--paper);
}
.g6-can-grid { display: grid; gap: 1rem; }
.g6-can {
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
}
.g6-can h3 { display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; font-size: 1.15rem; }
.g6-can ul { display: grid; gap: .55rem; list-style: none; }
.g6-can li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .96rem;
  line-height: 1.5;
  color: var(--muted);
}
.g6-can li .icon { flex: 0 0 auto; margin-top: 2px; }
.g6-can--yes .icon { color: var(--ok); }
.g6-can--no { background: var(--ivory); }
.g6-can--no .icon { color: var(--amber-700); }

/* --- legal pages ---------------------------------------------------------- */
.g6-legal-hero .g6-hero-copy h1 { max-width: 20ch; }
.g6-legal-hero .notice { margin-top: 1.2rem; }
.g6-legal-grid { display: grid; gap: 2rem; align-items: start; }
.g6-legal-main { min-width: 0; }
.g6-legal-main section { margin-bottom: 2.1rem; scroll-margin-top: 100px; }
.g6-legal-main section:last-child { margin-bottom: 0; }
.g6-legal-main h2 {
  margin-bottom: .6rem;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
}
.g6-legal-main h3 { margin-top: 1.3rem; }
.g6-legal-main ul { margin-left: 1.1rem; }
.g6-legal-aside { display: grid; gap: 14px; min-width: 0; }
.g6-legal-aside .toc { position: static; }
.g6-legal-side-card {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--sage-50);
}
.g6-legal-side-card h2 { margin-bottom: .45rem; font-size: 1.05rem; }
.g6-legal-side-card p { margin-bottom: .6rem; font-size: .88rem; line-height: 1.55; color: var(--muted); }
.g6-legal-side-card p:last-child { margin-bottom: 0; }
.g6-legal-aside .media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.g6-legal-aside .media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.g6-legal-aside .media figcaption {
  padding: .45rem .7rem;
  font-size: .75rem;
  line-height: 1.4;
  color: var(--muted);
  background: var(--paper);
}

/* --- responsive ----------------------------------------------------------- */
@media (min-width: 560px) {
  .g6-filter-grid { grid-template-columns: 1fr 1fr; }
  .g6-filter-action { grid-column: 1 / -1; }
  .g6-can-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 760px) {
  .g6-filter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
  .g6-filter-action { grid-column: auto; }
  .g6-can-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .g6-hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3rem; }
  .g6-profile-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 3rem; }
  .g6-why-grid { grid-template-columns: 1.25fr .75fr; gap: 3rem; }
  .g6-check-grid { grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: start; }
  .g6-honest-grid { grid-template-columns: 1.2fr .8fr; gap: 3rem; }
  .g6-privacy-grid { grid-template-columns: 1.3fr .7fr; gap: 3rem; }
  .g6-cta-split { grid-template-columns: 1.1fr .9fr; gap: 3rem; }
  .g6-faq-layout { grid-template-columns: 1.5fr .5fr; gap: 3rem; }
  .g6-apply-grid { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 3rem; }
  .g6-enquiry-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 2rem; }
  .g6-enquiry-side { position: sticky; top: 96px; }
  .g6-legal-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, .55fr); gap: 3rem; }
  .g6-legal-aside { position: sticky; top: 96px; }
}

/* g1.css */
/* ==========================================================================
   Group G1 — treatment hub and five treatment pages.
   Every selector is scoped with the unique .g1 page class.
   ========================================================================== */

/* Compact inner-page hero ------------------------------------------------- */
.g1 .g1-hero {
  padding-block: 1.1rem clamp(2.4rem, 5vw, 4rem);
  background:
    radial-gradient(760px 420px at 90% 2%, rgba(42, 140, 126, .12), transparent 62%),
    radial-gradient(620px 380px at 2% 100%, rgba(233, 169, 59, .09), transparent 60%),
    linear-gradient(180deg, var(--sage-50), var(--ivory));
}
.g1 .g1-hero-grid { display: grid; gap: 1.8rem; align-items: center; }
.g1 .g1-hero h1 {
  margin: 0 0 1rem;
  max-width: 17ch;
  font-size: clamp(2.15rem, 4.4vw, 3.45rem);
  line-height: 1.06;
}
.g1 .g1-hero .lede { margin-bottom: 1.4rem; max-width: 54ch; }
.g1 .g1-hero-media { position: relative; }
.g1 .g1-hero-media .media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-img);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}
.g1 .g1-hero-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.g1 .g1-hero-media figcaption {
  padding: .45rem .8rem;
  background: var(--paper);
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.4;
}

/* Short answer + TOC ----------------------------------------------------- */
.g1 .g1-answer-layout { display: grid; gap: 1.5rem; align-items: start; }
.g1 .g1-answer {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-left: 5px solid var(--amber);
  border-radius: var(--r-img);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.g1 .g1-answer .eyebrow { margin-bottom: .55rem; color: var(--amber-700); }
.g1 .g1-answer p { margin: 0 0 .85rem; font-size: 1.08rem; line-height: 1.65; }
.g1 .g1-answer p:last-child { margin-bottom: 0; }
.g1 .g1-answer strong { color: var(--ink); }

/* Two-panel suit / not-suit layout --------------------------------------- */
.g1 .g1-two-col { display: grid; gap: 16px; }
.g1 .g1-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: var(--shadow-xs);
}
.g1 .g1-panel--warn { border-color: #EBD8B8; background: #FDF6E9; }
.g1 .g1-panel h3 { margin: 0 0 .8rem; font-size: 1.18rem; }
.g1 .g1-list { display: grid; gap: .55rem; margin: 0; list-style: none; }
.g1 .g1-list li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}
.g1 .g1-list .icon { flex: 0 0 auto; margin-top: 3px; color: var(--ok); }
.g1 .g1-list--no .icon { color: var(--amber-700); }
.g1 .g1-list strong { color: var(--ink); }

/* Price chart and explanation ------------------------------------------- */
.g1 .g1-price-grid { display: grid; gap: 1.5rem; align-items: start; }
.g1 .g1-price-copy h3 { margin: 0 0 .6rem; font-size: 1.18rem; }
.g1 .g1-price-copy ul { margin: 0 0 1rem 1.1rem; }
.g1 .g1-price-copy li { margin-bottom: .35rem; }

/* Hub treatment cards ---------------------------------------------------- */
.g1 .g1-treatment-grid { display: grid; gap: 18px; }
.g1 .g1-treatment-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-img);
  background: var(--paper);
  box-shadow: var(--shadow-xs);
  color: var(--ink);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.g1 .g1-treatment-card:hover {
  transform: translateY(-3px);
  border-color: #C3D6CF;
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.g1 .g1-treatment-card .media { width: 100%; }
.g1 .g1-treatment-card .media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .4s ease;
}
.g1 .g1-treatment-card:hover .media img { transform: scale(1.02); }
.g1 .g1-treatment-card .media figcaption {
  padding: .4rem .8rem;
  background: var(--paper);
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.4;
}
.g1 .g1-tc-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 22px 24px;
}
.g1 .g1-tc-kicker {
  margin: 0 0 .45rem;
  color: var(--amber-700);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.g1 .g1-tc-body h3 { margin: 0 0 .5rem; font-size: 1.38rem; }
.g1 .g1-tc-body > p { margin: 0 0 .9rem; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.g1 .g1-tc-facts {
  display: grid;
  gap: .3rem;
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45;
}
.g1 .g1-tc-facts strong { color: var(--ink); }
.g1 .g1-tc-body .text-link { margin-top: auto; }

/* Small housekeeping ----------------------------------------------------- */
.g1 .g1-subhead { margin: 2rem 0 1rem; font-size: 1.18rem; }
.g1 .g1-note-tight { margin-top: .9rem; }
.g1 .g1-related-wrap { display: grid; gap: 0; }

@media (min-width: 760px) {
  .g1 .g1-treatment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .g1 .g1-hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3rem; }
  .g1 .g1-two-col { grid-template-columns: 1fr 1fr; }
  .g1 .g1-price-grid { grid-template-columns: 1.02fr .98fr; gap: 2.2rem; }
}
@media (min-width: 1024px) {
  .g1 .g1-answer-layout { grid-template-columns: 1.55fr .85fr; gap: 2.4rem; }
}

/* g2.css */
/* ==========================================================================
   G2 — cost and comparison pages
   Every selector is scoped with the page-group prefix .g2- so groups never
   collide. Build appends this file to site.css.
   ========================================================================== */

/* Inner-page hero ---------------------------------------------------------- */
.g2-hero {
  padding-block: clamp(1.6rem, 4vw, 3.2rem) clamp(2.4rem, 6vw, 4.6rem);
}
.g2-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.g2-hero .hero-copy h1 {
  font-size: clamp(2.1rem, 4.3vw, 3.45rem);
  line-height: 1.07;
  max-width: 18ch;
  margin-bottom: .9rem;
}
.g2-hero .hero-sub { max-width: 56ch; }
.g2-hero .hero-actions { margin-top: .2rem; }
.g2-hero .hero-media::before {
  content: "";
  position: absolute;
  inset: 14px -8px -14px 16px;
  border-radius: calc(var(--r-img) + 6px);
  background: linear-gradient(135deg, var(--sage-100), #DCEAE4);
  transform: rotate(-1deg);
}
.g2-hero-photo {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: var(--r-img);
  border: 1px solid rgba(217, 227, 223, .9);
  box-shadow: var(--shadow-md);
  background: var(--paper);
}
.g2-hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.g2-hero-photo figcaption {
  padding: .55rem .8rem;
  font-size: .75rem;
  line-height: 1.4;
  color: var(--muted);
  background: var(--paper);
}
@media (min-width: 900px) {
  .g2-hero-grid { grid-template-columns: 1.06fr .94fr; gap: 2.8rem; }
  .g2-hero .hero-copy h1 { max-width: 17ch; }
}

/* Short-answer box -------------------------------------------------------- */
.g2-answer {
  display: grid;
  gap: 1.2rem;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal-700);
  border-radius: var(--r-img);
  box-shadow: var(--shadow-sm);
}
.g2-answer-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.g2-answer-label .icon { color: var(--amber-700); flex: 0 0 auto; }
.g2-answer-body p {
  margin: 0 0 .8rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
}
.g2-answer-body p:last-child { margin-bottom: 0; }
.g2-answer-body strong { color: var(--ink); }
@media (min-width: 760px) {
  .g2-answer { grid-template-columns: 180px minmax(0, 1fr); gap: 2rem; padding: 28px; }
  .g2-answer-label { align-items: flex-start; padding-top: .25rem; line-height: 1.45; }
}

/* The required price disclaimer, always next to a price block ------------- */
.g2-price-note {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  margin: 1rem 0 0;
  padding: .7rem .8rem;
  background: var(--sage-50);
  border-left: 3px solid var(--amber);
  border-radius: 8px;
  font-size: .8rem;
  line-height: 1.5;
  color: var(--muted);
}
.g2-price-note .icon { flex: 0 0 auto; margin-top: 1px; color: var(--amber-700); }
.g2-price-note strong { color: var(--ink); }

/* Price panels ------------------------------------------------------------ */
.g2-price-block {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-img);
  box-shadow: var(--shadow-xs);
}
.g2-price-panels { margin-bottom: 1.4rem; }

/* Calculator layout ------------------------------------------------------- */
.g2-calc-grid {
  display: grid;
  gap: 1.4rem;
  align-items: start;
}
.g2-calc-aside {
  padding: 22px;
  background: var(--sage-50);
  border: 1px solid var(--line);
  border-radius: var(--r-img);
}
.g2-calc-aside h3 { margin: .1rem 0 .6rem; }
.g2-calc-aside p { font-size: .94rem; line-height: 1.6; color: var(--muted); }
.g2-calc-aside .btn { margin-top: .4rem; }
.g2-calc-points {
  display: grid;
  gap: .55rem;
  margin: 1rem 0;
  list-style: none;
}
.g2-calc-points li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .9rem;
  line-height: 1.5;
  color: var(--muted);
}
.g2-calc-points .icon { flex: 0 0 auto; margin-top: 2px; color: var(--ok); }
.g2-calc-points strong { color: var(--ink); }
.g2-calc-helper {
  margin: .15rem 0 0;
  font-size: .78rem;
  line-height: 1.5;
  color: var(--muted);
}
.g2-calc-label {
  margin: 0 0 .15rem;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-700);
}
@media (min-width: 900px) {
  .g2-calc-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 2rem; }
  .g2-calculator .calculator-fields { grid-template-columns: 1.2fr 1fr 1fr; }
}
@media (min-width: 1024px) {
  .g2-calc-aside { position: sticky; top: 96px; }
}

/* Callout rows and stacked notes ----------------------------------------- */
.g2-callout-row {
  display: grid;
  gap: 1rem;
  align-items: start;
  margin-top: 1.4rem;
}
.g2-callout-side { display: grid; gap: .7rem; align-content: start; }
@media (min-width: 900px) {
  .g2-callout-row { grid-template-columns: 1.2fr .8fr; gap: 2rem; }
}
.g2-note-stack { display: grid; gap: 1rem; margin-top: 1.5rem; }

/* "What the low price may leave out" ------------------------------------- */
.g2-leave {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 5px solid var(--amber-700);
  border-radius: var(--r-img);
  box-shadow: var(--shadow-sm);
}
.g2-leave h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  margin-bottom: .5rem;
}
.g2-leave > p { max-width: 72ch; color: var(--muted); }
.g2-leave-list {
  display: grid;
  margin: 1.2rem 0 0;
  list-style: none;
}
.g2-leave-list li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  padding: .7rem 0;
  border-top: 1px solid var(--line);
  font-size: .94rem;
  line-height: 1.55;
  color: var(--muted);
}
.g2-leave-list .icon { flex: 0 0 auto; margin-top: 2px; color: var(--amber-700); }
.g2-leave-list strong { color: var(--ink); }
@media (min-width: 760px) {
  .g2-leave { padding: 30px; }
  .g2-leave-list { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}

/* Prose widths and risk rows --------------------------------------------- */
.g2-prose-narrow { max-width: 72ch; margin-top: 1.4rem; }
.g2-prose-wide { max-width: 82ch; }
.g2-risk-row {
  display: grid;
  gap: 12px;
  margin-top: 1.4rem;
}
@media (min-width: 760px) {
  .g2-risk-row { grid-template-columns: 1fr 1fr; }
}

/* Two-column copy and side notes ----------------------------------------- */
.g2-two-col {
  display: grid;
  gap: 1.4rem;
  align-items: start;
}
.g2-two-col .checklist { margin-top: .6rem; }
.g2-side-note {
  padding: 22px;
  background: var(--sage-50);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.g2-side-note h3 { margin: .1rem 0 .6rem; }
.g2-side-note p { font-size: .94rem; line-height: 1.6; color: var(--muted); }
.g2-side-note .btn { margin-top: .5rem; }
.g2-side-note .checklist { margin-top: .7rem; }
@media (min-width: 900px) {
  .g2-two-col { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 2.2rem; }
}

/* Evidence and the Turkey gap -------------------------------------------- */
.g2-evidence { display: grid; gap: 12px; margin-top: 1.4rem; }
.g2-turkey-gap {
  background: var(--amber-100);
  border-color: #EBD6AE;
}
.g2-turkey-gap .eyebrow { color: var(--amber-700); }
.g2-turkey-gap .g2-calc-helper { margin-top: .7rem; }

/* Closing related links and editorial stamp ------------------------------- */
.g2-closing {
  display: grid;
  gap: 1.4rem;
  align-items: start;
}
.g2-closing .related { margin-top: 0; }
.g2-closing .related h2 { font-size: 1.5rem; }
.g2-closing-side .author-box { margin-top: 0; }
.g2-closing-side .last-updated { margin-top: 1rem; }
@media (min-width: 900px) {
  .g2-closing { grid-template-columns: 1.4fr .6fr; gap: 2.4rem; }
}

/* Padded bands around components that bring their own container ---------- */
.g2-band { padding-block: clamp(3rem, 7vw, 6rem); }
.g2-band--ivory { background: var(--ivory); }
.g2-band--white { background: var(--paper); }
.g2-band--sage { background: var(--sage-50); }

@media (max-width: 559px) {
  .g2-answer { padding: 20px; }
  .g2-leave { padding: 20px; }
}

/* g3.css */
/* G3 — country pages and country hub. Every selector is scoped with .g3-. */

/* Smaller inner-page hero ------------------------------------------------- */
.g3-hero { padding-block: clamp(1.6rem, 4vw, 3rem) clamp(2.4rem, 5vw, 4.2rem); }
.g3-hero .hero-copy h1 { font-size: clamp(2.05rem, 4.4vw, 3.35rem); max-width: 20ch; }
.g3-hero .hero-photo figcaption { background: var(--paper); }

/* Short answer box and TOC ------------------------------------------------ */
.g3-top-grid { display: grid; gap: 1.2rem; align-items: start; }
.g3-answer {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal-500);
  border-radius: var(--r-card);
  background: var(--sage-50);
  box-shadow: var(--shadow-xs);
}
.g3-answer .eyebrow { margin-bottom: .45rem; color: var(--teal-700); }
.g3-answer h2 {
  max-width: 36ch;
  margin-bottom: .7rem;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.18;
}
.g3-answer > p {
  max-width: 78ch;
  margin-bottom: 0;
  color: var(--muted);
}
.g3-answer-points {
  display: grid;
  gap: .6rem;
  margin: 1.2rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  list-style: none;
}
.g3-answer-points li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
}
.g3-answer-points .icon { margin-top: 3px; color: var(--teal-700); flex: 0 0 auto; }
.g3-toc .toc { position: static; }

/* Start-here enquiry mini-panel ------------------------------------------ */
.g3-start { display: grid; gap: 1.6rem; align-items: start; }
.g3-start-copy h2 { max-width: 21ch; margin-bottom: .8rem; }
.g3-start-copy > p { max-width: 62ch; color: var(--muted); }
.g3-start-list {
  display: grid;
  gap: .65rem;
  margin: 1.2rem 0 0;
  list-style: none;
}
.g3-start-list li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  color: var(--muted);
  font-size: .97rem;
  line-height: 1.5;
}
.g3-start-list .icon { margin-top: 2px; color: var(--teal-700); flex: 0 0 auto; }
.g3-start-panel {
  padding: clamp(1.4rem, 3vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: var(--r-img);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}
.g3-start-step {
  margin: 0 0 .4rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-700);
}
.g3-start-panel h3 { margin: 0 0 .5rem; font-size: 1.35rem; }
.g3-start-panel > p { color: var(--muted); font-size: .97rem; }
.g3-start-actions { display: grid; gap: 10px; margin-top: 1rem; }
.g3-small { margin: .9rem 0 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }

/* Visa notice spacing ----------------------------------------------------- */
.g3-visa { margin-top: 1.6rem; }

/* Hub image tiles --------------------------------------------------------- */
.g3-tiles { display: grid; gap: 16px; }
.g3-tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-img);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.g3-tile:hover {
  transform: translateY(-3px);
  border-color: #C3D6CF;
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.g3-tile .media { width: 100%; }
.g3-tile .media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .4s ease;
}
.g3-tile:hover .media img { transform: scale(1.025); }
.g3-tile .media figcaption {
  padding: .4rem .75rem;
  background: var(--sage-50);
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.4;
}
.g3-tile-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 22px 22px;
}
.g3-tile-body h3 { margin: 0 0 .45rem; font-size: 1.45rem; }
.g3-tile-body p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}
.g3-tile .text-link { margin-top: auto; }

/* Image-text sections need the page padding lib.image_text does not add. */
.g3-page .image-text {
  padding-block: clamp(3rem, 7vw, 6rem);
  background: var(--ivory);
}

@media (min-width: 560px) {
  .g3-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3-tiles .g3-tile:first-child { grid-column: 1 / -1; }
  .g3-answer-points { grid-template-columns: 1fr 1fr; gap: .6rem 1.4rem; }
}

@media (min-width: 900px) {
  .g3-start { grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 3rem; align-items: center; }
  .g3-tile-body h3 { font-size: 1.5rem; }
}

@media (min-width: 1024px) {
  .g3-top-grid { grid-template-columns: minmax(0, 1.65fr) minmax(270px, .7fr); gap: 2rem; }
  .g3-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .g3-tiles .g3-tile { grid-column: span 2; }
  .g3-tiles .g3-tile:nth-child(1),
  .g3-tiles .g3-tile:nth-child(2) { grid-column: span 3; }
}

@media (prefers-reduced-motion: reduce) {
  .g3-tile,
  .g3-tile .media img { transition: none; }
  .g3-tile:hover { transform: none; }
  .g3-tile:hover .media img { transform: none; }
}

/* g5.css */
/* G5 guides. Every selector is scoped to .g5-* so other page groups cannot collide. */

.g5-page [id] { scroll-margin-top: 96px; }

/* Hero -------------------------------------------------------------------- */
.g5-hero {
  padding: clamp(1.4rem, 3.5vw, 2.6rem) 0 clamp(2rem, 5vw, 3.4rem);
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(42, 140, 126, .14), transparent 62%),
    linear-gradient(180deg, var(--sage-50), var(--ivory));
  border-bottom: 1px solid var(--line);
}
.g5-hero-grid { display: grid; gap: 1.6rem; align-items: center; }
.g5-hero-copy h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.06;
  max-width: 20ch;
  margin-bottom: 0;
}
.g5-hero-lede {
  margin: 1rem 0 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.3vw, 1.14rem);
  line-height: 1.65;
}
.g5-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.5rem; }
.g5-hero-media .media {
  overflow: hidden;
  border-radius: var(--r-img);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.g5-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.g5-hero-media figcaption {
  padding: .5rem .85rem;
  font-size: .75rem;
  line-height: 1.4;
  color: var(--muted);
  background: var(--paper);
}
@media (min-width: 900px) {
  .g5-hero-grid { grid-template-columns: 1.04fr .96fr; gap: 3rem; }
}

/* Intro: short answer + sticky TOC --------------------------------------- */
.g5-intro-grid { display: grid; gap: 1.6rem; align-items: start; }
.g5-intro-main { order: 1; min-width: 0; }
.g5-intro-aside { order: 2; display: grid; gap: 1rem; align-content: start; }
.g5-answer {
  padding: 1.3rem 1.4rem;
  border: 1px solid #BFD8CF;
  border-left: 5px solid var(--teal-700);
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.g5-answer-kicker {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 .55rem;
  font-family: var(--font-ui);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.g5-answer-kicker .icon { color: var(--amber-700); }
.g5-answer-text { margin: 0; font-size: 1.1rem; line-height: 1.65; color: var(--ink); }
.g5-answer + .prose { margin-top: 1.4rem; }
.g5-prose { max-width: 74ch; }
.g5-aside-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: var(--shadow-xs);
}
.g5-aside-card .eyebrow { margin-bottom: .4rem; color: var(--teal-700); }
.g5-aside-card p:not(.eyebrow) { margin: 0 0 1rem; font-size: .9rem; line-height: 1.55; color: var(--muted); }
@media (min-width: 1024px) {
  .g5-intro-grid { grid-template-columns: 320px minmax(0, 1fr); gap: 3rem; }
  .g5-intro-aside { order: 1; align-self: stretch; }
  .g5-intro-main { order: 2; }
}

/* Checklist --------------------------------------------------------------- */
.g5-checklist-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--sage-50);
}
.g5-progress-wrap { flex: 1 1 240px; min-width: 0; }
.g5-progress-label { margin: 0 0 .45rem; font-size: .85rem; color: var(--muted); }
.g5-progress-label strong { color: var(--ink); }
.g5-progress-label span { display: inline-block; }
.g5-progress {
  height: 8px;
  overflow: hidden;
  border-radius: var(--r-pill);
  background: var(--sage-100);
}
.g5-progress > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-700));
  transition: width .25s ease;
}
.g5-tool-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.g5-checks { display: grid; gap: 14px; }
.g5-check {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
  transition: background-color .18s ease, border-color .18s ease;
}
.g5-check.is-done { background: var(--sage-50); border-color: #BFD8CF; }
.g5-check-input {
  width: 22px;
  height: 22px;
  margin: 3px 0 0;
  accent-color: var(--teal-700);
  cursor: pointer;
}
.g5-check-body { min-width: 0; }
.g5-check-title { margin: 0 0 .45rem; font-family: var(--font-display); font-size: 1.16rem; line-height: 1.25; }
.g5-check-title label { cursor: pointer; }
.g5-check-num { color: var(--amber-700); font-size: .82rem; font-weight: 700; letter-spacing: .06em; }
.g5-check-text { margin: 0 0 .55rem; color: var(--muted); font-size: .98rem; line-height: 1.6; }
.g5-check-ask {
  margin: 0;
  padding: .55rem .75rem;
  border-radius: 10px;
  background: var(--sage-50);
  color: var(--ink);
  font-size: .9rem;
  line-height: 1.5;
}
.g5-check.is-done .g5-check-ask { background: var(--sage-100); }
.g5-check-ask strong { color: var(--teal-700); }

/* Sample quote / passport ------------------------------------------------- */
.g5-after-table { margin-top: 1.6rem; }
.g5-passport {
  margin-top: .4rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--teal-700);
  border-radius: var(--r-img);
  background: linear-gradient(160deg, var(--teal-900), var(--teal-700));
  color: var(--ivory);
  box-shadow: var(--shadow-lg);
}
.g5-passport-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(251, 248, 243, .22);
}
.g5-passport-eyebrow {
  margin: 0 0 .3rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
}
.g5-passport h3 { margin: 0; color: var(--ivory); font-size: 1.5rem; }
.g5-passport-badge {
  flex: 0 0 auto;
  padding: .3rem .7rem;
  border: 1px solid rgba(251, 248, 243, .38);
  border-radius: var(--r-pill);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.g5-passport-grid { display: grid; gap: .8rem 1.4rem; margin: 0; }
.g5-passport-grid div { padding-bottom: .5rem; border-bottom: 1px dashed rgba(251, 248, 243, .2); }
.g5-passport-grid dt {
  margin-bottom: .15rem;
  font-size: .7rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(251, 248, 243, .64);
}
.g5-passport-grid dd { margin: 0; font-size: .96rem; line-height: 1.45; color: var(--ivory); }
.g5-passport-note { margin: 1rem 0 0; font-size: .78rem; line-height: 1.5; color: rgba(251, 248, 243, .72); }
@media (min-width: 560px) {
  .g5-passport-grid { grid-template-columns: 1fr 1fr; }
}

/* Save / email ------------------------------------------------------------ */
.g5-save-grid { display: grid; gap: 16px; }
.g5-card {
  padding: clamp(1.2rem, 3vw, 1.7rem);
  border: 1px solid var(--line);
  border-radius: var(--r-img);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.g5-card h3 { margin: 0 0 .55rem; font-size: 1.35rem; }
.g5-card > p { margin: 0 0 1rem; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.g5-card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: .8rem;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--teal-700);
}
.g5-small { margin: 1rem 0 0; font-size: .82rem; line-height: 1.5; color: var(--muted); }
.g5-email-form { margin-top: .4rem; }
.g5-email-form .field { margin-bottom: .5rem; }
.g5-form-note { margin: .7rem 0 0; font-size: .8rem; line-height: 1.5; color: var(--muted); }
.g5-email-thanks[hidden] { display: none; }
.g5-email-thanks {
  padding: 1.1rem 1.2rem;
  border: 1px solid #BFD8CF;
  border-radius: var(--r-card);
  background: var(--sage-50);
}
.g5-email-thanks h4 { margin: 0 0 .4rem; font-size: 1.15rem; }
.g5-email-thanks p { margin: 0; color: var(--muted); font-size: .95rem; }
.g5-thanks-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: .6rem;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ok);
  border: 1px solid var(--line);
}
@media (min-width: 900px) {
  .g5-save-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* Questions --------------------------------------------------------------- */
.g5-questions { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; counter-reset: g5q; }
.g5-questions li {
  position: relative;
  padding: 16px 18px 16px 3.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
}
.g5-questions li::before {
  counter-increment: g5q;
  content: counter(g5q, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 16px;
  color: var(--teal-700);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
}
.g5-questions h3 { margin: 0 0 .4rem; font-family: var(--font-ui); font-size: 1.02rem; font-weight: 700; line-height: 1.35; }
.g5-questions p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }

/* Registration letter ----------------------------------------------------- */
.g5-letter {
  margin-top: 1.6rem;
  padding: 1.2rem 1.3rem;
  border: 1px dashed var(--teal-500);
  border-radius: var(--r-card);
  background: var(--sage-50);
}
.g5-letter p { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.65; }
.g5-letter-label {
  margin-bottom: .5rem !important;
  font-size: .74rem !important;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-700) !important;
}

/* Small grids ------------------------------------------------------------- */
.g5-two-col { display: grid; gap: 16px; margin-top: 1.5rem; }
.g5-three-col { display: grid; gap: 16px; margin-top: .4rem; }
.g5-two-col .checklist, .g5-three-col .checklist {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
}
@media (min-width: 760px) {
  .g5-two-col { grid-template-columns: 1fr 1fr; }
  .g5-three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Misc -------------------------------------------------------------------- */
.g5-faq { max-width: 880px; }
.g5-end { max-width: 880px; }
.g5-timeline .steps { max-width: 820px; }

/* Print ------------------------------------------------------------------- */
@media print {
  .g5-page .section { break-inside: auto; }
  .g5-page .skip-link { display: none !important; }
  .g5-hero { padding: 0 0 .6rem; background: #fff !important; border: 0; }
  .g5-hero-media, .g5-hero-actions, .g5-intro-aside, .g5-tool-buttons,
  .g5-checklist-tools, .g5-save-grid, .image-text-media, .cta-band, .toc,
  .related, .author-box, .g5-answer-kicker .icon { display: none !important; }
  .g5-intro-grid { display: block; }
  .g5-answer { border: 1px solid #000; border-left: 4px solid #000; box-shadow: none; }
  .g5-checks { display: block; }
  .g5-check { margin-bottom: 12px; break-inside: avoid; border-color: #777; }
  .g5-check.is-done { background: #fff; }
  .g5-check-ask { border: 1px solid #999; background: #fff; }
  .g5-progress, .g5-progress-label { display: none !important; }
  .g5-passport { background: #fff !important; color: #000 !important; border: 2px solid #000; box-shadow: none; }
  .g5-passport h3, .g5-passport-grid dd, .g5-passport-grid dt,
  .g5-passport-eyebrow, .g5-passport-note { color: #000 !important; }
  .g5-passport-head { border-bottom-color: #000; }
  .g5-passport-grid div { border-bottom-color: #999; }
  .g5-passport-badge { border-color: #000; color: #000; }
  .g5-two-col, .g5-three-col { display: block; }
  .g5-two-col .checklist, .g5-three-col .checklist { border: 0; padding: 0; margin-bottom: 1rem; }
  .g5-questions li { break-inside: avoid; border-color: #999; }
  .g5-card, .g5-letter { break-inside: avoid; box-shadow: none; }
}

/* trust.css */
/* ==========================================================================
   G4 trust pages — page-scoped additions
   Every selector is scoped with the g4- page prefix. Nothing here changes
   another page group. Layout tokens come from site.css.
   ========================================================================== */

.g4-page {
  overflow-x: clip;
}

/* --- Compact inner hero -------------------------------------------------- */
.g4-hero {
  padding: clamp(2rem, 4.5vw, 4.2rem) 0 clamp(2.4rem, 5vw, 4.6rem);
  background:
    radial-gradient(760px 420px at 100% 0%, rgba(42, 140, 126, .13), transparent 66%),
    radial-gradient(540px 320px at 0% 100%, rgba(233, 169, 59, .10), transparent 70%),
    var(--ivory);
}
.g4-hero-grid {
  display: grid;
  gap: 1.8rem;
  align-items: center;
}
.g4-hero-copy .eyebrow {
  margin-bottom: .7rem;
}
.g4-hero h1 {
  max-width: 17ch;
  margin: .2rem 0 1rem;
  font-size: clamp(2.15rem, 4.6vw, 3.55rem);
  line-height: 1.04;
}
.g4-hero-sub {
  max-width: 54ch;
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
}
.g4-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.25rem;
}
.g4-hero-facts {
  display: grid;
  gap: .45rem;
  max-width: 52ch;
  margin: 0;
  padding: 0;
  list-style: none;
}
.g4-hero-facts li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}
.g4-hero-facts .icon {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--teal-700);
}
.g4-hero-media .media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-img);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}
.g4-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.g4-hero-media figcaption {
  padding: .5rem .9rem;
  background: var(--paper);
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.45;
}

/* --- Short answer box ---------------------------------------------------- */
.g4-answer-section {
  padding-block: clamp(1.4rem, 3vw, 2.2rem);
}
.g4-answer {
  position: relative;
  max-width: 980px;
  padding: clamp(1.3rem, 3vw, 2rem) clamp(1.2rem, 3.2vw, 2.2rem);
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal-700);
  border-radius: var(--r-card);
  background: linear-gradient(120deg, var(--sage-50), var(--paper) 62%);
  box-shadow: var(--shadow-sm);
}
.g4-answer-label {
  margin: 0 0 .45rem;
  color: var(--amber-700);
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.g4-answer-text {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.9vw, 1.42rem);
  line-height: 1.45;
}
.g4-answer-extra {
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
}
.g4-answer-extra p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.6;
}
.g4-answer-extra strong {
  color: var(--ink);
}

/* --- Table of contents --------------------------------------------------- */
.g4-toc-section {
  padding-block: clamp(1.3rem, 2.6vw, 2rem);
}
.g4-toc {
  display: grid;
  gap: .55rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: var(--shadow-xs);
}
.g4-toc-title {
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.g4-toc ol {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: g4toc;
}
.g4-toc li {
  counter-increment: g4toc;
}
.g4-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: .35rem;
  padding: .35rem .75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--sage-50);
  color: var(--ink);
  font-size: .88rem;
  font-weight: 550;
  text-decoration: none;
}
.g4-toc a::before {
  content: counter(g4toc, decimal-leading-zero);
  color: var(--teal-700);
  font-size: .7rem;
  font-weight: 750;
}
.g4-toc a:hover {
  border-color: var(--teal-500);
  background: var(--paper);
  color: var(--teal-900);
}
.g4-toc a:focus-visible {
  outline: 3px solid var(--amber-700);
  outline-offset: 2px;
}

/* --- Generic page blocks ------------------------------------------------- */
.g4-section-note {
  max-width: 70ch;
  margin-top: 1.6rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
}
.g4-section-note p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.55;
}

.g4-two-col {
  display: grid;
  gap: 1rem;
}
.g4-panel {
  padding: clamp(1.1rem, 2.4vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: var(--shadow-xs);
}
.g4-panel--muted {
  background: var(--sage-50);
  box-shadow: none;
}
.g4-panel h3,
.g4-checklist h3,
.g4-crosslist h3 {
  margin: 0 0 .8rem;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: .01em;
  color: var(--ink);
}
.g4-checklist ul,
.g4-crosslist ul {
  display: grid;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.g4-checklist li,
.g4-crosslist li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
}
.g4-checklist .icon {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--ok);
}
.g4-dash {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--amber-100);
  color: var(--amber-700);
  font-size: .8rem;
  font-weight: 750;
  line-height: 1;
}

/* --- Detailed five-step journey ----------------------------------------- */
.g4-detail-steps {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.g4-detail-step {
  padding: clamp(1.1rem, 2.6vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: var(--shadow-xs);
}
.g4-step-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  margin-bottom: .7rem;
}
.g4-step-head h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}
.g4-step-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: .2rem .65rem;
  border-radius: var(--r-pill);
  background: var(--teal-900);
  color: var(--paper);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.g4-step-lede {
  max-width: 72ch;
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}
.g4-role-cols {
  display: grid;
  gap: .8rem;
}
.g4-role-col {
  padding: .95rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: var(--ivory);
}
.g4-role-col--us {
  background: var(--sage-50);
  border-color: #CBDDD5;
}
.g4-role-col h4 {
  margin: 0 0 .5rem;
  color: var(--teal-900);
  font-family: var(--font-ui);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.g4-role-col ul {
  display: grid;
  gap: .35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.g4-role-col li {
  position: relative;
  padding-left: .9rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}
.g4-role-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal-500);
}
.g4-step-time {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: .86rem;
}
.g4-step-time strong {
  color: var(--ink);
}

/* --- Photo pairs and reading layouts ------------------------------------ */
.g4-photo-pair {
  display: grid;
  gap: 1rem;
}
.g4-photo-pair--spaced {
  margin-top: 1.4rem;
}
.g4-photo-pair .media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-img);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.g4-photo-pair img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.g4-photo-pair figcaption {
  padding: .45rem .8rem;
  background: var(--paper);
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.45;
}

.g4-reading-layout {
  display: grid;
  gap: 1.6rem;
  align-items: start;
}
.g4-reading-layout--spaced {
  margin-top: 1.6rem;
}
.g4-side-card {
  display: grid;
  gap: 1rem;
}
.g4-side-card .quote-note {
  margin: 0;
}
.g4-side-card-inner {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: var(--shadow-xs);
}
.g4-side-card-inner .media {
  overflow: hidden;
  border-radius: var(--r-input);
}
.g4-side-card-inner img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.g4-side-card-inner figcaption {
  padding: .4rem .2rem 0;
  color: var(--muted);
  font-size: .74rem;
}
.g4-side-stat .stat-grid {
  grid-template-columns: 1fr;
}
.g4-side-stat .stat-card strong {
  font-size: 2rem;
}

/* --- Evidence cards ------------------------------------------------------ */
.g4-evidence-grid {
  display: grid;
  gap: 1rem;
}
.g4-evidence {
  padding: clamp(1.2rem, 2.4vw, 1.8rem);
  border: 1px solid var(--line);
  border-top: 5px solid var(--teal-700);
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.g4-evidence-tag {
  margin: 0 0 .45rem;
  color: var(--amber-700);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.g4-evidence h3 {
  margin: 0 0 .6rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}
.g4-evidence p {
  margin: 0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.6;
}
.g4-inline-photo {
  max-width: 900px;
  margin: 1.6rem 0 0;
}
.g4-inline-photo .media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-img);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.g4-inline-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.g4-inline-photo figcaption {
  padding: .45rem .8rem;
  background: var(--paper);
  color: var(--muted);
  font-size: .75rem;
}
.g4-source-note {
  max-width: 78ch;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.55;
}

/* --- Six checks / eight checks ----------------------------------------- */
.g4-check-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.g4-check {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.05rem, 2.4vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: var(--shadow-xs);
}
.g4-check-num {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-700);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}
.g4-check-body h3 {
  margin: .1rem 0 .5rem;
  font-size: clamp(1.12rem, 1.8vw, 1.32rem);
}
.g4-check-body p {
  margin: 0 0 .55rem;
  color: var(--muted);
  font-size: .97rem;
  line-height: 1.6;
}
.g4-check-body p:last-child {
  margin-bottom: 0;
}
.g4-ask {
  padding-top: .55rem;
  border-top: 1px dashed var(--line);
  color: var(--ink) !important;
  font-size: .9rem !important;
}
.g4-ask strong {
  color: var(--teal-700);
}

/* --- Red flags ----------------------------------------------------------- */
.g4-redflags {
  display: grid;
  gap: .8rem;
}
.g4-redflag {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: 1rem 1.1rem;
  border: 1px solid #EAD6C8;
  border-radius: var(--r-card);
  background: #FFF9F4;
}
.g4-redflag .icon {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--danger);
}
.g4-redflag p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.55;
}
.g4-redflag strong {
  color: var(--ink);
}

/* --- Aftercare plan list ------------------------------------------------- */
.g4-plan-list {
  display: grid;
  gap: .8rem;
}
.g4-plan-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
}
.g4-plan-num {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--teal-900);
  font-size: .82rem;
  font-weight: 750;
}
.g4-plan-item h3 {
  margin: 0 0 .3rem;
  font-size: 1.08rem;
}
.g4-plan-item p {
  margin: 0;
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.55;
}

/* --- Records ------------------------------------------------------------- */
.g4-record-grid {
  display: grid;
  gap: .8rem;
}
.g4-record {
  padding: 1.05rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: var(--shadow-xs);
}
.g4-record h3 {
  margin: 0 0 .35rem;
  font-size: 1.02rem;
}
.g4-record p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}

/* --- Printable template -------------------------------------------------- */
.g4-template {
  padding: clamp(1.2rem, 3vw, 2.2rem);
  border: 2px dashed #B9CEC6;
  border-radius: var(--r-img);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}
.g4-template-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.g4-template-head h2 {
  margin: .1rem 0 .5rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}
.g4-template-head p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}
.g4-template-head .btn {
  flex: 0 0 auto;
}
.g4-template-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.2rem;
}
.g4-template-group h3 {
  margin: 0 0 .6rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--line);
  color: var(--teal-900);
  font-family: var(--font-ui);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.g4-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(70px, 1.1fr);
  align-items: end;
  gap: .6rem;
  padding: .35rem 0;
}
.g4-field > span:first-child {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.4;
}
.g4-line {
  min-height: 22px;
  border-bottom: 1px solid #AFC6BD;
}
.g4-template-note {
  margin: 1.2rem 0 0;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.55;
}

/* --- Contact page -------------------------------------------------------- */
.g4-contact-grid {
  display: grid;
  gap: .9rem;
}
.g4-contact-card {
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: var(--shadow-xs);
}
.g4-contact-card--pending {
  border-color: #E6CB9A;
  background: #FFFBF2;
}
.g4-contact-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: .7rem;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--teal-700);
}
.g4-contact-card--pending .g4-contact-icon {
  background: var(--amber-100);
  color: var(--amber-700);
}
.g4-contact-card h3 {
  margin: 0 0 .25rem;
  font-size: 1.08rem;
}
.g4-contact-value {
  margin: 0 0 .45rem !important;
  color: var(--ink) !important;
  font-weight: 650;
  font-size: .98rem !important;
  overflow-wrap: anywhere;
}
.g4-contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}
.g4-contact-card a {
  color: var(--teal-700);
}
.g4-form-layout {
  display: grid;
  gap: 1.4rem;
  align-items: start;
}
.g4-form-side {
  display: grid;
  gap: 1rem;
}
.g4-form-side h3 {
  margin: 0 0 .7rem;
  font-size: 1.15rem;
}
.g4-next-list {
  display: grid;
  gap: .7rem;
  margin: 0 0 .8rem;
  padding: 0;
  list-style: none;
  counter-reset: g4next;
}
.g4-next-list li {
  position: relative;
  padding-left: 2rem;
  counter-increment: g4next;
}
.g4-next-list li::before {
  content: counter(g4next);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal-900);
  color: var(--paper);
  font-size: .72rem;
  font-weight: 750;
}
.g4-next-list strong {
  display: block;
  font-size: .9rem;
}
.g4-next-list span {
  display: block;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.45;
}
.g4-small {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.5;
}
.g4-emergency {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid #E6CB9A;
  border-left: 5px solid var(--amber-700);
  border-radius: var(--r-card);
  background: var(--amber-100);
}
.g4-emergency-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--amber-700);
}
.g4-emergency h2 {
  margin: 0 0 .4rem;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}
.g4-emergency p {
  max-width: 74ch;
  margin: 0;
  color: var(--muted);
  font-size: .97rem;
  line-height: 1.6;
}

/* --- Process / status / sources ----------------------------------------- */
.g4-process {
  display: grid;
  gap: .8rem;
  margin-bottom: 1.2rem;
}
.g4-process-step {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
}
.g4-process-step > span {
  flex: 0 0 auto;
  color: var(--amber-700);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}
.g4-process-step h3 {
  margin: 0 0 .25rem;
  font-size: 1.05rem;
}
.g4-process-step p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}

.g4-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1rem;
}
.g4-status-grid {
  display: grid;
  gap: .9rem;
}
.g4-status-card {
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--sage-50);
}
.g4-status-card--live {
  background: var(--paper);
  border-color: #BFD8CE;
}
.g4-status-tag {
  margin: 0 0 .35rem !important;
  color: var(--amber-700) !important;
  font-size: .7rem !important;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.g4-status-card--live .g4-status-tag {
  color: var(--ok) !important;
}
.g4-status-card h3 {
  margin: 0 0 .4rem;
  font-size: 1.1rem;
}
.g4-status-card p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}

.g4-source-grid {
  display: grid;
  gap: .9rem;
}
.g4-source {
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
}
.g4-source h3 {
  margin: 0 0 .4rem;
  font-size: 1.06rem;
}
.g4-source p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}
.g4-source a,
.g4-small a {
  color: var(--teal-700);
}

.g4-callout-strong {
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  border: 1px solid #E6CB9A;
  border-left: 5px solid var(--amber-700);
  border-radius: var(--r-card);
  background: var(--amber-100);
}
.g4-callout-strong p {
  margin: 0;
  color: var(--ink);
  font-size: .96rem;
  line-height: 1.6;
}

.g4-cost-table {
  margin-top: 1.5rem;
}

/* --- Responsive ---------------------------------------------------------- */
@media (min-width: 700px) {
  .g4-two-col {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
  .g4-photo-pair {
    grid-template-columns: 1fr 1fr;
  }
  .g4-redflags {
    grid-template-columns: 1fr 1fr;
  }
  .g4-record-grid {
    grid-template-columns: 1fr 1fr;
  }
  .g4-contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .g4-status-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .g4-template-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem 2rem;
  }
  .g4-evidence-grid {
    grid-template-columns: 1fr 1fr;
  }
  .g4-source-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .g4-hero {
    padding-top: clamp(3rem, 5vw, 4.6rem);
  }
  .g4-hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }
  .g4-hero-media img {
    aspect-ratio: 4 / 3;
  }
  .g4-reading-layout {
    grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr);
    gap: clamp(1.8rem, 3.5vw, 3rem);
  }
  .g4-role-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .g4-record-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .g4-form-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, .55fr);
    gap: 1.8rem;
  }
  .g4-plan-list {
    gap: .7rem;
  }
  .g4-detail-step {
    padding: clamp(1.3rem, 2.5vw, 2rem);
  }
}

@media (max-width: 420px) {
  .g4-answer {
    border-left-width: 4px;
  }
  .g4-check {
    flex-direction: column;
    gap: .7rem;
  }
  .g4-template-head .btn {
    width: 100%;
  }
  .g4-field {
    grid-template-columns: 1fr;
    gap: .15rem;
  }
  .g4-line {
    min-height: 18px;
  }
}

/* --- Print: the aftercare template on its own --------------------------- */
@media print {
  body.g4-printing {
    background: #fff;
  }
  body.g4-printing .announcement,
  body.g4-printing .site-header,
  body.g4-printing .site-footer,
  body.g4-printing .sticky-actions,
  body.g4-printing .breadcrumbs,
  body.g4-printing .skip-link {
    display: none !important;
  }
  body.g4-printing .g4-aftercare > section {
    display: none !important;
  }
  body.g4-printing .g4-aftercare > .g4-template-section {
    display: block !important;
    padding: 0 !important;
  }
  body.g4-printing .g4-template-section .container {
    max-width: none;
    padding: 12mm;
  }
  body.g4-printing .g4-template {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
  }
  body.g4-printing .g4-template .g4-print-hide {
    display: none !important;
  }
  body.g4-printing .g4-template-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px 22px;
  }
  body.g4-printing .g4-field {
    break-inside: avoid;
  }
  body.g4-printing .g4-template-group {
    break-inside: avoid;
  }
  body.g4-printing a[href]::after {
    content: "";
  }
}
