/* ==========================================================================
   SORBA ? Design system (brief Phase 2)
   Brand Identity Kit tokens + semantic light/dark surfaces
   ========================================================================== */

:root {
  /* Brand primitives (brief �10.1) */
  --brand-fill: #123d33; /* color.brand.forest */
  --brand-fill-deep: #0d2f28;
  --color-paper: #f4f5f0; /* color.brand.paper */
  --color-teal: #4bb3be; /* color.accent.water */
  --color-accent: #e08a1e; /* color.accent.restore */
  --color-accent-soft: #f0b35a;
  --color-soil: #1a1714; /* color.neutral.soil */
  --color-emergency: #b42318; /* color.alert.emergency ? CTA only */

  /* Legacy aliases ? semantic (light) */
  --color-mangrove: #123d33;
  --color-mangrove-deep: #0d2f28;
  --color-sorbent: #f4f5f0;
  --color-white: #ffffff;
  --color-ink: #1a1714;
  --color-slate: #5c6b66;
  --color-mist: #e8ebe3;
  --color-line: #d4d9d0;

  /* Semantic surfaces (light = default) */
  --bg: #f4f5f0;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-muted: #e8ebe3;
  --ink: #1a1714;
  --ink-heading: #123d33;
  --muted: #5c6b66;
  --line: #d4d9d0;
  --line-strong: #b7c0b6;
  --link: #123d33;
  --link-hover: #4bb3be;
  --header-bg: rgba(244, 245, 240, 0.94);
  --nav-panel-bg: #f4f5f0;
  --focus-ring: #4bb3be;
  --shadow-sm: 0 1px 2px rgba(18, 61, 51, 0.06);
  --shadow-md: 0 10px 28px rgba(18, 61, 51, 0.12);
  --shadow-lg: 0 18px 44px rgba(18, 61, 51, 0.16);
  --radius-card: 6px;
  --lift: -5px;
  --report-sticky-h: 0px;

  /* Display ? logo wordmark; mono for tags / data chips */
  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Code", monospace;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Layout rhythm ? use these for sections, cards, controls, measures */
  --inset-x: var(--space-4);
  --section-y: var(--space-8);
  --section-y-tight: var(--space-7);
  --section-y-hero-bottom: var(--space-6);
  --gap-grid: var(--space-5);
  --gap-grid-dense: var(--space-4);
  --card-padding: var(--space-5);
  --card-padding-compact: var(--space-4);
  --control-min-h: 2.75rem;
  --control-pad-y: 0.65rem;
  --control-pad-x: 1rem;
  --control-min-h-sm: 2.4rem;
  --textarea-min-h: 8rem;
  --measure-prose: 40rem;
  --measure-form: 36rem;
  --measure-hero: 44rem;
  --measure-wide: 52rem;
  --float-ui-h: 4.5rem; /* cookie / WA clearance under footer */
  --footer-safe-bottom: calc(var(--space-5) + var(--float-ui-h));
  /* Breakpoints (documented; media queries still use literals): --bp-md 720px, --bp-lg 900px */

  --wrap: 70rem;
  --header-h: 4.25rem;
  --emergency-h: 2.75rem;
  --focus: 2px solid var(--focus-ring);
  --ease: 0.2s ease;
  --theme-transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease;
}

html[data-theme="dark"] {
  /* Keep --color-white as true white for text/icons on brand-fill panels */
  --color-sorbent: #0c1512;
  --color-paper: #0c1512;
  --color-ink: #eceae6;
  --color-slate: #9eb0a9;
  --color-mist: #15241f;
  --color-line: #2a3f38;
  /* Headings/links in dark (panel fills use --brand-fill) */
  --color-mangrove: #d8ebe4;
  --color-mangrove-deep: #0d2f28;

  --bg: #0c1512;
  --bg-elevated: #13241f;
  --surface: #152822;
  --surface-muted: #1a2e28;
  --ink: #eceae6;
  --ink-heading: #f4f5f0;
  --muted: #9eb0a9;
  --line: #2a3f38;
  --line-strong: #3d564d;
  --link: #7ec8d1;
  --link-hover: #4bb3be;
  --header-bg: rgba(12, 21, 18, 0.92);
  --nav-panel-bg: #0f1c18;
  --focus-ring: #4bb3be;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 18px 44px rgba(0, 0, 0, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}
html[data-theme="dark"] {
  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: var(--theme-transition);
}

body,
.c-site-header,
.c-section,
.c-section--mist,
.c-nav.is-open,
.c-form__control,
.c-item-thumb,
.c-compare__col,
.c-partner-ph,
.c-media-ph__frame,
.c-cookie {
  transition: var(--theme-transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--link-hover);
}

:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink-heading);
  margin: 0 0 var(--space-4);
}

h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}
h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
}
h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 var(--space-4);
  max-width: var(--measure-prose);
}

ul,
ol {
  margin: 0 0 var(--space-4);
}

/* Layout */
.l-wrap {
  width: min(100% - (2 * var(--inset-x)), var(--wrap));
  margin-inline: auto;
}
.l-wrap--narrow {
  width: min(100% - (2 * var(--inset-x)), var(--measure-prose));
  margin-inline: auto;
}

.c-main__pad {
  padding-block: var(--section-y-tight);
}

/* Skip link */
.c-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--brand-fill);
  color: #ffffff;
  padding: 0.75rem 1rem;
  text-decoration: none;
}
.c-skip-link:focus {
  left: 0;
}

/* --------------------------------------------------------------------------
   Preloader ? logo assemble
   -------------------------------------------------------------------------- */
.c-preloader {
  --pre-ink: #f4f5f0;
  --pre-dur: 2.35s;
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--brand-fill);
  color: var(--pre-ink);
  overflow: hidden;
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.45s linear,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.c-preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.04);
}
@media (prefers-reduced-motion: reduce) {
  .c-preloader {
    display: none !important;
  }
}
.c-preloader__glow {
  position: absolute;
  width: min(28rem, 80vw);
  height: min(28rem, 80vw);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--color-teal) 28%, transparent) 0%,
    color-mix(in srgb, var(--color-accent) 12%, transparent) 42%,
    transparent 70%
  );
  opacity: 0;
  transform: scale(0.55);
  pointer-events: none;
  animation: sorba-pre-glow var(--pre-dur) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.c-preloader__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  text-align: center;
  animation: sorba-pre-settle 0.7s cubic-bezier(0.22, 1, 0.36, 1) 2.05s both;
}
.c-preloader__svg {
  display: block;
  width: clamp(5.75rem, 18vw, 7.25rem);
  height: auto;
  overflow: visible;
  color: var(--pre-ink);
}

/* Ring draws open C */
.c-preloader__ring {
  stroke-dasharray: 0 100;
  animation: sorba-pre-ring 0.85s cubic-bezier(0.4, 0, 0.2, 1) 0.08s both;
}
/* Drop outline draws */
.c-preloader__drop {
  stroke-dasharray: 0 100;
  opacity: 0;
  animation: sorba-pre-drop 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.42s both;
}
/* Soil / leaf / sun: animate <g> so path geometry stays stable */
.c-preloader__soil-g,
.c-preloader__leaf-g,
.c-preloader__sun-g {
  transform-box: fill-box;
  transform-origin: center;
}
.c-preloader__soil-g {
  opacity: 0;
  transform: translateY(12px) scaleY(0.35);
  animation: sorba-pre-soil 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.78s both;
}
.c-preloader__leaf-g {
  opacity: 0;
  transform: scale(0.12) rotate(-16deg);
  animation: sorba-pre-leaf 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.98s both;
}
.c-preloader__sun-g {
  opacity: 0;
  transform: scale(0);
  animation: sorba-pre-sun 0.55s cubic-bezier(0.34, 1.45, 0.64, 1) 1.2s both;
}

.c-preloader__word {
  display: flex;
  justify-content: center;
  gap: 0.06em;
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 3.2vw, 1.35rem);
  letter-spacing: 0.28em;
  color: var(--pre-ink);
  text-indent: 0.28em; /* optical center with letter-spacing */
}
.c-preloader__letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.65em) scale(0.86);
  animation: sorba-pre-letter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.c-preloader__letter:nth-child(1) {
  animation-delay: 1.38s;
}
.c-preloader__letter:nth-child(2) {
  animation-delay: 1.46s;
}
.c-preloader__letter:nth-child(3) {
  animation-delay: 1.54s;
}
.c-preloader__letter:nth-child(4) {
  animation-delay: 1.62s;
}
.c-preloader__letter:nth-child(5) {
  animation-delay: 1.7s;
}
.c-preloader__tag {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0;
  transform: translateY(0.4rem);
  animation: sorba-pre-tag 0.55s cubic-bezier(0.22, 1, 0.36, 1) 1.88s both;
}

