/* ==========================================================================
   ElevatteLife — 03. Components
   Buttons, navigation, cards, media, sections and page furniture.
   ========================================================================== */

/* ==========================================================================
   00. Icons
   Icons inherit currentColor and never collapse to the browser default size.
   ========================================================================== */
.icon {
  display: block;
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

/* ==========================================================================
   01. Buttons
   Proportional by design: content width + comfortable padding, never a slab.
   ========================================================================== */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  --btn-border: transparent;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--control-h);
  padding: 0.5rem var(--control-px);
  border: 1px solid var(--btn-border);
  border-radius: var(--r-pill);
  background-color: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.005em;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn__icon {
  width: 1em;
  height: 1em;
  flex: none;
  transition: transform var(--dur) var(--ease);
}

.btn:hover .btn__icon {
  transform: translateX(3px);
}

/* Loading state — set by main.js while a form submits --------------------- */
.btn__spinner {
  display: none;
  width: 1em;
  height: 1em;
  flex: none;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
}

.btn.is-loading {
  cursor: progress;
  opacity: 0.85;
  transform: none;
}

.btn.is-loading .btn__spinner {
  display: inline-block;
}

.btn.is-loading .btn__icon {
  display: none;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .btn__spinner {
    animation-duration: 1.6s;
  }
}

/* Variants ---------------------------------------------------------------- */
.btn--primary {
  --btn-bg: var(--brand);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  --btn-bg: var(--brand-mid);
  box-shadow: var(--shadow-md);
}

.btn--accent {
  --btn-bg: var(--accent);
  box-shadow: var(--shadow-sm);
}

.btn--accent:hover {
  --btn-bg: #DC6F2C;
  box-shadow: var(--shadow-md);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--brand);
  --btn-border: var(--line-brand);
}

.btn--outline:hover {
  --btn-bg: var(--brand-tint);
  --btn-border: rgba(11, 61, 40, 0.24);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--brand);
  --btn-border: transparent;
  padding-inline: 0.75rem;
}

.btn--ghost:hover {
  --btn-bg: var(--brand-tint);
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--brand-deep);
  box-shadow: var(--shadow-sm);
}

.btn--light:hover {
  --btn-bg: var(--p-green-100);
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-border: rgba(255, 255, 255, 0.32);
}

.btn--outline-light:hover {
  --btn-bg: rgba(255, 255, 255, 0.1);
  --btn-border: rgba(255, 255, 255, 0.5);
}

.btn--whatsapp {
  /* Darkened from WhatsApp's #128C7E so white text clears 4.5:1 (WCAG AA). */
  --btn-bg: #0E7065;
  --btn-fg: #fff;
}

.btn--whatsapp:hover {
  --btn-bg: #0B5A51;
}

.btn--sm {
  min-height: var(--control-h-sm);
  padding-inline: 1.125rem;
  font-size: var(--fs-caption);
}

.btn--lg {
  min-height: 52px;
  padding-inline: 1.75rem;
}

/* `block` is used only where the layout genuinely needs it (mobile forms). */
.btn--block {
  width: 100%;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

/* Inline arrow link ------------------------------------------------------- */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.arrow-link:hover {
  color: var(--brand-mid);
  border-bottom-color: currentColor;
}

.arrow-link svg {
  width: 0.95em;
  height: 0.95em;
  transition: transform var(--dur) var(--ease);
}

.arrow-link:hover svg {
  transform: translateX(3px);
}

.section--deep .arrow-link {
  color: var(--p-green-500);
}

/* ==========================================================================
   02. Eyebrow + section heads
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-caps);
  text-transform: uppercase;
  color: var(--brand-mid);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.eyebrow--dot::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 1;
}

.eyebrow--plain::before {
  display: none;
}

.eyebrow--invert {
  color: var(--p-green-500);
}

.section-head {
  max-width: 720px;
}

.section-head .eyebrow {
  margin-bottom: var(--space-4);
}

.section-head .lead {
  margin-top: var(--space-5);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--center .lead {
  margin-inline: auto;
}

.section-head--center .btn-group {
  justify-content: center;
}

.section-head--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
}

.section-head--split > .section-head__text {
  max-width: 640px;
}

/* ==========================================================================
   03. Site header + navigation
   ========================================================================== */
/* Frosted-glass bar, tinted a few percent of brand green (#0E7C40) into
   white — deliberately lighter and cooler than the hero's flat --bg wash
   underneath it, so the two never blend into one another. */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  /* White mixed with ~10% Light Green (#0E7C40) — a pale sage, not a flat
     colour match to the hero's --bg, kept opaque enough that the blur
     still reads as a distinct frosted panel rather than the hero showing
     through unchanged. */
  background: rgba(231, 242, 236, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  /* Flush with the viewport's top edge, so only the bottom corners can
     read as rounded — a soft rectangle, not a floating pill. */
  border-radius: 0 0 20px 20px;
  border-bottom: 1px solid rgba(11, 61, 40, 0.1);
  box-shadow: 0 12px 30px -24px rgba(3, 28, 16, 0.35);
  transition: box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.site-header.is-stuck {
  background: rgba(231, 242, 236, 0.94);
  box-shadow: 0 1px 0 rgba(3, 28, 16, 0.03), 0 10px 30px -18px rgba(3, 28, 16, 0.4);
}

.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-6);
  min-height: 96px;
}

/* Brand ------------------------------------------------------------------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--brand-deep);
  flex: none;
}

.brand__logo {
  display: block;
  width: auto;
  height: 64px;
  flex: none;
  transition: height var(--dur) var(--ease);
}

.brand__logo--drawer {
  height: 40px;
}

/* Desktop nav — centred in the middle grid column, matching the reference's
   logo-left / links-centred / actions-right structure. ------------------- */
.nav-primary {
  justify-self: center;
}

/* Links grouped into their own rounded capsule, subtly tinted so it reads
   as a contained pill sitting inside the outer header bar. */
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(11, 61, 40, 0.055);
  border: 1px solid rgba(11, 61, 40, 0.07);
  border-radius: 5px;
  padding: 0.4rem;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.8rem 1.05rem;
  border-radius: 5px;
  font-size: 0.99rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.01em;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease),
    transform var(--dur-fast) var(--ease);
}

.nav-link:hover {
  color: var(--brand);
  background-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.03);
}

.nav-link[aria-current="page"] {
  color: var(--brand);
  font-weight: var(--fw-bold);
  background-color: rgba(255, 255, 255, 0.7);
}

/* Subtle underline indicator — grows in for the current page only. */
.nav-link::after {
  content: "";
  position: absolute;
  left: 1.05rem;
  right: 1.05rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 2px;
  /* background: var(--brand-mid); */
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}

.nav-link[aria-current="page"]::after,
.nav-item.is-current > .nav-link::after {
  transform: scaleX(1);
}

.nav-item {
  position: relative;
}

.nav-item.is-current > .nav-link {
  color: var(--brand);
  font-weight: var(--fw-bold);
  background-color: rgba(255, 255, 255, 0.7);
}

.nav-link__caret {
  width: 0.75em;
  height: 0.75em;
  margin-top: 1px;
  transition: transform var(--dur) var(--ease);
}

.nav-item.is-open > .nav-link .nav-link__caret {
  transform: rotate(180deg);
}

.nav-item.is-open > .nav-link {
  color: var(--brand);
  background-color: var(--brand-tint);
}

/* Dropdown panel */
.nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 288px;
  padding: var(--space-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
    visibility var(--dur);
}

.nav-item.is-open .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-menu__item {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  color: var(--ink);
  transition: background-color var(--dur-fast) var(--ease);
}

.nav-menu__item:hover {
  background-color: var(--bg-tint);
}

.nav-menu__title {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--brand-deep);
}

.nav-menu__desc {
  display: block;
  margin-top: 2px;
  font-size: var(--fs-caption);
  color: var(--ink-faint);
  line-height: 1.45;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: none;
}

.nav-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r-pill);
  background-color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(11, 61, 40, 0.14);
  color: var(--brand);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    transform var(--dur-fast) var(--ease);
}

.nav-icon-link:hover {
  background-color: var(--brand-tint);
  border-color: rgba(11, 61, 40, 0.22);
  transform: translateY(-1px);
}

.nav-icon-link svg {
  width: 19px;
  height: 19px;
}

/* The one solid element in the bar — kept quiet, never competing with the logo. */
.nav-actions .btn--primary {
  min-height: 46px;
  padding-inline: 1.6rem;
  letter-spacing: 0.01em;
}

/* Hamburger --------------------------------------------------------------- */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line-brand);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.6);
  color: var(--brand);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.nav-toggle:hover {
  background-color: var(--brand-tint);
  border-color: rgba(11, 61, 40, 0.22);
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 20px;
  height: 12px;
}

