/* ==========================================================================
   SABA Recycling Services – styles
   Palette sampled from the supplied logo. Mobile-first.
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("../fonts/caveat-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --forest-900: #0a3a22;
  --forest-800: #0d4a2b;
  --forest-700: #115e36;
  --forest-600: #187244;
  --green-500: #579b37;
  --green-400: #7bbd4c;
  --green-200: #cfe8bd;
  --green-100: #e6f2dc;
  --green-50: #f3f9ee;
  --blue-700: #0d65a0;
  --blue-500: #2f8fd0;
  --blue-100: #e2f0fb;
  --blue-50: #f1f8fd;
  --board-500: #a38461;
  --board-100: #f5ecdf;
  --board-50: #faf5ec;
  --ink: #0f2419;
  --ink-2: #33473c;
  --muted: #526558;
  --line: #dfe9da;
  --danger: #b3261e;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(10, 58, 34, 0.06), 0 6px 16px -8px rgba(10, 58, 34, 0.14);
  --shadow-md: 0 2px 4px rgba(10, 58, 34, 0.05), 0 18px 36px -16px rgba(10, 58, 34, 0.26);
  --shadow-lg: 0 34px 70px -30px rgba(10, 58, 34, 0.42);

  --header-h: 68px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1416px;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
}

@media (min-width: 1000px) {
  :root { --header-h: 76px; }
}

/* ------------------------------------------------------------ base ----- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1rem, 0.96rem + 0.22vw, 1.15rem);
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg, video, canvas { max-width: 100%; }
img { height: auto; }

h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 1.3rem + 2.9vw, 3.6rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.65rem); letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }

.lede {
  font-size: clamp(1.06rem, 1rem + 0.36vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 40rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest-600);
}
.eyebrow .icon { width: 1.25em; height: 1.25em; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }
.cta :focus-visible, .who-tile--cta :focus-visible { outline-color: #fff; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--forest-800);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 9vw, 128px); scroll-margin-top: var(--header-h); }
[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lede { margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }

/* ---------------------------------------------------------- buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 56px;
  padding: 0 28px;
  border: 2px solid transparent;
  border-radius: 16px;
  font: inherit;
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn:active { transform: translateY(0) scale(0.98); }
.btn--sm { min-height: 46px; padding: 0 18px; font-size: 0.96rem; border-radius: 14px; }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 1.08rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--forest-700); color: #fff; box-shadow: 0 14px 26px -12px rgba(17, 94, 54, 0.75); }
.btn--primary:hover { background: var(--forest-800); transform: translateY(-2px); box-shadow: 0 20px 32px -12px rgba(17, 94, 54, 0.8); }

.btn--secondary { background: #fff; color: var(--forest-700); border-color: var(--forest-700); }
.btn--secondary:hover { background: var(--green-50); transform: translateY(-2px); }

.btn--light { background: #fff; color: var(--forest-800); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.5); }
.btn--light:hover { background: var(--green-100); transform: translateY(-2px); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.75); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; transform: translateY(-2px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  align-self: flex-start;
  font-weight: 800;
  color: var(--forest-700);
  text-decoration: none;
  padding-block: 6px;
}
.text-link .icon { transition: transform 0.25s var(--ease); }
.text-link:hover .icon { transform: translateX(5px); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ----------------------------------------------------------- header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s, background-color 0.3s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--line);
  box-shadow: 0 10px 26px -18px rgba(10, 58, 34, 0.5);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.brand { display: flex; flex: none; align-items: center; }
.brand img { display: block; height: 40px; width: auto; }
@media (min-width: 1000px) { .brand img { height: 50px; } }

.nav { display: none; margin-inline: auto; }
.nav ul { display: flex; gap: 2px; list-style: none; }
.nav a {
  position: relative;
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 3px;
  border-radius: 3px;
  background: var(--green-500);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.nav a:hover { color: var(--forest-700); }
.nav a.is-active { color: var(--forest-700); font-weight: 700; }
.nav a.is-active::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.btn--call { display: none; }
.btn--book .sm { display: none; }
.btn--book { padding-inline: 14px; }

.menu-toggle {
  display: inline-grid;
  place-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}
.menu-toggle span { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--forest-700); transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: grid;
  gap: 18px;
  padding: 6px var(--gutter) 26px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 40px -24px rgba(10, 58, 34, 0.4);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; }
.mobile-menu a:not(.btn) {
  display: block;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}

.btn--book { white-space: nowrap; }
@media (max-width: 479px) {
  .brand img { height: 34px; }
  .btn--book { min-height: 44px; padding-inline: 14px; font-size: 0.92rem; }
  .btn--book .icon { display: none; }
  .header__inner { gap: 10px; }
  .header__actions { gap: 8px; }
  .menu-toggle { width: 44px; height: 44px; }
}
@media (max-width: 359px) {
  .btn--book .lg { display: none; }
  .btn--book .sm { display: inline; }
}
@media (min-width: 640px) { .btn--book { padding-inline: 20px; } }
@media (min-width: 1240px) {
  .nav { display: block; }
  .menu-toggle, .mobile-menu { display: none !important; }
  .btn--call { display: inline-flex; }
  .btn--call span { display: none; }
  .btn--call { width: 46px; padding: 0; }
}
@media (min-width: 1340px) {
  .btn--call { width: auto; padding: 0 18px; }
  .btn--call span { display: inline; }
  .nav a { padding-inline: 14px; }
  .nav a::after { left: 14px; right: 14px; }
}

/* ------------------------------------------------------------- hero ----- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    radial-gradient(56% 70% at 88% 26%, #e3f2fb 0%, rgba(227, 242, 251, 0) 72%),
    radial-gradient(50% 60% at 0% 100%, var(--green-50) 0%, rgba(243, 249, 238, 0) 72%),
    #fff;
}
.hero__inner {
  position: relative;
  display: grid;
  gap: 12px;
  align-items: center;
  max-width: var(--maxw);
  min-height: calc(100svh - var(--header-h));
  margin-inline: auto;
  padding: 28px var(--gutter) 36px;
}
.hero__copy { position: relative; z-index: 2; }

.hero__title {
  margin: 6px 0 22px;
  font-size: clamp(2.7rem, 1.5rem + 4.2vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: initial;
}
.hero__title .mask { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.05em 0.16em; margin: 0 -0.05em -0.16em; }
.hero__title .rise { display: inline-block; }
.hero__title .accent { position: relative; color: var(--forest-700); }
.swoosh { position: absolute; left: 0; bottom: -0.04em; width: 100%; height: 0.22em; overflow: visible; }
.swoosh path { fill: none; stroke: var(--green-400); stroke-width: 6; stroke-linecap: round; vector-effect: non-scaling-stroke; }

.hero .lede { max-width: 34rem; margin-bottom: 30px; }
.hero__note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  font-weight: 600;
  color: var(--ink-2);
}
.hero__note .icon { box-sizing: content-box; width: 1.1em; height: 1.1em; padding: 0.32em; border-radius: 50%; background: var(--green-100); color: var(--forest-700); }

.material-chips { display: none; flex-wrap: wrap; gap: 10px; margin-top: 22px; list-style: none; }
.material-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 9px 15px 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--forest-700);
}

.hero__visual { position: relative; margin-inline: calc(var(--gutter) * -1); }
.hero__stage { position: relative; aspect-ratio: 1672 / 941; width: 116%; margin-left: -8%; transform-origin: 55% 60%; }
.hero__frame {
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 92%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 12%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 92%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 12%, #000 84%, transparent 100%);
  mask-composite: intersect;
}
.hero__img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 1.2s ease; }
.hero__video.is-playing { opacity: 1; }

.badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.55em 0.95em 0.55em 0.75em;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-md);
  font-size: clamp(0.66rem, 0.55rem + 0.5vw, 0.88rem);
  font-weight: 800;
  color: var(--forest-800);
  white-space: nowrap;
  animation: bob 5.5s ease-in-out infinite;
}
.badge .icon { width: 1.3em; height: 1.3em; color: var(--green-500); }
.badge--collect { left: 15%; top: 34%; }
.badge--sort { left: 44%; top: 10%; animation-delay: -1.8s; }
.badge--new { right: 12%; top: 22%; animation-delay: -3.4s; }

.hero__tagline {
  position: relative;
  margin-top: -6px;
  text-align: center;
  font-family: "Caveat", "Segoe Script", cursive;
  font-size: clamp(1.25rem, 0.9rem + 1.3vw, 1.9rem);
  font-weight: 600;
  color: var(--forest-700);
  transform: rotate(-3deg);
  transform-origin: left bottom;
  white-space: nowrap;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  display: none;
  align-items: center;
  gap: 0.5em;
  translate: -50% 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.scroll-cue .icon { animation: nudge 2s ease-in-out infinite; }

@media (min-width: 1000px) {
  .hero__inner {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    gap: 24px;
    padding-block: 24px 96px;
  }
  .hero__copy { grid-column: 1 / span 6; grid-row: 1; }
  .hero__stage { width: 100%; margin-left: 0; }
  .badge--collect { left: 9%; }
  .badge--sort { left: 45%; }
  .badge--new { right: 4%; top: 20%; }
  .hero__visual { grid-column: 6 / -1; grid-row: 1; margin-inline: 0 calc(var(--gutter) * -1); }
  .scroll-cue { display: inline-flex; }
  .hero__tagline { position: absolute; left: 8%; bottom: 2%; margin: 0; text-align: left; }
  .hero__frame {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.3) 12%, #000 30%, #000 94%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 14%, #000 82%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.3) 12%, #000 30%, #000 94%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 14%, #000 82%, transparent 100%);
  }
}
@media (min-width: 700px) { .material-chips { display: flex; } }
@media (min-width: 1280px) {
  .hero__visual { grid-column: 5 / -1; }
}

/* ------------------------------------------------------ what we recycle -- */
.recycle { background: #fff; }

.cards3 { display: grid; gap: 22px; }
@media (min-width: 800px) { .cards3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; } }