@keyframes sorba-pre-glow {
  0% {
    opacity: 0;
    transform: scale(0.55);
  }
  45% {
    opacity: 0.55;
  }
  100% {
    opacity: 0.85;
    transform: scale(1);
  }
}
@keyframes sorba-pre-ring {
  0% {
    stroke-dasharray: 0 100;
    opacity: 0.4;
  }
  100% {
    stroke-dasharray: 100 0;
    opacity: 1;
  }
}
@keyframes sorba-pre-drop {
  0% {
    stroke-dasharray: 0 100;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  100% {
    stroke-dasharray: 100 0;
    opacity: 1;
  }
}
@keyframes sorba-pre-soil {
  0% {
    opacity: 0;
    transform: translateY(10px) scaleY(0.4);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}
@keyframes sorba-pre-leaf {
  0% {
    opacity: 0;
    transform: scale(0.15) rotate(-18deg);
  }
  70% {
    opacity: 1;
    transform: scale(1.08) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}
@keyframes sorba-pre-sun {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  65% {
    opacity: 1;
    transform: scale(1.25);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes sorba-pre-letter {
  0% {
    opacity: 0;
    transform: translateY(0.65em) scale(0.86);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes sorba-pre-tag {
  0% {
    opacity: 0;
    transform: translateY(0.4rem);
  }
  100% {
    opacity: 0.95;
    transform: translateY(0);
  }
}
@keyframes sorba-pre-settle {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.035);
  }
  100% {
    transform: scale(1);
  }
}

/* --------------------------------------------------------------------------
   Emergency bar ? scrolls away under the sticky main header (no dual-sticky)
   -------------------------------------------------------------------------- */
.c-emergency {
  position: relative;
  z-index: 40;
  min-height: var(--emergency-h);
  background: var(--brand-fill);
  color: #ffffff;
  font-size: 0.875rem;
}
.c-emergency__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  min-height: var(--emergency-h);
  padding-block: 0;
}
.c-emergency__label {
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
}
.c-emergency__label strong {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.c-emergency__sep {
  opacity: 0.55;
  margin-inline: 0.35rem;
}
.c-emergency__actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.c-emergency__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  min-height: 1.85rem;
  padding: 0.2rem 0.7rem;
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1;
  transition: background var(--ease), border-color var(--ease);
}
.c-emergency__link:hover,
.c-emergency__link:focus-visible {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
  outline: none;
}
.c-emergency__link--report {
  background: var(--color-emergency);
  border-color: var(--color-emergency);
}
.c-emergency__link--report:hover,
.c-emergency__link--report:focus-visible {
  background: #9a1d14;
  border-color: #9a1d14;
  filter: none;
}

/* Mobile sticky Report bar removed — Report stays in header / menu / emergency bar */

/* --------------------------------------------------------------------------
   Site header + nav
   -------------------------------------------------------------------------- */
.c-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  box-shadow: none;
  /* No backdrop-filter ? it flickers with sticky compositing */
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}
.c-site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--brand-fill) 6%, transparent),
    0 8px 24px rgba(18, 61, 51, 0.1);
  background: var(--bg-elevated);
}
.c-site-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 0.75rem;
  min-height: calc(var(--header-h) + 0.35rem);
}
.c-site-header__brand {
  justify-self: start;
  min-width: 0;
}
.c-header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.45rem;
  flex-shrink: 0;
}
/* Hidden by default; .c-btn comes later and would otherwise force display */
.c-btn.c-header-actions__cta,
.c-btn.c-nav__mobile-cta {
  display: none !important;
}
.c-nav__mobile-cta {
  margin-top: 0.75rem;
  width: 100%;
  justify-content: center;
}
@media (max-width: 899px) {
  .c-site-header__inner .c-nav {
    display: none;
  }
  .c-site-header__inner .c-nav.is-open {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 45;
  }
  .c-nav.is-open > .c-btn.c-nav__mobile-cta {
    display: inline-flex !important;
  }
}
@media (min-width: 900px) {
  .c-site-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 1.25rem;
  }
  .c-site-header__inner .c-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    margin: 0;
    padding: 0;
    position: static;
    border: 0;
    background: transparent;
  }
  .c-btn.c-header-actions__cta {
    display: inline-flex !important;
  }
}
.c-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
}
.c-logo__img {
  height: 2.85rem;
  width: auto;
  background: transparent;
}
.c-logo__img--dark {
  display: none;
}
html[data-theme="dark"] .c-logo__img--light {
  display: none;
}
html[data-theme="dark"] .c-logo__img--dark {
  display: block;
}
.c-site-footer .c-logo__img {
  height: 2.75rem;
}
.c-site-footer .c-logo__img--light {
  display: none;
}
.c-site-footer .c-logo__img--dark {
  display: block;
}

/* Theme toggle */
.c-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--control-min-h);
  height: var(--control-min-h);
  min-width: var(--control-min-h);
  min-height: var(--control-min-h);
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-heading);
  cursor: pointer;
  border-radius: var(--radius-card);
  transition: var(--theme-transition), transform 0.15s ease;
}
.c-theme-toggle:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
}
.c-theme-toggle:active {
  transform: scale(0.96);
}
.c-theme-toggle__icon {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}
.c-theme-toggle__icon--moon {
  display: none;
}
html[data-theme="dark"] .c-theme-toggle__icon--sun {
  display: none;
}
html[data-theme="dark"] .c-theme-toggle__icon--moon {
  display: block;
}

.c-nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-heading);
  padding: 0.5rem 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.c-nav-toggle__icon {
  width: 1rem;
  height: 0.7rem;
  border-block: 2px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
}

.c-nav {
  display: none;
}
.c-nav.is-open {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 45;
  background: var(--nav-panel-bg);
  border-bottom: 1px solid var(--line);
  padding: var(--space-4) 1rem var(--space-5);
  box-shadow: var(--shadow-md);
}
.c-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.c-nav__list a {
  text-decoration: none;
  color: var(--ink-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  display: block;
  padding: 0.55rem 0.25rem;
}
.c-nav__list .current-menu-item > a,
.c-nav__list a[aria-current="page"] {
  color: var(--color-teal);
  box-shadow: inset 0 -2px 0 var(--color-teal);
}
.c-nav__list .menu-item--cta,
.c-nav__list .menu-item:last-child {
  margin-top: 0.35rem;
}

@media (min-width: 900px) {
  .c-nav-toggle {
    display: none;
  }
  .c-nav {
    display: flex;
    position: static;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .c-nav__list {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 1.35rem;
  }
  .c-nav__list a {
    padding: 0.35rem 0;
    position: relative;
    transition: color 0.2s ease;
  }
  .c-nav__list a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--color-teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }
  .c-nav__list a:hover::after,
  .c-nav__list .current-menu-item > a::after,
  .c-nav__list a[aria-current="page"]::after {
    transform: scaleX(1);
  }
  .c-nav__list .menu-item--cta,
  .c-nav__list .menu-item:last-child {
    margin-top: 0;
  }
}

/* Body lock when mobile nav open */
body.has-nav-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--control-min-h);
  padding: var(--control-pad-y) var(--control-pad-x);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  color: inherit;
}
.c-btn--primary {
  background: var(--brand-fill);
  color: #ffffff;
}
.c-btn--primary:hover {
  background: var(--brand-fill-deep);
  color: #ffffff;
}
.c-btn--accent {
  background: var(--color-accent);
  color: var(--color-white);
}
.c-btn--accent:hover {
  background: var(--color-accent-soft);
  color: var(--color-white);
}
.c-btn--ghost {
  background: transparent;
  color: var(--ink-heading);
  border-color: var(--ink-heading);
}
.c-btn--ghost:hover {
  background: var(--brand-fill);
  color: #ffffff;
  border-color: var(--brand-fill);
}
.c-btn--ghost-on-dark {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.75);
}
.c-btn--ghost-on-dark:hover {
  background: var(--color-white);
  color: var(--color-mangrove);
}
.c-btn--emergency {
  background: var(--color-emergency);
  color: var(--color-white);
  border-color: var(--color-emergency);
}
.c-btn--emergency:hover {
  filter: brightness(1.06);
  color: var(--color-white);
}
/* Report CTA in header ? emergency red only (never decorative) */
.c-btn--nav-cta {
  background: var(--color-emergency);
  border-color: var(--color-emergency);
  color: #ffffff !important;
  padding: 0.55rem 0.95rem !important;
  box-shadow: 0 4px 14px rgba(180, 35, 24, 0.28) !important;
  letter-spacing: 0.02em;
}
.c-btn--nav-cta:hover {
  background: #9a1d14;
  border-color: #9a1d14;
  color: var(--color-white) !important;
  filter: none;
}