.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease),
    top var(--dur) var(--ease);
}

.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  top: 5px;
  transform: rotate(-45deg);
}

/* ==========================================================================
   04. Mobile drawer
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(3, 28, 16, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur);
}

body.drawer-open .drawer-overlay {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: var(--z-drawer);
  width: min(360px, 88vw);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--dur) var(--ease-out), visibility var(--dur);
  overflow-y: auto;
  overscroll-behavior: contain;
}

body.drawer-open .drawer {
  transform: translateX(0);
  visibility: visible;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--line);
}

.drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  color: var(--brand);
  border: 1px solid var(--line-brand);
}

.drawer__close svg {
  width: 18px;
  height: 18px;
}

.drawer__nav {
  padding: var(--space-4) var(--space-3);
  flex: 1;
}

.drawer__link,
.drawer__group-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  width: 100%;
  padding: 0.85rem var(--space-3);
  border-radius: var(--r-sm);
  font-size: 1rem;
  font-weight: var(--fw-medium);
  color: var(--ink);
  text-decoration: none;
  text-align: left;
}

/* Plain list: no bullets. */
.drawer__nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer__link:hover,
.drawer__group-btn:hover {
  background: var(--bg-tint);
}

/* Current page: green wash + green bar on the left, so it's easy to spot. */
.drawer__link[aria-current="page"] {
  color: var(--brand);
  font-weight: var(--fw-semibold);
  background: var(--bg-tint);
  box-shadow: inset 3px 0 0 var(--brand);
}

.drawer__sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease);
}

.drawer__sub[data-open="true"] {
  grid-template-rows: 1fr;
}

.drawer__sub-inner {
  overflow: hidden;
}

.drawer__sub-link {
  display: block;
  padding: 0.7rem var(--space-3) 0.7rem 1.5rem;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  text-decoration: none;
  border-left: 2px solid var(--line);
  margin-left: var(--space-3);
}

.drawer__sub-link:hover {
  color: var(--brand);
  border-left-color: var(--brand-mid);
}

.drawer__group-btn .nav-link__caret {
  width: 0.9em;
  height: 0.9em;
  color: var(--ink-faint);
  transition: transform var(--dur) var(--ease);
}

.drawer__group-btn[aria-expanded="true"] .nav-link__caret {
  transform: rotate(180deg);
}

.drawer__foot {
  padding: var(--space-5);
  border-top: 1px solid var(--line);
  background: var(--bg-tint);
  display: grid;
  gap: var(--space-3);
}

.drawer__contact {
  display: grid;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}

.drawer__contact a {
  text-decoration: none;
  /* Comfortable tap height on phones (26px bare line -> ~44px target). */
  display: block;
  padding: 0.55rem 0;
  margin: -0.3rem 0;
  color: var(--brand);
}

/* ==========================================================================
   05. Media frames
   Architectural geometry: soft frames, intentional crops, no arty masks.
   ========================================================================== */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-media);
  background: linear-gradient(150deg, var(--brand-tint), var(--brand-tint-strong));
  aspect-ratio: 4 / 3;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--dur-slow) var(--ease-out);
}

.media--portrait { aspect-ratio: 4 / 5; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }
.media--hero { aspect-ratio: 5 / 4; }
.media--banner { aspect-ratio: 21 / 9; }

.media--notch {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 15% 100%, 0 82%);
}

.media--zoomable:hover img {
  transform: scale(1.03);
}

.media__caption {
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  right: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--r-sm);
  background: rgba(3, 28, 16, 0.62);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: var(--fs-caption);
  line-height: 1.5;
}

/* Decorative offset rule — "architectural geometry" without heavy ornament. */
.media-stack {
  position: relative;
}

.media-stack::after {
  content: "";
  position: absolute;
  inset: auto -14px -14px auto;
  width: 96px;
  height: 96px;
  border-right: 1px solid rgba(11, 61, 40, 0.18);
  border-bottom: 1px solid rgba(11, 61, 40, 0.18);
  border-radius: 0 0 var(--r-md) 0;
  pointer-events: none;
}

.media-stack--accent::after {
  border-color: rgba(241, 131, 62, 0.45);
}

/* Floating info card that sits over a media frame */
.media-badge {
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  display: grid;
  gap: 2px;
  padding: 0.85rem 1.05rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.media-badge__label {
  font-size: 0.625rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.media-badge__value {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: var(--fw-semibold);
  color: var(--brand-deep);
}

/* ==========================================================================
   06. Split / grid layouts
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}

.split--top {
  align-items: start;
}

.split--media-left > .split__media {
  order: -1;
}

.split__body {
  max-width: 34rem;
}

/* About > My Story: show the whole photo (no crop); width keeps it from getting too tall. */
.founder-media .media {
  aspect-ratio: auto;
  max-width: 26rem;
}

.founder-media .media img {
  height: auto;
}

/* Desktop: photo column only as wide as the photo, so the text sits beside it. */
@media (min-width: 1025px) {
  .split--founder {
    grid-template-columns: 26rem minmax(0, 1fr);
  }
}

.split__body .btn-group,
.split__body .arrow-link {
  margin-top: var(--space-8);
}

.split--wide-media {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

/* Form plus supporting column */
.split--form {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: start;
}

/* QR / payment placeholder — no invented payment data */
.qr-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  gap: var(--space-3);
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1 / 1;
  padding: var(--space-5);
  border: 1px dashed var(--line-mid);
  border-radius: var(--r-md);
  background: var(--bg-tint);
  text-align: center;
}

.qr-placeholder svg {
  width: 34px;
  height: 34px;
  color: var(--neutral-400);
}

.qr-placeholder span {
  font-size: var(--fs-caption);
  color: var(--ink-faint);
  line-height: 1.5;
}

/* Payment step flow */
.pay-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.pay-flow__step {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--brand-deep);
}

.pay-flow__step em {
  font-style: normal;
  color: var(--brand-soft);
  font-variant-numeric: tabular-nums;
}

.grid {
  display: grid;
  gap: clamp(1rem, 0.5rem + 1.4vw, 1.75rem);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
}

.grid--auto-sm {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ==========================================================================
   07. Cards
   ========================================================================== */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.375rem, 1rem + 0.9vw, 1.875rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.card--hoverable:hover {
  border-color: var(--line-brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-5);
  border-radius: var(--r-sm);
  background: var(--brand-tint);
  color: var(--brand);
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

.card__icon--sm {
  width: 38px;
  height: 38px;
  margin-bottom: var(--space-4);
}

.card__icon--accent {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.card__icon--gold {
  background: var(--gold-soft);
  color: var(--yellow-800);
}

.card__title {
  font-size: 1.125rem;
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.012em;
  color: var(--brand-deep);
}

.card__text {
  margin-top: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  line-height: 1.68;
}

.card__footer {
  margin-top: auto;
  padding-top: var(--space-6);
}

.card--flat {
  background: var(--bg-tint);
  border-color: transparent;
}

.card--ghost {
  background: transparent;
  border-color: var(--line);
}

/* Numbered service card --------------------------------------------------- */
.card__index {
  display: inline-block;
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  color: var(--brand-mid);
  font-variant-numeric: tabular-nums;
}

.card__list {
  margin-top: var(--space-4);
  display: grid;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}

.card__list li {
  position: relative;
  padding-left: 1.1rem;
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-soft);
}


/* Feature tile (icon + title + copy, tinted) ------------------------------ */
.tile {
  padding: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}

.tile--tint {
  background: var(--bg-tint);
  border-color: transparent;
}

.tile h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: var(--fw-semibold);
  letter-spacing: -0.01em;
}

.tile p {
  margin-top: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  line-height: 1.65;
}

.tile__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: var(--space-4);
  border-radius: var(--r-xs);
  background: var(--brand);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  font-variant-numeric: tabular-nums;
}

/* Check list (deliverables, inclusions) ----------------------------------- */
.check-list {
  display: grid;
  gap: 0.6rem;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  line-height: 1.6;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4 6.2 11.6 13 4.6' fill='none' stroke='%230E7C40' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.check-list--invert {
  color: var(--ink-invert-soft);
}

.check-list--invert li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4 6.2 11.6 13 4.6' fill='none' stroke='%2341DD9C' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* File input ---------------------------------------------------------------- */
.input[type="file"] {
  padding: 0.55rem 0.7rem;
  font-size: var(--fs-caption);
  color: var(--ink-muted);
  background: var(--bg-tint);
  cursor: pointer;
}

.input[type="file"]::file-selector-button {
  margin-right: 0.7rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line-mid);
  border-radius: var(--r-xs);
  background: var(--surface);
  color: var(--brand);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  cursor: pointer;
}