.material-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.material-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.material-card__art { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 14px; }
.material-card--it .material-card__art { background: linear-gradient(140deg, var(--green-100), var(--blue-50)); }
.material-card--plastic .material-card__art { background: linear-gradient(140deg, var(--blue-100), #f4faff); }
.material-card--card .material-card__art { background: linear-gradient(140deg, var(--board-100), var(--board-50)); }
.art { width: min(100%, 380px); height: auto; overflow: visible; transition: transform 0.6s var(--ease); }
.material-card:hover .art { transform: scale(1.05) rotate(-1deg); }
.art__float { animation: float 6s ease-in-out infinite; animation-delay: var(--d, 0s); }
.art use { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.material-card__body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 26px 26px 28px; }
.material-card__body p { color: var(--ink-2); }
.material-card__body .text-link { margin-top: auto; }

.ask-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: clamp(30px, 4vw, 48px);
  padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--green-50);
  border: 1px solid var(--green-200);
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
  font-weight: 600;
}
.ask-bar strong { color: var(--forest-700); font-weight: 800; }
@media (min-width: 720px) { .ask-bar { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ------------------------------------------------------ cinematic journey -- */
.journey { position: relative; background: linear-gradient(180deg, #fff 0%, var(--green-50) 50%, #fff 100%); }
.journey__pin { position: relative; padding: calc(var(--header-h) + 10px) 0 28px; }
.journey__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.journey__panel { display: contents; }
.journey__title { order: 1; }
.journey__scene { order: 2; min-width: 0; }
.stage-stack { order: 3; }
.stage-progress { order: 4; }
.journey__title h2 { font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3.3rem); }
.journey__title .eyebrow { margin-bottom: 8px; }

.stage-stack { display: grid; position: relative; }
.stage { display: grid; gap: 10px; align-content: start; min-width: 0; padding-block: 8px; }
.stage p:not(.stage__num):not(.scroll-hint) { max-width: 28rem; color: var(--ink-2); }
.stage .btn { justify-self: start; margin-top: 8px; }
.stage__num { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-500); }
.stage h3 { font-size: clamp(1.9rem, 1.3rem + 2vw, 3.1rem); letter-spacing: -0.035em; color: var(--forest-800); }
.scroll-hint { display: inline-flex; align-items: center; gap: 0.6em; margin-top: 10px; font-size: 0.9rem; font-weight: 700; color: var(--forest-600); }
.scroll-hint .icon { animation: nudge 2s ease-in-out infinite; }

.js .stage-stack .stage { grid-area: 1 / 1; opacity: 0; pointer-events: none; }
.js .stage-stack .stage.is-active { pointer-events: auto; }
.no-anim .stage-stack .stage:first-child { opacity: 1; }

/* progress indicator: 01 → 04 */
.stage-progress { position: relative; padding-top: 4px; }
.stage-progress ol { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.stage-progress li { display: flex; justify-content: center; }
.stage-progress__line {
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 24px;
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}
.stage-progress__line span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--green-400), var(--forest-700));
  transform: scaleX(var(--fill, 0));
  transform-origin: left;
}
.stage-progress button {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
}
.stage-progress .num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.stage-progress .lbl { max-width: 8ch; font-size: 0.78rem; font-weight: 700; line-height: 1.2; text-align: center; }
.stage-progress li.is-done .num { border-color: var(--green-500); background: var(--green-100); color: var(--forest-700); }
.stage-progress li.is-current .num { border-color: var(--forest-700); background: var(--forest-700); color: #fff; box-shadow: 0 0 0 6px rgba(87, 155, 55, 0.22); }
.stage-progress li.is-current .lbl { color: var(--forest-800); }
.stage-progress button:hover .num { border-color: var(--green-500); }

/* the scene window */
.scene__frame {
  position: relative;
  height: clamp(190px, 35svh, 420px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  background: #e8f1f6;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.scene__still, .scene__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scene__still { object-fit: cover; }
.js .scene__still { visibility: hidden; }
.no-canvas .scene__still { visibility: visible; }
.scene__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 70px rgba(10, 58, 34, 0.16);
}
.scene__overlay { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.pin, .marker, .chip { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; }
.pin { display: flex; flex-direction: column; align-items: center; gap: 6px; translate: -50% -100%; }
.pin__label {
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--forest-800);
  white-space: nowrap;
}
.pin__dot { position: relative; width: 14px; height: 14px; border: 3px solid #fff; border-radius: 50%; background: var(--green-500); box-shadow: 0 2px 8px rgba(10, 58, 34, 0.4); }
.pin__dot::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid var(--green-500); animation: ping 2s ease-out infinite; }
.pin--new .pin__dot { background: var(--blue-700); }
.pin--new .pin__dot::after { border-color: var(--blue-700); }

.marker {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  translate: -50% -50%;
  border: 3px solid var(--forest-700);
  border-radius: 50%;
  background: #fff;
  color: var(--forest-700);
  box-shadow: 0 8px 20px rgba(10, 58, 34, 0.4);
}
.marker::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--green-500); animation: ping 1.8s ease-out infinite; }
.marker .icon { width: 26px; height: 26px; }