/* Mono tags / data chips (brief font.mono) */
.c-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start; /* don't stretch inside flex column cards */
  flex: 0 0 auto;
  width: max-content;
  max-width: 100%;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-heading);
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  line-height: 1.2;
  margin: 0;
}
.c-tag--on-dark {
  color: var(--color-paper);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}
.c-tag--teal {
  color: var(--brand-fill);
  background: rgba(75, 179, 190, 0.16);
  border-color: rgba(75, 179, 190, 0.35);
}
.c-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.c-btn-row--after-grid {
  margin-top: var(--space-6);
}

/* --------------------------------------------------------------------------
   Eyebrows / sections
   -------------------------------------------------------------------------- */
.c-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin: 0 0 var(--space-3);
}
.c-eyebrow--on-dark {
  color: var(--color-accent-soft);
}

.c-section {
  padding-block: var(--section-y);
}
.c-section--mist {
  background: var(--surface-muted);
}
.c-section--mangrove {
  --cta-photo: url("../img/placeholders/hero-delta-creek-1600.webp");
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #ffffff;
  background-color: #0f3528;
}
.c-section--mangrove::before {
  content: "";
  position: absolute;
  inset: -8% 0;
  z-index: 0;
  background-color: #0f3528;
  background-image: var(--cta-photo);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  filter: saturate(0.85) brightness(0.72);
  transform: scale(1.04);
  pointer-events: none;
}
.c-section--mangrove::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 70% at 50% 45%, rgba(15, 53, 40, 0.28), rgba(9, 28, 22, 0.78) 72%),
    linear-gradient(
      180deg,
      rgba(9, 28, 22, 0.72) 0%,
      rgba(18, 61, 51, 0.55) 42%,
      rgba(9, 28, 22, 0.88) 100%
    );
}
.c-section--mangrove > .l-wrap {
  position: relative;
  z-index: 2;
}
.c-section--mangrove h2,
.c-section--mangrove h3 {
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(9, 28, 22, 0.35);
}
.c-section--mangrove p {
  color: rgba(255, 255, 255, 0.9);
}
.c-section--mangrove .c-section-head--center {
  max-width: 42rem;
}
/* Fixed parallax is unreliable on touch / reduced-motion ? fall back to cover */
@media (max-width: 899px), (prefers-reduced-motion: reduce) {
  .c-section--mangrove::before {
    inset: 0;
    background-attachment: scroll;
    transform: none;
    filter: saturate(0.88) brightness(0.68);
  }
}
@supports (background-image: image-set(url("x") type("image/webp"))) {
  .c-section--mangrove {
    --cta-photo: image-set(
      url("../img/placeholders/hero-delta-creek-1600.webp") type("image/webp"),
      url("../img/placeholders/hero-delta-creek-1600.jpg") type("image/jpeg")
    );
  }
}
.c-section-head {
  margin-bottom: var(--space-6);
  max-width: var(--measure-prose);
}
.c-section-head--center {
  text-align: center;
  margin-inline: auto;
  max-width: var(--measure-prose);
}
.c-section-head--center p {
  margin-inline: auto;
}
.c-page-hero + .c-section {
  padding-top: calc(var(--section-y) * 0.75);
}

.c-grid {
  display: grid;
  gap: var(--gap-grid);
  align-items: stretch;
}
@media (min-width: 720px) {
  .c-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
  .c-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.c-card-icon {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--color-teal) 14%, var(--surface-muted));
  color: var(--color-mangrove);
  border: 1px solid color-mix(in srgb, var(--color-teal) 28%, var(--line));
}
.c-card-icon__svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}
html[data-theme="dark"] .c-card-icon {
  color: var(--color-teal);
  background: color-mix(in srgb, var(--color-teal) 16%, var(--surface));
}
.c-value .c-card-icon {
  background: color-mix(in srgb, var(--color-accent) 14%, var(--surface-muted));
  border-color: color-mix(in srgb, var(--color-accent) 30%, var(--line));
  color: var(--color-accent);
}
.c-compare__col .c-card-icon {
  margin-bottom: var(--space-3);
}
.c-compare__col--better .c-card-icon {
  color: var(--color-teal);
  background: color-mix(in srgb, var(--color-teal) 16%, var(--surface));
  border-color: var(--color-teal);
}

.c-pillar {
  --pillar-accent: var(--color-teal);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: calc(var(--card-padding) + 0.15rem) var(--card-padding) var(--card-padding);
  border: 1px solid color-mix(in srgb, var(--line) 88%, var(--pillar-accent));
  border-radius: 12px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, #fff) 0%, var(--surface) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    var(--shadow-sm);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}
/* Accent rail + soft corner wash */
.c-pillar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--brand-fill) 0%,
    var(--pillar-accent) 55%,
    color-mix(in srgb, var(--color-accent) 70%, var(--pillar-accent)) 100%
  );
  z-index: 1;
}
.c-pillar::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--pillar-accent) 18%, transparent) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
  transition: opacity 0.35s ease, transform 0.45s ease;
}
.c-pillar > * {
  position: relative;
  z-index: 1;
}
.c-pillar .c-card-icon {
  width: 3.15rem;
  height: 3.15rem;
  margin-bottom: var(--space-4);
  border-radius: 10px;
  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--pillar-accent) 22%, var(--surface)) 0%,
      color-mix(in srgb, var(--brand-fill) 10%, var(--surface-muted)) 100%
    );
  border-color: color-mix(in srgb, var(--pillar-accent) 36%, var(--line));
  color: var(--brand-fill);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--brand-fill) 8%, transparent);
}
.c-pillar .c-card-icon__svg {
  width: 1.45rem;
  height: 1.45rem;
}
html[data-theme="dark"] .c-pillar {
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--surface) 88%, #fff) 0%,
      var(--surface) 100%
    );
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    var(--shadow-sm);
}
html[data-theme="dark"] .c-pillar .c-card-icon {
  color: var(--color-teal);
  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--pillar-accent) 24%, var(--surface)) 0%,
      var(--surface-muted) 100%
    );
}
.c-pillar h3 {
  margin: 0 0 var(--space-3);
  font-size: clamp(1.2rem, 1.6vw, 1.35rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.c-pillar > p:not(.c-tag) {
  color: var(--muted);
  margin-bottom: var(--space-5);
  line-height: 1.6;
  flex: 1 1 auto;
}
.c-pillar .c-text-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: var(--space-2);
  font-size: 0.9375rem;
  border-bottom-width: 1.5px;
  transition: color 0.2s ease, gap 0.25s ease, border-color 0.2s ease;
}
.c-pillar .c-text-link::after {
  content: "\2192";
  font-size: 1.05em;
  line-height: 1;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (prefers-reduced-motion: no-preference) {
  .c-pillar:hover {
    transform: translateY(-7px);
    border-color: color-mix(in srgb, var(--pillar-accent) 55%, var(--line));
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.7) inset,
      0 18px 40px rgba(18, 61, 51, 0.14),
      0 4px 12px rgba(18, 61, 51, 0.06);
  }
  .c-pillar:hover::after {
    opacity: 1;
    transform: translate(-12%, -8%) scale(1.12);
  }
  .c-pillar:hover .c-card-icon {
    transform: scale(1.07);
    border-color: color-mix(in srgb, var(--pillar-accent) 55%, var(--line));
  }
  .c-pillar:hover .c-text-link {
    color: var(--color-teal);
    gap: 0.65rem;
  }
  .c-pillar:hover .c-text-link::after {
    transform: translateX(3px);
  }
  .c-value:hover .c-card-icon {
    transform: scale(1.06);
  }
  .c-card-icon {
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  }
}
html[data-theme="dark"] .c-pillar:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 18px 40px rgba(0, 0, 0, 0.45);
}