/* Checkbox group ------------------------------------------------------------ */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.6rem 1rem;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: var(--fs-sm);
  color: var(--ink-2);
  cursor: pointer;
}

.checkbox input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand-mid);
}

/* Principle rows (Why ElevatteLife) --------------------------------------- */
.principle {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: var(--space-5);
  padding-block: var(--space-6);
  border-top: 1px solid var(--line);
}

.principle:first-child {
  border-top: 0;
}

.principle__num {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: var(--fw-semibold);
  color: var(--brand-soft);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.principle__title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  color: var(--brand-deep);
}

.principle__text {
  margin-top: 0.375rem;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  line-height: 1.68;
}

/* Report feature card (image + body) ------------------------------------- */
.report-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.report-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.report-card .media {
  border-radius: 0;
  aspect-ratio: 16 / 10;
}

.report-card__body {
  display: flex;
  flex-direction: column;
  padding: clamp(1.375rem, 1rem + 1vw, 2rem);
}

.report-card__body h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
}

.report-card__body p {
  margin-top: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  line-height: 1.68;
}

.report-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: var(--space-5);
}

.report-card__footer {
  margin-top: auto;
  padding-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

/* ==========================================================================
   08. Badges, chips, pills
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 0.6875rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.4;
}

.badge--accent {
  background: var(--accent-soft);
  color: var(--orange-900);
}

.badge--gold {
  background: var(--gold-soft);
  color: var(--yellow-900);
}

.badge--outline {
  background: transparent;
  border: 1px solid var(--line-mid);
  color: var(--ink-muted);
}

.badge--invert {
  background: rgba(255, 255, 255, 0.12);
  color: var(--p-green-100);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: var(--fs-caption);
  color: var(--ink-muted);
  line-height: 1.4;
}

/* Founder identity caption, under the portrait ---------------------------- */
.founder-id__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: var(--fw-semibold);
  color: var(--brand-deep);
}

.founder-id__role {
  margin-top: 0.2rem;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}

/* Key-fact strip used under hero / about ---------------------------------- */
.fact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-5);
  padding-block: var(--space-6);
  border-top: 1px solid var(--line);
}

.fact {
  display: grid;
  gap: 0.25rem;
}

.fact__label {
  font-size: 0.6875rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.fact__value {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: var(--fw-semibold);
  color: var(--brand-deep);
}

/* ==========================================================================
   09. Hero — full-bleed background photo + gradient overlay
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(600px, 88vh, 840px);
  padding-block: clamp(2rem, 4vw, 4rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Deep Green solid on the left, fading to fully transparent by ~58% —
   the only background treatment: the photo and this gradient. */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--brand) 0%,
    var(--brand) 28%,
    rgba(11, 61, 40, 0.86) 40%,
    rgba(11, 61, 40, 0.4) 52%,
    rgba(11, 61, 40, 0) 60%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__body {
  max-width: min(50%, 34rem);
}

.hero__eyebrow {
  margin-bottom: var(--space-4);
  color: var(--p-green-100);
}

.hero__title {
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--tr-display);
  color: var(--ink-invert);
}

.hero__title span {
  display: block;
}

.hero__title em {
  font-style: italic;
  font-weight: var(--fw-medium);
  color: var(--gold);
}

.hero__lead {
  margin-top: var(--space-6);
  font-size: var(--fs-lead);
  color: var(--ink-invert-soft);
  max-width: 33rem;
}

.hero .btn-group {
  margin-top: var(--space-8);
}

/* Visible white border; fills solid white with Deep Green text on hover. */
.hero .btn--outline-light {
  --btn-border: rgba(255, 255, 255, 0.7);
  border-width: 2px;
}

.hero .btn--outline-light:hover {
  --btn-bg: #fff;
  --btn-fg: var(--brand-deep);
  --btn-border: #fff;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: var(--space-8);
  font-size: var(--fs-caption);
  color: var(--ink-invert-soft);
}

.hero__note svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--p-green-100);
}

/* Badge: bottom-left, sitting on the darkened part of the overlay. */
.hero__badge {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  bottom: clamp(1.5rem, 4vw, 2.75rem);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1.1rem;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
}

.hero__badge-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
}

.hero__badge-icon svg {
  width: 16px;
  height: 16px;
}

.hero__badge-text {
  display: grid;
  gap: 2px;
}

.hero__badge-label {
  font-size: 0.625rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.hero__badge-value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  color: var(--brand-deep);
}

/* Tablet: darken more of the image so text stays clearly readable. */
@media (max-width: 900px) {
  .hero__body {
    max-width: min(64%, 30rem);
  }

  .hero__overlay {
    background: linear-gradient(
      90deg,
      var(--brand) 0%,
      var(--brand) 42%,
      rgba(11, 61, 40, 0.85) 58%,
      rgba(11, 61, 40, 0.35) 72%,
      rgba(11, 61, 40, 0) 82%
    );
  }
}

/* Mobile: a near-full dark wash, not just a gradient, so text is legible
   edge to edge on a narrow, stacked layout. */
@media (max-width: 600px) {
  .hero {
    min-height: clamp(560px, 92vh, 760px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    padding-bottom: clamp(2.5rem, 8vw, 3.5rem);
  }

  .hero__body {
    max-width: 100%;
  }

  .hero__overlay {
    background: linear-gradient(
        180deg,
        rgba(11, 61, 40, 0.55) 0%,
        rgba(11, 61, 40, 0.86) 38%,
        var(--brand) 100%
      ),
      linear-gradient(90deg, rgba(11, 61, 40, 0.55) 0%, rgba(11, 61, 40, 0.55) 100%);
  }

  .hero__badge {
    position: static;
    flex-wrap: wrap;
    width: fit-content;
    max-width: calc(100% - (2 * var(--gutter)));
    margin: var(--space-8) var(--gutter) 0;
  }
}

/* ==========================================================================
   10. Pillar strip (home page divider under hero)
   ========================================================================== */
.pillar-strip {
  border-block: 1px solid var(--line);
  background: var(--bg-tint);
}

.pillar-strip__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: var(--space-5) var(--space-6);
  padding-block: var(--space-6);
}

.pillar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}

.pillar svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--brand-mid);
}

.pillar strong {
  color: var(--brand-deep);
  font-weight: var(--fw-semibold);
}

/* ==========================================================================
   10b. Home — editorial hero
   Asymmetric composition: oversized display headline left, an architectural
   frame (not a blob, not a stock rounded-rect) bleeding past the grid on the
   right. The compass icon is reused here — and again in the principles list
   and the CTA — as the site's one recurring signature mark.
   ========================================================================== */
.home-hero {
  position: relative;
  padding-block: clamp(2.5rem, 2rem + 2vw, 4.5rem) clamp(1.5rem, 1rem + 2vw, 3rem);
  /* Fresh botanical green — the brand's visual atmosphere, not a wash. */
  background-color: var(--bg);
  overflow: clip;
}

/* Soft brand-green "haze" at the header/hero seam — two blurred, overlapping
   blobs in Deep/Light Green rather than a flat gradient band, so the
   transition reads as drifting mist, not a hard edge. z-index:-1 keeps it
   a background layer, always behind the hero's actual content. */
.home-hero::before {
  content: "";
  position: absolute;
  inset: -10% -5% auto -5%;
  height: clamp(240px, 32vw, 380px);
  background:
    radial-gradient(55% 100% at 28% 15%, rgba(11, 61, 40, 0.18), transparent 70%),
    radial-gradient(50% 90% at 78% 5%, rgba(14, 124, 64, 0.14), transparent 72%),
    linear-gradient(to bottom, rgba(11, 61, 40, 0.08), transparent);
  filter: blur(52px);
  pointer-events: none;
  z-index: -1;
}

/* Home section colour rhythm — the page moves through distinct green
   environments: light-green hero → white ribbon → deeper-green intro →
   white services → very-light-green story → dark-green CTA → white footer. */
#what-is-elevattelife {
  background-color: var(--bg-tint);
}

#our-story {
  background-color: var(--bg-warm);
}

/* Decorative vertical tagline, hugging the left edge — an architectural
   "drawing margin" detail, not a repeated on-screen headline. */
.home-hero__vertical-tag {
  position: absolute;
  left: var(--space-3);
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-caps);
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .home-hero__vertical-tag {
    display: none;
  }
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 3vw, 3.5rem);
}

.home-hero__eyebrow-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-5);
}

.home-hero__motif {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-mid);
  color: var(--accent);
  flex: none;
}

.home-hero__motif svg {
  width: 15px;
  height: 15px;
}

.home-hero__label {
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-caps);
  text-transform: uppercase;
  color: var(--ink-muted);
}

.home-hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  letter-spacing: var(--tr-display);
  color: var(--brand-deep);
}

.home-hero__title span {
  display: block;
  overflow: hidden;
}