.chip {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  translate: -50% -50%;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 6px 16px rgba(10, 58, 34, 0.45);
}
.chip .icon { width: 20px; height: 20px; }
.chip--it { background: var(--forest-700); }
.chip--plastic { background: var(--blue-700); }
.chip--card { background: var(--board-500); }

.hud { position: absolute; left: 12px; right: 12px; bottom: 12px; pointer-events: none; }
.hud__card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(250px, 100%);
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  font-size: 0.82rem;
  opacity: 0;
}
.hud__card[data-hud="1"] { left: auto; right: 0; }
.hud__title { display: flex; align-items: center; gap: 0.5em; margin-bottom: 8px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--forest-600); }
.hud__card ul { display: grid; gap: 6px; list-style: none; font-weight: 600; color: var(--ink-2); }
.hud__card li { display: flex; align-items: center; gap: 0.55em; }
.hud__card li .icon { width: 1.15em; height: 1.15em; color: var(--forest-700); }
.hud__ok { display: flex; align-items: center; gap: 0.5em; margin-top: 10px; padding: 8px 10px; border-radius: 10px; background: var(--green-100); font-weight: 800; color: var(--forest-700); }
.hud__bar { display: block; height: 8px; overflow: hidden; border-radius: 8px; background: var(--green-100); }
.hud__bar span { display: block; height: 100%; width: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--green-400), var(--forest-700)); transform: scaleX(0); transform-origin: left; }
.hud__labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 0.74rem; font-weight: 700; color: var(--muted); }
.hud__sorted li { justify-content: flex-start; }
.hud__sorted .tick { margin-left: auto; color: var(--green-500); opacity: 0; transform: scale(0.4); }
.hud__sorted li.is-done .tick { opacity: 1; transform: none; transition: opacity 0.3s, transform 0.4s var(--ease); }
.hud__text { font-weight: 600; color: var(--ink-2); }