/* --------------------------------------------------------------------------
   Hero / page hero
   -------------------------------------------------------------------------- */
.c-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--emergency-h) - var(--header-h));
  display: grid;
  align-items: center;
  justify-items: center;
  color: var(--color-white);
  background: #0f3528;
  overflow: hidden;
  text-align: center;
}
.c-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.c-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.c-hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}
.c-hero__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.04);
}
.c-hero__slide.is-active .c-hero__photo {
  animation: none;
}
@media (prefers-reduced-motion: no-preference) {
  .c-hero__slide.is-active .c-hero__photo {
    animation: sorba-hero-drift 8s ease-out both;
  }
}
.c-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(15, 53, 40, 0.18), rgba(15, 53, 40, 0.52) 70%),
    linear-gradient(
      180deg,
      rgba(15, 53, 40, 0.38) 0%,
      rgba(15, 53, 40, 0.28) 45%,
      rgba(15, 53, 40, 0.5) 100%
    );
}
.c-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--measure-hero);
  margin-inline: auto;
  padding-block: clamp(var(--space-8), 12vh, var(--space-9));
  display: flex;
  flex-direction: column;
  align-items: center;
}
.c-hero__brand {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 10vw, 6.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.92;
  margin: 0 0 var(--space-3);
  color: var(--color-white);
  text-shadow: 0 2px 24px rgba(15, 53, 40, 0.45);
}
.c-hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin: 0 0 var(--space-4);
}
.c-hero__lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  max-width: var(--measure-form);
  margin: 0 auto var(--space-5);
}
.c-btn-row--center {
  justify-content: center;
}
.c-hero .c-btn-row {
  margin-top: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .c-hero__brand,
  .c-hero__tagline,
  .c-hero__lead,
  .c-hero .c-btn-row {
    animation: sorba-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .c-hero__tagline {
    animation-delay: 0.1s;
  }
  .c-hero__lead {
    animation-delay: 0.18s;
  }
  .c-hero .c-btn-row {
    animation-delay: 0.26s;
  }
}
@keyframes sorba-rise {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes sorba-hero-drift {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.1);
  }
}

.c-page-hero {
  position: relative;
  padding: var(--section-y-tight) 0 var(--section-y-hero-bottom);
  background:
    radial-gradient(ellipse 50% 80% at 88% 20%, rgba(76, 179, 193, 0.22), transparent 55%),
    linear-gradient(135deg, #0f3528 0%, #1a5c55 52%, #123d33 100%);
  color: #ffffff;
  overflow: hidden;
}
.c-page-hero__title {
  color: #ffffff;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
}
.c-page-hero p {
  color: rgba(255, 255, 255, 0.88);
  max-width: var(--measure-form);
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.c-form {
  display: grid;
  gap: var(--gap-grid-dense);
  max-width: var(--measure-form);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--card-padding);
  box-shadow: var(--shadow-sm);
}
.c-form__label {
  display: grid;
  gap: var(--space-2);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-heading);
}
.c-form__control,
.c-form input,
.c-form select,
.c-form textarea {
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--control-pad-y) var(--control-pad-x);
  min-height: var(--control-min-h);
  width: 100%;
}
.c-form textarea {
  min-height: var(--textarea-min-h);
  resize: vertical;
}
.c-form__control:focus-visible,
.c-form input:focus-visible,
.c-form select:focus-visible,
.c-form textarea:focus-visible {
  outline: var(--focus);
  outline-offset: 1px;
  border-color: var(--color-teal);
}
.c-form__hint {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.c-site-footer {
  background: var(--brand-fill);
  color: rgba(255, 255, 255, 0.82);
  padding: var(--section-y-tight) 0 var(--footer-safe-bottom);
}
.c-site-footer a {
  color: #ffffff;
  text-decoration: none;
}
.c-site-footer a:hover {
  color: var(--color-accent-soft);
}
.c-site-footer__grid {
  display: grid;
  gap: var(--space-6) var(--space-5);
  margin-bottom: var(--space-6);
}
@media (min-width: 600px) {
  .c-site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .c-site-footer__grid {
    grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
    gap: var(--space-6) var(--space-6);
    align-items: start;
  }
}
.c-site-footer__heading {
  color: #ffffff;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.c-site-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.c-site-footer__list li + li {
  margin-top: 0.45rem;
}
.c-site-footer__tagline {
  margin: 0 0 0.35rem;
  color: var(--color-teal);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.c-site-footer__place {
  margin: 0;
  font-size: 0.95rem;
}
.c-site-footer__meta {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: var(--space-4);
  font-size: 0.8125rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

/* Prose (CMS content) */
.c-prose > *:last-child {
  margin-bottom: 0;
}
.c-prose a {
  text-decoration: underline;
}

/* WP admin bar offset */
.admin-bar .c-site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .c-site-header {
    top: 46px;
  }
}

/* --------------------------------------------------------------------------
   Home
   -------------------------------------------------------------------------- */
.c-text-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--color-mangrove);
  border-bottom: 1px solid var(--color-teal);
  padding-bottom: 0.1rem;
}
.c-text-link:hover {
  color: var(--color-teal);
}

.c-split {
  display: grid;
  gap: var(--space-6);
  align-items: start;
}
@media (min-width: 900px) {
  .c-split {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-7);
    align-items: stretch;
  }
  /* Media column fills the copy column height */
  .c-split > .c-media-figure {
    min-height: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .c-split > .c-media-figure picture {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
  }
  .c-split > .c-media-figure .c-media-figure__img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center center;
  }
}

.c-why-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
  display: grid;
  gap: var(--space-4);
}
.c-why-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  align-items: start;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--line);
}
.c-why-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.c-why-list strong {
  display: block;
  font-family: var(--font-display);
  color: var(--ink-heading);
  margin-bottom: 0.25rem;
}
.c-why-list p {
  margin: 0;
  color: var(--muted);
}
.c-why-list__dot {
  width: 0.65rem;
  height: 0.65rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

.c-media-ph {
  margin: 0;
}
.c-media-ph__frame {
  min-height: 18rem;
  display: grid;
  place-items: center;
  align-content: center;
  gap: var(--space-3);
  padding: var(--space-5);
  background: linear-gradient(145deg, var(--surface-muted) 0%, var(--line) 100%);
  border: 1px dashed var(--line-strong);
  color: var(--ink-heading);
  text-align: center;
}
.c-media-ph__glyph {
  width: 4.5rem;
  height: 4.5rem;
  color: var(--ink-heading);
}
.c-media-ph__caption {
  margin: 0;
  max-width: 16rem;
  font-size: 0.875rem;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 500;
}

.c-media-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--surface-muted);
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}
.c-media-figure__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.c-media-figure__swap {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  z-index: 1;
  margin: 0;
  padding: 0.28rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(15, 53, 40, 0.72);
  border-radius: 2px;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .c-media-figure:hover .c-media-figure__img {
    transform: scale(1.03);
  }
}

.c-values {
  display: grid;
  gap: var(--gap-grid-dense);
  align-items: stretch;
}
@media (min-width: 720px) {
  .c-values {
    grid-template-columns: repeat(2, 1fr);
  }
}
.c-value {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--color-accent);
  border-radius: var(--radius-card);
  padding: var(--card-padding-compact);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}
.c-value h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-2);
}
.c-value p {
  margin: 0;
  color: var(--muted);
}
@media (prefers-reduced-motion: no-preference) {
  .c-value:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
}