.home-hero__title span > span {
  display: block;
}

.home-hero__title em {
  font-style: italic;
  font-weight: var(--fw-medium);
  color: var(--brand-mid);
}

.home-hero__lead {
  margin-top: var(--space-5);
  max-width: 30rem;
  font-size: var(--fs-lead);
  color: var(--ink-muted);
}

.home-hero .btn-group {
  margin-top: var(--space-8);
}

/* Location/credential line — a plain text signal, never a fabricated rating
   or stock avatar photo. */
.home-hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-8);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--ink-2);
}

.home-hero__meta svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* Yantra stage — the hero art is a transparent, glowing Sri Yantra, so it
   sits whole (never cropped) on a deep-green disc that lets the gold glow
   read. A thin offset ring echoes the old drafting-guide rule. */
.home-hero__media {
  position: relative;
  width: 100%;
  max-width: min(30rem, 68vh);
  margin-inline: auto;
}

.home-hero__frame {
  position: relative;
  aspect-ratio: 1;
}

.home-hero__frame::before {
  content: "";
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(252, 192, 19, 0.16), transparent 58%),
    radial-gradient(circle at 50% 45%, var(--brand) 0%, var(--brand-deep) 78%);
  outline: 1px solid var(--line-mid);
  outline-offset: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 0;
}

.home-hero__frame-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 7%;
}

.home-hero__frame-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(252, 192, 19, 0.35));
  animation: yantra-spin 160s linear infinite;
}

@keyframes yantra-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__frame-img img {
    animation: none;
  }
}

/* Floating annotation — replaces the old circular "discover more" badge with
   a small editorial caption card, overlapping the frame's bottom-left. */
.home-hero__annotation {
  position: absolute;
  left: clamp(-1rem, -3vw, -1.5rem);
  bottom: clamp(1.5rem, 4vw, 2.25rem);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 15rem;
  padding: 0.9rem 1.1rem;
  background: var(--surface);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  transition: transform var(--dur) var(--ease);
}

.home-hero__annotation:hover {
  transform: translateY(-3px);
}

.home-hero__annotation-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
}

.home-hero__annotation-icon svg {
  width: 16px;
  height: 16px;
}

.home-hero__annotation-text {
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  line-height: 1.4;
  color: var(--ink-2);
}

/* Cardinal mark — a small rotated compass tick, top-right of the frame,
   floating half outside it. Purely decorative brand geometry. */
.home-hero__mark {
  position: absolute;
  top: clamp(-0.75rem, -2vw, -1rem);
  right: clamp(0.5rem, 3vw, 1.5rem);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-deep);
  color: var(--gold);
  box-shadow: var(--shadow-md);
}

.home-hero__mark svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 860px) {
  .home-hero__grid {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 6vw, 2.5rem);
  }

  .home-hero__media {
    max-width: 22rem;
  }

  .home-hero__annotation {
    left: 0.75rem;
  }

  .home-hero .btn-group .btn {
    width: 100%;
  }
}

/* Marquee row ----------------------------------------------------------------
   Sits directly under the hero, bleeds off both viewport edges (no container
   padding) and loops continuously; pauses on hover/focus. Uses the stronger
   sage tint (same as the nav pill) so it reads as a distinct band under the
   lighter hero wash above it. */
.marquee {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  padding-block: var(--space-6);
  padding-left: var(--gutter);
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.marquee__label {
  flex: none;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.2;
  color: var(--brand-mid);
  padding-right: clamp(1.5rem, 1rem + 2vw, 3rem);
  border-right: 1px solid var(--line);
}

/* The track animates inside this dedicated, clipped viewport — never in
   the same overflow box as the label, so a looping pass can never slide
   marquee content underneath the fixed label. */
.marquee__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(1.75rem, 1rem + 2vw, 3rem);
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex: none;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--ink-2);
  white-space: nowrap;
}

.marquee__item img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  border: 1px solid var(--line-mid);
}

@media (max-width: 640px) {
  .marquee__label {
    display: none;
  }
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

/* ==========================================================================
   11. Story — sticky scroll narrative
   Left column is pinned (image + big index numeral + progress rule) while
   the right column's steps scroll past. main.js toggles `.is-active` on the
   step whose midpoint crosses the viewport centre and mirrors that index
   onto the sticky panel; CSS alone keeps everything correct with JS off,
   since every step is simply readable in document order.
   ========================================================================== */
#our-story {
  position: relative;
  overflow: clip;
}

#our-story::after {
  content: "";
  position: absolute;
  bottom: clamp(-2rem, -3vw, -1rem);
  right: clamp(-2rem, -3vw, -1rem);
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  border: 1px solid var(--line-mid);
  opacity: 0.5;
  pointer-events: none;
}

.story-scroll {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.story-scroll__sticky {
  position: sticky;
  top: clamp(5rem, 4rem + 4vw, 7rem);
}

.story-scroll__frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-xs) clamp(2.5rem, 2rem + 3vw, 4rem) var(--r-xs) var(--r-xs);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.story-scroll__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-scroll__index {
  position: absolute;
  left: var(--space-6);
  bottom: var(--space-6);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  font-weight: var(--fw-semibold);
  line-height: 1;
  color: #fff;
}

.story-scroll__index span {
  display: block;
  font-family: var(--font-body);
  margin-top: 0.35rem;
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-caps);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.story-scroll__progress {
  margin-top: var(--space-5);
  height: 2px;
  background: var(--line);
  border-radius: var(--r-pill);
  overflow: hidden;
}

.story-scroll__progress-bar {
  height: 100%;
  width: calc((var(--story-active, 0) + 1) / var(--story-total, 6) * 100%);
  background: var(--accent);
  transition: width var(--dur-slow) var(--ease-out);
}

.story-scroll__steps {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: var(--space-6);
}

/* Thin spine running behind the step numbers — the same architectural
   "drafting line" language as the hero's arch frame, just vertical here. */
.story-scroll__steps::before {
  content: "";
  position: absolute;
  left: 0;
  top: var(--space-8);
  bottom: var(--space-8);
  width: 1px;
  background: var(--line);
}

.story-scroll__step {
  position: relative;
  padding-block: var(--space-8);
  border-top: 1px solid var(--line);
  opacity: 0.45;
  transition: opacity var(--dur-slow) var(--ease-out);
}

.story-scroll__step::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--space-6) - 3px);
  top: calc(var(--space-8) + 0.6em);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-mid);
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.story-scroll__step.is-active::before {
  background: var(--accent);
  transform: scale(1.3);
}

.story-scroll__step:last-child {
  border-bottom: 1px solid var(--line);
}

.story-scroll__step.is-active {
  opacity: 1;
}

.story-scroll__step-head {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
}

.story-scroll__step-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: var(--fw-semibold);
  color: var(--line-mid);
  font-variant-numeric: tabular-nums;
  transition: color var(--dur) var(--ease);
}

.story-scroll__step.is-active .story-scroll__step-num {
  color: var(--accent);
}

.story-scroll__step-label {
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-caps);
  text-transform: uppercase;
  color: var(--ink-faint);
}

.story-scroll__step-title {
  margin-top: var(--space-2);
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: var(--fw-semibold);
  color: var(--brand-deep);
}

.story-scroll__step-text {
  margin-top: var(--space-2);
  max-width: 34rem;
  color: var(--ink-muted);
}

@media (max-width: 860px) {
  .story-scroll {
    grid-template-columns: 1fr;
  }

  .story-scroll__sticky {
    position: static;
    max-width: 18rem;
    margin-inline: auto;
  }
}

/* ==========================================================================
   11b. Principles — numbered editorial list (replaces a 4-card grid)
   ========================================================================== */
/* Faint architectural ring — a quiet echo of the hero's compass mark,
   placed in the section's own whitespace rather than over any content. */
#what-is-elevattelife {
  position: relative;
  overflow: clip;
}

#what-is-elevattelife::before {
  content: "";
  position: absolute;
  top: clamp(-3rem, -4vw, -1.5rem);
  left: clamp(-3rem, -4vw, -1.5rem);
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  border: 1px solid var(--line-mid);
  opacity: 0.6;
  pointer-events: none;
}

.intro-split {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 0.8fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 3vw, 3.5rem);
  align-items: stretch;
}

.intro-split__media {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: clamp(2rem, 1.5rem + 2vw, 3rem) var(--r-xs) var(--r-xs) var(--r-xs);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.intro-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Compass artwork: a big card that stretches to match the text columns'
   height, matted with padding and a soft border/shadow so the whole wheel
   reads as a deliberate framed diagram rather than a cropped, busy corner. */
.intro-split__media--compass {
  aspect-ratio: auto;
  min-height: 22rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--surface);
  border-radius: var(--r-md);
  border: 1px solid var(--line-mid);
  box-shadow: var(--shadow-lg);
}