@media (max-width: 959px) {
  .journey__title .eyebrow { display: none; }
  .journey__pin { padding-top: calc(var(--header-h) + 14px); }
  .stage-progress .lbl { display: none; }
  .stage-progress .num { width: 40px; height: 40px; }
  .stage-progress__line { top: 22px; }
  .stage .btn { min-height: 50px; margin-top: 4px; }
  .stage p:not(.stage__num):not(.scroll-hint) { font-size: 1rem; line-height: 1.5; }
}
@media (max-width: 599px) {
  .stage__num { display: none; }
  .hud { left: 8px; right: 8px; bottom: 8px; }
  .hud__card { width: min(184px, 56%); padding: 7px 10px; border-radius: 12px; font-size: 0.68rem; }
  .hud__title { margin-bottom: 4px; font-size: 0.62rem; }
  .hud__card ul { gap: 3px; }
  .hud__card li:nth-child(2), .hud__ok, .hud__labels { display: none; }
  .hud__bar { height: 6px; }
  .pin__label { padding: 5px 10px; font-size: 0.7rem; }
}

@media (min-width: 960px) {
  .journey__layout { grid-template-columns: minmax(300px, 4.4fr) minmax(0, 7.6fr); column-gap: clamp(28px, 4.5vw, 72px); gap: 0 clamp(28px, 4.5vw, 72px); }
  .journey__panel { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
  .journey__scene { order: 0; }
  .scene__frame { height: auto; aspect-ratio: 16 / 10; max-height: calc(100svh - var(--header-h) - 64px); width: 100%; }
  .hud { left: 16px; bottom: 16px; }
  .hud__card { width: min(280px, 100%); padding: 14px 16px; font-size: 0.86rem; }
}

/* pinned mode (set by JS) */
.journey.is-pin .journey__pin { display: flex; align-items: center; height: 100vh; height: 100svh; padding-bottom: 20px; }
.journey.is-pin .stage-stack { min-height: 0; }

/* --------------------------------------------------------- why SABA ----- */
.why { background: #fff; }
.benefits { display: grid; gap: 18px; }
@media (min-width: 640px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

.benefit {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.benefit:hover { transform: translateY(-6px); border-color: var(--green-400); box-shadow: var(--shadow-md); }
.benefit__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 6px;
  border-radius: 18px;
  background: var(--green-100);
  color: var(--forest-700);
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.benefit__icon .icon { width: 30px; height: 30px; stroke-width: 1.7; }
.benefit:hover .benefit__icon { background: var(--forest-700); color: #fff; transform: rotate(-6deg) scale(1.06); }
.benefit p { color: var(--ink-2); }
.section-cta { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 56px); }

/* ------------------------------------------------------- who we help ----- */
.who { background: linear-gradient(180deg, var(--green-50), #fff); }
.who-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; }
@media (min-width: 900px) { .who-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.who-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: clamp(0.98rem, 0.9rem + 0.3vw, 1.12rem);
  font-weight: 700;
  line-height: 1.25;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.who-tile:hover { transform: translateY(-6px); border-color: var(--green-400); box-shadow: var(--shadow-md); }
.who-tile > .icon { width: 40px; height: 40px; stroke-width: 1.6; color: var(--forest-700); }
.who-tile--cta { justify-content: center; align-items: stretch; gap: 14px; border-color: transparent; background: var(--forest-700); color: #fff; }
.who-tile--cta:hover { border-color: transparent; }
.who-tile--cta .btn { min-height: 52px; padding: 10px 16px; font-size: 0.95rem; }

/* ---------------------------------------------------------- bristol ----- */
.bristol { position: relative; overflow: clip; background: linear-gradient(180deg, #fff 0%, var(--blue-50) 100%); }
.bristol__inner { display: grid; gap: 40px; align-items: center; }
.bristol__copy { display: grid; gap: 20px; justify-items: start; }
.bristol__copy .lede { margin-top: 0; }
.location-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 10px 18px 10px 14px;
  border: 1px solid var(--green-200);
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
  color: var(--forest-700);
  box-shadow: var(--shadow-sm);
}
.location-chip .icon { color: var(--green-500); }
.bristol__art { position: relative; }
.bristol__art > svg { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.bristol__script {
  position: absolute;
  left: 30%;
  top: 8%;
  font-family: "Caveat", "Segoe Script", cursive;
  font-size: clamp(1.2rem, 0.8rem + 1.7vw, 2.1rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--forest-700);
  transform: rotate(-4deg);
  white-space: nowrap;
}
.waves { animation: drift 5s linear infinite; }
.balloon { will-change: transform; }
@media (min-width: 960px) {
  .bristol__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 72px); }
}

/* --------------------------------------------------------- final CTA ----- */
.cta {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(80px, 10vw, 136px);
  color: #fff;
  background:
    radial-gradient(70% 140% at 0% 0%, #1d7d4b 0%, rgba(29, 125, 75, 0) 62%),
    radial-gradient(60% 120% at 100% 100%, #0b4a2b 0%, rgba(11, 74, 43, 0) 72%),
    var(--forest-800);
}
.cta__motif {
  position: absolute;
  right: -8%;
  top: 50%;
  z-index: -1;
  width: min(60vw, 640px);
  aspect-ratio: 1;
  translate: 0 -50%;
  fill: none;
  stroke: #fff;
  stroke-width: 0.32;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.1;
}
.cta__inner { display: grid; justify-items: center; gap: 20px; text-align: center; }
.cta h2 { max-width: 16ch; font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.2rem); }
.cta .lede { color: rgba(255, 255, 255, 0.86); }
.cta .cta-row { justify-content: center; margin-top: 12px; }

/* ----------------------------------------------------------- contact ----- */
.contact { background: linear-gradient(180deg, #fff, var(--green-50)); }
.contact__grid { display: grid; gap: 40px; align-items: start; }
.contact__info { display: grid; gap: 20px; justify-items: start; }
.contact__info .lede { margin-top: 0; }
.contact-list { display: grid; gap: 14px; margin-top: 8px; list-style: none; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list__icon { display: grid; flex: none; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--green-100); color: var(--forest-700); }
.contact-list strong { display: block; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--forest-600); }
.contact-list a, .contact-list address { font-size: 1.1rem; font-weight: 700; font-style: normal; line-height: 1.45; text-decoration: none; }
.contact-list a:hover { color: var(--forest-700); text-decoration: underline; text-underline-offset: 4px; }
.placeholder { color: var(--muted); font-style: italic; font-weight: 600 !important; text-decoration: underline dashed rgba(82, 101, 88, 0.5); text-underline-offset: 5px; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 80px); } }

.form-card {
  padding: clamp(22px, 3.2vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; gap: 18px; margin-bottom: 24px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field label, .choices legend { font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.req { color: var(--danger); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%;
  min-height: 54px;
  padding: 13px 16px;
  border: 1.5px solid #c3d3c4;
  border-radius: 14px;
  background: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #71857a; }
.field input:hover, .field textarea:hover { border-color: var(--green-500); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--forest-700); box-shadow: 0 0 0 4px rgba(87, 155, 55, 0.28); }
.field input[type][aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.field__error { font-size: 0.9rem; font-weight: 700; color: var(--danger); }
.field__error[hidden] { display: none; }
.choices { margin: 0; padding: 0; border: 0; min-width: 0; }
.choices legend { padding: 0; margin-bottom: 10px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  min-height: 50px;
  padding: 10px 18px 10px 14px;
  border: 1.5px solid #c3d3c4;
  border-radius: 999px;
  background: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.choice span:hover { border-color: var(--green-500); }
.choice input:checked + span { border-color: var(--forest-700); background: var(--forest-700); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--blue-500); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; margin-top: 16px; font-weight: 700; }
.form-status.is-ok { color: var(--forest-700); }
.form-status.is-error { color: var(--danger); }

/* ----------------------------------------------------------- footer ----- */
.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer__inner {
  display: grid;
  gap: 36px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 72px) var(--gutter) 28px;
}
.footer__brand { display: grid; gap: 14px; justify-items: start; max-width: 26rem; }
.footer__brand img { display: block; height: 52px; width: auto; }
.footer__brand p { color: var(--ink-2); }
.script { font-family: "Caveat", "Segoe Script", cursive; font-size: 1.5rem; font-weight: 600; color: var(--forest-700); transform: rotate(-2deg); transform-origin: left; }
.footer__heading { margin-bottom: 12px; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest-600); }
.footer__links ul { display: grid; gap: 4px; list-style: none; }
.footer__links a { display: inline-block; padding: 6px 0; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.footer__links a:hover { color: var(--forest-700); text-decoration: underline; text-underline-offset: 4px; }
.footer__cta { display: grid; gap: 4px; justify-items: start; }
.footer__contact { display: grid; gap: 2px; margin-bottom: 16px; list-style: none; font-weight: 600; color: var(--ink-2); }
.footer__contact a { display: inline-block; padding: 4px 0; text-decoration: none; }
.footer__contact a:hover { color: var(--forest-700); text-decoration: underline; text-underline-offset: 4px; }
.footer__contact address { padding-top: 4px; font-style: normal; line-height: 1.5; }
.footer__cta .footer__heading { margin-bottom: 10px; }
.footer__copy { width: min(100% - 2 * var(--gutter), var(--maxw) - 2 * var(--gutter)); margin-inline: auto; padding: 22px 0 34px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
@media (min-width: 720px) { .footer__inner { grid-template-columns: 1.5fr 0.9fr 0.9fr 1.5fr; gap: 40px; } }

/* ------------------------------------------------------ legal pages ----- */
.legal { max-width: 46rem; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter) 96px; }
.legal h1 { margin: 12px 0 20px; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.4rem); }
.legal p { margin-bottom: 16px; color: var(--ink-2); }
.legal .notice { padding: 18px 20px; border: 1px dashed var(--board-500); border-radius: var(--radius); background: var(--board-50); }
.legal .back { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 800; color: var(--forest-700); text-decoration: none; }

/* ------------------------------------------------- animation states ----- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
.js [data-hero] { opacity: 0; transform: translateY(24px); }
.js .hero__title .rise { opacity: 0; }
.js .swoosh path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .badge, .js .hero__tagline { opacity: 0; }

.no-anim [data-reveal], .no-anim [data-hero] { opacity: 1 !important; transform: none !important; }
.no-anim .hero__title .rise { opacity: 1 !important; transform: none !important; }
.no-anim .swoosh path { stroke-dashoffset: 0 !important; }
.no-anim .badge, .no-anim .hero__tagline { opacity: 1 !important; }

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.9; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-40px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .waves { animation: none; }
}