.c-btn--ghost-muted {
  border-color: rgba(255, 255, 255, 0.45) !important;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* --------------------------------------------------------------------------
   Solutions + Technology (Phase 4)
   -------------------------------------------------------------------------- */
.c-item-row {
  display: grid;
  gap: var(--gap-grid-dense);
  padding: var(--card-padding-compact);
  margin-bottom: var(--gap-grid-dense);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}
.c-item-row:first-of-type {
  margin-top: 0;
}
.c-item-row h3 {
  margin-bottom: var(--space-2);
}
.c-item-row p {
  margin: 0;
  color: var(--muted);
}
@media (min-width: 720px) {
  .c-item-row {
    grid-template-columns: 6.5rem minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--gap-grid);
  }
  /* News / careers: body + action only (no thumb) */
  .c-item-row:not(:has(.c-item-thumb)),
  .c-item-row--simple {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .c-item-row:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: color-mix(in srgb, var(--color-teal) 40%, var(--line));
  }
}
.c-item-thumb {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.25rem;
  background: linear-gradient(145deg, var(--surface-muted) 0%, color-mix(in srgb, var(--color-teal) 18%, var(--surface-muted)) 100%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-card) - 1px);
  color: var(--ink-heading);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem;
}
.c-item-thumb .c-card-icon {
  margin: 0;
  width: 2.15rem;
  height: 2.15rem;
  border: 0;
  background: transparent;
}
.c-item-thumb .c-card-icon__svg {
  width: 1.25rem;
  height: 1.25rem;
}
.c-item-thumb__code {
  line-height: 1;
}
.c-btn--small {
  min-height: var(--control-min-h-sm);
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
  white-space: nowrap;
}
.c-note {
  margin: var(--space-5) 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.c-note--center {
  text-align: center;
  margin-top: var(--space-5);
}
@media (min-width: 900px) {
  .c-split--flip {
    direction: rtl;
  }
  .c-split--flip > * {
    direction: ltr;
  }
}

/* Problem ? approach ? evidence blocks */
.c-pae {
  display: grid;
  gap: var(--space-7);
  max-width: var(--measure-wide);
}
.c-pae__block h2 {
  margin-bottom: var(--space-3);
}
.c-pae__block .c-grid {
  margin-top: var(--space-5);
}
.c-pae__block--cta {
  padding: var(--space-6);
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

/* Fancy product + proof cards */
.c-pillar--lift .c-tag,
.c-grid .c-pillar .c-tag {
  margin: 0 0 var(--space-3);
}
.c-pillar--accent {
  --pillar-accent: var(--color-accent);
}
.c-product-grid {
  display: grid;
  gap: var(--gap-grid);
  align-items: stretch;
}
@media (min-width: 720px) {
  .c-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .c-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.c-product-card,
.c-proof-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--card-padding);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}
.c-product-card {
  border-top: 3px solid var(--color-accent);
}
.c-proof-card {
  border-top: 3px solid var(--color-teal);
  border-radius: 12px;
}
.c-proof-card .c-card-icon {
  width: 3.15rem;
  height: 3.15rem;
  margin-bottom: var(--space-3);
  border-radius: 10px;
  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--color-teal) 22%, var(--surface)) 0%,
      color-mix(in srgb, var(--brand-fill) 10%, var(--surface-muted)) 100%
    );
  border-color: color-mix(in srgb, var(--color-teal) 36%, var(--line));
  color: var(--brand-fill);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--brand-fill) 8%, transparent);
}
.c-proof-card .c-card-icon__svg {
  width: 1.45rem;
  height: 1.45rem;
}
html[data-theme="dark"] .c-proof-card .c-card-icon {
  color: var(--color-teal);
  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--color-teal) 24%, var(--surface)) 0%,
      var(--surface-muted) 100%
    );
}
.c-product-card h3,
.c-proof-card h3 {
  margin: 0;
  font-size: 1.2rem;
}
.c-product-card > p:not(.c-tag),
.c-proof-card > p:not(.c-tag) {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.c-product-card .c-tag,
.c-proof-card .c-tag {
  flex: 0 0 auto;
  width: max-content;
  align-self: flex-start;
  color: var(--ink-heading);
  font-size: 0.6875rem;
  margin: 0;
}
.c-proof-card .c-text-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: max-content;
  gap: 0.35rem;
}
.c-proof-card .c-text-link::after {
  content: "\2192";
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.c-product-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.c-product-card__meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-heading) !important;
}
.c-product-card__price {
  margin-top: auto !important;
  font-weight: 700;
  color: var(--ink-heading) !important;
}
.c-proof-card .c-text-link,
.c-product-card__actions {
  margin-top: auto;
}
.c-product-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.c-calc-shell {
  padding: var(--space-6);
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
@media (prefers-reduced-motion: no-preference) {
  .c-product-card:hover,
  .c-proof-card:hover {
    transform: translateY(var(--lift));
    box-shadow: var(--shadow-lg);
    border-color: color-mix(in srgb, var(--color-teal) 40%, var(--line));
  }
  .c-proof-card:hover .c-card-icon {
    transform: scale(1.07);
    border-color: color-mix(in srgb, var(--color-teal) 55%, var(--line));
  }
  .c-proof-card:hover .c-text-link {
    color: var(--color-teal);
    gap: 0.55rem;
  }
  .c-proof-card:hover .c-text-link::after {
    transform: translateX(3px);
  }
}

.c-calc-grid {
  display: grid;
  gap: var(--space-4);
  margin: var(--space-5) 0;
}
@media (min-width: 720px) {
  .c-calc-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.c-calc-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-5) 0;
  font-size: 0.9rem;
}
.c-calc-table th,
.c-calc-table td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
}
.c-calc-table th {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--surface-muted);
}
.c-calc-assumptions {
  margin: var(--space-4) 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.c-calc-assumptions ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}
.c-form__label--check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
}
.c-form__label--check input {
  width: 1.1rem;
  height: 1.1rem;
}
.c-alert--info {
  background: color-mix(in srgb, var(--color-teal) 16%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--color-teal) 40%, var(--line));
  color: var(--ink);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-card);
  margin-bottom: var(--space-4);
}
.c-page-hero--emergency {
  background: linear-gradient(135deg, var(--brand-fill) 0%, #1a1512 100%);
}
.c-news-list {
  display: grid;
  gap: 0;
}

/* ?? News archive: toolbar + grid ?? */
.c-page-hero--news {
  background:
    radial-gradient(ellipse 70% 80% at 88% 18%, color-mix(in srgb, var(--color-teal) 22%, transparent), transparent 55%),
    linear-gradient(145deg, var(--brand-fill) 0%, var(--brand-fill-deep) 55%, #1a1512 100%);
}
.c-section--news {
  padding-top: var(--space-6);
}
.c-news-toolbar {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, #fff) 0%, var(--surface) 100%);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 900px) {
  .c-news-toolbar {
    grid-template-columns: minmax(14rem, 1.1fr) auto;
    align-items: center;
    gap: var(--space-4) var(--space-5);
    padding: var(--space-4) var(--space-5);
  }
  .c-news-meta {
    grid-column: 1 / -1;
    margin: 0;
  }
}
.c-news-search {
  position: relative;
  display: block;
}
.c-news-search__icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.c-news-search__input {
  width: 100%;
  min-height: var(--control-min-h);
  padding: var(--control-pad-y) var(--control-pad-x) var(--control-pad-y) 2.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.c-news-search__input:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-teal) 28%, transparent);
}
.c-news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-muted);
}
.c-news-filter {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-height: 2.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: calc(var(--radius-card) - 2px);
  cursor: pointer;
  transition: background var(--ease), color var(--ease), box-shadow var(--ease);
}
.c-news-filter:hover {
  color: var(--ink-heading);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.c-news-filter.is-active {
  color: var(--color-white);
  background: var(--brand-fill);
  box-shadow: var(--shadow-sm);
}
html[data-theme="dark"] .c-news-filter.is-active {
  background: var(--color-teal);
  color: var(--brand-fill-deep);
}
.c-news-meta {
  margin: 0 0 var(--space-4);
  color: var(--muted);
  font-size: 0.875rem;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  min-height: 1.25rem;
}
.c-news-grid {
  display: grid;
  gap: var(--gap-grid);
  align-items: stretch;
}
@media (min-width: 720px) {
  .c-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .c-news-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    min-height: 20rem;
  }
  .c-news-card--featured .c-news-card__media {
    min-height: 100%;
    aspect-ratio: auto;
  }
  .c-news-card--featured .c-news-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-6);
  }
  .c-news-card--featured .c-news-card__title {
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  }
}
.c-news-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid color-mix(in srgb, var(--line) 88%, var(--color-teal));
  border-radius: 12px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, #fff) 0%, var(--surface) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    var(--shadow-sm);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    opacity 0.28s ease,
    filter 0.28s ease;
}
.c-news-card.is-filtered-out {
  display: none;
}
@media (prefers-reduced-motion: no-preference) {
  .c-news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: color-mix(in srgb, var(--color-teal) 45%, var(--line));
  }
  .c-news-card:hover .c-news-card__img {
    transform: scale(1.04);
  }
}
.c-news-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--surface-muted);
}
.c-news-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.c-news-card__ph {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(145deg, var(--brand-fill) 0%, color-mix(in srgb, var(--color-teal) 45%, var(--brand-fill)) 100%);
}
.c-news-card__scrim {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--brand-fill) 35%, transparent));
  pointer-events: none;
}
.c-news-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--card-padding);
  flex: 1;
}
.c-news-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
}
.c-news-card__topic {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-fill);
  background: color-mix(in srgb, var(--color-teal) 16%, var(--surface-muted));
  border: 1px solid color-mix(in srgb, var(--color-teal) 30%, var(--line));
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
}
html[data-theme="dark"] .c-news-card__topic {
  color: var(--color-teal);
}
.c-news-card__date {
  color: var(--muted);
  font-size: 0.8125rem;
}
.c-news-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--ink-heading);
}
.c-news-card__title a {
  color: inherit;
  text-decoration: none;
}
.c-news-card__title a:hover {
  color: var(--link-hover);
}
.c-news-card__excerpt {
  margin: 0;
  color: var(--muted);
  flex: 1;
}
.c-news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  font-weight: 650;
  font-size: 0.9rem;
  color: var(--brand-fill);
  text-decoration: none;
}
html[data-theme="dark"] .c-news-card__more {
  color: var(--color-teal);
}
.c-news-card__more:hover {
  color: var(--link-hover);
}
.c-news-empty {
  margin-top: var(--space-6);
  padding: var(--space-6);
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-card);
  background: var(--surface);
  color: var(--muted);
}
.c-news-empty[hidden] {
  display: none !important;
}
.c-news-empty .c-btn {
  margin-top: var(--space-4);
}