.intro-split__media--compass img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .intro-split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  }

  .intro-split__media {
    display: none;
  }
}

@media (max-width: 860px) {
  .intro-split {
    grid-template-columns: 1fr;
  }
}

.principles {
  display: grid;
}

.principle {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: var(--space-5);
  align-items: baseline;
  padding-block: var(--space-6);
  border-top: 1px solid var(--line);
  border-left: 2px solid transparent;
  padding-left: var(--space-5);
  margin-left: calc(var(--space-5) * -1);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.principle:last-child {
  border-bottom: 1px solid var(--line);
}

.principle:hover,
.principle:focus-within {
  border-left-color: var(--accent);
  background: var(--bg-tint);
}

.principle__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--fw-semibold);
  color: var(--line-mid);
  font-variant-numeric: tabular-nums;
  transition: color var(--dur) var(--ease);
}

.principle:hover .principle__num,
.principle:focus-within .principle__num {
  color: var(--accent);
}

.principle__title {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: var(--fw-semibold);
  color: var(--brand-deep);
}

.principle__text {
  margin-top: 0.35rem;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  line-height: 1.65;
  max-width: 30rem;
}

@media (max-width: 640px) {
  .principle {
    grid-template-columns: 2.25rem minmax(0, 1fr);
  }
}

/* ==========================================================================
   12. Numbered steps (process)
   ========================================================================== */
.steps {
  counter-reset: step;
  display: grid;
  gap: clamp(1rem, 0.6rem + 1vw, 1.5rem);
}

.step {
  position: relative;
  padding: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: var(--space-4);
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  font-variant-numeric: tabular-nums;
}

.step h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: var(--fw-semibold);
}

.step p {
  margin-top: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  line-height: 1.66;
}

/* ==========================================================================
   13. Holistic system — "You + Your Numbers + Your Space"
   ========================================================================== */
.system {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 0.5rem + 1.6vw, 2rem);
  align-items: stretch;
}

.system__node {
  position: relative;
  padding: clamp(1.25rem, 1rem + 0.9vw, 1.75rem);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-invert);
  backdrop-filter: blur(6px);
}

.system__node::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: calc(clamp(1rem, 0.5rem + 1.6vw, 2rem) / -2 - 0.42em);
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--p-green-500);
  opacity: 0.8;
}

.system__node:last-child::after {
  display: none;
}

.system__eyebrow {
  font-size: 0.6875rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--p-green-500);
}

.system__title {
  margin-top: var(--space-3);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: var(--fw-semibold);
  color: #fff;
}

.system__list {
  margin-top: var(--space-4);
  display: grid;
  gap: 0.45rem;
  font-size: var(--fs-sm);
  color: var(--ink-invert-soft);
}

.system__list li {
  position: relative;
  padding-left: 1rem;
}

.system__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--p-green-500);
}

.system__result {
  margin-top: clamp(1.5rem, 1rem + 1.4vw, 2.5rem);
  padding-top: var(--space-8);
  border-top: 1px solid var(--line-invert);
  text-align: center;
}

.system__result p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 1.1vw, 1.875rem);
  color: #fff;
  letter-spacing: -0.01em;
}

.system__result span {
  display: block;
  margin-top: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--ink-invert-soft);
}

/* ==========================================================================
   14. Brand moment — Understand. Align. Elevate.
   ========================================================================== */
.brand-moment {
  position: relative;
  background: var(--brand-deep);
  color: var(--ink-invert-soft);
  overflow: hidden;
}

.brand-moment::before {
  content: "";
  position: absolute;
  inset: -40% 55% 20% -20%;
  background: radial-gradient(
    closest-side,
    rgba(65, 221, 156, 0.2),
    rgba(65, 221, 156, 0) 70%
  );
  pointer-events: none;
}

.brand-moment::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% 60%;
  background: radial-gradient(
    closest-side,
    rgba(241, 131, 62, 0.16),
    rgba(241, 131, 62, 0) 70%
  );
  pointer-events: none;
}

.brand-moment__inner {
  position: relative;
  text-align: center;
}

.brand-moment__words {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1.25rem;
  margin-block: var(--space-8);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1rem + 3.4vw, 3.25rem);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-display);
  color: #fff;
  line-height: 1.1;
}

.brand-moment__words em {
  font-style: normal;
  color: var(--p-green-500);
}

.brand-moment__words i {
  font-style: normal;
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.6em;
}

.brand-moment p {
  max-width: 46rem;
  margin-inline: auto;
}

.brand-moment .btn-group {
  justify-content: center;
  margin-top: var(--space-10);
}

/* ==========================================================================
   15. CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--brand);
  color: var(--ink-invert-soft);
}

.cta-band::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -12%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(175, 253, 212, 0.14);
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  align-items: center;
}

.cta-band h2 {
  color: #fff;
}

.cta-band h2 em {
  font-style: italic;
  font-weight: var(--fw-medium);
  color: var(--accent);
}

.cta-band p {
  margin-top: var(--space-4);
  max-width: 44rem;
}

.cta-band .btn-group {
  justify-content: flex-end;
}

.cta-band__note {
  margin-top: var(--space-5);
  font-size: var(--fs-caption);
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   16. Forms
   ========================================================================== */
.form {
  display: grid;
  gap: var(--space-5);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field > label,
.field > .field__label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--ink-2);
}

.field__req {
  color: var(--accent-deep);
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line-mid);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: var(--fs-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.textarea {
  min-height: 132px;
  resize: vertical;
}

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23535754' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 11px;
  padding-right: 2.4rem;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--neutral-500);
}

.input:hover,
.select:hover,
.textarea:hover {
  border-color: var(--neutral-400);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--brand-mid);
  box-shadow: var(--shadow-focus);
}

.field__hint {
  font-size: var(--fs-caption);
  color: var(--ink-faint);
  line-height: 1.5;
}

.field__error {
  display: none;
  font-size: var(--fs-caption);
  color: #A3341C;
  line-height: 1.5;
}

.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea {
  border-color: #C4482C;
  box-shadow: 0 0 0 3px rgba(196, 72, 44, 0.14);
}

.field.has-error .field__error {
  display: block;
}

.form-alert {
  display: none;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  line-height: 1.6;
  border: 1px solid transparent;
}

.form-alert.is-visible {
  display: block;
}

.form-alert--success {
  background: var(--brand-tint);
  border-color: rgba(11, 61, 40, 0.16);
  color: var(--brand-deep);
}

.form-alert--error {
  background: #FDF1EE;
  border-color: rgba(196, 72, 44, 0.24);
  color: #7A2A19;
}

.form-support {
  display: grid;
  gap: var(--space-4);
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  border-radius: var(--r-lg);
  background: var(--bg-tint);
}

.form-support h3 {
  font-size: 1.0625rem;
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
}

.form-support ul {
  display: grid;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}

.form-support a {
  color: var(--brand);
  text-decoration: none;
  font-weight: var(--fw-medium);
}

.form-support a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   17. Accordion (FAQ)
   ========================================================================== */
.accordion {
  border-top: 1px solid var(--line);
}

.acc-item {
  border-bottom: 1px solid var(--line);
}

.acc-trigger {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-5);
  width: 100%;
  padding: var(--space-5) 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  color: var(--brand-deep);
}

.acc-trigger:hover {
  color: var(--brand-mid);
}

.acc-icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform var(--dur) var(--ease);
}

.acc-icon::before {
  width: 12px;
  height: 1.5px;
}

.acc-icon::after {
  width: 1.5px;
  height: 12px;
}

.acc-trigger[aria-expanded="true"] .acc-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.acc-body {
  padding-bottom: var(--space-6);
  padding-right: clamp(0rem, 2vw, 3rem);
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  line-height: 1.72;
}

.acc-body > * + * {
  margin-top: var(--space-4);
}

/* JS-driven height animation wrapper (grid-template-rows 0fr -> 1fr) */
.acc-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease);
}

.acc-collapse[data-open="true"] {
  grid-template-rows: 1fr;
}

.acc-collapse > div {
  overflow: hidden;
}

/* ==========================================================================
   18. Notices / placeholders
   ========================================================================== */
.notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--ink-muted);
}

.notice svg {
  width: 20px;
  height: 20px;
  color: var(--brand-mid);
}

.notice strong {
  color: var(--brand-deep);
}

.notice--safety {
  background: var(--gold-soft);
  border-color: rgba(204, 155, 13, 0.32);
}

.notice--safety svg {
  color: var(--yellow-800);
}

.notice--deep {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-invert);
  color: var(--ink-invert-soft);
}

.notice--deep strong {
  color: #fff;
}