/* --------------------------------------------------------------------------
   Single article ? cinematic hero + reading panel
   -------------------------------------------------------------------------- */
.c-article {
  isolation: isolate;
}
.c-article-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 55% 70% at 80% 10%, color-mix(in srgb, var(--color-teal) 28%, transparent), transparent 60%),
    linear-gradient(155deg, var(--brand-fill) 0%, var(--brand-fill-deep) 48%, #0a1a16 100%);
  padding: calc(var(--space-7) + 0.5rem) 0 clamp(5.5rem, 12vw, 8rem);
  min-height: clamp(22rem, 58vw, 32rem);
  display: grid;
  align-items: end;
}
.c-article-hero--media {
  min-height: clamp(24rem, 68vw, 36rem);
}
.c-article-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.c-article-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  filter: saturate(0.92) brightness(0.68);
}
@media (prefers-reduced-motion: no-preference) {
  .c-article-hero__img {
    animation: sorba-article-ken 18s ease-out forwards;
  }
}
@keyframes sorba-article-ken {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.02);
  }
}
.c-article-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, color-mix(in srgb, var(--brand-fill-deep) 78%, #000) 0%, color-mix(in srgb, var(--brand-fill) 42%, transparent) 48%, color-mix(in srgb, #04110e 72%, transparent) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--brand-fill) 18%, transparent) 0%, color-mix(in srgb, var(--brand-fill-deep) 88%, #000) 100%);
  pointer-events: none;
}
.c-article-hero__inner {
  position: relative;
  z-index: 1;
  max-width: min(100%, 46rem);
}
.c-article-hero__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin: 0 0 var(--space-4);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, #fff 72%, transparent);
}
.c-article-hero__crumb a {
  color: var(--color-teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.c-article-hero__crumb a:hover {
  color: #fff;
}
.c-article-hero__crumb-sep {
  opacity: 0.45;
}
.c-article-hero__kicker {
  margin: 0 0 var(--space-3);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-teal);
}
.c-article-hero__title {
  margin: 0 0 var(--space-4);
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.6vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
  text-shadow: 0 2px 28px color-mix(in srgb, #000 35%, transparent);
}
.c-article-hero__deck {
  margin: 0 0 var(--space-5);
  max-width: 38rem;
  color: color-mix(in srgb, #fff 88%, transparent);
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  line-height: 1.55;
}
.c-article-hero__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
}
.c-article-hero__stats li {
  display: grid;
  gap: 0.2rem;
  min-width: 6.5rem;
}
.c-article-hero__stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, #fff 55%, transparent);
}
.c-article-hero__stats time,
.c-article-hero__stats li > span:last-child {
  font-weight: 650;
  font-size: 0.95rem;
  color: #fff;
}

.c-article-body {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * clamp(2.75rem, 6vw, 4.25rem));
  padding-bottom: var(--section-y);
}
.c-article-body__layout {
  display: grid;
  gap: var(--space-5);
  align-items: start;
}
@media (min-width: 960px) {
  .c-article-body__layout {
    grid-template-columns: 14.5rem minmax(0, 1fr);
    gap: var(--space-6);
  }
}
.c-article-rail {
  display: none;
}
@media (min-width: 960px) {
  .c-article-rail {
    display: block;
    position: sticky;
    top: calc(var(--header-h, 4.5rem) + 1.25rem);
  }
}
.c-article-rail__card {
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, #fff) 0%, var(--surface) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    var(--shadow-sm);
}
.c-article-rail__label {
  margin: 0 0 var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.c-article-rail__topic {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink-heading);
}
.c-article-rail__date {
  margin: 0 0 var(--space-4);
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.c-article-rail__back {
  width: 100%;
  justify-content: center;
}

.c-article-panel {
  position: relative;
  padding: clamp(1.35rem, 3vw, 2.15rem) clamp(1.15rem, 3.2vw, 2.5rem) clamp(1.6rem, 3.5vw, 2.5rem);
  border: 1px solid color-mix(in srgb, var(--line) 85%, var(--color-teal));
  border-radius: 14px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 94%, #fff) 0%, var(--surface) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    var(--shadow-md);
  overflow: hidden;
}
.c-article-panel__accent {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--brand-fill) 0%,
    var(--color-teal) 55%,
    color-mix(in srgb, var(--color-accent) 75%, var(--color-teal)) 100%
  );
}
.c-prose--article {
  max-width: 40rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
}
.c-prose--article > *:first-child {
  margin-top: 0;
}
.c-prose--article > *:last-child {
  margin-bottom: 0;
}
.c-prose--article p {
  margin: 0 0 1.15em;
}
.c-prose--article h2 {
  margin: 1.75em 0 0.65em;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  line-height: 1.25;
  color: var(--ink-heading);
  letter-spacing: -0.015em;
}
.c-prose--article h2:first-child {
  margin-top: 0;
}
.c-prose--article ul,
.c-prose--article ol {
  margin: 0 0 1.25em;
  padding-left: 1.2em;
}
.c-prose--article li {
  margin: 0.45em 0;
}
.c-prose--article li::marker {
  color: var(--color-teal);
}
.c-prose--article a {
  color: var(--brand-fill);
  font-weight: 600;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}
html[data-theme="dark"] .c-prose--article a {
  color: var(--color-teal);
}
.c-prose--article a:hover {
  color: var(--link-hover);
}