/* Development-only marker for missing client content */
.client-content-required {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: var(--r-xs);
  background: var(--gold-soft);
  border: 1px dashed rgba(114, 85, 4, 0.45);
  color: var(--yellow-900);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   19. Quote / testimonial-ready block (renders only with real content)
   ========================================================================== */
.quote {
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  border-radius: var(--r-lg);
  background: var(--bg-tint);
  border: 1px solid transparent;
}

.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.25rem);
  line-height: 1.5;
  color: var(--brand-deep);
  letter-spacing: -0.01em;
}

.quote figcaption {
  margin-top: var(--space-5);
  font-size: var(--fs-caption);
  color: var(--ink-faint);
}

/* ==========================================================================
   20. Footer
   ========================================================================== */
.site-footer {
  background: var(--surface);
  color: var(--ink-2);
  padding-top: clamp(3rem, 1.5rem + 2.5vw, 3.75rem);
  font-size: var(--fs-sm);
  border-top: 3px solid var(--accent);
  box-shadow: none;
}

.site-footer a {
  color: var(--brand);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

.site-footer a:hover {
  color: var(--accent-deep);
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 1rem + 2.5vw, 3rem);
  padding-bottom: var(--space-8);
}

.footer-col h3,
.footer-col .footer-heading {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--space-4);
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  display: inline-block;
  transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.footer-links a:hover {
  color: var(--accent-deep);
  text-decoration: none;
  transform: translateX(3px);
}

.footer-brand .brand__logo {
  height: 68px;
}

.footer-tagline {
  margin-top: var(--space-4);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
  color: var(--brand-mid);
}

.footer-brand__text {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  max-width: 26rem;
  line-height: 1.65;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}

.footer-contact {
  display: grid;
  gap: 0.7rem;
}

.footer-contact__row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-contact__row svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 3px;
  color: var(--brand-mid);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-5);
  padding-block: var(--space-5);
  border-top: 1px solid var(--line);
  font-size: var(--fs-caption);
  color: var(--ink-muted);
}

.footer-bottom p {
  margin: 0;
  letter-spacing: 0.02em;
}

.footer-motif {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-mid);
  color: var(--accent);
  flex: none;
}

.footer-motif svg {
  width: 13px;
  height: 13px;
}

@media (max-width: 640px) {
  .footer-motif {
    display: none;
  }
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

.footer-legal span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-caption);
  letter-spacing: 0.02em;
  color: var(--brand-mid);
}

.footer-legal span::before {
  content: "—";
  margin-right: var(--space-3);
  color: var(--line-mid);
}

/* Floating WhatsApp action ------------------------------------------------- */
.wa-float {
  position: fixed;
  right: clamp(1rem, 0.5rem + 1vw, 1.75rem);
  bottom: clamp(1rem, 0.5rem + 1vw, 1.75rem);
  z-index: var(--z-sticky);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 48px;
  padding-inline: 1.1rem;
  border-radius: var(--r-pill);
  background: #0E7065;
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

/* Never sit on top of footer content — glide above it near the page end. */
@supports (animation-timeline: scroll()) {
  @keyframes wa-float-lift {
    from { translate: 0 0; }
    to   { translate: 0 calc(-1 * var(--wa-lift, 0px)); }
  }

  .wa-float {
    animation: wa-float-lift linear both;
    animation-timeline: scroll();
    animation-range: 85% 100%;
    translate: 0 0;
  }
}

.wa-float:hover {
  background: #0B5A51;
  transform: translateY(-2px);
}

.wa-float svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   21. Page hero (inner pages — same language as the home hero)
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(1.25rem, 0.75rem + 1.5vw, 2rem) clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  background: var(--brand-tint);
  border-bottom: 1px solid var(--line-brand);
}

.page-hero > .container {
  position: relative;
}

/* Report shares .page-hero with Contact, but only Report's image is matched
   to About's hero image position: same column split (1fr / 0.82fr), same
   capped width, no right-flush margin (About is left-aligned within its
   narrower column, not flush against the container's right edge), and the
   same upward nudge relative to the breadcrumb. Contact is untouched (no
   .page-report class). */
body.page-report .page-hero .split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
}

body.page-report .page-hero .split__media {
  /* .page-hero's split uses mt-8 (32px) where About's uses mt-6 (24px), so
     an extra -8px here is needed on top of the -20px nudge to land the
     image at the exact same vertical position as About's. */
  margin-top: -28px;
}

body.page-report .page-hero .split__media .media {
  max-width: 28rem;
}

/* About, Our Services and Consultation build their own editorial hero on the
   generic .section class instead of .page-hero, which gave them the large
   content-section top padding instead of a hero-sized one — leaving a much
   bigger gap under the header than Report/Contact (which use .page-hero).
   Match .page-hero's top padding here so the gap is consistent site-wide. */
.about-hero,
.services-hero,
.consultation-hero {
  padding-top: clamp(1.25rem, 0.75rem + 1.5vw, 2rem);
}

.page-hero__inner {
  max-width: 46rem;
}

.page-hero h1 {
  margin-top: var(--space-5);
}

.page-hero .lead {
  margin-top: var(--space-5);
}

.page-hero .btn-group {
  margin-top: var(--space-8);
}

/* Secondary CTA: visible border, filled Secondary Green hover — same fix as
   the home hero's "Explore Consultations" button. */
.page-hero .btn--outline {
  --btn-border: var(--brand);
}

.page-hero .btn--outline:hover {
  --btn-bg: var(--brand-mid);
  --btn-fg: #fff;
  --btn-border: var(--brand-mid);
}

/* .hero__note is styled for the dark full-bleed .hero — on the light
   page-hero background its invert colours go near-invisible. */
.page-hero .hero__note {
  color: var(--ink-muted);
}

.page-hero .hero__note svg {
  color: var(--brand-mid);
}

.page-hero .media {
  position: relative;
}

.page-hero .media::before {
  /* Soft sage blob behind the hero image, matching the home page. */
  content: "";
  position: absolute;
  inset: -8%;
  z-index: -1;
  border-radius: 42% 58% 55% 45% / 48% 44% 56% 52%;
  background:
    radial-gradient(closest-side at 78% 18%, rgba(241, 131, 62, 0.12), transparent 60%),
    radial-gradient(closest-side at 15% 85%, rgba(252, 192, 19, 0.09), transparent 65%),
    var(--brand-tint-strong);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-caption);
  color: var(--ink-faint);
}

.breadcrumb a {
  color: var(--ink-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.breadcrumb__sep {
  opacity: 0.5;
}

/* ==========================================================================
   21a. About hero — compact asymmetric split (story left, image right)
   ========================================================================== */
.about-hero__split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
}

.about-hero__split .split__media .media {
  max-width: 28rem;
}

/* Nudge the image up slightly so it doesn't sit lower than the breadcrumb's
   starting line — a small lift, not a full realignment. */
.about-hero__split .split__media {
  margin-top: -20px;
}

/* Why ElevatteLife visual — plain editorial rectangle, not the full-width
   shared .media default: a tall 4:5 crop, clean rounded corners, capped
   width so it never runs taller than the principles list beside it. The
   compass itself carries the detail, so the frame stays quiet. */
.about-why .split__media .media {
  aspect-ratio: 4 / 5;
  max-width: 26rem;
  border-radius: 24px;
}

.about-why .split__media .media img {
  object-position: 55% 38%;
  transform: scale(1.32);
}

.about-hero__note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-caption);
  color: var(--ink-muted);
}

.about-hero__note svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--brand-mid);
}

/* ==========================================================================
   21b. Principle tiles — numbered 2x2 system with a hover micro-interaction
   (used by "Ancient Wisdom. Practical Approach." on the About page)
   ========================================================================== */
.principle-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2rem, 1.5rem + 2vw, 4rem);
}

.principle-tile {
  padding-block: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  border-top: 1px solid var(--line-brand);
}

.principle-tile__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem);
  font-weight: var(--fw-semibold);
  color: var(--brand-soft);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: color var(--dur) var(--ease);
}

.principle-tile__head {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.principle-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--brand);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.principle-tile__icon svg {
  width: 20px;
  height: 20px;
}

.principle-tile__title {
  font-size: 1.125rem;
  font-weight: var(--fw-semibold);
  color: var(--brand-deep);
}

.principle-tile__text {
  margin-top: var(--space-3);
  max-width: 32rem;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  line-height: 1.68;
}

@media (hover: hover) {
  .principle-tile:hover .principle-tile__num {
    color: var(--accent);
  }

  .principle-tile:hover .principle-tile__icon {
    background: var(--brand);
    color: #fff;
    transform: translateX(4px);
  }
}

@media (max-width: 680px) {
  .principle-tiles {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   21d. "Why ElevatteLife" scroll storytelling — active row highlight +
   an image column that stays anchored while the list scrolls past it
   ========================================================================== */
.split--sticky-media .split__media {
  position: sticky;
  top: clamp(88px, 8vw, 120px);
  align-self: start;
}

@media (max-width: 860px) {
  .split--sticky-media .split__media {
    position: static;
  }
}

.principle,
.principle__num,
.principle__title {
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.principle.is-active {
  border-top-color: transparent;
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding-inline: var(--space-5);
  margin-inline: calc(var(--space-5) * -1);
}

.principle.is-active .principle__num {
  color: var(--accent);
}

.principle.is-active .principle__title {
  color: var(--brand);
}

/* ==========================================================================
   21e. Contact list (light context)
   ========================================================================== */
.contact-list {
  display: grid;
  gap: 0.7rem;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}

.contact-list__row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.contact-list__row svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 3px;
  color: var(--brand-mid);
}

.contact-list a {
  color: var(--brand);
  font-weight: var(--fw-medium);
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   22. Definition list (report deliverables, spec sheets)
   ========================================================================== */
.spec-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.spec-list__row {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  gap: var(--space-5);
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--line);
}

.spec-list__term {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--brand-deep);
}

.spec-list__desc {
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  line-height: 1.68;
}

/* ==========================================================================
   23. Content placeholders used by the report pages
   ========================================================================== */
.flow-diagram {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-sm);
}

.flow-diagram__node {
  padding: 0.6rem 0.9rem;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--brand-deep);
  font-weight: var(--fw-medium);
}

.flow-diagram__arrow {
  color: var(--brand-soft);
}

/* ==========================================================================
   24. Error page
   ========================================================================== */
.error-page {
  display: grid;
  place-items: center;
  min-height: 62vh;
  text-align: center;
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 3rem + 8vw, 8rem);
  line-height: 1;
  color: var(--brand-tint-strong);
  letter-spacing: -0.04em;
}

/* ==========================================================================
   25. Site-wide colour redesign
   -------------------------------------------------------------------------
   .pillar-strip and .tile--tint are only ever used on index.php, so they
   stay unscoped. .cta-band and .site-footer are shared by every page and
   are styled directly (every page gets the ivory footer and textured CTA
   band). The hero itself now lives entirely in section 09 above — see
   that block for the full-bleed photo hero.
   ========================================================================== */

/* ==========================================================================
   25a. Home only — CTA floats as an elevated panel over the footer
   -------------------------------------------------------------------------
   Every other page keeps the plain full-bleed .cta-band untouched. On the
   home page the same band becomes an inset, rounded card whose bottom
   edge overlaps the footer's top edge (position:relative + z-index lifts
   it above the footer's normal-flow paint layer). The footer gets extra
   top padding equal to the overlap so its logo/links/contact/copyright
   are pushed clear of the card and stay fully readable — only the
   footer's plain background sits behind the overlapped strip.
   ========================================================================== */
body.home {
  --cta-overlap: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}

body.home .cta-band {
  width: min(100% - (2 * var(--gutter)), var(--container-wide));
  margin-inline: auto;
  margin-bottom: calc(-1 * var(--cta-overlap));
  padding: clamp(2.5rem, 1.8rem + 2.5vw, 3.75rem) clamp(1.75rem, 1.3rem + 2vw, 3.25rem);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

body.home .cta-band__inner {
  max-width: none;
  padding-inline: 0;
}

body.home .site-footer {
  position: relative;
  z-index: 1;
  padding-top: calc(clamp(3rem, 1.5rem + 2.5vw, 3.75rem) + var(--cta-overlap));
}

@media (max-width: 640px) {
  body.home {
    --cta-overlap: clamp(1.5rem, 1rem + 3vw, 2.25rem);
  }

  body.home .cta-band {
    width: calc(100% - 2 * var(--gutter));
    border-radius: var(--r-lg);
    padding: clamp(1.75rem, 1.4rem + 2vw, 2.25rem) clamp(1.25rem, 1rem + 2vw, 1.75rem);
  }
}

/* Media badge, restyled as a proper card with a small gold "spark" icon.
   Used by the inner-page heroes (About/Services/Consultation/Report). */
.media-badge--hero {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.2rem;
}

.media-badge--hero .media-badge__icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--yellow-700);
}

.media-badge--hero .media-badge__icon svg {
  width: 16px;
  height: 16px;
}

.media-badge--hero .media-badge__text {
  display: grid;
  gap: 3px;
}
/* Pillar strip: real icon chips + a slightly stronger tint than body copy. */
.pillar-strip {
  background: var(--brand-tint);
  border-block: 1px solid var(--line-brand);
}

.pillar {
  gap: 0.85rem;
}

.pillar__icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
}

.pillar__icon svg {
  width: 18px;
  height: 18px;
}

.pillar__icon--green { background: var(--brand-tint-strong); color: var(--brand); }
.pillar__icon--mid   { background: var(--s-green-100); color: var(--s-green-800); }
.pillar__icon--warm  { background: var(--accent-soft); color: var(--accent-deep); }
.pillar__icon--gold  { background: var(--gold-soft); color: var(--yellow-800); }

/* Feature tiles: layered shadow instead of a flat bordered box. */
.tile--tint {
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.tile--tint:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* CTA band: a faint geometric texture for depth. */
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 28px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 28px);
  pointer-events: none;
}

/* ==========================================================================
   19. Home — services showcase (flush editorial columns)
   Four columns, one continuous light strip with hairline dividers instead
   of separate cards: index number, title, text and link sit at the top,
   the photo/motif fills the remaining height below. Each column keeps its
   own accent colour for the index number and the link.
   ========================================================================== */
.showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.showcase__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(26rem, 20rem + 14vw, 34rem);
  padding: 0 clamp(1.25rem, 1rem + 0.8vw, 2rem) clamp(1.5rem, 1.2rem + 1vw, 2rem);
  text-decoration: none;
  border-left: 1px solid var(--line-mid);
  transition: transform var(--dur) var(--ease-out);
}

.showcase__tile:first-child {
  border-left: none;
}

.showcase__tile:hover {
  transform: translateY(-4px);
}

.showcase__index {
  padding-top: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem);
  font-weight: var(--fw-semibold);
  line-height: 1;
}

/* Numbers cycle through the brand's accent tones. */
.showcase__tile--numerology .showcase__index { color: var(--brand); }
.showcase__tile--vastu .showcase__index      { color: var(--accent); }
.showcase__tile--report .showcase__index     { color: var(--yellow-600); }
.showcase__tile--holistic .showcase__index   { color: var(--brand-deep); }

/* Fixed-height text block (title + text reserve two/four lines each) so the
   "Explore" link — and the image that starts right after it — lines up at
   the same row in every column, regardless of how long each blurb runs. */
.showcase__body {
  margin-top: var(--space-4);
  min-height: clamp(10.5rem, 8.5rem + 6vw, 12.5rem);
}

.showcase__title {
  font-family: var(--font-body);
  font-size: 1.1875rem;
  font-weight: var(--fw-semibold);
  line-height: 1.3;
  min-height: 3.1rem;
  color: var(--ink);
}

.showcase__text {
  margin-top: var(--space-2);
  max-width: 20rem;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--ink-muted);
}

.showcase__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: var(--space-4);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}

.showcase__tile--numerology .showcase__link { color: var(--brand); }
.showcase__tile--vastu .showcase__link      { color: var(--accent); }
.showcase__tile--report .showcase__link     { color: var(--yellow-700); }
.showcase__tile--holistic .showcase__link   { color: var(--brand-deep); }

.showcase__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur) var(--ease);
}

.showcase__tile:hover .showcase__link svg {
  transform: translate(3px, -3px);
}

/* Photo/motif fills whatever height is left below the text block, starting
   at the same row in every column (see .showcase__body). Uses `contain` and
   bottom-anchors so the full artwork shows — never a mid-subject crop. */
.showcase__media {
  flex: 1;
  min-height: 0;
  margin-top: var(--space-5);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.showcase__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

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

  .showcase__tile:nth-child(2n+1) {
    border-left: none;
  }

  .showcase__tile:nth-child(-n+2) {
    border-left: none;
  }
}

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

  .showcase__tile {
    border-left: none;
    border-top: 1px solid var(--line-mid);
    padding-top: 0;
  }

  .showcase__tile:first-child {
    border-top: none;
  }
}

/* ==========================================================================
   26. Editorial hero + numbered panels — shared pattern
   Page-specific hero recompositions (bypass includes/page-hero.php and the
   generic .card grid) plus the reusable numbered .service-panel row, now
   used by both services/index.php and consultation/index.php. Same tokens
   and reveal system as the rest of the site.
   ========================================================================== */
.services-hero__body {
  max-width: 38rem;
}

.services-hero__media {
  position: relative;
  margin-top: -20px;
}