.c-article-cta {
  position: relative;
  overflow: hidden;
  padding: var(--space-7) 0;
  background:
    radial-gradient(ellipse 50% 80% at 12% 20%, color-mix(in srgb, var(--color-teal) 22%, transparent), transparent 55%),
    linear-gradient(135deg, var(--brand-fill) 0%, var(--brand-fill-deep) 100%);
  color: #fff;
}
.c-article-cta__inner {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
@media (min-width: 800px) {
  .c-article-cta__inner {
    grid-template-columns: minmax(0, 1.4fr) auto;
    gap: var(--space-6);
  }
}
.c-article-cta h2 {
  margin: 0 0 var(--space-3);
  color: #fff;
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
}
.c-article-cta p {
  margin: 0;
  color: color-mix(in srgb, #fff 86%, transparent);
  max-width: 36rem;
}
.c-article-cta .c-eyebrow {
  color: var(--color-teal);
}
.c-article-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.c-article-related {
  padding-top: var(--space-7);
}
.c-news-grid--related {
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .c-news-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.c-article-related .c-news-card__title {
  font-size: 1.05rem;
}
@media print {
  .c-site-header,
  .c-emergency,
  .c-report-sticky,
  .c-wa,
  .c-cookie,
  .c-site-footer {
    display: none !important;
  }
  .c-calc-results {
    display: block !important;
  }
}

.c-partner-ph {
  display: grid;
  place-items: center;
  min-height: 5.5rem;
  max-width: 22rem;
  margin-bottom: var(--space-5);
  padding: var(--space-4);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-card);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.c-compare {
  display: grid;
  gap: var(--gap-grid-dense);
}
@media (min-width: 720px) {
  .c-compare {
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
  }
}
.c-compare__col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--card-padding);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}
.c-compare__col--better {
  border-color: var(--color-teal);
  box-shadow: var(--shadow-sm), inset 0 3px 0 var(--color-teal);
}
@media (prefers-reduced-motion: no-preference) {
  .c-compare__col:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
  .c-compare__col--better:hover {
    box-shadow: var(--shadow-md), inset 0 3px 0 var(--color-teal);
  }
}
.c-compare__col h3 {
  margin-bottom: var(--space-4);
  font-size: 1.15rem;
}
.c-compare__col ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}
.c-compare__col li + li {
  margin-top: 0.55rem;
}
.c-compare__vs {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.c-btn--soon {
  opacity: 0.72;
  cursor: default;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   About / Community / Contact (Phase 5)
   -------------------------------------------------------------------------- */
.c-page-hero--contact {
  padding-block: clamp(var(--space-7), 10vh, var(--space-9)) var(--space-8);
}
.c-page-hero--contact .c-page-hero__glow {
  position: absolute;
  inset: auto -10% -40% 40%;
  width: min(36rem, 70vw);
  height: min(36rem, 70vw);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(224, 138, 30, 0.22) 0%,
    rgba(75, 179, 190, 0.14) 42%,
    transparent 70%
  );
  pointer-events: none;
  animation: sorba-contact-glow 7s ease-in-out infinite alternate;
}
.c-page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}
.c-page-hero__lead {
  margin-bottom: var(--space-5);
}
.c-contact-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.c-contact-jumps__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-card);
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.06);
  transition:
    background-color 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease;
}
.c-contact-jumps__link:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
@media (prefers-reduced-motion: no-preference) {
  .c-contact-jumps__link:hover {
    transform: translateY(-1px);
  }
}

.c-contact-emergency {
  padding-block: var(--section-y-tight);
}
.c-contact-emergency__panel {
  display: grid;
  gap: var(--space-5);
  align-items: end;
  padding: clamp(var(--space-5), 4vw, var(--space-7));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: calc(var(--radius-card) + 2px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(9, 28, 22, 0.35);
  backdrop-filter: blur(6px);
}
@media (min-width: 800px) {
  .c-contact-emergency__panel {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: var(--space-6);
  }
}
.c-contact-emergency__copy h2 {
  margin-bottom: var(--space-3);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
}
.c-contact-emergency__copy p:last-child {
  margin: 0;
  max-width: 36rem;
}
.c-contact-emergency__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.c-contact-forms__grid {
  display: grid;
  gap: var(--gap-grid);
}
@media (min-width: 900px) {
  .c-contact-forms__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}
.c-contact-panel,
.c-contact-emergency__panel {
  /* Keep contact content visible ? do not leave these on .js-reveal */
  opacity: 1;
  transform: none;
}
.c-contact-panel {
  display: grid;
  gap: var(--space-5);
  padding: var(--card-padding);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-card) + 2px);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.c-contact-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-fill), var(--color-teal));
}
.c-contact-panel--trial::before {
  background: linear-gradient(90deg, var(--color-accent), var(--color-teal));
}
.c-contact-panel__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
}
.c-contact-panel__head h3 {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
}
.c-contact-panel__head p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.c-form--panel {
  max-width: none;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.c-form__grid {
  display: grid;
  gap: var(--gap-grid-dense);
}
@media (min-width: 560px) {
  .c-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .c-form__label--full {
    grid-column: 1 / -1;
  }
}

.c-contact-find__layout {
  display: grid;
  gap: var(--gap-grid);
}
@media (min-width: 900px) {
  .c-contact-find__layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
  }
}
.c-contact-find__email {
  margin: var(--space-5) 0 0;
  font-family: var(--font-mono);
  font-size: 0.92rem;
}
.c-contact-find__email a {
  color: var(--ink-heading);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--color-teal) 55%, transparent);
}
.c-contact-find__email a:hover {
  color: var(--color-teal);
}
.c-map--tall {
  min-height: 18rem;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-md);
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes sorba-contact-glow {
    from {
      transform: translate3d(0, 0, 0) scale(1);
      opacity: 0.75;
    }
    to {
      transform: translate3d(-6%, 4%, 0) scale(1.08);
      opacity: 1;
    }
  }
}

.c-loc-list {
  display: grid;
  gap: var(--gap-grid-dense);
}
.c-loc-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-3);
  align-items: start;
  padding: var(--card-padding-compact);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .c-loc-list article:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: color-mix(in srgb, var(--color-teal) 35%, var(--line));
  }
}
.c-loc-list h3 {
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}
.c-loc-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.c-loc-list--on-dark article {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}
@media (prefers-reduced-motion: no-preference) {
  .c-loc-list--on-dark article:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  }
}
.c-loc-list--on-dark h3 {
  color: var(--color-white);
}
.c-loc-list--on-dark p {
  color: rgba(255, 255, 255, 0.82);
}

.c-map {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-muted);
  min-height: 16rem;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}
.c-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.c-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.c-alert {
  padding: 0.85rem 1rem;
  margin-bottom: var(--space-5);
  border: 1px solid var(--color-line);
  font-weight: 600;
}
.c-alert--success {
  background: #e8f6ef;
  border-color: var(--color-teal);
  color: var(--color-mangrove);
}
.c-alert--error {
  background: #fef3f2;
  border-color: var(--color-emergency);
  color: var(--color-emergency);
}

/* --------------------------------------------------------------------------
   Phase 6 � cookie notice, privacy prose, a11y polish
   -------------------------------------------------------------------------- */
.c-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--brand-fill);
  color: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: var(--space-4) 0;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
}
.c-cookie__inner {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}
@media (min-width: 720px) {
  .c-cookie__inner {
    grid-template-columns: 1fr auto;
  }
}
.c-cookie__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-white);
  font-size: 1rem;
}
.c-cookie__text {
  margin: 0;
  max-width: 48rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.86);
}
.c-cookie__text a {
  color: var(--color-teal);
}
.c-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.c-cookie .c-btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--color-white);
}
.c-cookie .c-btn--ghost:hover {
  background: var(--color-white);
  color: var(--color-mangrove);
}

/* --------------------------------------------------------------------------
   WhatsApp live chat (custom conversational widget)
   -------------------------------------------------------------------------- */
.c-wa {
  --wa-green: #25d366;
  --wa-green-deep: #128c37;
  --wa-head: #075e54;
  --wa-bubble-bot: #ffffff;
  --wa-bubble-user: #dcf8c6;
  --wa-chat-bg: #e5ddd5;
  --wa-fab: 3.25rem;
  --wa-offset: max(1rem, env(safe-area-inset-right));
  position: fixed;
  right: var(--wa-offset);
  bottom: max(1.15rem, env(safe-area-inset-bottom));
  z-index: 55;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  width: auto;
  max-width: calc(100vw - (2 * var(--wa-offset)));
  transition: bottom 0.28s ease;
}
body:has([data-cookie-notice]:not([hidden])) .c-wa {
  bottom: max(9.5rem, calc(env(safe-area-inset-bottom) + 9.25rem));
}
@media (max-width: 899px) {
  /* Sit above sticky Report bar */
  .c-wa {
    bottom: calc(var(--report-sticky-h) + 0.85rem + env(safe-area-inset-bottom));
  }
  body:has([data-cookie-notice]:not([hidden])) .c-wa {
    bottom: calc(var(--report-sticky-h) + 9.5rem + env(safe-area-inset-bottom));
  }
}
html[data-theme="dark"] .c-wa {
  --wa-bubble-bot: #202c33;
  --wa-bubble-user: #005c4b;
  --wa-chat-bg: #0b141a;
}

.c-wa__teaser {
  position: relative;
  width: min(18rem, calc(100vw - (2 * var(--wa-offset))));
  max-width: 100%;
  padding: 0.85rem 2rem 0.85rem 0.95rem;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.c-wa__teaser[hidden] {
  display: none !important;
}
.c-wa__teaser-close {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 1.6rem;
  height: 1.6rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}
.c-wa__teaser-body {
  display: grid;
  gap: 0.25rem;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  padding: 0;
  color: inherit;
}
.c-wa__teaser-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-heading);
}
.c-wa__teaser-text {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.c-wa__fab {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: var(--wa-fab);
  height: var(--wa-fab);
  min-width: var(--wa-fab);
  min-height: var(--wa-fab);
  padding: 0;
  border: 0;
  border-radius: var(--radius-card); /* squared, matches cards */
  background: var(--brand-fill);
  color: var(--color-white);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(18, 61, 51, 0.28);
  overflow: visible;
}
.c-wa__fab-icon {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  line-height: 0;
  pointer-events: none;
}
.c-wa__fab-icon svg {
  display: block;
  width: 1.45rem;
  height: 1.45rem;
  margin: 0;
  flex-shrink: 0;
}
.c-wa__fab-icon--close {
  visibility: hidden;
}
.c-wa.is-open .c-wa__fab-icon--open {
  visibility: hidden;
}
.c-wa.is-open .c-wa__fab-icon--close {
  visibility: visible;
}
.c-wa__badge {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: #e53935;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
  box-shadow: 0 0 0 2px #fff;
}
.c-wa.is-open .c-wa__badge,
.c-wa.is-seen .c-wa__badge {
  display: none;
}
.c-wa__fab:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: no-preference) {
  .c-wa__fab {
    animation: sorba-wa-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}
@keyframes sorba-wa-enter {
  from {
    opacity: 0;
    transform: translateY(0.75rem) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.c-wa__panel {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  width: min(22.5rem, calc(100vw - (2 * var(--wa-offset))));
  max-height: min(34rem, calc(100svh - 7.5rem));
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-lg);
  background: var(--surface);
  transform-origin: bottom right;
}
@media (max-width: 899px) {
  .c-wa__panel {
    max-height: min(
      30rem,
      calc(100svh - var(--report-sticky-h) - 5.5rem - env(safe-area-inset-bottom))
    );
  }
}
@media (max-width: 380px) {
  .c-wa {
    --wa-fab: 3rem;
    --wa-offset: max(0.75rem, env(safe-area-inset-right));
  }
  .c-wa__fab-icon svg {
    width: 1.4rem;
    height: 1.4rem;
  }
}
.c-wa__panel[hidden] {
  display: none !important;
}
@media (prefers-reduced-motion: no-preference) {
  .c-wa.is-open .c-wa__panel {
    animation: sorba-wa-panel 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}
@keyframes sorba-wa-panel {
  from {
    opacity: 0;
    transform: translateY(0.55rem) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.c-wa__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.8rem;
  background: var(--wa-head);
  color: #fff;
}
.c-wa__avatar {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.35);
}
.c-wa__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.c-wa__who {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
  flex: 1;
}
.c-wa__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
}
.c-wa__status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.82);
}
.c-wa__online {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.25);
}
.c-wa__icon-btn {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}
.c-wa__icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}
.c-wa__icon-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.c-wa__icon-btn[hidden] {
  display: none !important;
}

.c-wa__log {
  overflow: auto;
  padding: 0.9rem 0.85rem;
  min-height: 12rem;
  max-height: 18rem;
  background:
    linear-gradient(rgba(18, 61, 51, 0.04), rgba(18, 61, 51, 0.04)),
    var(--wa-chat-bg);
  display: grid;
  align-content: start;
  gap: 0.45rem;
}
.c-wa__msg {
  max-width: 88%;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.4;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  word-wrap: break-word;
}
.c-wa__msg--bot {
  justify-self: start;
  background: var(--wa-bubble-bot);
  color: var(--ink);
  border-top-left-radius: 3px;
}
.c-wa__msg--user {
  justify-self: end;
  background: var(--wa-bubble-user);
  color: #111;
  border-top-right-radius: 3px;
}
html[data-theme="dark"] .c-wa__msg--user {
  color: #e9edef;
}
html[data-theme="dark"] .c-wa__msg--bot {
  color: #e9edef;
}
.c-wa__typing {
  display: inline-flex;
  gap: 0.28rem;
  align-items: center;
  min-width: 3rem;
  padding: 0.7rem 0.85rem;
}
.c-wa__typing span {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: #999;
  animation: sorba-wa-dot 1s infinite ease-in-out;
}
.c-wa__typing span:nth-child(2) {
  animation-delay: 0.15s;
}
.c-wa__typing span:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes sorba-wa-dot {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

.c-wa__footer {
  padding: 0.65rem 0.75rem 0.35rem;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.c-wa__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.c-wa__chip {
  border: 1px solid color-mix(in srgb, var(--wa-green) 45%, var(--line));
  background: color-mix(in srgb, var(--wa-green) 8%, var(--surface));
  color: var(--ink-heading);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-display);
  cursor: pointer;
}
.c-wa__chip:hover,
.c-wa__chip:focus-visible {
  background: color-mix(in srgb, var(--wa-green) 18%, var(--surface));
  border-color: var(--wa-green);
  outline: none;
}
.c-wa__composer {
  display: grid;
  gap: 0.45rem;
}
.c-wa__composer-row {
  display: flex;
  gap: 0.4rem;
}
.c-wa__input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
}
.c-wa__input:focus-visible {
  outline: var(--focus);
  outline-offset: 1px;
}
.c-wa__send,
.c-wa__skip,
.c-wa__cta {
  border: 0;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}
.c-wa__send,
.c-wa__cta {
  background: var(--wa-green);
  color: #fff;
  padding: 0.7rem 1rem;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.c-wa__send:hover,
.c-wa__cta:hover {
  background: var(--wa-green-deep);
  color: #fff;
}
.c-wa__skip {
  background: transparent;
  color: var(--muted);
  padding: 0.45rem 0.65rem;
}
.c-wa__note {
  margin: 0;
  padding: 0.45rem 0.85rem 0.7rem;
  font-size: 0.68rem;
  line-height: 1.35;
  color: var(--muted);
  background: var(--surface);
}

.c-prose--narrow {
  max-width: var(--measure-prose);
}
.c-prose--narrow h2 {
  margin-top: var(--space-6);
}
.c-prose--narrow h2:first-child {
  margin-top: 0;
}

/* Generic WP entry content (page.php / index.php) */
.c-entry + .c-entry {
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
}
.c-entry__title {
  margin-bottom: var(--space-4);
}
.c-entry__content > *:last-child {
  margin-bottom: 0;
}
.c-calc-shell--spaced {
  margin-top: var(--space-6);
}

/* Preloader: avoid layout shift when hidden */
html.has-preloader {
  overflow: hidden;
}
.c-preloader[hidden] {
  display: none !important;
}

/* Stronger focus for keyboard users on dark surfaces */
.c-emergency__link:focus-visible,
.c-btn--ghost-on-dark:focus-visible,
.c-btn--accent:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Scroll reveals (Phase 4)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html.has-preloader .c-main {
    opacity: 0;
  }
  html.is-ready .c-main {
    opacity: 1;
    /* Opacity-only ? a lingering transform on .c-main breaks document scroll */
    animation: sorba-main-fade 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
}
@keyframes sorba-main-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.js-reveal {
  opacity: 0;
  transform: translateY(0.9rem);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.js-reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}
/* Contact panels must stay visible (forms live inside) */
.c-contact-panel.js-reveal,
.c-contact-emergency__panel.js-reveal,
.c-contact-panel,
.c-contact-emergency__panel {
  opacity: 1 !important;
  transform: none !important;
}

/* Touch targets ? 44px (WCAG 2.2). Emergency bar links stay compact; sticky Report / WA cover mobile. */
.c-theme-toggle,
.c-nav-toggle,
.c-report-sticky__btn {
  min-height: var(--control-min-h);
}
.c-theme-toggle {
  min-width: var(--control-min-h);
}
.c-grid .c-pillar.js-reveal:nth-child(2),
.c-values .c-value.js-reveal:nth-child(2),
.c-compare .c-compare__col.js-reveal:nth-child(3) {
  transition-delay: 0.06s;
}
.c-grid .c-pillar.js-reveal:nth-child(3),
.c-values .c-value.js-reveal:nth-child(3) {
  transition-delay: 0.12s;
}
.c-values .c-value.js-reveal:nth-child(4) {
  transition-delay: 0.16s;
}
.c-values .c-value.js-reveal:nth-child(5) {
  transition-delay: 0.2s;
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html.has-preloader .c-main,
  html.is-ready .c-main {
    opacity: 1;
    animation: none;
  }
}