/* Match the About hero's image size and position exactly: same narrow
   column share, same capped width and 4:5 crop, same slight upward nudge. */
.services-hero .split--wide-media {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
}

.services-hero__media .media {
  max-width: 28rem;
  aspect-ratio: 4 / 5;
}

/* .hero__note defaults to the dark full-bleed .hero's light-on-dark
   palette — on this light green background it needs page-hero's colours. */
.services-hero .hero__note {
  color: var(--ink-muted);
}

.services-hero .hero__note svg {
  color: var(--brand-mid);
}

/* Hero image reveal: a clip/scale variant of the standard fade+rise reveal,
   used only where [data-reveal] is combined with this class. */
.reveal-init [data-reveal].reveal-media {
  clip-path: inset(0 0 6% 0 round var(--r-media));
  transform: scale(1.045);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out),
    clip-path var(--dur-slow) var(--ease-out);
}

.reveal-init [data-reveal].reveal-media.is-visible {
  clip-path: inset(0 0 0% 0 round var(--r-media));
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-init [data-reveal].reveal-media {
    clip-path: none;
    transform: none;
  }
}

/* Eyebrow rule grows slightly on hover where a parent opts in (service
   panels below) — no visual change anywhere the width isn't overridden. */
.eyebrow::before {
  transition: width var(--dur) var(--ease);
}

.service-panels {
  margin-top: var(--space-12);
}

.service-panel {
  position: relative;
  display: grid;
  grid-template-columns: clamp(64px, 7vw, 96px) minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: start;
  padding-block: clamp(2.25rem, 1.8rem + 1.8vw, 3.25rem);
  padding-left: var(--space-6);
  margin-left: calc(var(--space-6) * -1);
  border-top: 1px solid var(--line);
  border-left: 2px solid transparent;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.service-panel:last-child {
  border-bottom: 1px solid var(--line);
}

.service-panel--media {
  grid-template-columns: clamp(64px, 7vw, 96px) minmax(0, 1fr) minmax(0, 0.8fr);
}

@media (hover: hover) {
  .service-panel:hover {
    border-left-color: var(--accent);
    background: var(--bg-tint);
  }

  .service-panel:hover .service-panel__num {
    color: var(--accent);
  }

  .service-panel:hover .eyebrow::before {
    width: 40px;
  }

  .service-panel:hover .service-panel__media img {
    transform: scale(1.035);
  }
}

.service-panel__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 2.1rem + 2.3vw, 4.25rem);
  font-weight: var(--fw-semibold);
  line-height: 1;
  color: var(--brand-soft);
  font-variant-numeric: tabular-nums;
  transition: color var(--dur) var(--ease);
}

.service-panel--accent .service-panel__num {
  color: var(--accent);
}

.service-panel--gold .service-panel__num {
  color: var(--yellow-700);
}

.service-panel__mark {
  position: absolute;
  top: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  right: 0;
  width: clamp(56px, 6vw, 84px);
  height: clamp(56px, 6vw, 84px);
  color: var(--brand);
  opacity: 0.07;
  pointer-events: none;
}

.service-panel--gold .service-panel__mark {
  color: var(--yellow-700);
}

.service-panel__mark svg {
  width: 100%;
  height: 100%;
}

.service-panel__kicker {
  margin-bottom: var(--space-3);
}

.service-panel--accent .service-panel__kicker {
  color: var(--accent-deep);
}

.service-panel--gold .service-panel__kicker {
  color: var(--yellow-700);
}

.service-panel__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  color: var(--brand-deep);
  max-width: 26rem;
}

.service-panel__text {
  margin-top: var(--space-3);
  max-width: 34rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

.service-panel__list {
  margin-top: var(--space-5);
}

.service-panel__link {
  margin-top: var(--space-6);
}

/* Variant footer for panels with two actions (Details + Book) instead of
   a single link — used on the Consultation page's pathways. */
.service-panel__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.service-panel__media {
  align-self: center;
}

.service-panel__media .media {
  max-width: 20rem;
  margin-left: auto;
}

@media (max-width: 900px) {
  .service-panel,
  .service-panel--media {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .service-panel--media .service-panel__media {
    grid-column: 1 / -1;
    margin-top: var(--space-6);
  }

  .service-panel__media .media {
    max-width: 18rem;
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  .service-panel {
    padding-left: var(--space-4);
    margin-left: calc(var(--space-4) * -1);
  }

  .service-panel__num {
    font-size: 2.25rem;
  }

  .service-panel__mark {
    display: none;
  }
}

/* ==========================================================================
   27. Consultation page — editorial hero + FAQ
   Page-specific recomposition, scoped to consultation/index.php only.
   ========================================================================== */
.consultation-hero__body {
  max-width: 38rem;
}

/* Image position matched exactly to About's hero image: same column split
   (1fr / 0.82fr), same upward nudge, no right-flush margin — About is the
   reference and is left-aligned within its narrower column, not flush
   against the container's right edge. */
.consultation-hero .split--wide-media {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
}

.consultation-hero__media {
  position: relative;
  margin-top: -20px;
}

.consultation-hero__media .media {
  max-width: 28rem;
}

/* .hero__note defaults to the dark full-bleed .hero's light-on-dark
   palette — on this light green background it needs page-hero's colours. */
.consultation-hero .hero__note {
  color: var(--ink-muted);
}

.consultation-hero .hero__note svg {
  color: var(--brand-mid);
}

/* FAQ — numbered via CSS counters, no markup change to includes/faq.php
   (shared by other pages), plus a faint compass motif discovered rather
   than announced. */
.consultation-faq {
  position: relative;
  overflow: hidden;
}

.consultation-faq__motif {
  position: absolute;
  top: -10%;
  right: -6%;
  width: clamp(260px, 32vw, 460px);
  height: clamp(260px, 32vw, 460px);
  color: var(--brand);
  opacity: 0.05;
  pointer-events: none;
}

.consultation-faq__motif svg {
  width: 100%;
  height: 100%;
}

.consultation-faq .accordion {
  counter-reset: faq;
  border-top: none;
}

.consultation-faq .acc-item {
  counter-increment: faq;
  border-bottom: 1px solid var(--line-brand);
}

.consultation-faq .acc-trigger {
  justify-content: flex-start;
  gap: var(--space-5);
  padding-block: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.consultation-faq .acc-trigger::before {
  content: counter(faq, decimal-leading-zero);
  flex: none;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: var(--fw-semibold);
  font-variant-numeric: tabular-nums;
  color: var(--brand-soft);
  transition: color var(--dur) var(--ease);
}

.consultation-faq .acc-trigger:hover::before,
.consultation-faq .acc-trigger[aria-expanded="true"]::before {
  color: var(--accent);
}

.consultation-faq .acc-icon {
  margin-left: auto;
}

.consultation-faq .acc-trigger[aria-expanded="true"] .acc-icon {
  color: var(--accent);
}

.consultation-faq .acc-body {
  padding-left: calc(1.125rem + var(--space-5));
}

@media (max-width: 640px) {
  .consultation-faq__motif {
    opacity: 0.04;
  }

  .consultation-faq .acc-body {
    padding-left: 0;
  }
}

/* ==========================================================================
   28. Pathway select — "Where to start" (Consultation page)
   Deliberately not the Services page's numbered-row pattern: three routes
   on a shared horizontal line, like stops on a route rather than entries
   in a list. Scoped to consultation/index.php only.
   ========================================================================== */
.pathway-select {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.pathway-select::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-brand);
}

.pathway-select__item {
  position: relative;
}

.pathway-select__marker {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-6);
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line-brand);
  color: var(--brand);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.pathway-select__marker svg {
  width: 24px;
  height: 24px;
}

.pathway-select__kicker {
  margin-bottom: var(--space-2);
}

.pathway-select--accent .pathway-select__kicker {
  color: var(--accent-deep);
}

.pathway-select--gold .pathway-select__kicker {
  color: var(--yellow-700);
}

.pathway-select__title {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: var(--brand-deep);
}

.pathway-select__text {
  margin-top: var(--space-3);
  color: var(--ink-muted);
  line-height: 1.68;
  max-width: 26rem;
}

.pathway-select__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

@media (hover: hover) {
  .pathway-select__item:hover .pathway-select__marker {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    transform: translateY(-3px);
  }

  .pathway-select--accent:hover .pathway-select__marker {
    background: var(--accent);
    border-color: var(--accent);
  }

  .pathway-select--gold:hover .pathway-select__marker {
    background: var(--yellow-700);
    border-color: var(--yellow-700);
  }
}

@media (max-width: 780px) {
  .pathway-select {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .pathway-select::before {
    left: 27px;
    top: 0;
    bottom: 0;
    right: auto;
    width: 1px;
    height: auto;
  }
}
