/* ==========================================================================
   ECOLOOP – main stylesheet
   1 Tokens · 2 Base · 3 Navbar · 4 Buttons & icons · 5 Page · 6 Footer
   7 Home 1 · 8 Home 2 · 9 About banner · 11 Services banner · 12 Resources banner · 13 Contact banner · 14 Home 1 CTA (reactor) · 20 Home 1 Section 7 · 21 Home 2 Section 2 · 22 Home 2 Section 3 · 23 Home 2 Section 4 · 24 Home 2 Section 5 · 25 About Section 2 (Our Story) · 26 About Section 3 (Mission & Vision) · 27 About Section 4 (Recycling Philosophy) · 28 About Section 5 (What Makes Us Different) · 29 About CTA
   ========================================================================== */

/* 1. TOKENS – light theme is the default, darkmode.css overrides the colours */
:root {
  --bg: #F7FAEF;
  --surface: #FFFFFF;
  --accent: #66903A;      /* softened olive green (was a harsher lime) */
  --secondary: var(--glow-2);
  --text: #263027;
  --muted: #7D8876;
  --border: #E1E9D5;
  --glow: #B7DC6E;        /* softened highlight: gentle lime instead of neon */
  --glow-2: #8FB65A;
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif; /* modern, clean, premium */
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif; /* one family keeps the look consistent */
  --nav-h: 68px;
  --pad-x: clamp(1.25rem, 5vw, 4rem);
  --radius: 14px;
}

/* 2. BASE */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  overflow-x: clip;
  background: var(--bg); color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
}
main { flex: 1; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--pad-x); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 200; padding: .6rem 1rem; background: var(--glow); color: var(--text); border-radius: 8px; }
.skip:focus { top: 1rem; }
.back-to-top {
  position: fixed; z-index: 90; inset-inline-end: 1.5rem; bottom: 1.5rem;
  display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0;
  border: 1px solid var(--border); border-radius: 50%;
  background: var(--glow); color: var(--text); cursor: pointer;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--text) 24%, transparent);
  opacity: 0; visibility: hidden; transform: translateY(.75rem);
  transition: opacity .25s, visibility .25s, transform .25s, box-shadow .25s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { box-shadow: 0 0 20px color-mix(in srgb, var(--glow) 65%, transparent); }
.back-to-top svg { width: 1.25rem; height: 1.25rem; }
.back-to-top:focus-visible { outline-offset: 4px; }

/* 3. NAVBAR – floating glass bar ----------------------------------------- */
.nav { position: sticky; top: 0; z-index: 100; padding: .75rem var(--pad-x); padding-block-start: calc(.75rem + env(safe-area-inset-top, 0px)); }
.nav.is-scrolled { --nav-h: 60px; }

/* Glass bar: brand | menu pill | actions */
.nav-inner {
  position: relative; max-width: 1440px; margin-inline: auto; min-height: var(--nav-h);
  padding-block: .5rem; padding-inline: 1.5rem .6rem;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: 28px;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--text) 10%, transparent);
  transition: min-height .3s, box-shadow .3s;
}
.nav.is-scrolled .nav-inner { box-shadow: 0 12px 34px color-mix(in srgb, var(--glow) 28%, transparent); }

/* Electric spark: a bright current endlessly circles any element with .spark (bar + login) */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.spark { position: relative; }
.spark::before {
  content: ""; position: absolute; inset: 0; padding: 2px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 62%, var(--accent) 82%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin-border 4s linear infinite;
}
.nav-inner.spark::before { inset: -1px; padding: 1.5px; }
@keyframes spin-border { to { --ang: 360deg; } }

/* Brand: spinning ring with a flickering bolt */
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font: 800 1.45rem var(--font-head); letter-spacing: -.03em; }
.brand svg { width: 38px; height: 38px; color: var(--accent); }
.brand .ring { transform-origin: 20px 20px; animation: spin-ring 8s linear infinite; }
.brand .bolt { animation: flicker 3.2s steps(1) infinite; }
.footer .brand svg circle { transform-origin: 20px 20px; animation: spin-ring 8s linear infinite; }
@keyframes spin-ring { to { transform: rotate(360deg); } }
@keyframes flicker { 0%, 100% { opacity: 1; } 42% { opacity: .35; } 46% { opacity: 1; } 74% { opacity: .6; } 78% { opacity: 1; } }

/* Menu pill (centre) */
.menu-wrap { justify-self: center; }
.menu {
  display: flex; gap: .15rem; margin: 0; padding: .35rem; list-style: none;
  border: 1px solid var(--border); border-radius: 999px;
  background: color-mix(in srgb, var(--text) 6%, transparent);
}
.menu > li { position: relative; }
.menu a, .drop-toggle {
  display: flex; align-items: center; gap: .4rem; width: 100%; padding: .6rem 1.2rem;
  border: 0; border-radius: 999px; background: none; cursor: pointer;
  color: var(--text); text-decoration: none; font: 600 .9375rem var(--font-head);
  transition: background .25s, color .25s, box-shadow .25s;
}
/* Hover: soft lime charge */
.menu > li > a:hover, .menu > li > a:focus-visible, .drop-toggle:hover, .drop-toggle:focus-visible, .has-drop.open .drop-toggle {
  background: color-mix(in srgb, var(--glow) 28%, transparent);
}
/* Current page: solid pill that pulses like it is plugged in */
.menu > li > a[aria-current], .drop-toggle[data-current] {
  background: var(--glow); color: var(--text); animation: charge 2.4s ease-in-out infinite;
}
@keyframes charge {
  0%, 100% { box-shadow: 0 0 10px color-mix(in srgb, var(--glow) 40%, transparent); }
  50% { box-shadow: 0 0 22px color-mix(in srgb, var(--glow) 80%, transparent); }
}
.chev { width: 12px; height: 12px; transition: transform .25s; }
.has-drop.open .chev { transform: rotate(180deg); }

/* Home dropdown */
.drop {
  position: absolute; top: calc(100% + .9rem); inset-inline-start: 0; min-width: 190px; margin: 0; padding: .5rem; list-style: none;
  background: var(--surface); border: 1px solid var(--border); border-top: 2px solid var(--glow); border-radius: var(--radius);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--glow) 20%, transparent);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s;
}
.drop::before { content: ""; position: absolute; inset-inline: 0; top: -1rem; height: 1rem; } /* hover bridge keeps menu open */
.drop a { padding: .65rem 1rem; border-radius: 10px; }
.drop a:hover, .drop a:focus-visible, .drop a[aria-current] { background: color-mix(in srgb, var(--glow) 30%, var(--surface)); }

/* Right-hand actions */
.nav-actions { display: flex; align-items: center; gap: .6rem; }

/* Electric arc: JS draws a lightning bolt from the logo to the hovered menu */
.arc { position: absolute; inset-inline: 0; bottom: -12px; width: 100%; height: 24px; overflow: visible; pointer-events: none; }
.arc path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; filter: drop-shadow(0 0 5px var(--glow)); }
.arc.zap path { animation: zap .5s ease-out; }
@keyframes zap { 0% { stroke-dashoffset: 1; opacity: 1; } 60% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }

/* 4. BUTTONS & ICONS ---------------------------------------------------- */
/* Round icon buttons (RTL, theme, hamburger) */
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  background: color-mix(in srgb, var(--text) 6%, transparent); color: var(--text);
  border: 1px solid var(--border); border-radius: 50%; cursor: pointer; font: 700 .8125rem var(--font-head);
  transition: border-color .25s, box-shadow .25s;
}
.icon-btn:hover { border-color: var(--glow); box-shadow: 0 0 14px color-mix(in srgb, var(--glow) 55%, transparent); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-btn .i-sun { display: none; }
.burger { display: none; flex-direction: column; gap: 5px; }
.burger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Login: solid pill with a lime arrow circle (like the reference), spark circles it */
.btn-login {
  display: inline-flex; align-items: center; gap: .9rem; padding-block: .35rem; padding-inline: 1.4rem .35rem;
  border-radius: 999px; background: var(--glow); color: var(--text); text-decoration: none;
  font: 600 .9375rem var(--font-head); transition: box-shadow .25s;
}
.btn-login .go { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--glow); color: var(--text); }
.btn-login .go svg { width: 18px; height: 18px; transition: transform .25s; }
.btn-login:hover, .btn-login:focus-visible { box-shadow: 0 0 20px color-mix(in srgb, var(--glow) 60%, transparent); }
.btn-login:hover .go svg { transform: translateX(3px); }
.nav .btn-login--panel { display: none; }   /* login lives inside the hamburger only on small screens */

/* 5. PAGE SHELL (placeholder hero shared by every page) ------------------ */
.page-hero { display: grid; align-items: center; min-height: 60vh; padding-block: clamp(4rem, 9vw, 6rem); }
.page-hero h1, .page-hero h2 { margin: 0 0 1rem; font: 700 clamp(2.25rem, 5vw, 3.75rem)/1.1 var(--font-head); letter-spacing: -.03em; }
.page-hero h1 em, .page-hero h2 em { color: var(--accent); font-style: normal; }
h1 em, h2 em { color: var(--accent); font-style: normal; }
.page-hero p { margin: 0; max-width: 60ch; font-size: 1.125rem; }

/* 6. FOOTER ------------------------------------------------------------- */
.footer { background: var(--surface); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.5fr; gap: 2.5rem; padding-block: 4rem; }
.footer h3 { margin: 0 0 1rem; font: 700 1.0625rem var(--font-head); }
.footer p { margin: 0 0 1.25rem; font-size: .9375rem; opacity: .85; }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.footer-links a { font-size: .9375rem; text-decoration: underline transparent; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.footer-links a:hover { text-decoration-color: var(--accent); }
.footer-links .footer-login { justify-self: start; margin-top: .25rem; text-decoration: none; }
.footer .brand { margin-bottom: 1rem; }
.social { display: flex; flex-wrap: wrap; gap: .6rem; }
.social a {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 1px solid var(--border); border-radius: 50%; transition: background .25s, box-shadow .25s;
}
.social a:hover, .social a:focus-visible { background: var(--glow); box-shadow: 0 0 14px color-mix(in srgb, var(--glow) 55%, transparent); }
.social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.newsletter { display: flex; gap: .6rem; }
.newsletter input {
  flex: 1; min-width: 0; padding: .7rem 1rem; border: 1px solid var(--border); border-radius: 999px;
  background: var(--bg); color: var(--text); font: 400 .9375rem var(--font-body);
}
.newsletter input::placeholder { color: var(--text); opacity: .7; }
.newsletter input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--glow) 40%, transparent); }
.newsletter input[aria-invalid="true"] { border-color: var(--text); border-width: 2px; }
.form-msg { min-height: 1.5rem; margin: .75rem 0 0 !important; font-weight: 600; }
.footer-bottom { border-top: 1px solid var(--border); padding-block: 1.5rem; }
.footer-bottom p { margin: 0; text-align: center; font-size: .875rem; }

.btn-glow {
  display: inline-flex; align-items: center; justify-content: center; padding: .7rem 1.4rem; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--glow); color: var(--text); font: 700 .9375rem var(--font-head); transition: box-shadow .25s;
}
.btn-glow:hover { box-shadow: 0 0 18px color-mix(in srgb, var(--glow) 60%, transparent); }

/* 7. HOME 1 BANNER ------------------------------------------------------- */
/* --ov = shade colour, --on = text colour on the shade (flipped in darkmode.css) */
/* Full-bleed banner: no side padding, no radius – the photo covers the whole width */
.home-hero { --ov: var(--text); --on: var(--bg); padding: 0; }
.hero-card {
  position: relative; isolation: isolate; overflow: hidden; width: 100%;
  min-height: clamp(560px, calc(100vh - 5.5rem), 820px);
  /* equal top/bottom padding; side padding keeps the text aligned with the 1440px content column used by other sections */
  padding-block: clamp(2.5rem, 5vw, 4rem);
  padding-inline: max(var(--pad-x), calc((100vw - 1440px) / 2 + var(--pad-x)));
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem;
  border-radius: 0; color: var(--on);
}
.hero-card :focus-visible { outline-color: var(--glow); }

/* Slides: wipe reveal from top to bottom with a slow zoom */
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.slide { position: absolute; inset: 0; clip-path: inset(0 0 100% 0); transition: clip-path 1s cubic-bezier(.7, 0, .2, 1); }
.slide.is-prev { clip-path: inset(0); z-index: 1; }      /* old slide stays underneath while the new one wipes in */
.slide.is-active { clip-path: inset(0); z-index: 2; }
/* a touch of saturation + contrast keeps the photo vivid under the lighter shade */
.slide img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) contrast(1.05); transform: scale(1.12); transition: transform 6s ease-out; }
.slide.is-active img, .slide.is-prev img { transform: scale(1); }

/* Shade: light, only strong behind the text (bottom-left) so the rest of the photo stays clearly visible */
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, color-mix(in srgb, var(--ov) 78%, transparent) 0%, color-mix(in srgb, var(--ov) 30%, transparent) 40%, transparent 65%); }
.hero-shade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, color-mix(in srgb, var(--ov) 62%, transparent) 0%, transparent 58%); }

/* Electric canvas (drawn by index.js): lightning strikes, floating sparks, cursor zaps */
.fx { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }

/* Live current: a bright pulse runs along the bottom edge of the banner */
.hero-card::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; z-index: 1; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--glow), transparent) no-repeat; background-size: 30% 100%;
  animation: run-current 3.2s linear infinite;
}
@keyframes run-current { from { background-position: -40% 0; } to { background-position: 140% 0; } }

/* Copy + preview sit above the electric canvas */
.hero-copy, .hero-next { position: relative; z-index: 1; }
.hero-copy { display: grid; gap: 1.5rem; justify-items: start; max-width: 640px; }
.hero-copy h1 { margin: 0; font: 700 clamp(2.5rem, 6vw, 4.75rem)/1.05 var(--font-head); letter-spacing: -.035em; }
/* Highlighted words buzz like a live wire */
.hero-copy h1 em { font-style: normal; color: var(--glow); text-shadow: 0 0 18px color-mix(in srgb, var(--glow) 60%, transparent); animation: buzz 3.6s steps(1) infinite; }
@keyframes buzz { 0%, 100% { opacity: 1; } 41% { opacity: .55; } 43% { opacity: 1; } 70% { opacity: .75; } 72% { opacity: 1; } }
.hero-copy p { margin: 0; max-width: 46ch; font-size: 1.125rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-hero {
  display: inline-flex; align-items: center; gap: .7rem; padding: .8rem 1.6rem; border-radius: 999px;
  font: 600 .9375rem var(--font-head); text-decoration: none; transition: background .25s, border-color .25s, box-shadow .25s;
}
.btn-hero svg { width: 18px; height: 18px; }
.btn-hero--solid { background: var(--glow); color: var(--ov); }
.btn-hero--solid:hover { box-shadow: 0 0 22px color-mix(in srgb, var(--glow) 65%, transparent); }
.btn-hero--ghost { border: 1.5px solid color-mix(in srgb, var(--on) 70%, transparent); color: var(--on); }
.btn-hero--ghost:hover { background: color-mix(in srgb, var(--on) 16%, transparent); border-color: var(--on); }

/* Next-slide preview: framed thumbnail, counter + progress line below it */
.hero-next { display: grid; gap: .9rem; width: clamp(200px, 24vw, 340px); }
.next-thumb {
  display: block; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; cursor: pointer; background: none;
  border: 1.5px solid color-mix(in srgb, var(--on) 60%, transparent); border-radius: 12px;
  transition: border-color .25s, box-shadow .25s;
}
.next-thumb:hover { border-color: var(--glow); box-shadow: 0 0 18px color-mix(in srgb, var(--glow) 55%, transparent); }
.next-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.next-thumb:hover img { transform: scale(1.06); }
.counter { display: flex; align-items: center; gap: .75rem; font: 600 .875rem var(--font-head); font-variant-numeric: tabular-nums; }
.track { flex: 1; height: 2px; overflow: hidden; background: color-mix(in srgb, var(--on) 30%, transparent); }
.track i { display: block; height: 100%; background: var(--glow); transform: scaleX(0); transform-origin: left; }
.track i.run { animation: fill var(--dur, 5.5s) linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }

/* Scroll button: notch cut into the bottom edge, same colour as the page */
.hero-scroll {
  position: absolute; bottom: 0; left: 0; right: 0; margin-inline: auto; z-index: 3; width: 76px; height: 30px;
  display: grid; place-items: center; padding: 0; border: 0; cursor: pointer; background: var(--bg); color: var(--text);
  clip-path: polygon(0 100%, 22% 0, 78% 0, 100% 100%);
}
.hero-scroll svg { width: 16px; height: 16px; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(3px); } }

/* RESPONSIVE: tablet + mobile (hamburger layout) */
@media (min-width: 1025px) {
  .has-drop:hover .drop, .has-drop.open .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand, .footer-news { grid-column: 1 / -1; }
}
/* Compact desktop navbar for laptop widths: keep every menu item and action visible */
@media (min-width: 961px) and (max-width: 1200px) {
  .nav { padding-inline: .5rem; }
  .nav-inner { gap: .45rem; padding-inline: .8rem .45rem; }
  .brand { gap: .4rem; font-size: 1.15rem; white-space: nowrap; }
  .brand svg { width: 32px; height: 32px; }
  .menu { gap: 0; padding: .25rem; }
  .menu a, .drop-toggle { gap: .25rem; padding: .5rem .48rem; font-size: .8rem; white-space: nowrap; }
  .nav-actions { gap: .35rem; }
  .nav-actions .icon-btn { width: 38px; height: 38px; }
  .btn-login { gap: .5rem; padding-inline: .9rem .3rem; font-size: .85rem; }
  .btn-login .go { width: 34px; height: 34px; }
}
@media (max-width: 960px) {
  .nav { padding-block-start: calc(1rem + env(safe-area-inset-top, 0px)); }
  .nav-inner { grid-template-columns: 1fr auto; padding-inline: 1.1rem .6rem; }
  .nav .btn-login--bar { display: none; }
  .burger { display: inline-flex; }
  /* Open menu fills the viewport; the brand and controls stay above its backdrop. */
  .nav-inner { z-index: 102; background: color-mix(in srgb, var(--surface) 72%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
  .nav .brand, .nav-actions { position: relative; z-index: 102; }
  .menu-wrap {
    position: fixed; z-index: 101; inset: 0; width: 100vw; height: 100vh; height: 100dvh;
    display: flex; flex-direction: column; gap: 1rem; overflow-y: auto;
    padding: calc(var(--nav-h) + 2rem + env(safe-area-inset-top, 0px)) var(--pad-x) 2rem;
    background: var(--surface); border: 0; border-radius: 0;
    clip-path: none; opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .25s ease, visibility .25s;
  }
  .menu-wrap.open { opacity: 1; pointer-events: auto; visibility: visible; }
  .nav .btn-login--panel { display: inline-flex; justify-content: space-between; }
  .menu { flex-direction: column; gap: .25rem; padding: 0; border: 0; border-radius: 0; background: none; }
  .menu a, .drop-toggle { justify-content: space-between; padding: .9rem 1.1rem; }
  .drop { position: static; display: none; margin: .25rem 0 .5rem 1rem; box-shadow: none; opacity: 1; visibility: visible; transform: none; border-top: 1px solid var(--border); border-inline-start: 2px solid var(--glow); }
  .has-drop.open .drop { display: block; }
  .arc { display: none; }
}
@media (max-width: 640px) {
  .nav { padding: calc(1rem + env(safe-area-inset-top, 0px)) .4rem .45rem; }
  .nav-inner { gap: .5rem; padding-inline: .7rem .45rem; border-radius: 24px; }
  .brand { gap: .4rem; font-size: 1.2rem; white-space: nowrap; }
  .brand svg { width: 32px; height: 32px; }
  .nav-actions { gap: .35rem; }
  .nav-actions .icon-btn { width: 38px; height: 38px; }
  .burger { flex: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding-block: 3rem; }
  .newsletter { flex-direction: column; }
  .newsletter .btn-glow { width: 100%; }
}
@media (max-width: 360px) {
  .nav-inner { padding-inline: .55rem .35rem; gap: .35rem; }
  .brand { gap: .3rem; font-size: 1.08rem; }
  .brand svg { width: 29px; height: 29px; }
  .nav-actions { gap: .25rem; }
  .nav-actions .icon-btn { width: 34px; height: 34px; }
}

/* Respect reduced-motion settings */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .w { opacity: 1; transform: none; }   /* headline words would stay hidden without their entrance animation */
}

/* 8. HOME 2 BANNER ------------------------------------------------------- */
/* Split banner: photo + stats (left) | electric divider | lime message panel (right). Full-bleed, no side padding. */
.home2 { --ov: var(--text); --on: var(--bg); }
.h2-grid {
  position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 4px 1fr;
  min-height: clamp(560px, calc(100vh - 5.5rem), 760px);
}

/* Left column: photo on top, stats strip underneath (nothing sits on the photo) */
.h2-media { display: grid; grid-template-rows: 1fr auto; min-width: 0; }
.h2-photo { position: relative; margin: 0; overflow: hidden; min-height: 280px; }
.h2-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 38% center; filter: saturate(1.1) contrast(1.05); animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.07); } }
.h2-stats {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none;
  background: var(--surface); color: var(--text); border-top: 1px solid var(--border);
}
.h2-stats li { display: grid; gap: .25rem; align-content: center; padding: 1.25rem 1.5rem; }
.h2-stats li + li { border-inline-start: 1px solid var(--border); }
.h2-stats strong { font: 800 clamp(1.25rem, 2vw, 1.75rem)/1.1 var(--font-head); letter-spacing: -.02em; }
.h2-stats span { font-size: .875rem; line-height: 1.35; }

/* Divider: a dark conductor with a lime pulse travelling along it */
.h2-seam { position: relative; z-index: 2; overflow: hidden; background: var(--ov); }
.h2-seam::after {
  content: ""; position: absolute; inset-inline: 0; top: -30%; height: 30%;
  background: linear-gradient(to bottom, transparent, var(--glow), transparent);
  animation: seam-run 2.8s linear infinite;
}
@keyframes seam-run { to { top: 100%; } }
@keyframes seam-run-x { to { inset-inline-start: 100%; } }

/* Right column: lime panel with dark text (high contrast in light and dark mode) */
.h2-panel {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2rem; min-width: 0;
  padding-block: clamp(2.5rem, 5vw, 4.5rem); padding-inline: clamp(2rem, 5vw, 5rem);
  background: var(--glow); color: var(--ov);
}
.h2-copy, .h2-foot { position: relative; z-index: 2; }
.h2-copy { display: grid; gap: 1.5rem; justify-items: start; max-width: 600px; }
.h2-tag {
  display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem .45rem .8rem; border-radius: 999px;
  background: var(--ov); color: var(--glow); font: 700 .8125rem var(--font-head); letter-spacing: .02em;
}
.h2-tag svg { width: 16px; height: 16px; animation: flicker 3.2s steps(1) infinite; }
.h2-copy h1 { margin: 0; font: 800 clamp(2.25rem, 4.2vw, 3.75rem)/1.1 var(--font-head); letter-spacing: -.035em; }
/* Key word in a dark pill, like the highlighted block in the reference */
.h2-copy h1 em { font-style: normal; padding-inline: .2em; border-radius: .2em; background: var(--ov); color: var(--glow); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.h2-copy p { margin: 0; max-width: 48ch; font-size: 1.125rem; }
.h2-btns { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-hero--dark { background: var(--ov); color: var(--glow); }
.btn-hero--dark:hover { box-shadow: 0 0 22px color-mix(in srgb, var(--ov) 55%, transparent); }
.btn-hero--line { border: 1.5px solid var(--ov); color: var(--ov); }
.btn-hero--line:hover { background: color-mix(in srgb, var(--ov) 12%, transparent); }
.h2-panel :focus-visible { outline-color: var(--ov); }

/* Footer row of the panel: round trust badge (current circles it) + one line of text */
.h2-foot { display: flex; align-items: center; gap: 1.25rem; }
.h2-badge {
  flex: none; display: grid; place-items: center; align-content: center; width: 104px; height: 104px; border-radius: 50%;
  background: var(--ov); color: var(--glow); text-align: center;
}
.h2-badge strong { font: 800 1.5rem/1 var(--font-head); }
.h2-badge span { font: 600 .8125rem/1.2 var(--font-head); }
.h2-foot p { margin: 0; max-width: 30ch; font: 600 .9375rem/1.45 var(--font-body); }

/* Spark ring and CTA ring: current colour must contrast with the surface under it */
.btn-hero.spark::before { background: conic-gradient(from var(--ang), transparent 0 62%, var(--on) 82%, transparent 100%); }
.h2-panel .btn-hero--dark.spark::before { background: conic-gradient(from var(--ang), transparent 0 62%, var(--glow) 82%, transparent 100%); }

/* 9. ABOUT BANNER (100vh) ------------------------------------------------- */
/* Dark immersive stage in both themes (different from the Home banners): story left, orbit of the five recycling stages right */
@property --spin { syntax: "<angle>"; inherits: true; initial-value: 0deg; }   /* animated orbit angle, read by the nodes */
.about-hero {
  --ov: var(--text); --on: var(--bg);
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-rows: 1fr auto;
  min-height: calc(100svh - 5.5rem); color: var(--on);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--ov) 88%, transparent), color-mix(in srgb, var(--ov) 58%, transparent)),
    url("../images/Twilight Eco-Tech Recycling Center.png") center / cover no-repeat;
}
.about-hero :focus-visible { outline-color: var(--glow); }
.about-hero .fx { z-index: 1; }
/* Spotlight that follows the cursor (--mx / --my set by index.js) */
.about-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(480px circle at var(--mx, 72%) var(--my, 50%), color-mix(in srgb, var(--glow) 18%, transparent), transparent 70%);
}
/* Scan beam sweeping down the banner */
.about-hero::after {
  content: ""; position: absolute; inset-inline: 0; top: -160px; height: 160px; z-index: 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--glow) 14%, transparent), transparent);
  animation: scan 7s linear infinite;
}
@keyframes scan { to { top: 100%; } }

/* Layout: two even columns, equal top/bottom padding */
.ah-main {
  position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center;
  gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2rem, 4vw, 3.5rem);
  padding-inline: max(var(--pad-x), calc((100vw - 1440px) / 2 + var(--pad-x)));
}

/* Story column */
.ah-copy { display: grid; gap: 1.5rem; justify-items: start; min-width: 0; }
.ah-tag {
  display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem .45rem .8rem; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--glow) 60%, transparent); background: color-mix(in srgb, var(--on) 8%, transparent);
  color: var(--glow); font: 700 .8125rem var(--font-head); letter-spacing: .02em;
}
.ah-tag svg { width: 16px; height: 16px; animation: flicker 3.2s steps(1) infinite; }
.ah-copy h1 { margin: 0; font: 800 clamp(2.5rem, 5.4vw, 5rem)/1.04 var(--font-head); letter-spacing: -.035em; }
/* Words rise in one by one; "loop" then buzzes like a live wire */
.w {
  display: inline-block; opacity: 0; transform: translateY(.6em) rotate(3deg);
  animation: word-in .8s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i) * 90ms + 150ms);
}
@keyframes word-in { to { opacity: 1; transform: none; } }
.w--hot {
  color: var(--glow); text-shadow: 0 0 18px color-mix(in srgb, var(--glow) 55%, transparent);
  animation-name: word-in, buzz; animation-duration: .8s, 3.6s; animation-timing-function: cubic-bezier(.2, .8, .2, 1), steps(1);
  animation-delay: calc(var(--i) * 90ms + 150ms), 1.6s; animation-iteration-count: 1, infinite; animation-fill-mode: forwards, none;
}
.ah-copy p { margin: 0; max-width: 52ch; font-size: 1.125rem; }
.ah-btns { display: flex; flex-wrap: wrap; gap: 1rem; }
/* Pillars: three equal columns, each with a lime top rule */
.ah-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; width: 100%; margin: 0; padding: 0; list-style: none; }
.ah-pillars li { display: grid; gap: .25rem; align-content: start; padding-top: 1rem; border-top: 2px solid color-mix(in srgb, var(--glow) 70%, transparent); }
.ah-pillars strong { font: 700 1.0625rem var(--font-head); }
.ah-pillars span { font-size: .875rem; line-height: 1.45; }

/* Orbit stage: square, sized by the smaller of width and height so it always fits the viewport; tilts with the cursor */
.ah-stage {
  --stage: min(560px, 42vw, calc(100svh - 15rem));
  --dot: 56px;                          /* icon circle size */
  --R: calc(var(--stage) * .36);        /* orbit radius */
  --hub: calc(2 * var(--R) - var(--dot) - 88px);   /* photo diameter: keeps a clear gap to the top stage's label */
  --halo-r: calc(var(--R) + var(--dot) / 2 + 46px); /* halo radius: a clear gap beyond the outermost label */
  position: relative; justify-self: center; width: var(--stage); height: var(--stage);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out;
}
/* Halo: dashed ring that sits just outside the orbit labels (radius worked out from orbit radius + icon + label size),
   with a bright current running around it (the .spark border) */
.ah-halo { position: absolute; inset: 0; margin: auto; width: calc(2 * var(--halo-r)); aspect-ratio: 1; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--on) 30%, transparent); pointer-events: none; }
.ah-halo::before { inset: -1px; background: conic-gradient(from var(--ang), transparent 0 70%, var(--glow) 90%, transparent 100%); filter: drop-shadow(0 0 4px var(--glow)); }

/* Hub in the centre: round team photo. Its size is worked out from the orbit radius, the icon size and the label height,
   so the labels of the top stages always keep a clear gap to the photo */
.ah-hub {
  position: absolute; inset: 0; margin: auto; width: var(--hub); aspect-ratio: 1; border-radius: 50%;
  background: var(--ov); animation: hub-pulse 3s ease-in-out infinite;
}
.ah-hub::before { z-index: 1; padding: 3px; }          /* spark ring sits above the photo */
.ah-hub img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 30%; filter: saturate(1.1) contrast(1.05); }
@keyframes hub-pulse { 0%, 100% { box-shadow: 0 0 22px color-mix(in srgb, var(--glow) 30%, transparent); } 50% { box-shadow: 0 0 44px color-mix(in srgb, var(--glow) 60%, transparent); } }

/* Orbit: the list turns slowly (--spin); every node counter-rotates so icon + label stay upright */
.ah-orbit { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; transform: rotate(var(--spin)); animation: orbit 48s linear infinite; }
@keyframes orbit { to { --spin: 360deg; } }
.ah-node { position: absolute; top: 50%; left: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateX(var(--R)); }
.ah-node-in {
  position: absolute; top: 0; left: 0; display: grid; justify-items: center; gap: .5rem;
  transform-origin: 50% calc(var(--dot) / 2); transform: translate(-50%, calc(var(--dot) / -2)) rotate(calc(-1 * (var(--a) + var(--spin))));
}
.ah-dot {
  display: grid; place-items: center; width: var(--dot); height: var(--dot); border-radius: 50%;
  background: var(--ov); border: 1.5px solid var(--glow); color: var(--glow); transition: background .25s, color .25s, box-shadow .25s;
}
.ah-dot svg { width: 24px; height: 24px; }
/* Lights up when a bolt from the hub lands on it (class toggled by index.js) */
.ah-dot.zapped { background: var(--glow); color: var(--ov); box-shadow: 0 0 26px color-mix(in srgb, var(--glow) 70%, transparent); }
.ah-label { font: 700 .875rem/1.25 var(--font-head); white-space: nowrap; }

/* Ticker along the bottom edge */
.ah-ticker { position: relative; z-index: 2; overflow: hidden; padding-block: .9rem; border-top: 1px solid color-mix(in srgb, var(--on) 22%, transparent); background: color-mix(in srgb, var(--on) 5%, transparent); }
.ah-track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ah-group { display: flex; align-items: center; gap: 1.75rem; padding-inline-end: 1.75rem; }
.ah-group span { font: 600 .9375rem var(--font-head); white-space: nowrap; }
.ah-group i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px var(--glow); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* RESPONSIVE: tablet + mobile (hamburger layout) */
@media (max-width: 860px) {
  .hero-card { grid-template-columns: 1fr; align-content: end; gap: 1.75rem; min-height: clamp(560px, calc(100vh - 7rem), 760px); }
  .hero-next { width: min(100%, 340px); }
  .hero-scroll { display: none; }   /* would crowd the preview on narrow screens */
  /* text sits higher on the photo when stacked, so the shade must cover more of it */
  .hero-shade { background: linear-gradient(to top, color-mix(in srgb, var(--ov) 90%, transparent) 0%, color-mix(in srgb, var(--ov) 72%, transparent) 60%, color-mix(in srgb, var(--ov) 30%, transparent) 100%); }
  /* Home 2 stacks: photo + stats, horizontal divider, then the panel */
  .h2-grid { grid-template-columns: 1fr; min-height: 0; }
  .h2-photo { aspect-ratio: 16 / 10; min-height: 0; }
  .h2-seam { height: 4px; }
  .h2-seam::after { inset-inline: auto; inset-block: 0; top: 0; width: 30%; height: auto; inset-inline-start: -30%; background: linear-gradient(to right, transparent, var(--glow), transparent); animation: seam-run-x 2.8s linear infinite; }
}
@media (max-width: 480px) {
  .h2-stats li { padding: 1rem .75rem; }
  .h2-foot { flex-direction: column; align-items: flex-start; }
}

/* About banner: tablet + mobile – columns stack (story first, orbit below) */
@media (max-width: 960px) {
  .ah-main { grid-template-columns: 1fr; }
  .ah-stage { --stage: min(88vw, 440px); }
}
@media (max-width: 560px) {
  .ah-pillars { grid-template-columns: 1fr; gap: 1rem; }
  /* smaller icons + tighter orbit so icons, labels and hub never touch on narrow screens */
  .ah-stage { --stage: min(88vw, 440px); --dot: 44px; --R: calc(var(--stage) * .26); }
  .ah-stage { --hub: calc(2 * var(--R) - var(--dot) - 42px); --halo-r: calc(var(--R) + var(--dot) / 2 + 41px); }   /* keep the full halo inside the narrow content column and clear of the labels */
  .ah-dot svg { width: 20px; height: 20px; }
  .ah-node-in { gap: .25rem; }
  .ah-label { font-size: .8125rem; }
}

/* 11. SERVICES BANNER (100vh) --------------------------------------------- */
/* Full-photo service banner with text, service tabs, and a device conveyor */
.svc-hero {
  --ov: var(--text); --on: var(--bg);        /* --ov is flipped in darkmode.css so the lime button keeps dark text */
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-rows: 1fr auto;
  min-height: calc(100svh - 5.5rem); background: var(--bg); color: var(--on);
}
/* Darkened on the copy side so text remains clear over the high resolution photos */
.svc-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--ov) 88%, transparent), color-mix(in srgb, var(--ov) 58%, transparent));
}
.svc-hero::after {
  content: ""; position: absolute; inset-inline: 0; top: -160px; height: 160px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--glow) 14%, transparent), transparent);
  animation: scan 7s linear infinite;
}
.sv-backdrops { position: absolute; z-index: -2; inset: 0; overflow: hidden; background: var(--bg); }
.sv-backdrops .sv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transform: scale(1.035); filter: saturate(1.08) contrast(1.04); transition: opacity 1s ease, transform 8s ease; }
.sv-backdrops .sv-img.is-prev { opacity: 0; z-index: 1; transform: scale(1.02); }
.sv-backdrops .sv-img.is-active { opacity: 1; z-index: 2; transform: scale(1); }

/* Layout: two even columns, equal top/bottom padding */
.sv-main {
  position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center;
  padding-block: clamp(2rem, 4vw, 3.5rem);
  padding-inline: max(var(--pad-x), calc((100vw - 1440px) / 2 + var(--pad-x)));
}

/* Story column */
.sv-copy { display: grid; gap: 1.5rem; justify-items: start; min-width: 0; max-width: 790px; color: var(--on); }
.sv-tag {
  display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem .45rem .8rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); font: 700 .8125rem var(--font-head); letter-spacing: .02em;
}
.sv-tag svg { width: 16px; height: 16px; color: var(--accent); animation: flicker 3.2s steps(1) infinite; }
.sv-title { margin: 0; font: 800 clamp(2.25rem, 4.4vw, 4rem)/1.1 var(--font-head); letter-spacing: -.035em; }
/* Each line sits in a mask and slides up from below it (delay set by --i); the padding keeps descenders from being cut */
.sv-line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.1em; }
.sv-line > span { display: inline-block; transform: translateY(115%); animation: sv-line-up .9s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i) * 150ms + 150ms); }
.sv-line:last-child > span { color: var(--accent); }
@keyframes sv-line-up { to { transform: none; } }
.sv-copy p { margin: 0; max-width: 50ch; font-size: 1.125rem; }

/* Service tabs: same look as the active menu pill (dark pill + lime text; lime pill in dark mode) */
.sv-tabs { display: flex; flex-wrap: wrap; gap: .75rem; }
.sv-tab {
  position: relative; display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1.2rem .95rem; cursor: pointer;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text);
  font: 600 .9375rem var(--font-head); transition: background .25s, color .25s, border-color .25s;
}
.sv-tab:hover { border-color: var(--accent); }
.sv-tab[aria-selected="true"] { background: var(--text); color: var(--glow); border-color: var(--text); }
.sv-ico { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Progress line under the active tab: when it is full, the next service opens */
.sv-prog { position: absolute; inset-inline: 1.2rem; bottom: .42rem; height: 2px; overflow: hidden; border-radius: 2px; opacity: 0; background: color-mix(in srgb, currentColor 25%, transparent); }
.sv-tab[aria-selected="true"] .sv-prog { opacity: 1; }
.sv-prog b { display: block; height: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; }
.sv-prog b.run { animation: sv-fill 6s linear forwards; }
@keyframes sv-fill { to { transform: scaleX(1); } }
/* Hovering or tabbing through the tabs pauses the auto-advance so there is time to read */
.sv-tabs:hover .sv-prog b, .sv-tabs:has(:focus-visible) .sv-prog b { animation-play-state: paused; }

/* Buttons share .btn-hero (same pill radius as the other banners); the outline one uses the page text colour */
.sv-btns { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-hero--line-text { border: 1.5px solid var(--on); color: var(--on); }
.btn-hero--line-text:hover { background: color-mix(in srgb, var(--on) 10%, transparent); }

/* Current service details sit in a glass card on the right, over the matching photo */
.sv-cap {
  position: absolute; inset-inline-end: max(var(--pad-x), calc((100vw - 1440px) / 2 + var(--pad-x))); top: 50%;
  display: grid; align-content: start; gap: .45rem; width: min(32vw, 410px); min-height: 6rem; padding: 1.25rem 1.5rem;
  border: 1px solid color-mix(in srgb, var(--text) 18%, transparent); border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 78%, transparent); color: var(--text);
  box-shadow: 0 20px 55px color-mix(in srgb, var(--text) 14%, transparent); backdrop-filter: blur(14px);
  transform: translateY(-50%); text-align: start;
}
.sv-cap strong { font: 700 1.125rem/1.3 var(--font-head); }
.sv-cap span { max-width: 44ch; font-size: .9375rem; line-height: 1.5; text-wrap: balance; }
.sv-cap.swap { animation: sv-cap-in .5s ease both; }
@keyframes sv-cap-in { from { opacity: 0; transform: translateY(8px); } }

/* Conveyor: old devices ride along the bottom; edges fade out, a lime pulse runs along the base */
.sv-belt { position: relative; z-index: 1; overflow: hidden; border-top: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.sv-belt::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--glow), transparent) no-repeat; background-size: 30% 100%; animation: run-current 3.2s linear infinite;
}
.sv-belt-mask { padding-block: .75rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.sv-belt-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.sv-belt-group { display: flex; align-items: center; gap: 3rem; padding-inline-end: 3rem; }
.sv-item { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1.5px solid var(--border); border-radius: 50%; background: var(--bg); color: var(--accent); }
.sv-item .sv-ico { width: 22px; height: 22px; }

/* Services banner: tablet + mobile – columns stack (story first, photo below) */
@media (max-width: 1100px) {
  .sv-main { grid-template-columns: 1fr; }
  .sv-cap { position: relative; inset: auto; top: auto; width: min(100%, 620px); margin-top: 1.5rem; transform: none; }
}
@media (max-width: 560px) {
  .sv-btns .btn-hero { flex: 1 1 100%; justify-content: center; }
}
/* Reduced motion: the headline lines would stay hidden without their entrance animation */
@media (prefers-reduced-motion: reduce) {
  .sv-line > span { transform: none; }
}


/* 12. RESOURCES BANNER (100vh) -------------------------------------------- */
/* Full-photo stage (different from the other banners): a headline panel on the left, a resource-index panel on the right,
   and a clear photo window between them. The caption sits in its own bar below the photo. */
.rs-hero {
  --ov: var(--text); --on: var(--bg);        /* --ov is flipped in darkmode.css so the lime button keeps readable text */
  display: grid; grid-template-rows: 1fr auto; min-height: calc(100svh - 5.5rem); background: var(--bg); color: var(--text);
}
/* Stage: holds the photo; the photo is a pseudo-element so it can drift slowly without moving the content */
.rs-stage { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; }
.rs-stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--surface) url("../images/resources-banner.jpg") center / cover no-repeat;
  animation: rs-drift 22s ease-in-out infinite alternate;
}
@keyframes rs-drift { to { transform: scale(1.06); } }

/* Layout: three columns (panel | photo window | panel). Equal top and bottom padding, even gaps */
.rs-grid {
  width: 100%; max-width: 1440px; margin-inline: auto; padding: clamp(2rem, 4vw, 3.5rem) var(--pad-x);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); align-items: stretch;
}
/* Panels: solid enough to read over the photo in light and dark mode */
.rs-panel {
  display: flex; flex-direction: column; justify-content: center; gap: 1.25rem; padding: clamp(1.5rem, 2.4vw, 2.25rem);
  background: var(--surface); border: 1px solid var(--border); border-radius: 24px;
  box-shadow: 0 24px 60px color-mix(in srgb, var(--glow-2) 30%, transparent);
}
.rs-window { min-height: 12rem; }                 /* keeps the middle of the photo clear */

/* Left panel */
.rs-intro h1 { margin: 0; font: 800 clamp(2rem, 3.4vw, 3.25rem)/1.08 var(--font-head); letter-spacing: -.03em; }
.rs-intro h1 em { color: var(--accent); font-style: normal; }
.rs-intro p { margin: 0; color: var(--text); font-size: 1.0625rem; max-width: 44ch; }
.rs-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.rs-tags li { padding: .35rem .9rem; border: 1px solid var(--border); border-radius: 999px; font: 600 .875rem var(--font-head); background: color-mix(in srgb, var(--glow) 22%, var(--surface)); }
.rs-btns { display: flex; flex-wrap: wrap; gap: .9rem; }
.rs-line { border: 1.5px solid var(--text); color: var(--text); }        /* outline button, same 999px pill as .btn-hero */
.rs-line:hover { background: color-mix(in srgb, var(--text) 10%, transparent); }

/* Right panel: accordion */
.rs-index { justify-content: flex-start; gap: 0; }
.rs-index h2 { margin: 0; font: 800 1.5rem/1.2 var(--font-head); letter-spacing: -.02em; }
.rs-sub { margin: .25rem 0 1rem; color: var(--text); font-size: .9375rem; }
.rs-item { border-top: 1px solid var(--border); }
.rs-item h3 { margin: 0; }
.rs-item button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0;
  background: none; border: 0; color: var(--text); font: 700 1rem var(--font-head); text-align: start; cursor: pointer;
}
.rs-item button:hover { color: var(--accent); }
/* Plus / minus drawn with two bars (no icons needed) */
.rs-plus { position: relative; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: color-mix(in srgb, var(--glow) 40%, transparent); }
.rs-plus::before, .rs-plus::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: .75rem; height: 2px; background: var(--text); transform: translate(-50%, -50%); transition: transform .3s; }
.rs-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.rs-item.is-open .rs-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
/* Panel opens by animating its row height from 0 to its content */
.rs-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.rs-item.is-open .rs-body { grid-template-rows: 1fr; }
.rs-body > div { overflow: hidden; }
.rs-body p { margin: 0 0 .75rem; color: var(--text); font-size: .9375rem; }
.rs-link { display: inline-block; margin-bottom: 1rem; font: 700 .9375rem var(--font-head); color: var(--text); text-underline-offset: 4px; }
.rs-link:hover { color: var(--accent); }

/* Caption bar: below the photo, on a solid surface */
.rs-cap { margin: 0; padding: .9rem var(--pad-x); background: var(--surface); border-top: 1px solid var(--border); color: var(--text); font-size: .875rem; }

/* Tablet and mobile: panels stack, the photo window keeps a clear strip of the photo */
@media (max-width: 1000px) {
  .rs-grid { grid-template-columns: minmax(0, 1fr); }
  .rs-window { min-height: 30vh; order: 3; }
  .rs-intro { order: 1; } .rs-index { order: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .rs-stage::before { animation: none; }
  .rs-body, .rs-plus::before, .rs-plus::after { transition: none; }
}


/* 13. CONTACT BANNER ------------------------------------------------------ */
/* Full photo, headline top-left, text + buttons bottom-left, image trail bottom-right (runs off the right edge).
   --ov = shade colour, --on = text colour on the shade (flipped in darkmode.css, same as Home 1) */
.ct-hero { --ov: var(--text); --on: var(--bg); padding: 0; }
.ct-card-wrap {
  position: relative; isolation: isolate; overflow: hidden; width: 100%; color: var(--on);
  min-height: clamp(600px, calc(100vh - 5.5rem), 820px);
  /* equal top/bottom padding; side padding keeps the text on the 1440px content column */
  padding-block: clamp(2.5rem, 5vw, 4rem);
  padding-inline: max(var(--pad-x), calc((100vw - 1440px) / 2 + var(--pad-x)));
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-rows: 1fr auto; column-gap: 2.5rem; row-gap: 2rem; align-items: end;
  background: var(--ov) url("../images/contact-banner.jpg") center / cover no-repeat;   /* full background photo */
}
.ct-card-wrap :focus-visible { outline-color: var(--glow); }

/* Shade: strong on the left and at the bottom for the text, lighter elsewhere so the photo stays visible */
.ct-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, color-mix(in srgb, var(--ov) 80%, transparent) 0%, color-mix(in srgb, var(--ov) 35%, transparent) 55%, color-mix(in srgb, var(--ov) 15%, transparent) 100%); }
.ct-shade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--ov) 70%, transparent) 0%, transparent 55%); }

/* Electric canvas (drawn by index.js): sits under the text, above the photo */
.ct-card-wrap .fx { z-index: 0; }
/* Live current: a bright pulse runs along the bottom edge */
.ct-card-wrap::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; z-index: 1; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--glow), transparent) no-repeat; background-size: 30% 100%;
  animation: run-current 3.2s linear infinite;
}
.ct-story, .ct-head, .ct-copy, .ct-trail, .ct-scroll { position: relative; z-index: 1; }

/* Keep the label, headline, paragraph and actions together instead of splitting them across the hero height */
.ct-story { grid-column: 1; grid-row: 1 / 3; align-self: start; display: grid; align-content: start; gap: clamp(1.25rem, 2.5vw, 2rem); max-width: 760px; }

/* Top: label + two-colour headline (the <em> buzzes like a live wire, same as Home 1) */
.ct-head { display: grid; gap: 1rem; justify-items: start; }
.ct-label { display: flex; align-items: center; gap: .9rem; margin: 0; font: 700 1rem var(--font-head); }
.ct-label::before { content: ""; width: 2.5rem; height: 2px; background: var(--glow); }
.ct-head h1 { margin: 0; font: 700 clamp(2.5rem, 5.4vw, 4.25rem)/1.05 var(--font-head); letter-spacing: -.035em; }
.ct-head h1 em { font-style: normal; color: var(--glow); text-shadow: 0 0 18px color-mix(in srgb, var(--glow) 60%, transparent); animation: buzz 3.6s steps(1) infinite; }

/* Bottom left: text + buttons (buttons reuse .btn-hero so the pill shape is identical everywhere) */
.ct-copy { display: grid; gap: 1rem; justify-items: start; max-width: 520px; }
.ct-copy p { margin: 0; font-size: 1.0625rem; }
.ct-btns { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Bottom right: image trail. The track slides left forever; the left edge fades out, the right side runs off the screen */
.ct-trail {
  grid-column: 2; grid-row: 2; align-self: end; min-width: 0; overflow: hidden; margin-inline-end: calc(-1 * max(var(--pad-x), (100vw - 1440px) / 2 + var(--pad-x)));
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%); mask-image: linear-gradient(to right, transparent, #000 8%);
}
[dir="rtl"] .ct-trail { -webkit-mask-image: linear-gradient(to left, transparent, #000 8%); mask-image: linear-gradient(to left, transparent, #000 8%); }
.ct-track { display: flex; width: max-content; animation: ct-slide 40s linear infinite; }
.ct-trail:hover .ct-track { animation-play-state: paused; }
.ct-group { display: flex; gap: 1rem; padding-inline-end: 1rem; }
@keyframes ct-slide { to { transform: translateX(-50%); } }
/* Each card: photo with its caption BELOW it (never on the photo) */
.ct-card { margin: 0; width: clamp(210px, 21vw, 300px); display: grid; gap: .6rem; }
.ct-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; border: 1.5px solid color-mix(in srgb, var(--on) 55%, transparent); }
.ct-card figcaption { font: 600 .875rem var(--font-head); }

/* Scroll hint: vertical text + line that fills (top right, clear of the trail) */
.ct-scroll {
  position: absolute; inset-block-start: clamp(2.5rem, 5vw, 4rem); inset-inline-end: max(var(--pad-x), calc((100vw - 1440px) / 2 + var(--pad-x)));
  display: grid; justify-items: center; gap: .8rem; color: var(--on); text-decoration: none; font: 600 .8125rem var(--font-head); letter-spacing: .08em;
}
.ct-scroll span { writing-mode: vertical-rl; }
.ct-scroll i { position: relative; display: block; width: 1px; height: 5rem; background: color-mix(in srgb, var(--on) 40%, transparent); overflow: hidden; }
.ct-scroll i::after { content: ""; position: absolute; inset: 0; background: var(--glow); transform: translateY(-100%); animation: ct-line 2.4s ease-in-out infinite; }
@keyframes ct-line { to { transform: translateY(100%); } }

/* Tablet and mobile: stack, trail goes full width below the text */
@media (max-width: 1000px) {
  .ct-card-wrap { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; align-items: start; min-height: 0; }
  .ct-story { grid-column: auto; grid-row: auto; }
  .ct-trail { grid-column: auto; grid-row: auto; }
  .ct-scroll { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-track, .ct-scroll i::after { animation: none; }
}


/* 14. HOME 1 CTA – MATERIAL RECOVERY REACTOR ------------------------------- */
/* --ov = text colour on lime surfaces (flipped in darkmode.css, same trick as the banners).
   Everything inside the reactor is sized from --s (stage size), so it scales from desktop to mobile in one go. */
.rx { --ov: var(--text); background: var(--surface); color: var(--text); overflow: hidden; }
/* Equal top and bottom padding (80px desktop, 56px mobile) */
.rx-main {
  max-width: 1440px; margin-inline: auto; padding: clamp(3.5rem, 6vw, 5rem) var(--pad-x);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(2rem, 5vw, 5rem);
}
.rx-left { display: grid; gap: 2.25rem; }
.rx-copy { display: grid; gap: 1.5rem; justify-items: start; }

/* Tag pill with a pulsing dot */
.rx-tag { display: inline-flex; align-items: center; gap: .6rem; margin: 0; padding: .4rem 1rem; border: 1px solid var(--border); border-radius: 999px; background: var(--bg); font: 700 .875rem var(--font-head); }
.rx-tag::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--glow); animation: rx-pulse 1.8s ease-in-out infinite; }
@keyframes rx-pulse { 50% { transform: scale(1.5); opacity: .6; } }
/* Headline: "mine" glows and buzzes (accent is readable on the surface in both themes) */
.rx h2 { margin: 0; max-width: 16ch; font: 800 clamp(2.1rem, 3.8vw, 3.5rem)/1.08 var(--font-head); letter-spacing: -.035em; }
.rx h2 em { font-style: normal; color: var(--accent); text-shadow: 0 0 18px color-mix(in srgb, var(--glow) 70%, transparent); animation: buzz 3.6s steps(1) infinite; }
.rx-lead { margin: 0; max-width: 52ch; font-size: 1.125rem; }
.rx-btns { display: flex; flex-wrap: wrap; gap: 1rem; }
.rx-line { border: 1.5px solid var(--text); color: var(--text); }
.rx-line:hover { background: color-mix(in srgb, var(--text) 10%, transparent); }
/* CTA charge-up: the current only circles the pill while it is hovered, focused or pressed */
.rx .rx-cta.spark::before { background: conic-gradient(from var(--ang), transparent 0 62%, var(--text) 82%, transparent 100%); opacity: 0; transition: opacity .25s; }
.rx .rx-cta:hover::before, .rx .rx-cta:focus-visible::before, .rx .rx-cta:active::before { opacity: 1; }

/* Stats: three even tiles, caption below the number */
.rx-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 560px; }
.rx-stat { display: grid; gap: .35rem; align-content: start; padding: 1.1rem 1rem; text-align: center; background: var(--bg); border: 1px solid var(--border); border-radius: 16px; }
.rx-num { font: 800 clamp(1.75rem, 2.8vw, 2.5rem)/1 var(--font-head); color: var(--accent); }
.rx-stat span { font-size: .875rem; line-height: 1.35; }

/* Reactor stage: --s sets the size, --R the tile ring radius, --t the tile size, --W the width of a tile + caption */
.rx-wrap { perspective: 1000px; justify-self: center; }
.rx-stage {
  --s: clamp(298px, 36vw, 520px); --R: calc(var(--s) * .36); --t: calc(var(--s) * .125); --W: max(5.5rem, calc(var(--s) * .27));
  position: relative; width: var(--s); height: var(--s);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out;
}
/* Everything in the stage is centred on the middle point */
.rx-ring, .rx-orbit, .rx-core, .rx-spoke { position: absolute; left: 50%; top: 50%; }
.rx-ring { translate: -50% -50%; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--muted) 70%, transparent); }
.rx-ring--out { width: calc(var(--s) * .94); aspect-ratio: 1; border-style: dashed; animation: rx-turn 90s linear infinite; }
.rx-ring--mid { width: calc(var(--R) * 2); aspect-ratio: 1; }
.rx-ring--in { width: calc(var(--s) * .38); aspect-ratio: 1; border-style: dashed; animation: rx-turn 40s linear infinite reverse; }
@keyframes rx-turn { to { rotate: 360deg; } }
/* Spokes: dashed line from the core out to each tile */
.rx-spoke { width: var(--R); height: 0; border-top: 1.5px dashed color-mix(in srgb, var(--muted) 70%, transparent); transform-origin: 0 0; rotate: var(--a); }
/* Electron orbits: a tilted ellipse, with an electron riding a spinning arm inside it */
.rx-orbit { width: calc(var(--s) * .5); aspect-ratio: 1; translate: -50% -50%; rotate: var(--r); scale: 1 .38; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--accent) 60%, transparent); }
.rx-spin { position: absolute; inset: -1.5px; animation: rx-turn var(--d) linear infinite; }
.rx-spin--rev { animation-direction: reverse; }
.rx-e { position: absolute; left: 50%; top: 0; width: .6rem; height: .6rem; margin: -.3rem 0 0 -.3rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px 3px var(--glow); }
/* Bolt canvas sits above the orbits and below the core and tiles */
.rx-stage .fx { z-index: 1; }

/* Core: round badge, atom nucleus glow behind, logo bolt that beats like a heart */
.rx-core { z-index: 2; width: calc(var(--s) * .26); aspect-ratio: 1; translate: -50% -50%; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 2px solid var(--text); box-shadow: 0 0 0 6px color-mix(in srgb, var(--glow) 25%, transparent); }
.rx-nuc { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, var(--glow) 0%, transparent 70%); animation: rx-breathe 3.2s ease-in-out infinite; }
@keyframes rx-breathe { 50% { scale: 1.25; opacity: .6; } }
.rx-bolt { position: relative; width: 52%; aspect-ratio: 1; filter: drop-shadow(0 0 8px var(--glow)); animation: rx-beat 1.6s ease-in-out infinite; }
.rx-bolt i { display: block; width: 100%; height: 100%; background: var(--accent); clip-path: polygon(55% 17.5%, 30% 55%, 47.5% 55%, 42.5% 82.5%, 70% 42.5%, 52.5% 42.5%); }
@keyframes rx-beat { 0%, 56%, 100% { scale: 1; } 14% { scale: 1.16; } 28% { scale: 1; } 42% { scale: 1.1; } }
/* Core flashes while the CTA is charged */
.rx.is-charged .rx-core, .rx-core.is-flash { animation: rx-flash .5s ease-in-out infinite; }
@keyframes rx-flash { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--glow) 25%, transparent), 0 0 36px 8px var(--glow); } }

/* Tiles: positioned on the ring with CSS trigonometry; the tile sits on the ring, its caption BELOW it */
.rx-node {
  position: absolute; z-index: 3; width: var(--W); display: grid; justify-items: center; gap: .35rem;
  left: calc(50% + cos(var(--a)) * var(--R) - var(--W) / 2); top: calc(50% + sin(var(--a)) * var(--R) - var(--t) / 2);
  transition: opacity .7s ease, scale .7s cubic-bezier(.2, .8, .2, 1), filter .7s ease; transition-delay: calc(var(--i) * 110ms);
}
.rx-node:hover, .rx-node:focus-within { z-index: 4; }
/* Materialise: tiles start small and blurred, then snap into focus when the section scrolls in (JS adds .is-armed, then .is-in) */
.rx.is-armed:not(.is-in) .rx-node { opacity: 0; scale: .6; filter: blur(8px); }
.rx-tile { position: relative; width: var(--t); height: var(--t); padding: 0; cursor: pointer; background: none; border: 0; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.3, 1.3, .5, 1), scale .3s; }
.rx-node:hover .rx-tile, .rx-tile:focus-visible { transform: rotateY(180deg); }
/* Tile faces: symbol on the front, atomic number on the back (lime) */
.rx-face { position: absolute; inset: 0; display: grid; place-items: center; border: 2px solid var(--accent); border-radius: 14px; backface-visibility: hidden; -webkit-backface-visibility: hidden; font: 800 clamp(.875rem, calc(var(--s) * .042), 1.375rem) var(--font-head); }
.rx-front { background: var(--bg); color: var(--text); }
.rx-back { background: var(--glow); color: var(--ov); transform: rotateY(180deg); }
/* A bolt landed on the tile */
.rx-node.is-hit .rx-front { border-color: var(--glow); box-shadow: 0 0 26px 4px var(--glow); }
.rx-node.is-hit .rx-tile { scale: 1.1; }
/* Caption area: name by default, fact on hover/focus (same spot, so nothing moves). Solid background hides the lines behind the text */
.rx-cap { display: grid; justify-items: center; max-width: 100%; padding-inline: .3rem; background: var(--surface); border-radius: 6px; text-align: center; }
.rx-name, .rx-fact { grid-area: 1 / 1; font: 600 .8125rem/1.3 var(--font-head); transition: opacity .25s; }
.rx-fact { min-height: 2.6em; opacity: 0; font-weight: 500; }
.rx-node:hover .rx-name, .rx-node:focus-within .rx-name { opacity: 0; }
.rx-node:hover .rx-fact, .rx-node:focus-within .rx-fact { opacity: 1; }
.rx-name { align-self: start; }

/* Ticker: element symbols scroll along the bottom edge */
.rx-tick { overflow: hidden; background: var(--bg); border-top: 1px solid var(--border); padding-block: .9rem; }
.rx-tick-track { display: flex; width: max-content; animation: rx-tick 40s linear infinite; }
.rx-tick-group { display: flex; flex: none; align-items: center; gap: 1.5rem; padding-inline-end: 1.5rem; font: 700 .9375rem var(--font-head); white-space: nowrap; }
.rx-sym { color: var(--accent); }
.rx-dot { color: var(--muted); }
@keyframes rx-tick { to { transform: translateX(-50%); } }

/* Tablet and mobile: copy, then the reactor, then the stats; buttons go full width */
@media (max-width: 1000px) {
  .rx-main { grid-template-columns: minmax(0, 1fr); }
  .rx-left { display: contents; }
  .rx-copy { order: 1; } .rx-wrap { order: 2; } .rx-stats { order: 3; max-width: none; }
}
@media (max-width: 640px) {
  .rx-btns { flex-direction: column; width: 100%; gap: .75rem; }
  .rx-btns .btn-hero { justify-content: center; }
  .rx-stats { grid-template-columns: minmax(0, 1fr); width: 100%; gap: .75rem; }
  .rx-stat { min-width: 0; padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .rx-ring, .rx-spin, .rx-nuc, .rx-bolt, .rx-tag::before, .rx-tick-track, .rx h2 em { animation: none; }
  .rx-node, .rx-tile, .rx-stage { transition: none; }
}

/* 15. HOME 1 – SECTION 2: OUR ENVIRONMENTAL IMPACT ------------------------ */
/* Sits on the page colour (--bg) in both themes, so the banner notch merges into it and light mode stays light */
.impact { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); color: var(--text); padding-block: clamp(4.5rem, 9vw, 7rem); padding-inline: var(--pad-x); }
/* Keep the environmental impact section free of the circuit grid. */
/* Breathing soft glow behind the rail */
.impact::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 50% at 50% 62%, color-mix(in srgb, var(--glow) 30%, transparent), transparent 70%); animation: im-breathe 5s ease-in-out infinite; }
@keyframes im-breathe { 50% { opacity: .45; } }
.im-inner { max-width: 1440px; margin-inline: auto; }
.im-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.im-head h2 { margin: 0; font: 700 clamp(2.25rem, 5vw, 3.75rem)/1.05 var(--font-head); letter-spacing: -.03em; }
.im-head p { margin: 0; max-width: 46ch; font-size: 1.125rem; opacity: .85; }

/* Rail: base line draws across, then a bright pulse runs along it between the rings */
.im-rail { --d: clamp(130px, 15vw, 210px); position: relative; }
.im-rail::before, .im-rail::after { content: ""; position: absolute; top: calc(var(--d) / 2 - 1px); inset-inline: calc((100% - 6rem) / 8); height: 2px; border-radius: 2px; }
.im-rail::before { background: color-mix(in srgb, var(--text) 20%, transparent); transform: scaleX(0); transform-origin: left; transition: transform 1.8s cubic-bezier(.6, 0, .2, 1); }
.im-rail.is-live::before { transform: scaleX(1); }
.im-rail::after { background: linear-gradient(90deg, transparent, var(--accent), transparent) no-repeat; background-size: 18% 100%; filter: drop-shadow(0 0 6px var(--glow)); opacity: 0; animation: im-run 3.2s linear infinite; }
.im-rail.is-live::after { opacity: 1; transition: opacity .6s 1.8s; }
@keyframes im-run { from { background-position: -20% 0; } to { background-position: 120% 0; } }
.im-cells { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin: 0; padding: 0; list-style: none; }
.im-cell { display: grid; justify-items: center; align-content: start; text-align: center; }

/* Ring: surface core, charge arc that fills, spark circling outside */
.im-ring { position: relative; width: var(--d); height: var(--d); display: grid; place-items: center; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 1px var(--border), 0 0 32px color-mix(in srgb, var(--glow) 28%, transparent); transition: transform .35s, box-shadow .35s; }
.im-cell:hover .im-ring { transform: scale(1.06); box-shadow: 0 0 0 1px var(--accent), 0 0 48px color-mix(in srgb, var(--glow) 55%, transparent); }
.im-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); } /* visible so the arc glow is not clipped to a square */
.im-ring circle { fill: none; stroke-width: 5; }
.im-track { stroke: color-mix(in srgb, var(--text) 12%, transparent); }
.im-bar { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 5px var(--glow)); transition: stroke-dashoffset 2.2s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * .45s); }
.im-rail.is-live .im-bar { stroke-dashoffset: calc((100 - var(--fill)) * 1px); }
.im-ring.spark::before { inset: -7px; padding: 2px; opacity: 0; animation-duration: 3.5s; transition: opacity .6s calc(var(--i) * .45s + 1.8s); }
.im-rail.is-live .im-ring.spark::before { opacity: 1; }
.im-cell:nth-child(even) .im-ring.spark::before { animation-direction: reverse; }
.im-num { position: relative; display: flex; align-items: baseline; font: 800 calc(var(--d) * .2)/1 var(--font-head); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.im-num i { font-style: normal; color: var(--accent); }

/* Caption sits below the ring, never on it */
.im-cap { display: grid; justify-items: center; gap: .4rem; margin-top: 1.5rem; }
.im-cap h3 { margin: 0; font: 700 1.25rem var(--font-head); }
.im-cap p { margin: 0; max-width: 24ch; font-size: .9375rem; opacity: .8; }

/* Lightning bolts drawn between the rings by index.js */
.im-bolts { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.im-bolts path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; filter: drop-shadow(0 0 8px var(--glow)); }
.im-bolts.zap path { animation: im-zap .55s ease-out; }
@keyframes im-zap { 0% { stroke-dashoffset: 1; opacity: 1; } 60% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }

/* 16. HOME 1 – SECTION 3: OUR RECYCLING SERVICES (pinned scroll) ---------- */
/* --p is the scroll progress (0 to 1) set by index.js. Every .ph element turns it into its own 0-1 value (--e) inside its window: --s = start, --w = length.
   Without JS, or when the screen is small, --p stays at 1 so everything simply shows in its final state.
   Order: big photo (0) -> cards from behind it (.2/.3) -> extra photos from behind the cards (.44/.52) -> heading folds, statement unfolds (.68/.72) */
.sv3 { --p: 1; --dir: 1; position: relative; background: var(--bg); border-top: 1px solid var(--border); color: var(--text); }
.ph { --a: clamp(0, calc((var(--p) - var(--s, 0)) / var(--w, .1)), 1); --e: calc(var(--a) * var(--a) * (3 - 2 * var(--a))); }  /* smooth ease in/out */
/* equal top and bottom padding (the top one also clears the sticky navbar) */
.sv3-stage { position: relative; isolation: isolate; overflow: hidden; display: flex; padding-block: 5.25rem; padding-inline: var(--pad-x); }
.sv3-in { width: 100%; max-width: 1440px; margin-inline: auto; display: flex; flex-direction: column; justify-content: center; min-height: 0; }

/* Soft glow orb travels across the section with scroll progress. */
.sv3-orb { position: absolute; z-index: -1; top: 18%; left: calc(var(--p) * 60% - 5%); width: 42vw; max-width: 640px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--glow) 40%, transparent), transparent 65%); filter: blur(12px); pointer-events: none; }

/* Heading: words rise in; later the whole block folds away (height + fade) to make room for the statement */
.sv3-head { display: grid; justify-items: center; gap: .75rem; text-align: center; overflow: hidden; max-height: calc((1 - var(--e)) * 7rem); margin-bottom: calc((1 - var(--e)) * 1.5rem); opacity: calc(1 - var(--e)); }
.sv3-tag { display: inline-flex; align-items: center; gap: .5rem; margin: 0; padding: .35rem .9rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font: 600 .9375rem var(--font-head); }
.sv3-tag svg { width: 16px; height: 16px; color: var(--accent); animation: sv3-flick 3s steps(1) infinite; }
@keyframes sv3-flick { 0%, 100% { opacity: 1; } 40% { opacity: .35; } 44% { opacity: 1; } 70% { opacity: .6; } 74% { opacity: 1; } }
.sv3-head h2 { margin: 0; font: 700 clamp(2rem, 4.2vw, 3.25rem)/1.1 var(--font-head); letter-spacing: -.03em; }
.sv3-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; --s: calc(var(--k) * .02); --w: .08; }
.sv3-wi { display: inline-block; transform: translateY(calc((1 - var(--e)) * 110%)); }
.sv3-w--accent .sv3-wi, .ac-w--accent { color: var(--accent); }

/* Main row: narrow side columns, wide centre photo (24 : 40 : 24 like the reference) */
.sv3-main { position: relative; display: grid; grid-template-columns: minmax(0, 24fr) minmax(0, 40fr) minmax(0, 24fr); gap: clamp(1rem, 1.8vw, 2rem); }
/* Side columns are shorter than the photo and staggered: left hangs from the top, right sits on the bottom.
   They start hidden BEHIND the photo (shifted towards it) and slide outwards. */
.sv3-col { position: relative; z-index: 1; display: grid; gap: 1rem; height: calc(var(--mh) * .86); min-height: 0; opacity: clamp(0, calc(var(--e) * 6), 1); }
.sv3-col--l { grid-template-rows: auto minmax(0, 1fr); align-self: start; translate: calc((1 - var(--e)) * 120% * var(--dir)) 0; }
.sv3-col--r { grid-template-rows: minmax(0, 1fr) auto; align-self: end; translate: calc((1 - var(--e)) * -120% * var(--dir)) 0; }

/* Cards: big number, title, short text, link */
.sv3-card { position: relative; z-index: 2; display: grid; gap: .5rem; align-content: start; padding: 1.25rem 1.5rem; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); transition: transform .3s; }
.sv3-card:hover { transform: translateY(-4px); }
.sv3-card.spark::before { inset: -1px; padding: 1.5px; opacity: var(--e); }
.sv3-num { display: flex; align-items: baseline; gap: .35rem; margin: 0; font: 600 clamp(2.25rem, 3.4vw, 3rem)/1 var(--font-head); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sv3-num small { font-size: 1.25rem; font-weight: 600; letter-spacing: 0; }
.sv3-card h3 { margin: .25rem 0 0; font: 700 1.25rem/1.2 var(--font-head); letter-spacing: -.01em; }
.sv3-card p:not(.sv3-num) { margin: 0; font-size: .9375rem; line-height: 1.5; opacity: .85; }
.sv3-link { display: inline-flex; align-items: center; gap: .5rem; justify-self: start; color: var(--text); text-decoration: underline transparent; text-underline-offset: 5px; font: 600 .9375rem var(--font-head); transition: text-decoration-color .25s; }
.sv3-link:hover { text-decoration-color: var(--accent); }
.sv3-link svg { width: 16px; height: 16px; transition: transform .25s; }
.sv3-link:hover svg { transform: translateX(4px); }

/* Extra photos: slide out from behind their card (left photo downwards, right photo upwards) */
.sv3-pic { position: relative; z-index: 1; margin: 0; min-height: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--border); opacity: clamp(0, calc(var(--e) * 6), 1); }
.sv3-pic--l { translate: 0 calc((1 - var(--e)) * -110%); }
.sv3-pic--r { translate: 0 calc((1 - var(--e)) * 110%); }
.sv3-pic img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.3 - var(--e) * .3)); }
/* FIX (How we help): the photo is taken out of the layout flow (absolute above) and the side columns now have a definite height (--mh),
   so the photo row under / above each card always keeps its size and the side photos appear as you scroll. */

/* Centre: the big photo sits above everything else; caption below it */
.sv3-mid { --k2: clamp(0, calc((var(--p) - .28) / .06), 1); --k3: clamp(0, calc((var(--p) - .7) / .06), 1); position: relative; z-index: 3; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: .9rem; margin: 0; min-height: 0; }
.sv3-frame { position: relative; min-height: 0; border-radius: 28px; transform: scale(calc(.92 + var(--e) * .08)); }
.sv3-frame.spark::before { inset: -5px; padding: 2px; opacity: var(--e); animation-duration: 3.5s; }
.sv3-clip { position: absolute; inset: 0; overflow: hidden; border-radius: 28px; clip-path: inset(calc((1 - var(--e)) * 22%) calc((1 - var(--e)) * 14%) round 28px); }
.sv3-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.18 - var(--p) * .12)); }
.sv3-img1 { object-position: 55% 50%; }
.sv3-img2 { object-position: 55% 50%; opacity: var(--k2); }
.sv3-img3 { object-position: 38% 50%; opacity: var(--k3); }
.sv3-cap { display: grid; gap: .6rem; }
.sv3-names { display: grid; font: 600 .9375rem var(--font-head); text-align: center; }
.sv3-nm { grid-area: 1 / 1; }
.sv3-nm1 { opacity: calc(1 - var(--k2)); }
.sv3-nm2 { opacity: calc(var(--k2) - var(--k3)); }
.sv3-nm3 { opacity: var(--k3); }
.sv3-track { display: block; height: 2px; border-radius: 2px; overflow: hidden; background: color-mix(in srgb, var(--text) 16%, transparent); }
.sv3-track i { display: block; height: 100%; background: var(--accent); box-shadow: 0 0 8px var(--glow); transform: scaleX(var(--p)); transform-origin: left; }

/* Electric bolts (drawn by index.js): jump from the big photo to a card when it slides out */
.sv3-bolts { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.sv3-bolts path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; filter: drop-shadow(0 0 8px var(--glow)); }
.sv3-bolts.zap path { animation: sv3-zap .55s ease-out; }
@keyframes sv3-zap { 0% { stroke-dashoffset: 1; opacity: 1; } 60% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.is-hit { animation: sv3-hit .7s ease-out; }
@keyframes sv3-hit { 0%, 100% { box-shadow: 0 0 0 transparent; } 30% { box-shadow: 0 0 36px color-mix(in srgb, var(--glow) 75%, transparent); } }

/* Big statement: unfolds (height + fade) where the heading folded away; digits fill with colour as you scroll */
.sv3-foot { display: grid; justify-items: center; gap: .4rem; text-align: center; overflow: hidden; max-height: calc(var(--e) * 9.5rem); margin-top: calc(var(--e) * 1.5rem); opacity: var(--e); }
.sv3-big { --c: clamp(0, calc((var(--p) - .78) / .16), 1); --gd: 90deg; margin: 0; font: 800 clamp(2.5rem, 5vw, 4rem)/1.05 var(--font-head); letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: transparent; -webkit-background-clip: text; background-clip: text; background-image: linear-gradient(var(--gd), var(--text) calc(var(--c) * 100%), color-mix(in srgb, var(--text) 50%, transparent) calc(var(--c) * 100% + .1%)); }
.sv3-sub { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1rem; max-width: 72ch; margin: 0; font-size: 1rem; opacity: .9; }

/* Pinned mode: the section is tall, the stage sticks to the screen while you scroll through it.
   The photo row height leaves room for the heading (start) or the statement (end), so nothing ever overlaps. */
@media (min-width: 861px) and (min-height: 741px) {
  .sv3 { height: 360vh; }
  .sv3-stage { position: sticky; top: 0; height: 100vh; height: 100svh; }
  .sv3-main { --mh: calc(100svh - 23.5rem); height: var(--mh); }   /* 21.5rem fills the stage exactly; 2rem extra keeps air above and below */
}
/* Laptop heights (741-820px): tighter cards so the extra photos keep a good size */
@media (min-width: 861px) and (min-height: 741px) and (max-height: 820px) {
  .sv3-col { height: calc(var(--mh) * .96); }
  .sv3-card { padding: 1rem 1.25rem; gap: .35rem; }
  .sv3-num { font-size: 2.25rem; }
}
/* Small or short screens: no pinning, everything stacks and shows in its final state (heading stays visible, statement stays open) */
@media (max-width: 860px), (max-height: 740px) {
  .impact .im-head { grid-template-columns: 1fr; gap: 1.25rem; }
  .sv3-stage { padding-block: 4.5rem; }
  .sv3-in { gap: 1.5rem; }
  .sv3-head { max-height: none; margin-bottom: 0; opacity: 1; overflow: visible; }
  .sv3-foot { max-height: none; margin-top: 0; overflow: visible; }
  .sv3-main { grid-template-columns: 1fr; gap: 1.5rem; }
  .sv3-mid { order: 1; grid-template-rows: auto auto; }
  .sv3-col { height: auto; align-self: stretch; }
  .sv3-col--l { order: 2; grid-template-rows: auto auto; }
  .sv3-col--r { order: 3; grid-template-rows: auto auto; }
  .sv3-frame { aspect-ratio: 4 / 5; width: min(100%, 420px); margin-inline: auto; }
  .sv3-pic { height: 220px; }
  .sv3-bolts { display: none; }
}
@media (max-width: 860px) {
  .im-rail { --d: clamp(120px, 34vw, 190px); }
  .im-rail::before, .im-rail::after, .im-bolts { display: none; }   /* rail only makes sense in one row */
  .im-cells { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 1.5rem; }
}
/* 17. HOME 1 – SECTION 4: WHAT WE ACCEPT (scanner gate + conveyor) ---------- */
/* --p is the scroll progress (0 to 1) set by index.js. Tile i sits at distance --d = i - p*5 from the scanner gate:
   --near (0 at the gate, 1 or more away) shrinks, tilts and dims the tiles; --act (1 at the gate) switches on the scan effects.
   Without JS, or on small screens, --p stays at 1 and the belt becomes a normal swipe row. */
.ac { --p: 1; --dir: 1; --tw: clamp(230px, 19vw, 280px); --pitch: calc(var(--tw) + 2rem); position: relative; background: var(--bg); border-top: 1px solid var(--border); color: var(--text); }
.ac-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
/* equal top and bottom padding (the top one also clears the sticky navbar) */
.ac-stage { position: relative; isolation: isolate; overflow: hidden; display: flex; padding-block: 5.25rem; padding-inline: var(--pad-x); }
.ac-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(color-mix(in srgb, var(--text) 7%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--text) 7%, transparent) 1px, transparent 1px); background-size: 56px 56px; background-position: calc(var(--p) * -224px) 0; -webkit-mask-image: radial-gradient(ellipse at 50% 55%, black 25%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 55%, black 25%, transparent 75%); }  /* circuit grid slides with the belt */
.ac-in { width: 100%; max-width: 1440px; margin-inline: auto; display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; min-height: 0; }

/* Heading row */
.ac-head { display: grid; grid-template-columns: 1fr minmax(0, 46ch); gap: 3rem; align-items: end; }
.ac-title { display: grid; justify-items: start; gap: .75rem; }
.ac-title h2 { margin: 0; font: 700 clamp(2rem, 4.2vw, 3.25rem)/1.1 var(--font-head); letter-spacing: -.03em; }
.ac-lead { margin: 0; font-size: 1.0625rem; opacity: .9; }
/* Neon-sign entrance: each word flickers on (class .pre / .in are set by index.js) */
.ac.pre .ac-w { opacity: 0; }
.ac.in .ac-w { animation: ac-neon .9s linear both; animation-delay: calc(var(--k) * .18s); }
@keyframes ac-neon { 0% { opacity: 0; } 8% { opacity: 1; } 12% { opacity: .15; } 22% { opacity: 1; } 30% { opacity: .35; } 42%, 100% { opacity: 1; } }

/* Cards scroll horizontally with snap points; the section itself follows normal page scroll. */
.ac-beltwrap { position: relative; }
.ac-belt { display: flex; gap: 1rem; margin: 0; padding: 1rem 4px 1.25rem; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--accent) color-mix(in srgb, var(--text) 16%, transparent); }

/* Scanner gate visuals are removed for the normal scroll layout. */
.ac-gate, .ac-arc { display: none; }
@keyframes ac-hum { 0%, 100% { box-shadow: 0 0 0 transparent; } 50% { box-shadow: 0 0 26px color-mix(in srgb, var(--glow) 45%, transparent); } }
.ac-bulb { position: absolute; top: -7px; width: 12px; height: 12px; border-radius: 50%; background: var(--glow); border: 2px solid var(--accent); box-shadow: 0 0 12px var(--glow); animation: ac-bulb 1.8s ease-in-out infinite; }
.ac-bulb--l { inset-inline-start: 18px; }
.ac-bulb--r { inset-inline-end: 18px; animation-delay: .9s; }
@keyframes ac-bulb { 50% { box-shadow: 0 0 22px var(--glow); } }
/* Electric arc between the two bulbs (drawn by index.js whenever a new tile reaches the gate) */
.ac-arc { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ac-arc path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; filter: drop-shadow(0 0 8px var(--glow)); }
.ac-arc.zap path { animation: sv3-zap .6s ease-out; }

/* Tiles */
.ac-tile {
  --d: calc(var(--i) - var(--p) * 5);
  --ad: max(var(--d), calc(var(--d) * -1));          /* distance from the gate, always positive */
  --near: clamp(0, var(--ad), 1);                    /* 0 at the gate, 1 when a full step away */
  --act: clamp(0, calc(1 - var(--ad) * 1.4), 1);     /* 1 at the gate, 0 when far */
  position: relative; z-index: 1; flex: 0 0 var(--tw); width: var(--tw); scroll-snap-align: center;
  display: grid; gap: .75rem; align-content: start; padding: 1.25rem; border-radius: 22px; background: var(--surface); border: 1px solid var(--border);
  translate: none; transform: none; opacity: 1;
}
.ac-tile.spark::before { inset: -1px; padding: 1.5px; opacity: var(--act); }
.ac-tile.spark::before { opacity: 0; }
.ac-tile h3 { margin: 0; font: 700 1.25rem/1.2 var(--font-head); letter-spacing: -.01em; }
.ac-tile p { margin: 0; font-size: .9375rem; line-height: 1.45; opacity: .85; }
/* Icon window: dotted background, the scan beam only runs inside it */
.ac-ic { position: relative; overflow: hidden; display: grid; place-items: center; height: clamp(96px, 16svh, 140px); border-radius: 16px; border: 1px solid var(--border); background-color: var(--bg); background-image: radial-gradient(color-mix(in srgb, var(--text) 18%, transparent) 1px, transparent 1.4px); background-size: 14px 14px; }
.ac-ic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ac-tile:nth-child(4) .ac-ic img { object-position: center 96%; }
.ac-base, .ac-cur { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ac-base { stroke: var(--text); stroke-width: 2.2; }
/* A bright current runs along the outline of the icon at the gate */
.ac-cur { stroke: var(--accent); stroke-width: 2.6; stroke-dasharray: 14 86; opacity: var(--act); filter: drop-shadow(0 0 3px var(--glow)); animation: ac-run 2.4s linear infinite; }
@keyframes ac-run { to { stroke-dashoffset: -100; } }
.ac-ic::after { content: ""; position: absolute; inset-inline: 0; top: 6%; height: 3px; background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 12px var(--glow); opacity: var(--act); animation: ac-scan 2.2s ease-in-out infinite alternate; }
@keyframes ac-scan { to { top: 90%; } }
/* "Accepted" stamp appears when the tile is under the scanner (space is reserved so nothing jumps) */
.ac-ok { display: inline-flex; align-items: center; gap: .4rem; justify-self: start; padding: .25rem .75rem .25rem .6rem; border-radius: 999px; background: color-mix(in srgb, var(--glow) 40%, transparent); font: 700 .875rem var(--font-head); opacity: 1; scale: 1; }
.ac-ok svg { width: 16px; height: 16px; }

/* Footer row: counter, progress rail with stops, link */
.ac-foot { display: grid; grid-template-columns: auto auto minmax(8rem, 1fr) auto; align-items: center; gap: 1rem 1.5rem; }
.ac-arrows { display: flex; gap: .5rem; }
.ac-arrow { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; padding: 0; border: 1px solid var(--border); border-radius: 50%; color: var(--text); background: var(--surface); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.ac-arrow:hover { border-color: var(--accent); background: var(--glow); transform: translateY(-2px); }
.ac-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ac-arrow svg { width: 1.1rem; height: 1.1rem; }
.ac-count { margin: 0; font: 600 1rem var(--font-head); }
.ac-count b { font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.ac-count span { margin-inline-start: .5rem; }
.ac-rail { position: relative; height: 28px; margin-inline: 14px; }
.ac-rail::before { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 2px; translate: 0 -50%; background: color-mix(in srgb, var(--text) 16%, transparent); }
.ac-fill { position: absolute; inset-inline: 0; top: 50%; height: 2px; translate: 0 -50%; background: var(--accent); box-shadow: 0 0 8px var(--glow); transform: scaleX(var(--p)); transform-origin: left; }
.ac-dot { position: absolute; top: 50%; inset-inline-start: calc(var(--i) / 5 * 100%); translate: calc(-50% * var(--dir)) -50%; width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.ac-dot::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); transition: transform .25s, background .25s, box-shadow .25s; }
.ac-dot:hover::before { transform: scale(1.25); }
.ac-dot[aria-current="true"]::before { background: var(--glow); transform: scale(1.35); box-shadow: 0 0 14px var(--glow); }

/* Compact screens keep the same horizontal card row and arrow navigation. */
@media (max-width: 860px) {
  .ac-stage { padding-block: 4.5rem; }
  .ac-head { grid-template-columns: 1fr; gap: 1rem; }
  .ac-tile { flex-basis: min(78vw, 280px); width: auto; }
  .ac-ok, .ac-tile.spark::before, .ac-cur, .ac-ic::after { opacity: 1; scale: 1; }
  .ac-foot { grid-template-columns: auto auto; gap: 1rem; justify-items: start; }
  .ac-rail { grid-column: 1 / -1; grid-row: 2; width: min(100%, 28rem); }
  .ac-foot > .sv3-link { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .ac.pre .ac-w { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sv3-pulse::after, .sv3-tag svg, .impact::before, .impact::after { animation: none; } }

/* 13. WHAT WE ACCEPT BANNER (100vh) --------------------------------------- */
/* Full photo with a shade (like Home 1) and three glass boxes along the bottom.
   --ov = shade colour, --on = text colour on the shade (flipped in darkmode.css) */
.wa-hero {
  --ov: var(--text); --on: var(--bg);
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-rows: 1fr auto; row-gap: 2rem; min-width: 0; width: 100%;
  min-height: calc(100svh - 5.5rem); color: var(--on);
  /* equal top/bottom padding; side padding lines up with the 1440px content column */
  padding-block: clamp(2rem, 4vw, 3.5rem);
  padding-inline: max(var(--pad-x), calc((100vw - 1440px) / 2 + var(--pad-x)));
}
.wa-hero :focus-visible { outline-color: var(--glow); }
/* Photo: slow zoom and drift */
.wa-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.wa-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) contrast(1.05); animation: wa-zoom 18s ease-in-out infinite alternate; }
@keyframes wa-zoom { from { transform: scale(1.04); } to { transform: scale(1.16) translate(-1.5%, 1%); } }
/* Shade: strong behind the text (left) and behind the boxes (bottom), light elsewhere so the photo stays visible */
.wa-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, color-mix(in srgb, var(--ov) 80%, transparent) 0%, color-mix(in srgb, var(--ov) 30%, transparent) 45%, transparent 70%), linear-gradient(to right, color-mix(in srgb, var(--ov) 62%, transparent) 0%, transparent 60%); }
.wa-hero .fx { z-index: 0; opacity: .42; }
/* Live current along the bottom edge */
.wa-hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; z-index: 1; height: 3px; pointer-events: none; background: linear-gradient(90deg, transparent, var(--glow), transparent) no-repeat; background-size: 30% 100%; animation: run-current 3.2s linear infinite; }

/* Top: copy + promise list */
.wa-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.wa-copy { display: grid; gap: 1.25rem; justify-items: start; max-width: 40rem; }
.wa-kicker { font: 600 .8125rem var(--font-head); letter-spacing: .18em; text-transform: uppercase; }
.wa-title { margin: 0; font: 800 clamp(2.5rem, 5.6vw, 5rem)/1.05 var(--font-head); letter-spacing: -.035em; }
/* Each line slides up out of a mask (delay from --i) */
.wa-line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.08em; }
.wa-line > span { display: inline-block; animation: wa-up .9s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--i) * 160ms + 150ms); }
@keyframes wa-up { from { transform: translateY(115%); } }
/* Second line: lime colour with a pulsing electric glow */
.wa-line--hl { color: var(--glow); }
.wa-line--hl > span { animation: wa-up .9s cubic-bezier(.2, .8, .2, 1) 310ms backwards, wa-glow 2.8s ease-in-out 1.4s infinite; }
@keyframes wa-glow { 0%, 100% { text-shadow: 0 0 10px color-mix(in srgb, var(--glow) 25%, transparent); } 50% { text-shadow: 0 0 30px color-mix(in srgb, var(--glow) 75%, transparent); } }
.wa-copy p { margin: 0; max-width: 46ch; font-size: 1.125rem; }
.wa-btns { display: flex; flex-wrap: wrap; gap: 1rem; }
/* Promise list: thin rule on the side, like a small index */
.wa-keys { display: grid; gap: .5rem; margin: 0; padding: 0 0 0 1rem; list-style: none; border-inline-start: 1px solid color-mix(in srgb, var(--on) 45%, transparent); font: 600 .8125rem var(--font-head); letter-spacing: .16em; text-transform: uppercase; align-self: start; animation: wa-rise .8s ease 1s backwards; }

/* Dock: three glass boxes, even gaps */
.wa-dock { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1.2fr .9fr; gap: 1.25rem; }
.wa-card {
  position: relative; display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem; min-width: 0; color: var(--on); text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--on) 22%, transparent); border-radius: 24px;
  background: color-mix(in srgb, var(--ov) 52%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  animation: wa-rise .8s cubic-bezier(.2, .8, .2, 1) backwards; transition: transform .3s, border-color .3s;
}
.wa-card:nth-child(1) { animation-delay: .7s; } .wa-card:nth-child(2) { animation-delay: .85s; } .wa-card:nth-child(3) { animation-delay: 1s; }
.wa-card:hover { transform: translateY(-5px); border-color: var(--glow); }
@keyframes wa-rise { from { opacity: 0; transform: translateY(28px); } }
.wa-feature.spark::before { z-index: 2; padding: 2px; background: conic-gradient(from var(--ang), transparent 0 60%, var(--glow) 82%, transparent 100%); }
/* Featured photo (left) – the text sits beside it, never on it */
.wa-thumb { position: relative; flex: none; width: 34%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; }
.wa-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity .7s, transform 3s ease-out; }
.wa-thumb img.is-on { opacity: 1; transform: scale(1); }
.wa-fbody { display: grid; gap: .35rem; min-width: 0; }
.wa-small { font: 600 .8125rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--glow); }
.wa-fbody h2 { margin: 0; font: 700 1.25rem/1.25 var(--font-head); }
.wa-fbody p { margin: 0; font-size: .9375rem; line-height: 1.45; }
.wa-fbody h2, .wa-fbody p { animation: wa-rise .5s ease backwards; }
.wa-fnav { position: relative; display: flex; align-items: center; gap: .75rem; padding-top: .5rem; }
.wa-arrow { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; cursor: pointer; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--on) 40%, transparent); background: transparent; color: var(--on); transition: background .25s, color .25s; }
.wa-arrow:hover { background: var(--glow); color: var(--ov); }
.wa-arrow svg { width: 18px; height: 18px; }
.wa-count { font: 600 .875rem var(--font-head); }
/* Progress line: when full, the next item opens (hover pauses it) */
.wa-prog { flex: 1; height: 2px; overflow: hidden; border-radius: 2px; background: color-mix(in srgb, var(--on) 25%, transparent); }
.wa-prog b { display: block; height: 100%; background: var(--glow); transform: scaleX(0); transform-origin: left; }
.wa-prog b.run { animation: wa-fill 6s linear forwards; }
@keyframes wa-fill { to { transform: scaleX(1); } }
.wa-feature:hover .wa-prog b { animation-play-state: paused; }

/* Numbers: three even columns split by thin lines */
.wa-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding-inline: 0; }
.wa-stats > div { display: grid; gap: .25rem; justify-items: center; text-align: center; padding-inline: .75rem; }
.wa-stats > div + div { border-inline-start: 1px solid color-mix(in srgb, var(--on) 25%, transparent); }
.wa-stats strong { font: 800 clamp(1.5rem, 2.4vw, 2rem)/1 var(--font-head); color: var(--glow); }
.wa-stats span { font: 600 .875rem/1.3 var(--font-head); }

/* Call to action box: round photo, text, arrow */
.wa-cta { justify-content: space-between; background: color-mix(in srgb, var(--ov) 70%, transparent); }
.wa-cta img { flex: none; width: 56px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.wa-ctatext { display: grid; gap: .25rem; margin-inline-end: auto; }
.wa-ctatext strong { font: 700 1.0625rem/1.3 var(--font-head); }
.wa-ctatext span { font-size: .875rem; }
.wa-go { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--glow); color: var(--ov); transition: transform .3s; }
.wa-go svg { width: 20px; height: 20px; }
.wa-cta:hover .wa-go { transform: translateX(4px) rotate(-45deg); }

/* Tablet: dock becomes 2 columns, featured box spans both */
@media (max-width: 1100px) {
  .wa-dock { grid-template-columns: 1fr 1fr; }
  .wa-feature { grid-column: 1 / -1; }
}
/* Mobile: everything stacks */
@media (max-width: 720px) {
  .wa-top { flex-direction: column; align-items: flex-start; min-width: 0; }
  .wa-copy { width: 100%; min-width: 0; }
  .wa-title { font-size: clamp(2.1rem, 10vw, 3.5rem); }
  .wa-keys { display: flex; flex-wrap: wrap; padding: 0; border: 0; gap: .5rem .85rem; min-width: 0; letter-spacing: .1em; }
  .wa-dock { grid-template-columns: minmax(0, 1fr); min-width: 0; }
  .wa-feature { grid-column: auto; flex-direction: column; align-items: stretch; width: 100%; min-width: 0; }
  .wa-thumb { width: 100%; }
  .wa-fbody { width: 100%; min-width: 0; }
  .wa-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; min-width: 0; }
  .wa-stats > div { min-width: 0; padding-inline: .35rem; }
  .wa-cta { width: 100%; min-width: 0; gap: .75rem; }
  .wa-ctatext { min-width: 0; }
  .wa-btns .btn-hero { flex: 1 1 100%; justify-content: center; }
}
/* What We Accept banner: short laptop screens – tighter type and gaps so everything still fits in one screen */
@media (min-width: 721px) and (max-height: 820px) {
  .wa-hero { row-gap: 1.25rem; }
  .wa-copy { gap: 1rem; }
  .wa-title { font-size: clamp(2.25rem, 4.4vw, 3.75rem); }
  .wa-copy p { font-size: 1rem; }
  .wa-card { padding: 1rem; }
}

/* 18. HOME 1 SECTION 5: HOW OUR PICKUP WORKS ------------------------------ */
/* Power-up route: one rail runs under three photos. A current travels along it and switches each step on
   (photo goes from grey to colour, node lights, text brightens). Colours come from the site variables only. */
.pk { --g: clamp(1.5rem, 3vw, 3rem); position: relative; background: var(--surface); border-top: 1px solid var(--border); color: var(--text); }
/* equal top and bottom padding (the top one also clears the sticky navbar) */
.pk-stage { position: relative; isolation: isolate; overflow: hidden; padding-block: 5.25rem; padding-inline: var(--pad-x); }
.pk-in { position: relative; z-index: 1; display: grid; gap: 3rem; max-width: 1440px; margin-inline: auto; }

/* Heading row */
.pk-head { display: grid; grid-template-columns: 1fr minmax(0, 46ch); gap: 3rem; align-items: end; }
.pk-title { display: grid; justify-items: start; gap: .75rem; }
.pk-title h2 { margin: 0; font: 700 clamp(2rem, 4.2vw, 3.25rem)/1.1 var(--font-head); letter-spacing: -.03em; }
.pk-lead { margin: 0; font-size: 1.0625rem; opacity: .9; }
/* Title "powers on": a bright wipe passes over it once when the section appears (only after the script marks the section ready) */
.pk-ready .pk-title h2 { color: transparent; background: linear-gradient(90deg, var(--text) 50%, color-mix(in srgb, var(--text) 22%, transparent) 50%) 100% 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; transition: background-position 1.3s cubic-bezier(.6, 0, .2, 1); }
.pk-ready.in .pk-title h2 { background-position: 0 0; }

/* Route: 3 columns that share three rows (photo / rail / text) through subgrid, so the rail lines up across the steps */
.pk-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto 5rem auto; column-gap: var(--g); margin: 0; padding: 0; list-style: none; }
.pk-step { display: grid; grid-row: span 3; grid-template-rows: subgrid; min-width: 0; }

/* Photo: grey until its step is powered, then colour with a running current around the edge */
.pk-photo { overflow: hidden; aspect-ratio: 4 / 3; border-radius: 24px; border: 1px solid var(--border); background: var(--bg); }
.pk-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) contrast(1.05); transition: filter 1s, transform 2.4s ease-out; }
.pk-photo.spark::before { z-index: 2; padding: 3px; background: conic-gradient(from var(--ang), transparent 0 55%, var(--glow) 80%, transparent 100%); transition: opacity .6s; }
.pk-ready .pk-step:not(.is-lit) .pk-photo img { filter: grayscale(1) brightness(.7); transform: scale(1.12); }
.pk-ready .pk-step:not(.is-lit) .pk-photo.spark::before { opacity: 0; }

/* Rail row: a numbered node, and a segment running back to the previous node */
.pk-node { position: relative; display: grid; place-items: center; }
.pk-node b { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; aspect-ratio: 1; border-radius: 50%; background: var(--surface); border: 2px solid var(--border); color: var(--text); font: 800 1.25rem var(--font-head); transition: background .4s, border-color .4s, color .4s, box-shadow .4s; }
.pk-seg { position: absolute; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: var(--border); inset-inline-start: calc(-50% - var(--g)); width: calc(100% + var(--g)); }   /* from the previous node's centre to this one's */
.pk-seg::after { content: ""; position: absolute; inset: 0; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--glow)); box-shadow: 0 0 12px var(--glow); transform: scaleX(0); transform-origin: left; transition: transform .6s ease-in; }
/* Powered state: the current fills the segment first, then the node, photo and text switch on */
:is(.pk:not(.pk-ready) .pk-step, .pk-step.is-lit) .pk-seg::after { transform: scaleX(1); }
:is(.pk:not(.pk-ready) .pk-step, .pk-step.is-lit) .pk-node b { background: var(--accent); border-color: var(--accent); color: var(--bg); box-shadow: 0 0 0 6px color-mix(in srgb, var(--glow) 30%, transparent), 0 0 24px var(--glow); }
.pk-ready .pk-step.is-lit .pk-node b { transition-delay: .6s; animation: pk-pulse 1.1s ease-out .6s; }
.pk-ready .pk-step.is-lit .pk-photo img { transition-delay: .6s; }
.pk-ready .pk-step:first-child.is-lit .pk-node b, .pk-ready .pk-step:first-child.is-lit .pk-photo img { transition-delay: 0s; animation-delay: 0s; }
@keyframes pk-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--glow) 70%, transparent), 0 0 24px var(--glow); } 100% { box-shadow: 0 0 0 22px transparent, 0 0 24px var(--glow); } }

/* Text below the photo */
.pk-text { display: grid; align-content: start; justify-items: center; gap: .5rem; padding-top: 1.25rem; text-align: center; transition: opacity .6s; }
.pk-text h3 { margin: 0; font: 700 1.375rem/1.25 var(--font-head); }
.pk-text p { margin: 0; max-width: 34ch; font-size: 1rem; }
.pk-ready .pk-step:not(.is-lit) .pk-text { opacity: .75; }

/* Tablet + mobile: steps stack, the rail is hidden (the nodes still light up one by one) */
@media (max-width: 900px) {
  .pk-head { grid-template-columns: 1fr; gap: 1rem; }
  .pk-steps { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 2.5rem; }
  .pk-step { grid-row: auto; grid-template-rows: auto 5rem auto; }
  .pk-seg { display: none; }
}

/* 19. HOME 1 SECTION 6: YOUR DATA DESERVES PROTECTION --------------------- */
/* Hub-and-wire layout: a photo "chip" in the middle, two points on each side, each joined to the chip by a wire.
   Current runs along every wire all the time; the points also switch on one after another with a bolt to the chip. */
.dp { position: relative; background: var(--bg); border-top: 1px solid var(--border); color: var(--text); }
/* equal top and bottom padding (the top one also clears the sticky navbar) */
.dp-stage { position: relative; isolation: isolate; overflow: hidden; padding-block: 5.25rem; padding-inline: var(--pad-x); }
/* Keep the data protection section background flat; the circuit grid was removed. */
.dp-in { position: relative; z-index: 1; display: grid; gap: 3.5rem; max-width: 1440px; margin-inline: auto; }

/* Heading (centred) */
.dp-head { display: grid; justify-items: center; gap: 1rem; text-align: center; }
.dp-head h2 { margin: 0; font: 700 clamp(2rem, 4.2vw, 3.25rem)/1.1 var(--font-head); letter-spacing: -.03em; }
.dp-title-accent { color: var(--glow-2); }
.dp-lead { margin: 0; max-width: 56ch; font-size: 1.0625rem; opacity: .9; }

/* Map: [points | chip | points]. The chip spans the two point rows, its caption sits in a third row below it */
.dp-map { --hub: clamp(260px, 26vw, 380px); display: grid; grid-template-columns: minmax(0, 1fr) var(--hub) minmax(0, 1fr); grid-template-rows: 1fr 1fr auto; }
.dp-item { display: flex; align-items: center; grid-row: var(--row); min-width: 0; }
.dp-item--l { grid-column: 1; }
.dp-item--r { grid-column: 3; }
/* Text, icon node and wire */
.dp-text { flex: 0 1 17rem; min-width: 0; transition: opacity .5s; }
.dp-item--l .dp-text { margin-inline-end: 1rem; text-align: end; margin-inline-start: auto; }
.dp-item--r .dp-text { margin-inline-start: 1rem; margin-inline-end: auto; }
.dp-text h3 { margin: 0 0 .35rem; font: 700 1.125rem/1.3 var(--font-head); }
.dp-text p { margin: 0; font-size: .9375rem; line-height: 1.5; }
.dp-ico { display: grid; place-items: center; flex: none; width: 52px; aspect-ratio: 1; border-radius: 50%; background: var(--surface); border: 2px solid var(--border); color: var(--accent); transition: background .4s, color .4s, border-color .4s, box-shadow .4s; }
.dp-ico svg { width: 24px; height: 24px; }
/* Wire: thin line with a pulse of current always running into the chip */
.dp-wire { position: relative; flex: 1 1 2rem; min-width: 2rem; height: 3px; overflow: hidden; border-radius: 3px; background: var(--border); transition: background .4s; }
.dp-item--l .dp-wire { margin-inline: 6px .5rem; }
.dp-item--r .dp-wire { margin-inline: .5rem 6px; }
.dp-wire::after { content: ""; position: absolute; inset-block: 0; width: 38%; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--accent), var(--glow), var(--accent), transparent); }
.dp-item--l .dp-wire::after { inset-inline-start: -40%; animation: dp-flow-l 2.4s linear infinite; }   /* start side -> chip */
.dp-item--r .dp-wire::after { inset-inline-end: -40%; animation: dp-flow-r 2.4s linear infinite; }    /* end side -> chip */
.dp-item--r:nth-of-type(4) .dp-wire::after { animation-delay: -1.2s; }
@keyframes dp-flow-l { to { inset-inline-start: 102%; } }
@keyframes dp-flow-r { to { inset-inline-end: 102%; } }
/* Switched-on point (set one by one by the script; all lit without it) */
.dp-item.is-lit .dp-ico { background: var(--accent); border-color: var(--accent); color: var(--bg); box-shadow: 0 0 0 6px color-mix(in srgb, var(--glow) 30%, transparent), 0 0 24px var(--glow); }
.dp-item.is-lit .dp-wire { background: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.dp-ready .dp-item:not(.is-lit) .dp-text { opacity: .75; }

/* Chip: framed photo with a running current; flashes when a bolt lands on it */
.dp-fig { display: contents; }
.dp-chip { grid-column: 2; grid-row: 1 / 3; position: relative; aspect-ratio: 1; padding: 10px; border-radius: 32px; background: var(--surface); border: 1px solid var(--border); transition: box-shadow .2s; }
.dp-chip.spark::before { z-index: 3; padding: 3px; background: conic-gradient(from var(--ang), transparent 0 55%, var(--glow) 80%, transparent 100%); }
.dp-chip.zap { box-shadow: 0 0 0 6px color-mix(in srgb, var(--glow) 30%, transparent), 0 0 40px var(--glow); }
.dp-photo { position: relative; overflow: hidden; width: 100%; height: 100%; border-radius: 24px; background: var(--bg); }
.dp-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) contrast(1.05); }
/* Scan line sweeping up and down over the photo */
.dp-scan { position: absolute; inset-inline: 0; top: 0; height: 70px; pointer-events: none; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--glow) 38%, transparent)); border-bottom: 2px solid var(--glow); animation: dp-scan 3.6s ease-in-out infinite alternate; }
@keyframes dp-scan { from { transform: translateY(-70px); } to { transform: translateY(calc(var(--hub) - 20px)); } }
.dp-cap { grid-column: 2; grid-row: 3; display: grid; gap: .25rem; padding-top: 1.25rem; text-align: center; }
.dp-cap strong { font: 700 1.125rem/1.3 var(--font-head); color: var(--accent); }
.dp-cap span { font-size: .9375rem; line-height: 1.5; }

/* Tablet + mobile: chip first, then the four points as a simple list (wires hidden) */
@media (max-width: 900px) {
  .dp-map { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 1.5rem; }
  .dp-chip { grid-column: 1; grid-row: auto; order: -2; width: min(100%, 380px); justify-self: center; }   /* chip and its caption come first */
  .dp-cap { grid-column: 1; grid-row: auto; order: -1; }
  .dp-item { grid-column: 1; grid-row: auto; gap: 1rem; }
  .dp-item--l .dp-ico { order: -1; }
  .dp-item--l .dp-text, .dp-item--r .dp-text { margin: 0; text-align: start; flex: 1 1 auto; }
  .dp-wire { display: none; }
}


/* 20. HOME 1 SECTION 7: FROM E-WASTE TO NEW POSSIBILITIES ------------------ */
/* Bento grid around a spinning electric core. --ov = text on lime (flipped in darkmode.css, same trick as the banners).
   Every tile has the running-current border (.spark); the core and each widget add their own electric motion. */
.nx { --ov: var(--text); position: relative; background: var(--bg); border-top: 1px solid var(--border); color: var(--text); }
/* equal top and bottom padding (the top one also clears the sticky navbar) */
.nx-stage { position: relative; isolation: isolate; overflow: hidden; padding-block: 5.25rem; padding-inline: var(--pad-x); }
/* Backdrop: soft glow field + dot grid that fades out toward the edges */
.nx-stage { background: var(--bg) url("../images/Green%20E-Waste%20Recycling%20Haven.png") center / cover no-repeat fixed; }      /* bright outdoor recycling scene */
@media (hover: none) { .nx-stage { background-attachment: scroll; } }                                    /* touch browsers ignore "fixed" */
/* Overlay in the theme's own background colour keeps every word readable (light and dark), strongest behind the heading */
.nx-stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 45% at 50% 55%, color-mix(in srgb, var(--glow) 12%, transparent), transparent 70%);
}
.nx-stage .fx { z-index: 0; }                      /* arcs live in the gaps, under the tiles */
.nx-in { position: relative; z-index: 1; display: grid; gap: 3.5rem; max-width: 1440px; margin-inline: auto; }

/* Heading (centred) */
.nx-head { display: grid; justify-items: center; gap: 1rem; width: min(100%, 56rem); justify-self: center; padding: clamp(1rem, 2vw, 1.5rem); text-align: center; background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid color-mix(in srgb, var(--border) 80%, transparent); border-radius: 24px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nx-tag { display: inline-flex; align-items: center; gap: .5rem; margin: 0; padding: .35rem .9rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font: 600 .9375rem var(--font-head); }
.nx-tag::before { content: ""; width: 14px; height: 16px; background: var(--accent); clip-path: polygon(62% 0, 8% 58%, 44% 58%, 34% 100%, 92% 38%, 56% 38%); animation: sv3-flick 3s steps(1) infinite; }
.nx-head h2 { margin: 0; max-width: 18ch; font: 700 clamp(2rem, 4.4vw, 3.5rem)/1.1 var(--font-head); letter-spacing: -.03em; }
.nx-head h2, .nx-lead { color: var(--text); text-shadow: none; }
.nx-head h2 em { white-space: nowrap; font-style: normal; color: var(--accent); text-shadow: 0 0 18px color-mix(in srgb, var(--glow) 45%, transparent); }
.nx-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; }   /* mask each word rises out of */
.nx-w > span { display: inline-block; transition: transform .8s cubic-bezier(.16, 1, .3, 1), opacity .8s; transition-delay: calc(var(--i) * 90ms); }
.nx-lead { margin: 0; max-width: 58ch; font-size: 1.0625rem; }

/* Bento grid: [tall | core core | tall] over [wide wide | wide wide]; one even gap everywhere */
.nx-bento {
  --gap: clamp(1rem, 2vw, 1.5rem);
  position: relative; display: grid; gap: var(--gap); grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas: "a core core b" "a core core b" "c c d d";
}
.nx-a { grid-area: a; } .nx-b { grid-area: b; } .nx-c { grid-area: c; } .nx-d { grid-area: d; } .nx-core { grid-area: core; }

/* Tiles */
.nx-card, .nx-core {
  position: relative; display: grid; align-content: start; gap: .85rem; margin: 0; padding: 1.5rem; min-width: 0;
  background: color-mix(in srgb, var(--surface) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);   /* glass: the photo glows through, text stays readable */
  border: 1px solid var(--border); border-radius: 26px;
  transition: opacity .8s ease, transform .9s cubic-bezier(.16, 1, .3, 1), filter .8s ease, box-shadow .3s; transition-delay: calc(.35s + var(--i, 0) * 120ms);
}
.nx-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px color-mix(in srgb, var(--glow) 28%, transparent); transition-delay: 0s; }
.nx-card.is-lit { box-shadow: 0 0 0 4px color-mix(in srgb, var(--glow) 30%, transparent), 0 0 34px var(--glow); }     /* an arc just landed */
.nx-card.spark::before, .nx-core.spark::before { z-index: 2; animation-duration: 5s; }
.nx-b.spark::before { animation-delay: -1.2s; } .nx-c.spark::before { animation-delay: -2.4s; } .nx-d.spark::before { animation-delay: -3.6s; }
.nx-no { justify-self: start; padding: .15rem .65rem; border: 1.5px solid var(--accent); border-radius: 999px; color: var(--accent); font: 800 .8125rem var(--font-head); letter-spacing: .04em; }
.nx-card h3 { margin: 0; font: 700 1.25rem/1.25 var(--font-head); letter-spacing: -.01em; }
.nx-card > p { margin: 0; font-size: .9375rem; line-height: 1.55; }
.nx-widget { display: grid; gap: .6rem; align-self: end; margin-top: .4rem; }
.nx-note { margin: 0; font: 600 .8125rem/1.4 var(--font-head); }
.nx-a, .nx-b { grid-template-rows: auto auto 1fr auto; }

/* --- Tile 1: LED matrix, each metal lights up in turn --- */
.nx-leds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.nx-led { display: grid; place-items: center; padding: .55rem 0; border: 1.5px solid var(--border); border-radius: 12px; background: var(--bg); font: 800 .9375rem var(--font-head); animation: nx-led 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * .6s); }
@keyframes nx-led { 0%, 20%, 100% { background: var(--bg); border-color: var(--border); box-shadow: none; color: var(--text); } 6%, 14% { background: var(--glow); border-color: var(--accent); box-shadow: 0 0 18px var(--glow); color: var(--ov); } }

/* --- Tile 2: charge meter, ten segments drain and refill in a wave; the first three never go out --- */
.nx-meter { display: flex; gap: .3rem; }
.nx-seg { flex: 1; height: 1.6rem; border-radius: 6px; background: var(--accent); animation: nx-seg 4.5s ease-in-out infinite; animation-delay: calc(var(--i) * .18s); }
.nx-seg:nth-child(-n+3) { animation: none; }
@keyframes nx-seg { 0%, 30% { background: var(--accent); box-shadow: 0 0 10px var(--glow); } 45%, 80% { background: var(--border); box-shadow: none; } 95%, 100% { background: var(--accent); box-shadow: 0 0 10px var(--glow); } }

/* --- Tile 3: loop, a current circles the pill (.spark) and pulses run along the lines between the stages --- */
.nx-loop { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); }
.nx-loop span { flex: none; padding: .3rem .8rem; border: 1.5px solid var(--accent); border-radius: 999px; font: 700 .875rem var(--font-head); }
.nx-loop i { position: relative; flex: 1; height: 3px; overflow: hidden; border-radius: 3px; background: var(--border); }
.nx-loop i::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: -40%; width: 40%; background: linear-gradient(90deg, transparent, var(--accent), var(--glow), transparent); animation: nx-flow 1.8s linear infinite; }
.nx-loop i:last-of-type::after { animation-delay: -.9s; }
@keyframes nx-flow { to { inset-inline-start: 102%; } }

/* --- Tile 4: selector, a lime thumb hops between three choices; each label flips its colour while the thumb is under it --- */
.nx-switch { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: .3rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); }
.nx-switch span { position: relative; padding: .5rem 0; text-align: center; font: 700 .875rem var(--font-head); animation: nx-opt 6s ease-in-out infinite; }
.nx-switch span:nth-of-type(2) { animation-delay: 2s; } .nx-switch span:nth-of-type(3) { animation-delay: 4s; }
.nx-thumb { position: absolute; z-index: -1; inset-block: .3rem; inset-inline-start: .3rem; width: calc((100% - .6rem) / 3); border-radius: 999px; background: var(--glow); box-shadow: 0 0 18px var(--glow); animation: nx-hop 6s ease-in-out infinite; }
@keyframes nx-hop { 0%, 28% { translate: 0 0; } 33%, 61% { translate: 100% 0; } 66%, 95% { translate: 200% 0; } 100% { translate: 0 0; } }
@keyframes nx-opt { 0%, 28% { color: var(--ov); } 33%, 95% { color: var(--text); } 100% { color: var(--ov); } }
[dir="rtl"] .nx-thumb { animation-name: nx-hop-rtl; }
@keyframes nx-hop-rtl { 0%, 28% { translate: 0 0; } 33%, 61% { translate: -100% 0; } 66%, 95% { translate: -200% 0; } 100% { translate: 0 0; } }

/* --- Core: rings, electrons, bolt --- */
.nx-core { justify-items: center; align-content: center; gap: 1.1rem; overflow: hidden; background: radial-gradient(circle at 50% 42%, color-mix(in srgb, color-mix(in srgb, var(--glow) 18%, var(--surface)) 88%, transparent), color-mix(in srgb, var(--surface) 88%, transparent) 70%); }
.nx-reactor { position: relative; width: min(100%, 19rem); aspect-ratio: 1; }
.nx-reactor > * { position: absolute; }
.nx-plasma { inset: 14%; border-radius: 50%; background: conic-gradient(from var(--ang), var(--glow-2), transparent 25%, var(--glow) 50%, transparent 75%, var(--glow-2)); filter: blur(20px); opacity: .55; animation: spin-border 6s linear infinite; }
/* Spinning electric rings: bright arcs travelling around a thin ring (outer fast, middle dashed + slow, inner reverse) */
.nx-r { border-radius: 50%; }
.nx-r1, .nx-r3 { background: conic-gradient(from var(--ang), transparent 0 55%, var(--accent) 80%, var(--glow) 92%, transparent 100%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); }
.nx-r1 { inset: 0; animation: spin-border 2.6s linear infinite; }
.nx-r2 { inset: 11%; border: 2px dashed color-mix(in srgb, var(--muted) 80%, transparent); animation: nx-turn 24s linear infinite; }
.nx-r3 { inset: 22%; animation: spin-border 3.4s linear infinite reverse; }
@keyframes nx-turn { to { rotate: 360deg; } }
/* Electrons riding the rings */
.nx-orbit { inset: var(--in); animation: nx-turn var(--d) linear infinite; }
.nx-orbit--rev { animation-direction: reverse; }
.nx-orbit u { position: absolute; left: 50%; top: 0; width: .7rem; height: .7rem; margin: -.35rem 0 0 -.35rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px 4px var(--glow); }
/* Bolt in the middle beats like a heart */
.nx-bolt { left: 50%; top: 50%; width: 30%; aspect-ratio: 1; translate: -50% -50%; filter: drop-shadow(0 0 10px var(--glow)); animation: nx-beat 1.6s ease-in-out infinite; }
.nx-bolt i { display: block; width: 100%; height: 100%; background: var(--accent); clip-path: polygon(55% 17.5%, 30% 55%, 47.5% 55%, 42.5% 82.5%, 70% 42.5%, 52.5% 42.5%); }
@keyframes nx-beat { 0%, 56%, 100% { scale: 1; } 14% { scale: 1.18; } 28% { scale: 1; } 42% { scale: 1.1; } }
.nx-core figcaption { display: grid; gap: .2rem; text-align: center; }
.nx-core figcaption strong { font: 700 1.25rem/1.3 var(--font-head); color: var(--accent); }
.nx-core figcaption span { font-size: .9375rem; }
/* Shockwave: one ring expands across the core tile when the section appears (clipped by the tile) */
.nx-wave { position: absolute; left: 50%; top: 42%; width: 10%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 3px solid var(--glow); opacity: 0; pointer-events: none; }
.nx.is-in .nx-wave { animation: nx-wave 1.4s ease-out .5s 1 both; }
@keyframes nx-wave { 0% { scale: 1; opacity: .9; } 100% { scale: 14; opacity: 0; } }

/* Reveal: the core spins in first, the tiles fly out from it, the words rise (JS adds .is-armed, then .is-in; without JS everything is visible) */
.nx.is-armed:not(.is-in) .nx-core { opacity: 0; transform: scale(.35) rotate(-140deg); filter: blur(14px); }
.nx.is-armed:not(.is-in) .nx-card { opacity: 0; transform: translate(var(--fx), var(--fy)) scale(.7); filter: blur(12px); }
.nx.is-armed:not(.is-in) .nx-w > span { transform: translateY(110%); opacity: 0; }
.nx.is-armed:not(.is-in) .nx-tag { opacity: 0; translate: 0 -12px; }
.nx-tag { transition: opacity .6s, translate .6s; }
.nx.is-armed:not(.is-in) .nx-lead { opacity: 0; }
.nx-lead { transition: opacity 1s .7s; }

/* Tablet: core on top, tiles in two columns. Mobile: one column */
@media (max-width: 1000px) {
  .nx-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "core core" "a b" "c d"; }
  .nx-a, .nx-b { grid-template-rows: none; }
}
@media (max-width: 640px) {
  .nx-stage { padding-block: 3.5rem; }
  .nx-bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "core" "a" "b" "c" "d"; }
  .nx-loop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3rem; padding: .5rem; border-radius: 18px; }
  .nx-loop span { min-width: 0; padding: .3rem .15rem; text-align: center; font-size: .72rem; }
  .nx-loop i { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nx-led, .nx-seg, .nx-loop i::after, .nx-switch span, .nx-thumb, .nx-plasma, .nx-r1, .nx-r2, .nx-r3, .nx-orbit, .nx-bolt, .nx-tag::before { animation: none; }
  .nx-card, .nx-core, .nx-w > span, .nx-tag, .nx-lead { transition: none; }
}


/* 21. HOME 2 SECTION 2: THE E-WASTE PROBLEM (pinned sideways scroll) ------- */
/* Vertical scrolling drives a row of cards: the open card keeps its photo + info panel, cards it leaves shrink to photo strips
   on the left, the next ones wait off to the right. JS sets --p (0 = open, 1 = strip) on each card; everything else is CSS.
   --ov = text on lime (flipped in darkmode.css like the banners). */
.pb { --ov: var(--text); --ch: clamp(24rem, 58vh, 32rem); background: var(--bg); color: var(--text); padding-block: 5.25rem; border-top: 1px solid var(--border); }
/* Heading (centred) */
.pb-head { display: grid; justify-items: center; gap: 1rem; margin-bottom: 3.5rem; padding-inline: var(--pad-x); text-align: center; }
.pb-eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0; font: 700 .8125rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; }
.pb-eyebrow::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--glow); animation: rx-pulse 1.8s ease-in-out infinite; }
.pb-head h2 { margin: 0; max-width: 20ch; font: 800 clamp(2rem, 4.6vw, 3.75rem)/1.1 var(--font-head); letter-spacing: -.035em; }
.pb-head h2 em { font-style: normal; color: var(--accent); text-shadow: 0 0 22px color-mix(in srgb, var(--glow) 60%, transparent); }
.pb-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; }      /* mask each line rises out of */
.pb-w > span { display: inline-block; transition: transform .9s cubic-bezier(.16, 1, .3, 1), opacity .9s; transition-delay: calc(var(--i) * 140ms); }
.pb-lead { margin: 0; max-width: 58ch; font-size: 1.0625rem; transition: opacity 1s .5s; }

/* Runway + sticky stage: the runway is as tall as the whole scroll journey, the stage stays on screen inside it */
.pb-run { height: calc(100svh - 7rem + (var(--n) - 1) * 80svh); }
.pb-sticky { position: sticky; top: 5.5rem; height: calc(100svh - 7rem); display: grid; align-content: center; overflow-x: clip; isolation: isolate; }
.pb-sticky .fx { z-index: 0; }
.pb-wrap { position: relative; z-index: 1; display: grid; gap: 1.5rem; width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--pad-x); }
/* Row: a size container, so the cards can size themselves in cqw (1cqw = 1% of the row width) */
.pb-row { container-type: inline-size; display: flex; gap: 1rem; }

/* Card: open width = photo + panel, strip width = narrow photo. --p mixes the two */
.pb-card { --p: 0; --pw: 31cqw; --sw: 11cqw; --nw: 31cqw; flex: none; display: grid; gap: .75rem; align-content: start; min-width: 0;
  width: calc(var(--pw) + (var(--sw) - var(--pw)) * var(--p) + var(--nw) * (1 - var(--p)));
  transition: opacity .9s ease, translate .9s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(.3s + var(--i) * 120ms); }
.pb-top { position: relative; display: flex; height: var(--ch); overflow: hidden; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); transition: box-shadow .4s, border-color .4s; }
.pb-top.spark::before { z-index: 3; opacity: 0; transition: opacity .4s; }                    /* the running current only shows on the open card */
.pb-card.is-active .pb-top.spark::before { opacity: 1; }
.pb-card.is-active .pb-top { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--glow) 25%, transparent), 0 22px 50px color-mix(in srgb, var(--glow) 25%, transparent); }
.pb-card.is-lit .pb-top { box-shadow: 0 0 0 4px color-mix(in srgb, var(--glow) 40%, transparent), 0 0 40px var(--glow); }     /* an arc just landed */
/* Photo shrinks from full width to the strip; the image is cropped, never squashed */
.pb-photo { flex: none; position: relative; margin: 0; overflow: hidden; width: calc(var(--pw) + (var(--sw) - var(--pw)) * var(--p)); }
.pb-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) contrast(1.05); transform: scale(calc(1.06 - var(--p) * .06)); }
.pb-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to right, transparent 60%, color-mix(in srgb, var(--surface) 55%, transparent)); }
/* Panel: keeps its width and is clipped away by the card as it shrinks; fades out on the way */
.pb-panel { flex: none; width: var(--nw); display: grid; align-content: center; gap: 1.1rem; padding: 2rem; opacity: calc(1 - var(--p) * 1.7); }
.pb-panel h3 { margin: 0; font: 800 clamp(1.35rem, 1.9vw, 1.75rem)/1.15 var(--font-head); letter-spacing: -.02em; }
.pb-panel p { margin: 0; font-size: .9375rem; line-height: 1.55; }
.pb-meta { margin: 0; padding-top: 1.1rem; border-top: 1px solid var(--border); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.pb-meta dt { font: 600 .8125rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
.pb-meta dd { margin: .25rem 0 0; font: 800 1rem/1.3 var(--font-head); color: var(--accent); }
.pb-panel .btn-hero { justify-self: start; }
.pb .pb-panel .btn-hero.spark::before { background: conic-gradient(from var(--ang), transparent 0 62%, var(--text) 82%, transparent 100%); }
/* Label: BELOW the photo, never on it */
.pb-label { display: flex; gap: .6rem; align-items: baseline; padding: 0; overflow: hidden; white-space: nowrap; background: none; border: 0; color: var(--text); font: 700 .9375rem var(--font-head); text-align: start; cursor: pointer; }
.pb-label b { color: var(--accent); }
.pb-label:hover { color: var(--accent); }

/* Rail: progress bar with an electric head */
.pb-rail { display: flex; align-items: center; gap: 1rem; }
.pb-bar { position: relative; flex: 1; height: 4px; border-radius: 4px; background: var(--border); }
.pb-fill { position: absolute; inset: 0; border-radius: 4px; background: linear-gradient(90deg, var(--accent), var(--glow)); transform-origin: left; transform: scaleX(var(--prog, 0)); }
.pb-fill::after { content: ""; position: absolute; inset-inline-end: -6px; top: 50%; width: 12px; height: 12px; translate: 0 -50%; border-radius: 50%; background: var(--glow); box-shadow: 0 0 14px 4px var(--glow); }
[dir="rtl"] .pb-fill { transform-origin: right; }
.pb-count { font: 700 .875rem var(--font-head); font-variant-numeric: tabular-nums; }

/* Reveal: heading lines rise, cards slide in from the right (JS adds .is-armed, then .is-in; without JS everything is visible) */
.pb.is-armed:not(.is-in) .pb-w > span { transform: translateY(110%); opacity: 0; }
.pb.is-armed:not(.is-in) .pb-lead, .pb.is-armed:not(.is-in) .pb-card { opacity: 0; }
.pb.is-armed:not(.is-in) .pb-card { translate: 80px 0; }

/* Phones, tablets and reduced motion: no pinning. Cards stack (photo on top, info below) */
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .pb-run { height: auto; }
  .pb-sticky { position: static; height: auto; overflow: visible; }
  .pb-sticky .fx, .pb-rail, .pb-label { display: none; }
  .pb-row { container-type: normal; flex-direction: column; gap: 1.5rem; }
  .pb-card { width: 100%; }
  .pb-top { flex-direction: column; height: auto; }
  .pb-photo { width: 100%; aspect-ratio: 16 / 10; }
  .pb-photo img { transform: none; }
  .pb-photo::after { display: none; }
  .pb-panel { width: auto; opacity: 1; padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .pb-eyebrow::before { animation: none; } .pb-w > span, .pb-lead, .pb-card { transition: none; } }

/* 22. HOME 2 SECTION 3: OUR COLLECTION SOLUTIONS (dispatch bus) ---------- */
/* Four plugs sit on one wire. Choosing a plug (or letting the autoplay move on) charges the wire towards it, fires an electric arc
   along the bus and opens that plug's panel: the photo is wiped in by a scan line, the details rise in one by one.
   --ov = text on lime (flipped in darkmode.css like the banners). Only the site colour variables are used. */
.cs { --ov: var(--text); position: relative; isolation: isolate; overflow: hidden; background: var(--bg); color: var(--text); padding-block: 5.25rem; border-top: 1px solid var(--border); }
/* Background: a faint circuit grid that drifts slowly, plus a soft glow behind the heading */
.cs::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 35%, #000 20%, transparent 75%);
  animation: cs-drift 14s linear infinite; }
.cs::after { content: ""; position: absolute; inset-inline: 20% ; top: -10rem; height: 22rem; z-index: -1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 26%, transparent), transparent); animation: cs-breathe 6s ease-in-out infinite; }
@keyframes cs-drift { to { background-position: 56px 56px, 56px 56px; } }
@keyframes cs-breathe { 50% { opacity: .55; transform: scale(1.12); } }

/* Heading (centred) */
.cs-head { display: grid; justify-items: center; gap: 1rem; margin-bottom: 3.5rem; padding-inline: var(--pad-x); text-align: center; }
.cs-eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0; font: 700 .8125rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; }
.cs-eyebrow::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--glow); animation: rx-pulse 1.8s ease-in-out infinite; }
.cs-head h2 { margin: 0; max-width: 20ch; font: 800 clamp(2rem, 4.6vw, 3.75rem)/1.1 var(--font-head); letter-spacing: -.035em; }
.cs-head h2 em { font-style: normal; color: var(--accent); text-shadow: 0 0 22px color-mix(in srgb, var(--glow) 60%, transparent); }
.cs-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; }      /* mask each line rises out of */
.cs-w > span { display: inline-block; transition: transform .9s cubic-bezier(.16, 1, .3, 1), opacity .9s; transition-delay: calc(var(--i) * 140ms); }
.cs-lead { margin: 0; max-width: 58ch; font-size: 1.0625rem; transition: opacity 1s .5s, translate 1s .5s; }

/* Wrap: holds the electric canvas (behind) and the bus + panel (in front) */
.cs-wrap { position: relative; isolation: isolate; display: grid; gap: 2.25rem; max-width: 1440px; margin-inline: auto; padding-inline: var(--pad-x); }
.cs-wrap > :not(.fx) { position: relative; z-index: 1; }
.cs .fx { z-index: 0; }               /* arcs and sparks stay behind the plugs and text, so nothing is covered */

/* Bus: four equal columns, so each plug sits exactly on a quarter of the wire */
.cs-bus { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; --prog: 0; }
/* Wire runs from the first plug centre to the last; it sits behind the plugs (top = half a plug) */
.cs-line { position: absolute; z-index: 0; top: 1.75rem; inset-inline: 12.5%; height: 4px; translate: 0 -50%; border-radius: 4px; background: var(--border); overflow: hidden; }
.cs-fill { position: absolute; inset: 0; border-radius: 4px; transform-origin: left; transform: scaleX(var(--prog)); background: linear-gradient(90deg, var(--accent), var(--glow)); box-shadow: 0 0 14px var(--glow); }
[dir="rtl"] .cs-fill { transform-origin: right; }
.cs-pulse { position: absolute; top: 0; left: 0; width: 64px; height: 100%; background: linear-gradient(90deg, transparent, var(--glow), transparent); animation: cs-run 2.6s linear infinite; }
@keyframes cs-run { from { left: -64px; } to { left: 100%; } }

/* Plug button: round icon, number, name, one-line audience */
.cs-node { position: relative; z-index: 1; display: grid; justify-items: center; gap: .3rem; padding: 0 .5rem; background: none; border: 0; color: var(--text); font-family: var(--font-head); text-align: center; cursor: pointer; }
.cs-plug { position: relative; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--border); color: var(--text);
  transition: translate .3s cubic-bezier(.16, 1, .3, 1), scale .3s, background .3s, color .3s, border-color .3s, box-shadow .3s; }
.cs-plug svg { width: 1.5rem; height: 1.5rem; }
.cs-plug::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--glow); opacity: 0; pointer-events: none; }   /* ripple ring on the active plug */
.cs-node:hover .cs-plug { translate: 0 -4px; border-color: var(--accent); }
.cs-node.is-active .cs-plug { scale: 1.1; background: var(--glow); color: var(--ov); border-color: var(--accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--glow) 28%, transparent), 0 0 28px color-mix(in srgb, var(--glow) 60%, transparent); }
.cs-node.is-active .cs-plug::after { animation: cs-ring 1.8s ease-out infinite; }
@keyframes cs-ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.55); opacity: 0; } }
.cs-num { margin-top: .75rem; font: 800 .8125rem var(--font-head); letter-spacing: .14em; color: var(--accent); }
.cs-name { font: 800 1.0625rem/1.25 var(--font-head); letter-spacing: -.01em; }
.cs-sub { font: 500 .875rem/1.4 var(--font-body); }

/* Panel: surface card with the running current around its edge */
.cs-stage { display: grid; overflow: hidden; border-radius: 28px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 24px 60px color-mix(in srgb, var(--glow) 18%, transparent); }
.cs-stage.spark::before { z-index: 3; }
/* Cursor spotlight (needs the pointer over the panel) */
.cs-spot { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--glow) 24%, transparent), transparent 70%); }
.cs-stage:hover .cs-spot { opacity: 1; }

/* Slides: stacked in one grid cell; photo column + details column with an even gap and even padding */
.cs-slide { grid-area: 1 / 1; position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding: 1.75rem;
  opacity: 0; visibility: hidden; transition: opacity .45s, visibility 0s .45s; }
.cs-slide.is-on { opacity: 1; visibility: visible; transition: opacity .45s .1s, visibility 0s; }
/* Photo: wiped in by the scan line, slow zoom, leans towards the pointer (tilt set by index.js). Caption sits BELOW it */
.cs-media { display: grid; gap: .75rem; margin: 0; }
.cs-photo { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 18px; border: 1px solid var(--border);
  transform: perspective(1000px) rotateY(var(--tx, 0deg)) rotateX(var(--ty, 0deg)); transition: transform .25s ease-out; }
.cs-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) contrast(1.05); transform: scale(1.12); }
.cs-slide.is-on .cs-photo { animation: cs-wipe .9s cubic-bezier(.65, 0, .35, 1) both; }
.cs-slide.is-on .cs-photo img { animation: cs-zoom 7s ease-out both; }
@keyframes cs-wipe { from { clip-path: inset(0 100% 0 0 round 18px); } to { clip-path: inset(0 0 0 0 round 18px); } }
@keyframes cs-zoom { to { transform: scale(1.02); } }
.cs-scan { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--glow); box-shadow: 0 0 24px 8px var(--glow); opacity: 0; pointer-events: none; }
.cs-slide.is-on .cs-scan { animation: cs-scan .9s cubic-bezier(.65, 0, .35, 1) both; }
@keyframes cs-scan { 0% { left: 0; opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.cs-media figcaption { display: flex; align-items: center; gap: .6rem; font: 600 .875rem/1.4 var(--font-head); }
.cs-media figcaption b { color: var(--accent); letter-spacing: .1em; }

/* Details: rise in one by one (--d is the step) */
.cs-info { display: grid; gap: 1.1rem; align-content: center; min-width: 0; }
.cs-slide.is-on .cs-info > * { animation: cs-rise .7s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.25s + var(--d) * 90ms); }
@keyframes cs-rise { from { opacity: 0; translate: 0 18px; } }
.cs-info h3 { margin: 0; font: 800 clamp(1.5rem, 2.2vw, 2rem)/1.15 var(--font-head); letter-spacing: -.02em; }
.cs-info p { margin: 0; font-size: 1rem; line-height: 1.6; }
.cs-list { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.cs-list li { display: flex; align-items: flex-start; gap: .7rem; font: 600 .9375rem/1.45 var(--font-head); }
.cs-list svg { flex: none; width: 1.5rem; height: 1.5rem; padding: .3rem; border-radius: 50%; background: var(--glow); color: var(--ov); }
.cs-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 1rem; margin: 0; padding-top: 1.1rem; border-top: 1px solid var(--border); }
.cs-meta dt { font: 600 .8125rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
.cs-meta dd { margin: .25rem 0 0; font: 800 .9375rem/1.3 var(--font-head); color: var(--accent); }
.cs-info .cs-cta { justify-self: start; }
.cs .cs-cta.spark::before { background: conic-gradient(from var(--ang), transparent 0 62%, var(--text) 82%, transparent 100%); }
.cs-cta svg { transition: translate .25s; }
.cs-cta:hover svg { translate: 4px 0; }
[dir="rtl"] .cs-cta svg { scale: -1 1; }

/* Ticker: devices we collect, scrolling endlessly; pauses on hover */
.cs-ticker { overflow: hidden; margin-top: 3.5rem; padding-block: 1rem; border-block: 1px solid var(--border);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.cs-track { display: flex; width: max-content; animation: cs-marquee 34s linear infinite; }
.cs-ticker:hover .cs-track { animation-play-state: paused; }
.cs-track ul { display: flex; margin: 0; padding: 0; list-style: none; }
.cs-track li { display: flex; align-items: center; gap: 1.5rem; padding-inline-end: 1.5rem; white-space: nowrap; font: 700 .9375rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; }
.cs-track li::after { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--glow); }
@keyframes cs-marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .cs-track { animation-direction: reverse; }

/* Reveal: heading lines rise, then the plugs pop in one after another and the panel follows (JS adds .is-armed, then .is-in; without JS everything is visible) */
.cs.is-armed:not(.is-in) .cs-w > span { transform: translateY(110%); opacity: 0; }
.cs.is-armed:not(.is-in) .cs-lead, .cs.is-armed:not(.is-in) .cs-node, .cs.is-armed:not(.is-in) .cs-stage, .cs.is-armed:not(.is-in) .cs-ticker { opacity: 0; translate: 0 28px; }
.cs-node, .cs-stage, .cs-ticker { transition: opacity .8s cubic-bezier(.16, 1, .3, 1), translate .8s cubic-bezier(.16, 1, .3, 1); }
.cs-node:nth-child(2) { transition-delay: .3s; } .cs-node:nth-child(3) { transition-delay: .4s; } .cs-node:nth-child(4) { transition-delay: .5s; } .cs-node:nth-child(5) { transition-delay: .6s; }
.cs-stage { transition-delay: .7s; } .cs-ticker { transition-delay: .9s; }

/* Tablet: panel columns stack (photo on top, details below) */
@media (max-width: 1000px) {
  .cs-slide { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding: 1.25rem; }
}
/* Phone: plugs wrap into two rows and the wire is hidden (the active plug still glows) */
@media (max-width: 720px) {
  .cs { padding-block: 4rem; }
  .cs-head { margin-bottom: 2.5rem; }
  .cs-bus { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.5rem; }
  .cs-line { display: none; }
  .cs-stage { border-radius: 22px; }
}
/* Reduced motion: everything is shown at once, nothing moves */
@media (prefers-reduced-motion: reduce) {
  .cs::before, .cs::after, .cs-eyebrow::before, .cs-pulse, .cs-track, .cs-node.is-active .cs-plug::after,
  .cs-slide.is-on .cs-photo, .cs-slide.is-on .cs-photo img, .cs-slide.is-on .cs-scan, .cs-slide.is-on .cs-info > * { animation: none; }
  .cs-w > span, .cs-lead, .cs-node, .cs-stage, .cs-ticker, .cs-slide, .cs-plug, .cs-photo { transition: none; }
  .cs-photo img { transform: none; }
}

/* 23. HOME 2 SECTION 4: ELECTRONICS DESERVE A SECOND LIFE (bento) -------- */
/* A bento grid of four routes a device can take after it is handed in. Each tile has a border that glows where the cursor is, a soft
   spotlight and a slight lean; tiles fly in from different sides. Heading words flicker on like neon. --ov = text on lime (flipped in
   darkmode.css). --on is the ghost button colour. Only the site colour variables are used. */
.sl { --ov: var(--text); --on: var(--text); --e: cubic-bezier(.16, 1, .3, 1); position: relative; isolation: isolate; overflow: hidden; background: var(--bg); color: var(--text); padding-block: 5.25rem; border-top: 1px solid var(--border); }
/* Background: a dot field that breathes, and two glow orbs that drift in the corners */
.sl::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .7;
  background-image: radial-gradient(var(--border) 1.5px, transparent 1.6px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse at 50% 40%, #000 25%, transparent 78%); animation: sl-breathe 5s ease-in-out infinite; }
.sl::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-repeat: no-repeat; background-size: 26rem 26rem, 22rem 22rem;
  background-image: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 22%, transparent), transparent), radial-gradient(closest-side, color-mix(in srgb, var(--glow-2) 20%, transparent), transparent);
  background-position: 0% 10%, 100% 90%; animation: sl-orbs 12s ease-in-out infinite alternate; }
@keyframes sl-breathe { 50% { opacity: .35; } }
@keyframes sl-orbs { to { background-position: 12% 26%, 88% 74%; } }

/* Heading */
.sl-head { display: grid; justify-items: center; gap: 1rem; margin-bottom: 3.5rem; padding-inline: var(--pad-x); text-align: center; }
.sl-eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0; font: 700 .8125rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; }
.sl-eyebrow::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--glow); animation: rx-pulse 1.8s ease-in-out infinite; }
.sl-head h2 { margin: 0; max-width: 18ch; font: 800 clamp(2rem, 4.6vw, 3.75rem)/1.1 var(--font-head); letter-spacing: -.035em; }
.sl-head h2 em { font-style: normal; color: var(--accent); }
.sl-bw { display: inline-block; }
/* Neon boot-up: each word flickers on in turn, then the accent words keep a gentle glow */
.sl.is-in .sl-bw { animation: sl-boot 1.1s both; animation-delay: calc(var(--i) * 180ms); }
.sl.is-in .sl-head h2 em { animation: sl-boot 1.1s both, sl-neon 3s ease-in-out 1.6s infinite alternate; animation-delay: .54s, 1.6s; }
@keyframes sl-boot { 0% { opacity: 0; } 10% { opacity: 1; } 18% { opacity: .15; } 30% { opacity: 1; } 38% { opacity: .35; } 55%, 100% { opacity: 1; } }
@keyframes sl-neon { from { text-shadow: 0 0 10px color-mix(in srgb, var(--glow) 30%, transparent); } to { text-shadow: 0 0 26px color-mix(in srgb, var(--glow) 80%, transparent); } }
.sl-lead { margin: 0; max-width: 58ch; font-size: 1.0625rem; transition: opacity 1s .5s, translate 1s .5s; }

/* Bento grid: 3 columns, even 1.25rem gaps. Tile 1 spans two rows, tile 4 and the call to action span the width they need */
.sl-wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.25rem; max-width: 1440px; margin-inline: auto; padding-inline: var(--pad-x); }
.sl-t1 { grid-row: span 2; }
.sl-t4 { grid-column: span 2; }
.sl-cta { grid-column: 1 / -1; }

/* Tile: surface card. A glowing border and a soft spotlight follow the cursor (--mx / --my set by index.js); the tile leans (--tx / --ty) */
.sl-tile { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 1.1rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: 24px;
  transform: perspective(900px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)); transition: transform .25s ease-out, box-shadow .3s, border-color .3s; }
.sl-tile > * { position: relative; z-index: 1; }
.sl-tile::before { content: ""; position: absolute; inset: 0; z-index: 2; padding: 1.5px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--glow), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.sl-tile::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--glow) 20%, transparent), transparent 70%); }
.sl-tile:hover { box-shadow: 0 22px 50px color-mix(in srgb, var(--glow) 22%, transparent); }
.sl-tile:hover::before, .sl-tile:hover::after { opacity: 1; }
.sl-tile h3 { margin: 0; font: 800 clamp(1.25rem, 1.7vw, 1.6rem)/1.2 var(--font-head); letter-spacing: -.02em; }
.sl-tile p { margin: 0; font-size: .9375rem; line-height: 1.55; }
.sl-tile .sl-tag { align-self: flex-start; padding: .3rem .8rem; border: 1px solid var(--border); border-radius: 999px; font: 800 .8125rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

/* Tile 1: photo (sheen sweeps across it now and then), caption below, stats pinned to the bottom */
.sl-fig { display: grid; gap: .75rem; margin: 0; }
.sl-photo { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 16px; border: 1px solid var(--border); }
.sl-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) contrast(1.05); transition: transform .8s var(--e); }
.sl-t1:hover .sl-photo img { transform: scale(1.06); }
.sl-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; translate: -130% 0; animation: sl-sheen 6s ease-in-out infinite;
  background: linear-gradient(105deg, transparent 40%, color-mix(in srgb, var(--surface) 50%, transparent) 50%, transparent 60%); }
@keyframes sl-sheen { 0%, 55% { translate: -130% 0; } 100% { translate: 130% 0; } }
.sl-t1 .sl-fig { flex: 1; grid-template-rows: minmax(0, 1fr) auto; }                /* photo grows to fill the tall tile: no empty gap */
.sl-t1 .sl-photo { aspect-ratio: auto; min-height: 15rem; }
.sl-fig figcaption { font: 600 .875rem/1.4 var(--font-head); }
.sl-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: auto 0 0; padding-top: 1.1rem; border-top: 1px solid var(--border); }
.sl-stats dt { font: 600 .8125rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
.sl-stats dd { margin: .25rem 0 0; font: 800 clamp(1.6rem, 2.4vw, 2.1rem)/1.1 var(--font-head); color: var(--accent); font-variant-numeric: tabular-nums; }

/* Visual box on tiles 2 and 3 (fixed height, so nothing ever touches the text below it) */
.sl-vis { position: relative; display: grid; place-items: center; height: 7.5rem; overflow: hidden; border-radius: 16px; background: var(--bg); border: 1px solid var(--border); color: var(--accent); }
/* Tile 2: three badges light up one after another, like a wave of new owners */
.sl-wave { display: flex; gap: 1rem; }
.sl-wave i { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--border); color: var(--text); animation: sl-wave 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * .4s); }
.sl-wave svg { width: 1.25rem; height: 1.25rem; }
@keyframes sl-wave { 0%, 60%, 100% { background: var(--surface); color: var(--text); scale: 1; box-shadow: none; } 20%, 40% { background: var(--glow); color: var(--ov); scale: 1.15; box-shadow: 0 0 22px var(--glow); } }
/* Tile 3: chip with a heartbeat core and three sparks orbiting it */
.sl-vis > svg { width: 3.5rem; height: 3.5rem; }
.sl-core { fill: var(--glow); animation: sl-beat 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes sl-beat { 50% { transform: scale(.7); opacity: .6; } }
.sl-orbit { position: absolute; width: 6rem; height: 6rem; border: 1.5px dashed var(--border); border-radius: 50%; animation: sl-spin 9s linear infinite; }
.sl-orbit i { position: absolute; inset: 50% auto auto 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 12px var(--glow); transform: rotate(var(--r)) translateY(-3rem); }
@keyframes sl-spin { to { transform: rotate(360deg); } }

/* Chips: small pills that pop in one by one */
.sl-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: auto 0 0; padding: 0; list-style: none; }
.sl-chips li { padding: .35rem .8rem; border: 1px solid var(--border); border-radius: 999px; background: var(--bg); font: 700 .8125rem var(--font-head); transition: background .25s, border-color .25s, color .25s, translate .25s; }
.sl-chips li:hover { background: var(--glow); border-color: var(--accent); color: var(--ov); translate: 0 -2px; }
.sl.is-in .sl-chips li { animation: sl-pop .6s var(--e) both; animation-delay: calc(.9s + var(--c) * 90ms); }
@keyframes sl-pop { from { opacity: 0; scale: .6; } }

/* Tile 4: ring + text side by side */
.sl-t4 { flex-direction: row; align-items: center; gap: 2rem; }
.sl-ring { position: relative; flex: none; display: grid; place-items: center; width: 10.5rem; height: 10.5rem; }
.sl-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.sl-ring circle { fill: none; stroke-width: 8; stroke-linecap: round; }
.sl-track { stroke: var(--border); }
.sl-arc { stroke: var(--accent); stroke-dasharray: 100; stroke-dashoffset: 2; filter: drop-shadow(0 0 6px var(--glow)); transition: stroke-dashoffset 2s var(--e) .6s; }
.sl-pct { position: relative; display: grid; justify-items: center; gap: .15rem; max-width: 6.5rem; text-align: center; }
.sl-pct b { font: 800 2rem/1 var(--font-head); font-variant-numeric: tabular-nums; }
.sl-pct small { font: 600 .8125rem/1.25 var(--font-head); }
.sl-body { display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-start; min-width: 0; }

/* Call to action: a tile-like bar, text left, buttons right */
.sl-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.75rem 2rem; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--glow) 14%, transparent); }
.sl-cta h3 { margin: 0 0 .35rem; font: 800 clamp(1.25rem, 1.9vw, 1.75rem)/1.2 var(--font-head); letter-spacing: -.02em; }
.sl-cta p { margin: 0; font-size: 1rem; }
.sl-btns { display: flex; flex-wrap: wrap; gap: 1rem; }
.sl-cta .btn-hero { transition: translate .25s, background .25s, border-color .25s, box-shadow .25s; }
.sl .sl-cta .btn-hero.spark::before { background: conic-gradient(from var(--ang), transparent 0 62%, var(--text) 82%, transparent 100%); }
.sl-cta .btn-hero svg { transition: translate .25s; }
.sl-cta .btn-hero:hover svg { translate: 4px 0; }
[dir="rtl"] .sl-cta .btn-hero svg { scale: -1 1; }

/* Reveal: tiles fly in from different sides, sharpening as they land (JS adds .is-armed, then .is-in, then .is-done; without JS everything is visible) */
.sl.is-armed:not(.is-in) .sl-bw { opacity: 0; }
.sl.is-armed:not(.is-in) .sl-lead { opacity: 0; translate: 0 20px; }
.sl.is-armed:not(.is-in) .sl-tile, .sl.is-armed:not(.is-in) .sl-cta { opacity: 0; translate: var(--dx) var(--dy); scale: .94; filter: blur(8px); }
.sl.is-armed:not(.is-in) .sl-chips li { opacity: 0; }
.sl.is-armed:not(.is-in) .sl-arc { stroke-dashoffset: 100; }
.sl-tile, .sl-cta { transition-property: opacity, translate, scale, filter, transform, box-shadow, border-color; transition-duration: .9s, .9s, .9s, .9s, .25s, .3s, .3s;
  transition-timing-function: var(--e), var(--e), var(--e), var(--e), ease-out, ease, ease; transition-delay: calc(.3s + var(--k) * 130ms), calc(.3s + var(--k) * 130ms), calc(.3s + var(--k) * 130ms), calc(.3s + var(--k) * 130ms), 0s, 0s, 0s; }
.sl.is-done .sl-tile, .sl.is-done .sl-cta { transition-delay: 0s; }

/* Tablet: two columns. Tile 1 runs across the top, tile 4 and the call to action keep the full width */
@media (max-width: 1000px) {
  .sl-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sl-t1 { grid-row: auto; grid-column: 1 / -1; }
  .sl-t1 .sl-fig { flex: none; }
  .sl-t1 .sl-photo { aspect-ratio: 16 / 9; min-height: 0; }
  .sl-t4 { grid-column: 1 / -1; }
  .sl-cta { flex-direction: column; align-items: flex-start; }
}
/* Phone: one column, the ring sits above the text */
@media (max-width: 640px) {
  .sl { padding-block: 4rem; }
  .sl-head { margin-bottom: 2.5rem; }
  .sl-wrap { grid-template-columns: minmax(0, 1fr); }
  .sl-t4 { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .sl-cta { padding: 1.5rem; }
}
/* Reduced motion: everything is shown at once, nothing moves */
@media (prefers-reduced-motion: reduce) {
  .sl::before, .sl::after, .sl-eyebrow::before, .sl-photo::after, .sl-wave i, .sl-core, .sl-orbit, .sl.is-in .sl-bw, .sl.is-in .sl-head h2 em, .sl.is-in .sl-chips li { animation: none; }
  .sl-lead, .sl-tile, .sl-cta, .sl-arc, .sl-photo img, .sl-chips li { transition: none; }
}

/* 24. HOME 2 SECTION 5: FROM YOUR DOORSTEP TO A BETTER TOMORROW (tilted cards) */
/* Four cards in a row like the reference: each one tilted a little (alternating left / right) and every second one sitting lower.
   Colours: lime, dark, light, dark. Each card sets --cb (background), --cf (text) and --ca (small details). --ov = text on lime
   (flipped in darkmode.css). Only the site colour variables are used. */
.jr { --ov: var(--text); --on: var(--text); --spring: cubic-bezier(.34, 1.56, .64, 1); position: relative; isolation: isolate; overflow: hidden; background: var(--bg); color: var(--text); padding-block: 5.25rem; border-top: 1px solid var(--border); }
/* Background: soft diagonal lines that drift, with a glow in the middle */
.jr::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .6;
  background-image: repeating-linear-gradient(-45deg, var(--border) 0 1px, transparent 1px 26px); background-size: 37px 37px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 15%, transparent 72%); mask-image: radial-gradient(ellipse at 50% 45%, #000 15%, transparent 72%); animation: jr-drift 10s linear infinite; }
.jr::after { content: ""; position: absolute; left: 50%; top: 45%; width: 46rem; max-width: 100%; aspect-ratio: 1; z-index: -1; pointer-events: none; translate: -50% -50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 20%, transparent), transparent); animation: jr-breathe 6s ease-in-out infinite; }
@keyframes jr-drift { to { background-position: 37px 0; } }
@keyframes jr-breathe { 50% { scale: 1.12; opacity: .6; } }

/* Heading: poster capitals, accent on the last words */
.jr-head { display: grid; justify-items: center; gap: 1rem; margin-bottom: 3rem; padding-inline: var(--pad-x); text-align: center; }
.jr-head h2 { margin: 0; max-width: 20ch; font: 800 clamp(2rem, 4.8vw, 3.9rem)/1.08 var(--font-head); letter-spacing: -.02em; text-transform: uppercase; }
.jr-head h2 em { font-style: normal; color: var(--accent); }
.jr-w { display: inline-block; }
.jr-lead { margin: 0; max-width: 54ch; font-size: 1.0625rem; }
/* Stamp: each word slams down from large and blurred */
.jr.is-in .jr-w { animation: jr-stamp .7s var(--spring) backwards; animation-delay: calc(var(--i) * 160ms); }
@keyframes jr-stamp { from { opacity: 0; scale: 1.6; filter: blur(10px); } }

/* Journey bar: end labels with a line between them, a spark runs along it (8s loop, the same length as the card highlight cycle) */
.jr-path { display: flex; align-items: center; gap: 1rem; width: min(100%, 52rem); margin-top: .5rem; }
.jr-end { display: inline-flex; align-items: center; gap: .5rem; flex: none; font: 700 .875rem var(--font-head); }
.jr-end svg { width: 1.25rem; height: 1.25rem; color: var(--accent); }
.jr-line { position: relative; flex: 1; height: 4px; border-radius: 4px; background: var(--border); }
.jr-spark { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; translate: -50% -50%; border-radius: 50%; background: var(--glow); box-shadow: 0 0 16px 4px var(--glow); animation: jr-travel 8s linear infinite; }
@keyframes jr-travel { from { left: 0; } to { left: 100%; } }

/* Grid: four equal columns with an even gap. Padding above and below absorbs the tilt and the lowered cards, so nothing is clipped */
.jr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; max-width: 1440px; margin-inline: auto; padding: .75rem var(--pad-x) 4rem; }

/* Card: tilt (--r) and drop (--y) use the individual rotate / translate properties, so the hover transition and the entry animation never fight */
.jr-card { --cb: var(--surface); --cf: var(--text); --ca: var(--accent);
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 1.1rem; min-height: 21rem; padding: 1.75rem; border-radius: 22px;
  background: var(--cb); color: var(--cf); border: 1px solid color-mix(in srgb, var(--cf) 16%, transparent);
  rotate: var(--r); translate: 0 var(--y); box-shadow: 0 18px 40px color-mix(in srgb, var(--text) 14%, transparent);
  transition: rotate .5s var(--spring), translate .5s var(--spring), scale .5s var(--spring), opacity .3s, box-shadow .3s; }
.jr-c1 { --cb: var(--glow); --cf: var(--ov); --ca: var(--ov); }          /* lime card */
.jr-c2, .jr-c4 { --cb: var(--text); --cf: var(--bg); --ca: var(--glow); }  /* dark cards */
.jr-c3 { --cb: var(--surface); --cf: var(--text); --ca: var(--accent); }  /* light card */
.jr-card > * { position: relative; z-index: 1; }
/* Soft spotlight that follows the cursor (--mx / --my set by index.js) */
.jr-card::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--ca) 28%, transparent), transparent 70%); }
/* Hover: the card straightens, lifts and grows; the others step back */
.jr-card:hover { rotate: 0deg; translate: 0 calc(var(--y) - 12px); scale: 1.05; z-index: 3; box-shadow: 0 28px 60px color-mix(in srgb, var(--glow) 40%, transparent); }
.jr-card:hover::after { opacity: 1; }
.jr-grid:has(.jr-card:hover) .jr-card:not(:hover) { opacity: .75; }

/* Dots: show the step number; they blink in a wave */
.jr-dots { display: flex; gap: .4rem; height: .75rem; color: var(--ca); }
.jr-dots i { width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; animation: jr-blink 1.8s ease-in-out infinite; animation-delay: calc(var(--d) * .2s); }
@keyframes jr-blink { 50% { opacity: .3; scale: .7; } }
.jr-icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 16px; color: var(--ca); border: 1.5px solid color-mix(in srgb, var(--cf) 28%, transparent); transition: rotate .5s var(--spring), background .3s, color .3s; }
.jr-icon svg { width: 1.6rem; height: 1.6rem; }
.jr-card:hover .jr-icon { rotate: 360deg; background: var(--ca); color: var(--cb); }
.jr-card h3 { margin: 0; font: 800 1.125rem/1.25 var(--font-head); letter-spacing: .02em; text-transform: uppercase; }
.jr-card p { margin: 0; font-size: .9375rem; line-height: 1.55; }
.jr-chip { align-self: flex-start; margin-top: auto; padding: .35rem .85rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--cf) 35%, transparent); font: 700 .8125rem var(--font-head); letter-spacing: .04em; }

/* Entry: cards drop in from above with a spring, then settle into their tilt (backwards fill = no clash with hover). Afterwards a highlight
   walks across the cards one by one (8s loop, in step with the spark) and pauses while the pointer is on the row */
.jr.is-armed:not(.is-in) .jr-card, .jr.is-armed:not(.is-in) .jr-lead, .jr.is-armed:not(.is-in) .jr-path, .jr.is-armed:not(.is-in) .jr-cta, .jr.is-armed:not(.is-in) .jr-w { opacity: 0; }
.jr.is-in .jr-card { animation: jr-drop 1s var(--spring) backwards; animation-delay: calc(.35s + var(--k) * 150ms); }
.jr.is-done .jr-card { animation: jr-lit 8s linear infinite; animation-delay: calc(var(--k) * 2s); }
.jr-grid:hover .jr-card { animation-play-state: paused; }
@keyframes jr-drop { from { opacity: 0; translate: 0 -140px; rotate: calc(var(--r) * -4); scale: .85; } }
@keyframes jr-lit { 0%, 22% { scale: 1.035; box-shadow: 0 26px 56px color-mix(in srgb, var(--glow) 45%, transparent); } 30%, 100% { scale: 1; box-shadow: 0 18px 40px color-mix(in srgb, var(--text) 14%, transparent); } }
.jr-lead, .jr-path, .jr-cta { transition: opacity .9s .4s; }

/* Call to action */
.jr-cta { display: grid; justify-items: center; gap: 1.25rem; padding-inline: var(--pad-x); text-align: center; }
.jr-cta p { margin: 0; font: 700 1.125rem/1.4 var(--font-head); }
.jr-btns { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.jr-btns .btn-hero { transition: translate .25s, background .25s, border-color .25s, box-shadow .25s; }
.jr .jr-btns .btn-hero.spark::before { background: conic-gradient(from var(--ang), transparent 0 62%, var(--text) 82%, transparent 100%); }
.jr-btns .btn-hero--solid { animation: jr-ring 2.4s ease-out infinite; }
@keyframes jr-ring { from { box-shadow: 0 0 0 0 color-mix(in srgb, var(--glow) 60%, transparent); } to { box-shadow: 0 0 0 18px transparent; } }
.jr-btns .btn-hero svg { transition: translate .25s; }
.jr-btns .btn-hero:hover svg { translate: 4px 0; }
[dir="rtl"] .jr-btns .btn-hero svg { scale: -1 1; }

/* Tablet: two columns (the lowered cards keep the staggered look) */
@media (max-width: 1000px) {
  .jr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jr-card { min-height: 0; }
}
/* Phone: one column, gentler tilt, no lowered cards */
@media (max-width: 640px) {
  .jr { padding-block: 4rem; }
  .jr-head { margin-bottom: 2.5rem; }
  .jr-grid { grid-template-columns: minmax(0, 1fr); padding-bottom: 1.5rem; }
  .jr-card { --r: -1.5deg !important; --y: 0rem !important; }
  .jr-card:nth-child(even) { --r: 1.5deg !important; }
  .jr-path { flex-wrap: wrap; justify-content: space-between; }
  .jr-line { order: 3; flex-basis: 100%; }
}
/* Reduced motion: everything is shown at once, nothing moves (the tilt itself stays as a static design) */
@media (prefers-reduced-motion: reduce) {
  .jr::before, .jr::after, .jr-spark, .jr-dots i, .jr-btns .btn-hero--solid, .jr.is-in .jr-w, .jr.is-in .jr-card, .jr.is-done .jr-card { animation: none; }
  .jr-card, .jr-icon, .jr-lead, .jr-path, .jr-cta { transition: none; }
}

/* 25. HOME 2 SECTION 6: BEYOND RECYCLING – OUR GREEN COMMITMENT (photo mosaic + message) */
/* Left: a 3 x 3 mosaic with two tall tiles (like the reference). Right: tag, two-tone heading, text, buttons, divider and stats.
   Photos are black and white until the highlight reaches them, hover turns one to colour. --ov = text on lime (flipped in darkmode.css).
   Only the site colour variables are used. */
.gc { --ov: var(--text); --on: var(--text); --e: cubic-bezier(.16, 1, .3, 1); position: relative; isolation: isolate; overflow: hidden; background: var(--bg); color: var(--text); padding-block: 5.25rem; border-top: 1px solid var(--border); }
/* Layout: mosaic and message side by side with an even gap, vertically centred */
.gc-wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 4rem; max-width: 1440px; margin-inline: auto; padding-inline: var(--pad-x); }

/* Mosaic */
.gc-media { position: relative; isolation: isolate; perspective: 1000px; }
.gc-aura { position: absolute; inset: -6%; z-index: -1; border-radius: 40%; pointer-events: none; opacity: .4; filter: blur(48px);
  background: conic-gradient(from var(--ang), var(--glow), transparent 30%, var(--glow-2) 55%, transparent 80%, var(--glow)); animation: gc-spin 12s linear infinite; }
@keyframes gc-spin { to { --ang: 360deg; } }
.gc-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(7rem, 11.5vw, 11.5rem); gap: .875rem;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s ease-out; }
/* Tile positions: a = col 1 rows 1-2, b = col 2 row 1, c = col 3 row 1, d = col 2 rows 2-3, e = col 3 row 2, f = col 1 row 3, g = col 3 row 3 */
.gc-a { grid-area: 1 / 1 / 3 / 2; } .gc-b { grid-area: 1 / 2; } .gc-c { grid-area: 1 / 3; }
.gc-d { grid-area: 2 / 2 / 4 / 3; } .gc-e { grid-area: 2 / 3; } .gc-f { grid-area: 3 / 1; } .gc-g { grid-area: 3 / 3; }
/* Tile: --py is the scroll parallax set by index.js, the bob is a slow float, hover lifts the tile and brings the colour back */
.gc-tile { position: relative; margin: 0; overflow: hidden; border-radius: 22px; border: 1px solid var(--border); background: var(--surface); translate: 0 var(--py, 0px);
  transition: scale .5s var(--e), box-shadow .4s, border-color .4s; }
.gc-tile img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: transform .8s var(--e); }
.gc-tile:hover { scale: 1.04; z-index: 2; border-color: var(--accent); box-shadow: 0 20px 44px color-mix(in srgb, var(--glow) 40%, transparent); }
.gc-tile:hover img { transform: scale(1.08); animation: none; filter: grayscale(0) saturate(1.15); }
/* Once the tiles have landed: each one floats a little (different phase) and turns to colour in turn (7 tiles x 1.5s = 10.5s loop) */
.gc.is-done .gc-tile { animation: gc-bob 6s ease-in-out infinite; animation-delay: calc(var(--k) * -.9s); }
.gc.is-done .gc-tile img { animation: gc-colour 10.5s linear infinite; animation-delay: calc(var(--k) * 1.5s); }
@keyframes gc-bob { 50% { transform: translateY(-3px); } }
@keyframes gc-colour { 0%, 9% { filter: grayscale(0) saturate(1.15); } 15%, 100% { filter: grayscale(1) contrast(1.05); } }

/* Message */
.gc-copy { display: grid; justify-items: start; gap: 1.5rem; min-width: 0; }
.gc-tag { display: inline-flex; align-items: center; gap: .5rem; margin: 0; padding: .45rem 1.1rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font: 700 .875rem var(--font-head); }
.gc-tag svg { width: 1.1rem; height: 1.1rem; color: var(--accent); }
.gc-copy h2 { margin: 0; font: 800 clamp(2rem, 4vw, 3.4rem)/1.1 var(--font-head); letter-spacing: -.035em; }
.gc-ln { display: block; }
/* Second line: muted, with a light that sweeps through it */
.gc-two { background: linear-gradient(90deg, var(--muted) 0 38%, var(--text) 50%, var(--muted) 62% 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: gc-shine 4.5s linear infinite; }
@keyframes gc-shine { from { background-position: 100% 0; } to { background-position: 0 0; } }
.gc-lead { margin: 0; max-width: 52ch; font-size: 1.0625rem; line-height: 1.7; }
.gc-btns { display: flex; flex-wrap: wrap; gap: 1rem; }
.gc-btns .btn-hero { transition: translate .25s, background .25s, border-color .25s, box-shadow .25s; }
.gc .gc-btns .btn-hero.spark::before { background: conic-gradient(from var(--ang), transparent 0 62%, var(--text) 82%, transparent 100%); }
.gc-btns .btn-hero svg { transition: translate .25s; }
.gc-btns .btn-hero:hover { translate: 0 -2px; }
.gc-btns .btn-hero:hover svg { translate: 4px 0; }
[dir="rtl"] .gc-btns .btn-hero svg { scale: -1 1; }

/* Stats: divider on top with a glow that runs along it; three even columns */
.gc-stats { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; width: 100%; margin: .5rem 0 0; padding-top: 1.75rem; }
.gc-stats::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--border); transform-origin: left; }
.gc-stats::after { content: ""; position: absolute; top: -1px; left: 0; width: 30%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--glow), transparent); animation: gc-run 4s ease-in-out infinite; }
@keyframes gc-run { from { left: -30%; } to { left: 100%; } }
[dir="rtl"] .gc-stats::before { transform-origin: right; }
.gc-stats dd { margin: 0; font: 800 clamp(1.75rem, 2.8vw, 2.4rem)/1.1 var(--font-head); font-variant-numeric: tabular-nums; }
.gc-stats dt { margin-top: .35rem; font: 500 .875rem/1.4 var(--font-body); }
.gc-stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }   /* number first, label under it */

/* Reveal: tiles fly in from the sides with a scale-up, the heading lines wipe in, the divider draws, then the stats show.
   JS adds .is-armed, then .is-in, then .is-done; without JS everything is visible */
.gc.is-in .gc-tile { animation: gc-in 1s var(--e) backwards; animation-delay: calc(.15s + var(--k) * 110ms); }
@keyframes gc-in { from { opacity: 0; translate: var(--fx, 0px) 60px; scale: .8; filter: blur(8px); } }
.gc-a, .gc-f { --fx: -50px; } .gc-c, .gc-e, .gc-g { --fx: 50px; }
.gc.is-armed:not(.is-in) .gc-tile, .gc.is-armed:not(.is-in) .gc-tag, .gc.is-armed:not(.is-in) .gc-lead, .gc.is-armed:not(.is-in) .gc-btns, .gc.is-armed:not(.is-in) .gc-stats > div { opacity: 0; }
.gc.is-armed:not(.is-in) .gc-ln { clip-path: inset(0 100% 0 0); }
.gc.is-armed:not(.is-in) .gc-stats::before { transform: scaleX(0); }
.gc-ln { transition: clip-path 1s var(--e); transition-delay: calc(.2s + var(--i) * 200ms); clip-path: inset(0 0 -.2em 0); }
.gc-tag, .gc-lead, .gc-btns, .gc-stats > div { transition: opacity .8s var(--e), translate .8s var(--e); }
.gc-lead { transition-delay: .5s; } .gc-btns { transition-delay: .65s; }
.gc-stats::before { transition: transform 1.1s var(--e) .8s; }
.gc-stats > div:nth-child(1) { transition-delay: 1s; } .gc-stats > div:nth-child(2) { transition-delay: 1.12s; } .gc-stats > div:nth-child(3) { transition-delay: 1.24s; }

/* Tablet and phone: the mosaic goes on top, the message below it */
@media (max-width: 1000px) {
  .gc-wrap { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .gc-mosaic { grid-auto-rows: clamp(6rem, 22vw, 11rem); }
}
@media (max-width: 640px) {
  .gc { padding-block: 4rem; }
  .gc-mosaic { gap: .625rem; }
  .gc-tile { border-radius: 16px; }
  .gc-stats { gap: 1rem; }
}
/* Reduced motion: everything is shown at once, nothing moves */
@media (prefers-reduced-motion: reduce) {
  .gc-aura, .gc-two, .gc-stats::after, .gc.is-in .gc-tile, .gc.is-done .gc-tile, .gc.is-done .gc-tile img { animation: none; }
  .gc-two { background: none; -webkit-text-fill-color: currentColor; color: var(--muted); }
  .gc-tile img { filter: none; }
  .gc-tile, .gc-tile img, .gc-mosaic, .gc-ln, .gc-tag, .gc-lead, .gc-btns, .gc-stats > div, .gc-stats::before { transition: none; }
}

/* 26. HOME 2 SECTION 7: RECYCLING TOGETHER – COMMUNITY & CORPORATE PARTNERSHIPS (bridge ledger) */
/* Three columns: community card | shared outcome (node on a wire) | corporate card. Rows and headings use the same grid, so everything lines up.
   --tone is the side colour (--glow for community, --glow-2 for corporate). --ov = text on lime (flipped in darkmode.css).
   Only the site colour variables are used. */
.pt { --ov: var(--text); --on: var(--text); --e: cubic-bezier(.16, 1, .3, 1); --spring: cubic-bezier(.34, 1.56, .64, 1); position: relative; isolation: isolate; overflow: hidden; background: var(--bg); color: var(--text); padding-block: 5.25rem; border-top: 1px solid var(--border); }
/* Background: each side has its own soft tint, meeting in the middle */
.pt::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; animation: pt-tint 7s ease-in-out infinite alternate;
  background: linear-gradient(90deg, color-mix(in srgb, var(--glow) 14%, transparent), transparent 38% 62%, color-mix(in srgb, var(--glow-2) 14%, transparent)); }
@keyframes pt-tint { to { opacity: .55; } }

/* Heading */
.pt-head { display: grid; justify-items: center; gap: 1rem; margin-bottom: 3.5rem; padding-inline: var(--pad-x); text-align: center; }
.pt-eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0; font: 700 .8125rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; }
.pt-eyebrow::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--glow); animation: rx-pulse 1.8s ease-in-out infinite; }
.pt-head h2 { margin: 0; max-width: 24ch; font: 800 clamp(2rem, 4.2vw, 3.4rem)/1.12 var(--font-head); letter-spacing: -.03em; perspective: 700px; }
.pt-head h2 em { font-style: normal; color: var(--accent); }
.pt-fw { display: inline-block; }
.pt-lead { margin: 0; max-width: 58ch; font-size: 1.0625rem; }

/* Board: every row uses the same three columns (card | 12rem | card) */
.pt-board { display: grid; gap: 1.5rem; max-width: 1280px; margin-inline: auto; padding-inline: var(--pad-x); }
.pt-cols, .pt-row, .pt-foot { display: grid; grid-template-columns: minmax(0, 1fr) 12rem minmax(0, 1fr); align-items: stretch; }
.pt-l { --tone: var(--glow); } .pt-r { --tone: var(--glow-2); }

/* Column titles */
.pt-col { display: flex; align-items: center; gap: 1rem; }
.pt-col h3 { margin: 0; font: 800 1.25rem/1.2 var(--font-head); letter-spacing: -.01em; }
.pt-col p { margin: .2rem 0 0; font-size: .9375rem; }
.pt-cico { display: grid; place-items: center; flex: none; width: 3.25rem; height: 3.25rem; border-radius: 16px; background: color-mix(in srgb, var(--tone) 35%, var(--surface)); border: 1px solid var(--border); color: var(--text); animation: pt-float 4s ease-in-out infinite; }
.pt-cico svg { width: 1.6rem; height: 1.6rem; }
@keyframes pt-float { 50% { translate: 0 -4px; } }
/* Badge between the titles: rings go out from it */
.pt-mid--head { display: grid; place-items: center; }
.pt-badge { position: relative; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--glow); color: var(--ov); }
.pt-badge svg { width: 1.5rem; height: 1.5rem; }
.pt-badge::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--glow); animation: pt-ring 2s ease-out infinite; }
@keyframes pt-ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* Card: tone bar on top (grows on hover), icon, title, text. The spotlight follows the cursor (--mx / --my set by index.js) */
.pt-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  transition: translate .45s var(--spring), box-shadow .3s, border-color .3s; }
.pt-card > * { position: relative; z-index: 1; }
.pt-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; z-index: 1; background: var(--tone); transform: scaleX(.25); transform-origin: left; transition: transform .5s var(--e); }
.pt-r.pt-card::before { transform-origin: right; }
.pt-card::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--tone) 26%, transparent), transparent 70%); }
.pt-ico { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: color-mix(in srgb, var(--tone) 35%, var(--surface)); border: 1px solid var(--border); color: var(--text); transition: rotate .5s var(--spring); }
.pt-ico svg { width: 1.5rem; height: 1.5rem; }
.pt-card h3 { margin: 0; font: 800 1.125rem/1.25 var(--font-head); letter-spacing: -.01em; }
.pt-card p { margin: 0; font-size: .9375rem; line-height: 1.55; }
.pt-card .pt-who { display: none; font: 700 .8125rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }   /* side label, shown only when the sides stack on small screens */

/* Middle: node on a wire, the shared outcome under it */
.pt-mid { display: grid; align-content: center; justify-items: center; gap: .6rem; padding-inline: .75rem; }
.pt-nodewrap { position: relative; display: grid; place-items: center; width: 100%; height: 3.25rem; }
.pt-wire { position: absolute; top: 50%; inset-inline: 0; height: 4px; translate: 0 -50%; border-radius: 4px; background: var(--border); overflow: hidden; transform-origin: left; }
.pt-pulse { position: absolute; top: 0; left: 0; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, var(--glow)); animation: pt-run 4.8s linear infinite; animation-delay: calc(var(--k) * .8s); }
@keyframes pt-run { 0% { left: -40%; opacity: 0; } 4% { opacity: 1; } 46% { left: 60%; opacity: 1; } 50%, 100% { left: 100%; opacity: 0; } }
.pt-node { position: relative; z-index: 1; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--accent); color: var(--accent);
  animation: pt-hit 4.8s ease-out infinite; animation-delay: calc(var(--k) * .8s); transition: rotate .6s var(--spring); }
.pt-node svg { width: 1.5rem; height: 1.5rem; }
@keyframes pt-hit { 0%, 46% { background: var(--surface); color: var(--accent); box-shadow: 0 0 0 0 transparent; scale: 1; } 52% { background: var(--glow); color: var(--ov); box-shadow: 0 0 0 10px color-mix(in srgb, var(--glow) 30%, transparent); scale: 1.14; } 75%, 100% { background: var(--surface); color: var(--accent); box-shadow: 0 0 0 0 transparent; scale: 1; } }
.pt-lab { margin: 0; font: 800 .9375rem/1.3 var(--font-head); text-align: center; }

/* Row hover: the two cards slide towards each other, the node turns */
.pt-row:hover .pt-card.pt-l { translate: 8px 0; } .pt-row:hover .pt-card.pt-r { translate: -8px 0; }
.pt-card:hover { border-color: var(--accent); box-shadow: 0 20px 44px color-mix(in srgb, var(--tone) 40%, transparent); }
.pt-card:hover::before { transform: scaleX(1); } .pt-card:hover::after { opacity: 1; }
.pt-card:hover .pt-ico { rotate: 360deg; }
.pt-row:hover .pt-node { rotate: 360deg; }

/* Call to action row: a button under each side */
.pt-foot { margin-top: .5rem; align-items: center; }
.pt-act { display: flex; }
.pt-act.pt-l { justify-content: flex-start; } .pt-act.pt-r { justify-content: flex-end; }
.pt-and { margin: 0; text-align: center; font: 800 1.5rem var(--font-head); color: var(--accent); }
.pt-foot .btn-hero { transition: translate .25s, background .25s, border-color .25s, box-shadow .25s; }
.pt .pt-foot .btn-hero.spark::before { background: conic-gradient(from var(--ang), transparent 0 62%, var(--text) 82%, transparent 100%); }
.pt-foot .btn-hero svg { transition: translate .25s; }
.pt-foot .btn-hero:hover { translate: 0 -2px; } .pt-foot .btn-hero:hover svg { translate: 4px 0; }
[dir="rtl"] .pt-foot .btn-hero svg { scale: -1 1; }
.pt-note { margin: 0; text-align: center; font: 600 .9375rem var(--font-head); }

/* Reveal: heading words flip up, community cards slide in from the left and corporate cards from the right, the node springs in between,
   the wire draws, then the pulses start (JS adds .is-armed, then .is-in; without JS everything is visible) */
.pt.is-in .pt-fw { animation: pt-flip .8s var(--e) backwards; animation-delay: calc(var(--i) * 140ms); }
@keyframes pt-flip { from { opacity: 0; transform: rotateX(-90deg) translateY(.4em); transform-origin: 50% 100%; } }
.pt.is-in .pt-row .pt-l { animation: pt-from-l .9s var(--e) backwards; animation-delay: calc(.4s + var(--k) * 200ms); }
.pt.is-in .pt-row .pt-r { animation: pt-from-r .9s var(--e) backwards; animation-delay: calc(.4s + var(--k) * 200ms); }
.pt.is-in .pt-node { animation: pt-pop .7s var(--spring) backwards, pt-hit 4.8s ease-out infinite; animation-delay: calc(.8s + var(--k) * 200ms), calc(2s + var(--k) * .8s); }
@keyframes pt-from-l { from { opacity: 0; translate: -90px 0; } } @keyframes pt-from-r { from { opacity: 0; translate: 90px 0; } }
@keyframes pt-pop { from { opacity: 0; scale: 0; } }
.pt.is-armed:not(.is-in) .pt-card, .pt.is-armed:not(.is-in) .pt-node, .pt.is-armed:not(.is-in) .pt-lab, .pt.is-armed:not(.is-in) .pt-col, .pt.is-armed:not(.is-in) .pt-badge,
.pt.is-armed:not(.is-in) .pt-lead, .pt.is-armed:not(.is-in) .pt-foot, .pt.is-armed:not(.is-in) .pt-note, .pt.is-armed:not(.is-in) .pt-fw { opacity: 0; }
.pt.is-armed:not(.is-in) .pt-wire { transform: scaleX(0); }
.pt-wire { transition: transform 1s var(--e) .9s; }
.pt-lab, .pt-col, .pt-badge, .pt-lead, .pt-foot, .pt-note { transition: opacity .8s var(--e) .5s; }
.pt-foot, .pt-note { transition-delay: 1.4s; }

/* Tablet and phone: each row stacks as community card, shared outcome, corporate card (the wire turns into short vertical links) */
@media (max-width: 900px) {
  .pt-cols { display: none; }
  .pt-board { gap: 2.5rem; }
  .pt-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pt-mid::before, .pt-mid::after { content: ""; display: block; }          /* short vertical links above and below the node */
  .pt-nodewrap { width: auto; }
  .pt-wire { display: none; }
  .pt-row .pt-mid { position: relative; padding-block: 1.75rem; }
  .pt-row .pt-mid::before { position: absolute; left: 50%; top: 0; width: 3px; height: 1.75rem; translate: -50% 0; background: var(--border); }
  .pt-row .pt-mid::after { position: absolute; left: 50%; bottom: 0; width: 3px; height: 1.75rem; translate: -50% 0; background: var(--border); }
  .pt-card .pt-who { display: block; }
  .pt-foot { grid-template-columns: minmax(0, 1fr); gap: 1rem; justify-items: center; }
  .pt-act.pt-l, .pt-act.pt-r { justify-content: center; }
  .pt-and { display: none; }
}
@media (max-width: 640px) { .pt { padding-block: 4rem; } .pt-head { margin-bottom: 2.5rem; } }
/* Reduced motion: everything is shown at once, nothing moves */
@media (prefers-reduced-motion: reduce) {
  .pt::before, .pt-eyebrow::before, .pt-cico, .pt-badge::after, .pt-pulse, .pt-node, .pt.is-in .pt-fw, .pt.is-in .pt-row .pt-l, .pt.is-in .pt-row .pt-r, .pt.is-in .pt-node { animation: none; }
  .pt-card, .pt-card::before, .pt-ico, .pt-node, .pt-wire, .pt-lab, .pt-col, .pt-badge, .pt-lead, .pt-foot, .pt-note { transition: none; }
}

/* 27. WHAT WE ACCEPT SECTION 2: PHONES & PERSONAL GADGETS (phone that buzzes) */
/* Three columns: gadget cards | phone | gadget cards. A timer (index.js) accepts one gadget at a time: its card lights up, a dashed wire pulses
   towards the phone, the phone buzzes (rings spread out) and the screen and caption change. --ov = text on lime (flipped in darkmode.css).
   Only the site colour variables are used. */
.wp { --ov: var(--text); --on: var(--text); --e: cubic-bezier(.16, 1, .3, 1); --spring: cubic-bezier(.34, 1.56, .64, 1); position: relative; isolation: isolate; overflow: hidden; background: var(--bg); color: var(--text); padding-block: 5.25rem; border-top: 1px solid var(--border); }
/* Keep the center glow behind the phone without the dotted texture. */
.wp::after { content: ""; position: absolute; left: 50%; top: 55%; width: 44rem; max-width: 100%; aspect-ratio: 1; z-index: -1; pointer-events: none; translate: -50% -50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 22%, transparent), transparent); animation: wp-breathe 6s ease-in-out infinite; }
@keyframes wp-breathe { 50% { scale: 1.1; opacity: .6; } }

/* Heading: two colours, letters drop in one by one (JS wraps the letters in .wp-ch) */
.wp-head { display: grid; justify-items: center; gap: 1rem; margin-bottom: 3.5rem; padding-inline: var(--pad-x); text-align: center; }
.wp-eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0; font: 700 .8125rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; }
.wp-eyebrow::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--glow); animation: rx-pulse 1.8s ease-in-out infinite; }
.wp-head h2 { margin: 0; max-width: 20ch; font: 800 clamp(2rem, 4.6vw, 3.75rem)/1.1 var(--font-head); letter-spacing: -.035em; }
.wp-head h2 em { font-style: normal; color: var(--accent); text-shadow: 0 0 22px color-mix(in srgb, var(--glow) 55%, transparent); }
.wp-word { display: inline-block; white-space: nowrap; }
.wp-ch { display: inline-block; }
.wp.is-in .wp-ch { animation: wp-drop .7s var(--spring) backwards; animation-delay: calc(var(--c) * 45ms); }
@keyframes wp-drop { from { opacity: 0; translate: 0 -.9em; rotate: -14deg; } }
.wp-lead { margin: 0; max-width: 58ch; font-size: 1.0625rem; }

/* Stage: three columns with an even gap; the phone column is as wide as the phone */
.wp-stage { display: grid; grid-template-columns: minmax(0, 1fr) clamp(14rem, 19vw, 17rem) minmax(0, 1fr); align-items: center; gap: 2.25rem; max-width: 1440px; margin-inline: auto; padding-inline: var(--pad-x); }
.wp-col { display: grid; gap: 1.25rem; }

/* Card: icon + title + text + status pill. The active card lifts towards the phone and its wire pulses */
.wp-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: center; padding: 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; outline-offset: 3px;
  transition: translate .45s var(--spring), box-shadow .3s, border-color .3s; }
.wp-ico { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 16px; background: var(--bg); border: 1px solid var(--border); color: var(--accent); transition: background .3s, color .3s, rotate .5s var(--spring); }
.wp-ico svg { width: 1.6rem; height: 1.6rem; }
.wp-txt { display: grid; gap: .4rem; min-width: 0; }
.wp-card h3 { margin: 0; font: 800 1.0625rem/1.25 var(--font-head); letter-spacing: -.01em; }
.wp-card p { margin: 0; font-size: .9375rem; line-height: 1.5; }
.wp-pill { display: inline-flex; align-items: center; justify-self: start; gap: .35rem; padding: .25rem .7rem; border-radius: 999px; border: 1px solid var(--border); background: var(--bg); font: 700 .8125rem var(--font-head); transition: background .3s, color .3s, border-color .3s; }
.wp-pill svg { width: .9rem; height: .9rem; }
/* Wire from each card to the phone (a dashed line in the gap, short enough never to touch either side) */
.wp-card::after { content: ""; position: absolute; top: 50%; width: 1.25rem; height: 2px; translate: 0 -50%; pointer-events: none; opacity: .7;
  background-image: repeating-linear-gradient(90deg, var(--border) 0 6px, transparent 6px 10px); }
.wp-l .wp-card::after { inset-inline-end: -1.7rem; } .wp-r .wp-card::after { inset-inline-start: -1.7rem; }
/* Active card */
.wp-card.is-on, .wp-card:hover { border-color: var(--accent); box-shadow: 0 18px 40px color-mix(in srgb, var(--glow) 35%, transparent); }
.wp-l .wp-card.is-on, .wp-l .wp-card:hover { translate: 8px 0; } .wp-r .wp-card.is-on, .wp-r .wp-card:hover { translate: -8px 0; }
.wp-card.is-on .wp-ico { background: var(--glow); color: var(--ov); rotate: 360deg; }
.wp-card.is-on .wp-pill { background: var(--glow); border-color: var(--accent); color: var(--ov); }
.wp-card.is-on::after { opacity: 1; background-image: repeating-linear-gradient(90deg, var(--glow) 0 6px, transparent 6px 10px); background-size: 20px 100%; animation: wp-wire .5s linear infinite; }
.wp-r .wp-card.is-on::after { animation-direction: reverse; }
@keyframes wp-wire { to { background-position: 20px 0; } }

/* Phone: drawn in CSS. Outer wrapper floats, inner body buzzes */
.wp-phone { position: relative; display: grid; gap: 1.1rem; justify-items: center; margin: 0; }
.wp-waves { position: absolute; left: 50%; top: 40%; width: 100%; aspect-ratio: 1; translate: -50% -50%; pointer-events: none; z-index: 0; }
.wp-waves i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--glow); opacity: 0; animation: wp-wave 3s ease-out infinite; }
.wp-waves i:nth-child(2) { animation-delay: 1s; } .wp-waves i:nth-child(3) { animation-delay: 2s; }
@keyframes wp-wave { from { transform: scale(.9); opacity: .6; } to { transform: scale(2.4); opacity: 0; } }
.wp-float { position: relative; z-index: 1; width: 100%; animation: wp-float 5s ease-in-out infinite; }
@keyframes wp-float { 50% { translate: 0 -8px; } }
.wp-body { position: relative; display: grid; grid-template-rows: auto 1fr auto; width: 100%; aspect-ratio: 9 / 18.5; padding: 0 .6rem; border-radius: 2.2rem; background: var(--text); border: 2px solid var(--border); box-shadow: 0 30px 60px color-mix(in srgb, var(--glow) 30%, transparent);
  transform-origin: 50% 80%; }
.wp-body::before, .wp-body::after { content: ""; position: absolute; width: 4px; border-radius: 3px; background: var(--border); }          /* side buttons */
.wp-body::before { left: -6px; top: 22%; height: 3rem; } .wp-body::after { right: -6px; top: 30%; height: 4.5rem; }
.wp-top { display: flex; align-items: center; justify-content: center; gap: .7rem; height: 1.6rem; }
.wp-top i { width: 3rem; height: .35rem; border-radius: 4px; background: var(--bg); opacity: .8; }
.wp-top b { width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); }
.wp-bar { display: block; justify-self: center; width: 34%; height: .3rem; margin-block: .55rem; border-radius: 4px; background: var(--bg); opacity: .7; }
.wp-screen { position: relative; overflow: hidden; border-radius: 1.4rem; background: var(--surface); }
.wp-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3; translate: -130% 0; animation: wp-sheen 6s ease-in-out infinite;
  background: linear-gradient(105deg, transparent 40%, color-mix(in srgb, var(--surface) 35%, transparent) 50%, transparent 60%); }
@keyframes wp-sheen { 0%, 55% { translate: -130% 0; } 100% { translate: 130% 0; } }
/* Screen photos: cross-fade with a little zoom and blur */
.wp-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.15; filter: blur(8px); transition: opacity .7s, scale .9s var(--e), filter .7s; }
.wp-shot.is-on { opacity: 1; scale: 1; filter: none; }
.wp-s1 { object-fit: contain; padding: .75rem; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 30%, var(--surface)), var(--surface)); }
/* Buzz: a short shake, restarted by index.js each time a gadget is accepted */
.wp-body.is-buzz { animation: wp-buzz .55s ease-in-out; }
@keyframes wp-buzz { 0%, 100% { rotate: 0deg; } 15% { rotate: -3deg; translate: -3px 0; } 30% { rotate: 3deg; translate: 3px 0; } 45% { rotate: -2deg; translate: -2px 0; } 60% { rotate: 2deg; translate: 2px 0; } 80% { rotate: -1deg; } }

/* Caption below the phone: the captions share one grid cell, so the height never changes */
.wp-cap { position: relative; z-index: 1; display: grid; width: 100%; text-align: center; }
.wp-cap span { grid-area: 1 / 1; font: 700 .9375rem/1.4 var(--font-head); opacity: 0; translate: 0 8px; transition: opacity .4s, translate .4s; }
.wp-cap span.is-on { opacity: 1; translate: 0 0; }

/* Call to action */
.wp-cta { display: grid; justify-items: center; gap: 1.1rem; margin-top: 3rem; padding-inline: var(--pad-x); text-align: center; }
.wp-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.wp-btns .btn-hero { transition: translate .25s, background .25s, border-color .25s, box-shadow .25s; }
.wp .wp-btns .btn-hero.spark::before { background: conic-gradient(from var(--ang), transparent 0 62%, var(--text) 82%, transparent 100%); }
.wp-btns .btn-hero svg { transition: translate .25s; }
.wp-btns .btn-hero:hover { translate: 0 -2px; } .wp-btns .btn-hero:hover svg { translate: 4px 0; }
[dir="rtl"] .wp-btns .btn-hero svg { scale: -1 1; }
.wp-tip { margin: 0; font: 600 .9375rem var(--font-head); }

/* Reveal: heading letters drop, cards fly in from both sides, the phone rises and powers on (JS adds .is-armed, then .is-in; without JS all is visible) */
.wp.is-in .wp-l .wp-card { animation: wp-from-l .9s var(--e) backwards; animation-delay: calc(.4s + var(--k) * 140ms); }
.wp.is-in .wp-r .wp-card { animation: wp-from-r .9s var(--e) backwards; animation-delay: calc(.4s + (var(--k) - 3) * 140ms); }
.wp.is-in .wp-float { animation: wp-rise 1.1s var(--spring) .3s backwards, wp-float 5s ease-in-out 1.4s infinite; }
.wp.is-in .wp-screen { animation: wp-on 1.4s ease-out .9s backwards; }
@keyframes wp-from-l { from { opacity: 0; translate: -80px 0; scale: .92; } } @keyframes wp-from-r { from { opacity: 0; translate: 80px 0; scale: .92; } }
@keyframes wp-rise { from { opacity: 0; translate: 0 90px; scale: .9; } }
@keyframes wp-on { 0% { filter: brightness(0); } 30% { filter: brightness(2); } 100% { filter: brightness(1); } }
.wp.is-armed:not(.is-in) .wp-card, .wp.is-armed:not(.is-in) .wp-float, .wp.is-armed:not(.is-in) .wp-cap, .wp.is-armed:not(.is-in) .wp-lead, .wp.is-armed:not(.is-in) .wp-cta, .wp.is-armed:not(.is-in) .wp-ch { opacity: 0; }
.wp-lead, .wp-cap, .wp-cta { transition: opacity .9s .6s; }

/* Tablet: phone on top (centred), the two card columns side by side under it */
@media (max-width: 1000px) {
  .wp-stage { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; align-items: start; }
  .wp-phone { grid-column: 1 / -1; grid-row: 1; width: 15rem; justify-self: center; }
  .wp-card::after { display: none; }
  .wp-l .wp-card.is-on, .wp-l .wp-card:hover, .wp-r .wp-card.is-on, .wp-r .wp-card:hover { translate: 0 -4px; }
}
/* Phone (small screens): one column */
@media (max-width: 640px) {
  .wp { padding-block: 4rem; }
  .wp-head { margin-bottom: 2.5rem; }
  .wp-stage { grid-template-columns: minmax(0, 1fr); }
  .wp-phone { width: 13.5rem; }
}
/* Reduced motion: everything is shown at once, nothing moves */
@media (prefers-reduced-motion: reduce) {
  .wp::after, .wp-eyebrow::before, .wp-waves i, .wp-float, .wp-screen::after, .wp-body, .wp-card::after, .wp.is-in .wp-ch, .wp.is-in .wp-card, .wp.is-in .wp-float, .wp.is-in .wp-screen { animation: none; }
  .wp-card, .wp-ico, .wp-pill, .wp-shot, .wp-cap span, .wp-lead, .wp-cap, .wp-cta { transition: none; }
}

/* 28. WHAT WE ACCEPT SECTION 3: COMPUTERS & OFFICE ELECTRONICS (rack + monitor) */
/* Left: a rack of six units with blinking lights. Right: a monitor. A timer (index.js) highlights one unit at a time: its lights turn lime, its
   progress bar fills, the monitor switches on again (CRT style) with that unit's photo, and the caption below it changes.
   --ov = text on lime (flipped in darkmode.css). Only the site colour variables are used. */
.wo { --ov: var(--text); --on: var(--text); --e: cubic-bezier(.16, 1, .3, 1); position: relative; isolation: isolate; overflow: clip; background: var(--bg); color: var(--text); padding-block: 5.25rem; border-top: 1px solid var(--border); }
/* Keep the soft scanner glow without the horizontal stripe texture. */
.wo::after { content: ""; position: absolute; inset-inline: 0; top: 0; height: 9rem; z-index: -1; pointer-events: none; translate: 0 -100%; animation: wo-sweep 7s linear infinite;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--glow) 22%, transparent), transparent); }
@keyframes wo-sweep { to { translate: 0 calc(100% * 0 + 120vh); } }

/* Heading: two colours; letters appear one by one, then a cursor blinks */
.wo-head { display: grid; justify-items: center; gap: 1rem; margin-bottom: 3.5rem; padding-inline: var(--pad-x); text-align: center; }
.wo-eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0; font: 700 .8125rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; }
.wo-eyebrow::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--glow); animation: rx-pulse 1.8s ease-in-out infinite; }
.wo-head h2 { margin: 0; max-width: 20ch; font: 800 clamp(2rem, 4.6vw, 3.75rem)/1.1 var(--font-head); letter-spacing: -.035em; }
.wo-head h2 em { font-style: normal; color: var(--accent); text-shadow: 0 0 22px color-mix(in srgb, var(--glow) 55%, transparent); }
.wo-word { display: inline-block; white-space: nowrap; }
.wo.is-in .wo-ch { animation: wo-type .01s steps(1) backwards; animation-delay: calc(var(--c) * 45ms); }
@keyframes wo-type { from { opacity: 0; } }
.wo-caret { display: inline-block; width: .08em; height: .85em; margin-inline-start: .08em; vertical-align: -.05em; background: var(--accent); animation: wo-blink 1s steps(1) infinite; }
@keyframes wo-blink { 50% { opacity: 0; } }
.wo-lead { margin: 0; max-width: 58ch; font-size: 1.0625rem; }

/* Stage: rack and monitor side by side with an even gap, vertically centred */
.wo-stage { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 3.5rem; max-width: 1440px; margin-inline: auto; padding-inline: var(--pad-x); }

/* Rack: surface frame with two rails (dotted like screw holes) and six units between them */
.wo-rack { display: grid; gap: .75rem; padding: 1.25rem 2.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; position: relative; box-shadow: 0 24px 56px color-mix(in srgb, var(--glow) 18%, transparent); }
.wo-rack::before, .wo-rack::after { content: ""; position: absolute; top: 1rem; bottom: 1rem; width: .9rem; border-radius: 6px; background-color: var(--bg); border: 1px solid var(--border);
  background-image: radial-gradient(circle, var(--border) 2px, transparent 2.6px); background-size: 100% 2.6rem; background-position: center 1.1rem; }
.wo-rack::before { inset-inline-start: .65rem; } .wo-rack::after { inset-inline-end: .65rem; }

/* Unit: leds | icon | text | tag, with a progress bar along the bottom edge */
.wo-unit { position: relative; overflow: hidden; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1rem 1.15rem; text-align: start; color: var(--text); font-family: var(--font-body); cursor: pointer;
  background: var(--bg); border: 1px solid var(--border); border-radius: 14px; transition: translate .4s var(--e), border-color .3s, box-shadow .3s; }
.wo-unit:hover, .wo-unit.is-on { border-color: var(--accent); box-shadow: 0 14px 32px color-mix(in srgb, var(--glow) 32%, transparent); translate: 6px 0; }
[dir="rtl"] .wo-unit:hover, [dir="rtl"] .wo-unit.is-on { translate: -6px 0; }
.wo-leds { display: grid; gap: .3rem; }
.wo-leds i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--border); animation: wo-idle 2.6s steps(1) infinite; animation-delay: calc(var(--k) * .37s + var(--l, 0) * .6s); }
.wo-leds i:nth-child(2) { --l: 1; } .wo-leds i:nth-child(3) { --l: 2; }
@keyframes wo-idle { 0%, 100% { background: var(--border); } 45% { background: var(--accent); } 60% { background: var(--border); } }
.wo-unit.is-on .wo-leds i { background: var(--glow); box-shadow: 0 0 8px var(--glow); animation: wo-act .5s steps(1) infinite; animation-delay: calc(var(--l, 0) * .17s); }
@keyframes wo-act { 50% { opacity: .35; } }
.wo-ico { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--accent); transition: background .3s, color .3s; }
.wo-ico svg { width: 1.5rem; height: 1.5rem; }
.wo-unit.is-on .wo-ico { background: var(--glow); color: var(--ov); }
.wo-txt { display: grid; gap: .2rem; min-width: 0; }
.wo-txt strong { font: 800 1.0625rem/1.25 var(--font-head); letter-spacing: -.01em; }
.wo-txt span { font-size: .9375rem; line-height: 1.45; font-weight: 500; }
.wo-tag { padding: .3rem .75rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font: 700 .8125rem var(--font-head); white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.wo-unit.is-on .wo-tag { background: var(--glow); border-color: var(--accent); color: var(--ov); }
.wo-prog { position: absolute; inset: auto 0 0; height: 3px; overflow: hidden; }
.wo-prog i { display: block; height: 100%; background: var(--glow); transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .wo-prog i { transform-origin: right; }
.wo-unit.is-on .wo-prog i { animation: wo-fill 3.6s linear forwards; }
.wo.is-hold .wo-unit.is-on .wo-prog i { animation-play-state: paused; }
@keyframes wo-fill { to { transform: scaleX(1); } }
/* A light passes over a unit when it is switched on */
.wo-unit::before { content: ""; position: absolute; inset: 0; pointer-events: none; translate: -110% 0; background: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--glow) 35%, transparent) 50%, transparent 70%); }
.wo-unit.is-on::before { animation: wo-pass .9s ease-out; }
@keyframes wo-pass { to { translate: 110% 0; } }

/* Monitor: bezel (with a power light in the chin), screen, neck, base, then the caption */
.wo-monitor { display: grid; justify-items: center; margin: 0; }
.wo-bezel { position: relative; width: 100%; padding: .9rem .9rem 1.6rem; border-radius: 20px; background: var(--text); border: 2px solid var(--border); box-shadow: 0 30px 60px color-mix(in srgb, var(--glow) 30%, transparent); }
.wo-screen { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 8px; background: var(--surface); }
.wo-shots { position: absolute; inset: 0; }
.wo-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.wo-shot.is-on { opacity: 1; }
.wo-s1, .wo-s5 { object-fit: contain; padding: 1.25rem; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 30%, var(--surface)), var(--surface)); }
/* Switch-on: a bright line opens up into the picture (restarted by index.js through .is-crt) */
.wo-shots.is-crt { animation: wo-crt .75s ease-out; }
@keyframes wo-crt { 0% { transform: scale(.6, .02); filter: brightness(3); } 45% { transform: scale(1, .02); filter: brightness(3); } 100% { transform: none; filter: brightness(1); } }
.wo-roll { position: absolute; inset-inline: 0; top: 0; height: 28%; z-index: 2; pointer-events: none; translate: 0 -100%; animation: wo-roll 5s linear infinite;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--surface) 30%, transparent), transparent); }
@keyframes wo-roll { to { translate: 0 360%; } }
.wo-pled { position: absolute; bottom: .55rem; left: 50%; width: .5rem; height: .5rem; translate: -50% 0; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px var(--glow); animation: rx-pulse 2s ease-in-out infinite; }
.wo-neck { width: 5rem; height: 1.6rem; background: linear-gradient(90deg, var(--border), var(--surface), var(--border)); border-inline: 1px solid var(--border); }
.wo-base { width: 11rem; height: .7rem; border-radius: 0 0 12px 12px; background: var(--text); border: 1px solid var(--border); }
.wo-cap { display: grid; width: 100%; margin-top: 1.1rem; text-align: center; }
.wo-cap span { grid-area: 1 / 1; font: 700 .9375rem/1.4 var(--font-head); opacity: 0; translate: 0 8px; transition: opacity .4s, translate .4s; }
.wo-cap span.is-on { opacity: 1; translate: 0 0; }

/* Call to action */
.wo-cta { display: grid; justify-items: center; gap: 1.1rem; margin-top: 3rem; padding-inline: var(--pad-x); text-align: center; }
.wo-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.wo-btns .btn-hero { transition: translate .25s, background .25s, border-color .25s, box-shadow .25s; }
.wo .wo-btns .btn-hero.spark::before { background: conic-gradient(from var(--ang), transparent 0 62%, var(--text) 82%, transparent 100%); }
.wo-btns .btn-hero svg { transition: translate .25s; }
.wo-btns .btn-hero:hover { translate: 0 -2px; } .wo-btns .btn-hero:hover svg { translate: 4px 0; }
[dir="rtl"] .wo-btns .btn-hero svg { scale: -1 1; }
.wo-note { margin: 0; font: 600 .9375rem var(--font-head); }

/* Reveal: heading types out, units are "racked in" one after another from the left, the monitor rises and switches on
   (JS adds .is-armed, then .is-in; without JS everything is visible) */
.wo.is-in .wo-unit { animation: wo-in .8s var(--e) backwards; animation-delay: calc(.4s + var(--k) * 120ms); }
@keyframes wo-in { from { opacity: 0; translate: -70px 0; } }
.wo.is-in .wo-bezel { animation: wo-rise 1s var(--e) .3s backwards; }
@keyframes wo-rise { from { opacity: 0; translate: 0 70px; } }
.wo.is-armed:not(.is-in) .wo-unit, .wo.is-armed:not(.is-in) .wo-bezel, .wo.is-armed:not(.is-in) .wo-neck, .wo.is-armed:not(.is-in) .wo-base, .wo.is-armed:not(.is-in) .wo-cap,
.wo.is-armed:not(.is-in) .wo-lead, .wo.is-armed:not(.is-in) .wo-cta, .wo.is-armed:not(.is-in) .wo-ch { opacity: 0; }
.wo-lead, .wo-cap, .wo-cta, .wo-neck, .wo-base { transition: opacity .9s .6s; }

/* Tablet: monitor on top, rack under it */
@media (max-width: 1000px) {
  .wo-stage { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .wo-monitor { order: -1; width: min(100%, 34rem); justify-self: center; }
  .wo-tag { grid-column: 3; justify-self: start; }
  .wo-unit { grid-template-columns: auto auto minmax(0, 1fr); row-gap: .6rem; }
  .wo-unit:hover, .wo-unit.is-on, [dir="rtl"] .wo-unit:hover, [dir="rtl"] .wo-unit.is-on { translate: 0 0; }      /* no sideways shift: it would touch the rail */
}
/* Laptop widths: keep the monitor beside the tall rack and in view while browsing its units. */
@media (min-width: 1001px) and (max-width: 1200px) {
  .wo-stage { align-items: start; gap: 2rem; }
  .wo-monitor { position: sticky; top: 7rem; align-self: start; }
}
/* Phone */
@media (max-width: 640px) {
  .wo { padding-block: 4rem; }
  .wo-head { margin-bottom: 2.5rem; }
  .wo-rack { padding-inline: 1.9rem; }
  .wo-unit { grid-template-columns: auto auto minmax(0, 1fr); gap: .75rem; padding: .9rem; }
  .wo-ico { width: 2.6rem; height: 2.6rem; }
  .wo-tag { grid-column: 2 / -1; justify-self: start; max-width: 100%; white-space: normal; overflow-wrap: break-word; }
}
/* Reduced motion: everything is shown at once, nothing moves */
@media (prefers-reduced-motion: reduce) {
  .wo::after, .wo-eyebrow::before, .wo-caret, .wo-leds i, .wo-unit.is-on::before, .wo-unit.is-on .wo-prog i, .wo-shots.is-crt, .wo-roll, .wo-pled, .wo.is-in .wo-ch, .wo.is-in .wo-unit, .wo.is-in .wo-bezel { animation: none; }
  .wo-unit.is-on .wo-prog i { transform: scaleX(1); }
  .wo-unit, .wo-ico, .wo-tag, .wo-cap span, .wo-lead, .wo-cap, .wo-cta, .wo-neck, .wo-base { transition: none; }
}

/* Home One: give paragraph copy a little more weight for easier reading. */
.home-hero p,
.impact p,
.sv3 p,
.ac p,
.pk p,
.dp p,
.nx p,
.rx p,
.cs p,
.sl p,
.jr p,
.gc p,
.pt p,
.wp p,
.wo p { font-weight: 500; }

/* 25. ABOUT SECTION 2: OUR STORY – HOW WE STARTED -------------------------- */
/* Layout: sticky photo frame (left) + circuit-trace timeline (right). Only the site's colour variables are used. */
.os {
  --dx: 1;                                     /* slide direction (flipped for RTL below) */
  position: relative; isolation: isolate; overflow: clip;   /* clip (not hidden) so the left column can stay sticky */
  padding-block: clamp(4rem, 8vw, 6.5rem);     /* top and bottom are equal */
  background: var(--bg); color: var(--text);
}
[dir="rtl"] .os { --dx: -1; }
/* Circuit-board grid backdrop, fading out towards the edges */
.os::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(color-mix(in srgb, var(--border) 60%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--border) 60%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, var(--text), transparent 75%);
  mask-image: radial-gradient(ellipse at 30% 40%, var(--text), transparent 75%);
}
/* Soft glow that drifts slowly behind the content */
.os::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: 34rem; height: 34rem; border-radius: 50%;
  inset-block-start: 8%; inset-inline-end: -10rem;
  background: radial-gradient(circle, color-mix(in srgb, var(--glow) 24%, transparent), transparent 70%);
  animation: os-drift 14s ease-in-out infinite alternate;
}
@keyframes os-drift { to { transform: translate(-3rem, 8rem) scale(1.15); } }

.os-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }

/* ---- Left column (sticks while the chapters scroll) ---- */
.os-side { position: sticky; top: 7rem; display: grid; gap: 1.25rem; }
.os-tag {
  justify-self: start; display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
}
.os-tag i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); animation: os-blink 1.6s ease-in-out infinite; }
@keyframes os-blink { 50% { opacity: .25; transform: scale(.7); } }
.os-title { margin: 0; font: 800 clamp(2.2rem, 4.4vw, 3.6rem)/1.08 var(--font-head); letter-spacing: -.02em; }
.os-w { display: inline-block; }
.os-w--hot { color: var(--accent); }
.os-intro { margin: 0; max-width: 34rem; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }

/* Photo frame: the electric border (.spark) circles the picture; pictures wipe in from the bottom */
.os-frame { margin: 0; display: grid; gap: .9rem; }
.os-stage { height: clamp(200px, 34vh, 320px); border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.os-stage::before { z-index: 3; }                  /* keep the spark ring above the pictures */
.os-pic {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; clip-path: inset(100% 0 0 0); transform: scale(1.14);
  transition: clip-path .9s cubic-bezier(.7, 0, .2, 1), opacity .5s .2s, transform 1.8s ease-out;
}
.os-pic.is-on { opacity: 1; clip-path: inset(0); transform: scale(1); transition-delay: 0s; }
/* Scan line that sweeps across the frame whenever the picture changes (class toggled by index.js) */
.os-stage::after {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; z-index: 2; opacity: 0; pointer-events: none;
  background: var(--glow); box-shadow: 0 0 18px 4px var(--glow);
}
.os-stage.is-scan::after { animation: os-scan .9s ease-in-out; }
@keyframes os-scan { 0% { top: 0; opacity: 1; } 100% { top: calc(100% - 3px); opacity: 0; } }

/* Caption card BELOW the picture: year odometer + chapter name + progress bar */
.os-cap {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem 1.1rem; align-items: center;
  padding: 1rem 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.os-year { height: 1em; overflow: hidden; font: 800 2.5rem/1 var(--font-head); color: var(--accent); font-variant-numeric: tabular-nums; }
.os-year-roll { display: block; transform: translateY(calc(var(--k, 0) * -1em)); transition: transform .9s cubic-bezier(.7, 0, .2, 1); }
.os-year-roll span { display: block; height: 1em; line-height: 1; }
.os-cap-t { display: grid; gap: .1rem; min-width: 0; }
.os-cap-t strong { font-size: 1rem; line-height: 1.3; }
.os-cap-t span { font-size: .8125rem; font-weight: 600; color: color-mix(in srgb, var(--text) 72%, var(--surface)); }
.os-bar { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: var(--border); overflow: hidden; }
.os-bar i { display: block; height: 100%; transform-origin: left center; transform: scaleX(var(--p, 0)); transition: transform .3s linear; background: linear-gradient(90deg, var(--accent), var(--glow)); }
[dir="rtl"] .os-bar i { transform-origin: right center; }

/* ---- Right column: the circuit trace ---- */
.os-trace { list-style: none; margin: 0; padding: 0; display: grid; }
.os-step { --f: 0; position: relative; display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 1.25rem; padding-bottom: 1.75rem; }
.os-step:last-child { padding-bottom: 0; }
/* Trace segment from this node to the next: dashed track (::before) + glowing current that fills it (::after) */
.os-step::before, .os-step::after { content: ""; position: absolute; inset-inline-start: calc(1.625rem - 1.5px); top: 1.625rem; width: 3px; border-radius: 2px; }
.os-step::before { height: 100%; background: repeating-linear-gradient(to bottom, var(--border) 0 6px, transparent 6px 12px); }
.os-step::after { height: calc(100% * var(--f)); background: linear-gradient(to bottom, var(--accent), var(--glow)); box-shadow: 0 0 12px var(--glow); }
.os-step:last-child::before, .os-step:last-child::after, .os-step:last-child .os-head { display: none; }
/* Bright spark riding the tip of the current */
.os-head {
  position: absolute; inset-inline-start: calc(1.625rem - 6px); top: calc(1.625rem + 100% * var(--f) - 6px);
  width: 12px; height: 12px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 4px color-mix(in srgb, var(--glow) 35%, transparent), 0 0 16px 4px var(--glow);
  opacity: 0; z-index: 2; animation: os-pulse 1.1s ease-in-out infinite;
}
.os-step.is-flow .os-head { opacity: 1; }
@keyframes os-pulse { 50% { transform: scale(1.5); } }

/* Node: dark ring until the current reaches it, then it ignites */
.os-node {
  position: relative; z-index: 1; width: 3.25rem; height: 3.25rem; display: grid; place-items: center; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--border); color: color-mix(in srgb, var(--text) 60%, var(--surface));
  transition: background .4s, border-color .4s, color .4s, box-shadow .4s, transform .5s cubic-bezier(.3, 1.6, .5, 1);
}
.os-node svg { width: 1.4rem; height: 1.4rem; }
.os-node::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--glow); opacity: 0; }
.os-step.is-lit .os-node { background: var(--accent); border-color: var(--accent); color: var(--surface); box-shadow: 0 0 0 6px color-mix(in srgb, var(--glow) 28%, transparent), 0 8px 22px color-mix(in srgb, var(--glow) 45%, transparent); }
.os-step.is-lit .os-node::after { animation: os-ring 2.4s ease-out infinite; }   /* ripple rings */
@keyframes os-ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }

/* Chapter card */
.os-card {
  position: relative; overflow: hidden; padding: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .4s, box-shadow .4s, transform .5s cubic-bezier(.2, .8, .2, 1), opacity .8s, filter .8s;
}
/* Spotlight that follows the pointer (--mx / --my set by index.js) */
.os-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--glow) 22%, transparent), transparent 70%);
}
.os-card:hover::before { opacity: 1; }
.os-card > * { position: relative; }              /* keep content above the spotlight */
.os-step.is-active .os-card { border-color: var(--accent); box-shadow: 0 14px 36px color-mix(in srgb, var(--glow) 30%, transparent); transform: translateX(calc(var(--dx) * 6px)); }
.os-shot { display: none; }                       /* per-card photo is for tablet / mobile only */
.os-when { display: flex; align-items: center; gap: .6rem; margin: 0 0 .6rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.os-when::before { content: ""; width: 1.5rem; height: 3px; border-radius: 2px; background: var(--accent); transition: width .5s; }
.os-step.is-active .os-when::before { width: 2.5rem; }
.os-card h3 { margin: 0 0 .6rem; font: 800 1.35rem/1.25 var(--font-head); }
.os-card p:not(.os-when) { margin: 0; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }
.os-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.os-chips li { padding: .3rem .8rem; font-size: .8125rem; font-weight: 600; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; transition: background .3s, border-color .3s, transform .3s; }
.os-step.is-active .os-chips li { border-color: var(--accent); }
.os-chips li:hover { transform: translateY(-2px); border-color: var(--accent); }

/* Entrance (only when index.js has armed the section, so no-JS visitors see everything) */
.os.is-armed .os-tag, .os.is-armed .os-intro, .os.is-armed .os-frame { opacity: 0; transform: translateY(1.25rem); transition: opacity .8s .5s, transform .8s .5s; }
.os.is-armed .os-w { opacity: 0; transform: translateY(.7em) rotate(4deg); transition: opacity .7s calc(var(--i) * 110ms + .15s), transform .7s calc(var(--i) * 110ms + .15s) cubic-bezier(.2, .9, .3, 1.3); }
.os.is-in .os-tag, .os.is-in .os-intro, .os.is-in .os-frame, .os.is-in .os-w { opacity: 1; transform: none; }
.os.is-armed .os-card { opacity: 0; transform: translateX(calc(var(--dx) * 3rem)) scale(.96); filter: blur(6px); }
.os.is-armed .os-node { transform: scale(.3); opacity: 0; }
.os.is-armed .os-chips li { opacity: 0; transform: translateY(.6rem); }
.os.is-armed .os-step.is-seen .os-card { opacity: 1; transform: none; filter: none; }
.os.is-armed .os-step.is-seen .os-node { transform: none; opacity: 1; }
.os.is-armed .os-step.is-seen .os-chips li { opacity: 1; transform: none; transition: opacity .5s calc(var(--c) * 120ms + .5s), transform .5s calc(var(--c) * 120ms + .5s); }
.os.is-armed .os-step.is-seen.is-active .os-card { transform: translateX(calc(var(--dx) * 6px)); }

/* Tablet / mobile: one column, each chapter carries its own photo, nothing sticks */
@media (max-width: 900px) {
  .os-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .os-side { position: static; }
  .os-frame { display: none; }
  .os-shot { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: calc(var(--radius) - 4px); margin-bottom: 1rem; }
}
@media (max-width: 520px) {
  .os-step { grid-template-columns: 2.5rem minmax(0, 1fr); gap: .9rem; }
  .os-node { width: 2.5rem; height: 2.5rem; }
  .os-node svg { width: 1.15rem; height: 1.15rem; }
  .os-step::before, .os-step::after { inset-inline-start: calc(1.25rem - 1.5px); top: 1.25rem; }
  .os-head { inset-inline-start: calc(1.25rem - 6px); top: calc(1.25rem + 100% * var(--f) - 6px); }
  .os-card { padding: 1.15rem; }
}
/* Reduced motion: everything is shown at once and nothing moves */
@media (prefers-reduced-motion: reduce) {
  .os::after, .os-tag i, .os-head, .os-step.is-lit .os-node::after, .os-stage.is-scan::after { animation: none; }
  .os-pic, .os-year-roll, .os-card, .os-node, .os-bar i { transition: none; }
}

/* 26. ABOUT SECTION 3: OUR MISSION & VISION --------------------------------- */
/* Simple centred layout: heading + switch on top, one two-column card below. Colour variables only. */
.mv {
  --dx: 1;
  position: relative; isolation: isolate; overflow: clip;
  padding-block: clamp(4rem, 8vw, 6.5rem);          /* top and bottom are equal */
  background: var(--surface); color: var(--text);
  border-top: 1px solid var(--border);
}
[dir="rtl"] .mv { --dx: -1; }
/* Slow glow behind the card */
.mv::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: 36rem; height: 36rem; border-radius: 50%;
  inset-block-end: -12rem; inset-inline-start: -10rem;
  background: radial-gradient(circle, color-mix(in srgb, var(--glow) 22%, transparent), transparent 70%);
  animation: mv-drift 15s ease-in-out infinite alternate;
}
@keyframes mv-drift { to { transform: translate(6rem, -4rem) scale(1.2); } }

/* ---- Heading + switch ---- */
.mv-head { display: grid; justify-items: center; gap: 1.25rem; text-align: center; margin-bottom: 2.5rem; }
.mv-tag { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; }
.mv-tag i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); animation: mv-blink 1.6s ease-in-out infinite; }
@keyframes mv-blink { 50% { opacity: .25; transform: scale(.7); } }
.mv-title { margin: 0; font: 800 clamp(2.2rem, 4.6vw, 3.6rem)/1.1 var(--font-head); letter-spacing: -.02em; }
.mv-w { display: inline-block; }
.mv-w--hot { color: var(--accent); }

/* Switch: graphite pill (light mode) / light pill (dark mode) slides under the active tab */
.mv-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: .35rem; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; }
.mv-pill { position: absolute; top: .35rem; bottom: .35rem; inset-inline-start: .35rem; width: calc(50% - .35rem); border-radius: 999px; background: var(--text); box-shadow: 0 8px 22px color-mix(in srgb, var(--glow) 40%, transparent); transition: transform .55s cubic-bezier(.6, -.3, .3, 1.3); }
.mv[data-mode="vision"] .mv-pill { transform: translateX(calc(var(--dx) * 100%)); }
.mv-tab { position: relative; z-index: 1; min-width: 9rem; padding: .7rem 1.6rem; font: 700 1rem/1.2 var(--font-body); color: var(--text); background: none; border: 0; border-radius: 999px; cursor: pointer; transition: color .4s; }
.mv-tab[aria-selected="true"] { color: var(--bg); }
/* Auto-switch timer (restarted by index.js; paused on hover) */
.mv-timer { width: 12rem; height: 4px; border-radius: 99px; background: var(--border); overflow: hidden; }
.mv-timer i { display: block; height: 100%; transform-origin: left center; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--glow)); }
[dir="rtl"] .mv-timer i { transform-origin: right center; }
.mv.is-timing .mv-timer i { animation: mv-fill 7s linear forwards; }
.mv.is-paused .mv-timer i { animation-play-state: paused; }
@keyframes mv-fill { to { transform: scaleX(1); } }

/* ---- Card: statement (left) + radar (right) ---- */
.mv-card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  max-width: 1080px; margin-inline: auto; padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: var(--bg); border: 1px solid var(--border); border-radius: 22px;
}
/* Both panels share one grid cell so the card keeps one height; only the active one is visible */
.mv-panels { display: grid; }
.mv-panel { grid-area: 1 / 1; display: grid; align-content: center; gap: 1rem; visibility: hidden; pointer-events: none; }
.mv-panel.is-on { visibility: visible; pointer-events: auto; }
.mv-panel > * { margin: 0; opacity: 0; transform: translateX(calc(var(--dx) * 1.5rem)); filter: blur(5px); transition: opacity .35s, transform .35s, filter .35s; }
.mv-panel.is-on > * { opacity: 1; transform: none; filter: none; transition: opacity .7s calc(var(--n) * 110ms + .15s), transform .7s calc(var(--n) * 110ms + .15s) cubic-bezier(.2, .9, .3, 1), filter .7s calc(var(--n) * 110ms + .15s); }
.mv-panel > :nth-child(1) { --n: 0; } .mv-panel > :nth-child(2) { --n: 1; } .mv-panel > :nth-child(3) { --n: 2; } .mv-panel > :nth-child(4) { --n: 3; }
.mv-kicker { display: flex; align-items: center; gap: .6rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mv-kicker::before { content: ""; width: 2rem; height: 3px; border-radius: 2px; background: var(--accent); }
.mv-panel h3 { font: 800 clamp(1.5rem, 2.8vw, 2.1rem)/1.2 var(--font-head); letter-spacing: -.01em; }
.mv-panel p:not(.mv-kicker) { color: color-mix(in srgb, var(--text) 84%, var(--bg)); }
.mv-points { list-style: none; padding: 0; display: grid; gap: .75rem; }
.mv-points li { display: flex; align-items: center; gap: .85rem; font-weight: 600; }
.mv-points span { flex: none; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--surface); transition: transform .3s; }
.mv-points li:hover span { transform: scale(1.15) rotate(-8deg); }
.mv-points svg { width: 1rem; height: 1rem; }

/* ---- Radar ---- */
.mv-fig { margin: 0; display: grid; gap: 1rem; justify-items: center; }
.mv-radar { position: relative; width: min(100%, 340px); aspect-ratio: 1; }
.mv-scope { position: absolute; inset: 0; transform: scale(.62); transition: transform 1.1s cubic-bezier(.6, -.2, .2, 1.2); }
.mv[data-mode="vision"] .mv-scope { transform: scale(1); }
.mv-ring { position: absolute; border-radius: 50%; border: 1.5px solid var(--border); }
.mv-ring:nth-child(1) { inset: 0; } .mv-ring:nth-child(2) { inset: 12%; } .mv-ring:nth-child(3) { inset: 24%; } .mv-ring:nth-child(4) { inset: 36%; }
.mv[data-mode="vision"] .mv-ring { animation: mv-ring 3s ease-in-out infinite; }
.mv-ring:nth-child(2) { animation-delay: .25s; } .mv-ring:nth-child(3) { animation-delay: .5s; } .mv-ring:nth-child(4) { animation-delay: .75s; }
@keyframes mv-ring { 50% { border-color: var(--accent); } }
/* Sweep: a lime wedge rotating like a radar beam */
.mv-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 70%, color-mix(in srgb, var(--glow) 55%, transparent) 100%); animation: mv-spin 3.5s linear infinite; }
@keyframes mv-spin { to { transform: rotate(360deg); } }
/* Blips pop in one after another; the far ones only exist in vision mode */
.mv-blip { position: absolute; left: var(--x); top: var(--y); width: .9rem; height: .9rem; margin: -.45rem 0 0 -.45rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--glow) 35%, transparent); animation: mv-blip 2.4s ease-in-out infinite; animation-delay: calc(var(--d) * .4s); }
@keyframes mv-blip { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.45); } }
.mv-blip--far { opacity: 0; transition: opacity .6s; }
.mv[data-mode="vision"] .mv-blip--far { opacity: 1; transition-delay: .6s; }
/* Core: the Ecoloop dot in the middle, with a ripple */
.mv-core { position: absolute; left: 50%; top: 50%; width: 1.4rem; height: 1.4rem; margin: -.7rem 0 0 -.7rem; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 5px var(--glow); }
.mv-core::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--glow); animation: mv-ripple 2.4s ease-out infinite; }
@keyframes mv-ripple { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
/* Caption below the radar; text swaps with the mode */
.mv-cap { display: grid; gap: .15rem; justify-items: center; text-align: center; width: 100%; padding: .9rem 1.1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.mv-cap strong { font-size: 1rem; }
.mv-cap span { font-size: .875rem; font-weight: 500; color: color-mix(in srgb, var(--text) 78%, var(--surface)); }
.mv[data-mode="mission"] .mv-cap-v, .mv[data-mode="vision"] .mv-cap-m { display: none; }

/* Entrance (only when index.js has armed the section) */
.mv.is-armed .mv-tag, .mv.is-armed .mv-switch, .mv.is-armed .mv-timer, .mv.is-armed .mv-card { opacity: 0; transform: translateY(1.5rem); transition: opacity .8s .5s, transform .8s .5s; }
.mv.is-armed .mv-card { transition-delay: .8s; }
.mv.is-armed .mv-w { opacity: 0; transform: translateY(.7em) rotate(4deg); transition: opacity .7s calc(var(--i) * 110ms + .15s), transform .7s calc(var(--i) * 110ms + .15s) cubic-bezier(.2, .9, .3, 1.3); }
.mv.is-in .mv-tag, .mv.is-in .mv-switch, .mv.is-in .mv-timer, .mv.is-in .mv-card, .mv.is-in .mv-w { opacity: 1; transform: none; }

/* Tablet / mobile: single column */
@media (max-width: 820px) {
  .mv-card { grid-template-columns: minmax(0, 1fr); }
  .mv-tab { min-width: 7.5rem; padding-inline: 1.2rem; }
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .mv::before, .mv-tag i, .mv-sweep, .mv-blip, .mv-core::after, .mv-ring, .mv.is-timing .mv-timer i { animation: none; }
  .mv-pill, .mv-scope, .mv-panel > * { transition: none; }
}

/* NOTE: the selectors below are scoped as "section.ph" so they only style the About page section; Home 1 "How we help" reuses a helper class named .ph and must not receive these styles. */
/* 27. ABOUT SECTION 4: OUR RECYCLING PHILOSOPHY ----------------------------- */
/* Pinned stage: a round photo grows into a big rounded picture while you scroll; four cards sit AROUND it (never on it). Colour variables only. */
section.ph {
  --ov: var(--text); --dx: 1;                        /* --ov = text colour on lime (flips in dark mode) */
  position: relative; isolation: isolate; overflow: clip;
  padding-block: clamp(4rem, 8vw, 6.5rem);           /* top and bottom are equal */
  background: var(--bg); color: var(--text); border-top: 1px solid var(--border);
}
[data-theme="dark"] section.ph { --ov: var(--bg); }
[dir="rtl"] section.ph { --dx: -1; }
section.ph::before {                                        /* soft glow in the corner */
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: 32rem; height: 32rem; border-radius: 50%;
  inset-block-start: -10rem; inset-inline-end: -8rem;
  background: radial-gradient(circle, color-mix(in srgb, var(--glow) 22%, transparent), transparent 70%);
  animation: ph-drift 14s ease-in-out infinite alternate;
}
@keyframes ph-drift { to { transform: translate(-5rem, 6rem) scale(1.2); } }

/* ---- Header ---- */
.ph-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: end; margin-bottom: 3rem; }
.ph-head-t { display: grid; gap: 1.25rem; justify-items: start; }
.ph-tag { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; }
.ph-tag i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); animation: ph-blink 1.6s ease-in-out infinite; }
@keyframes ph-blink { 50% { opacity: .25; transform: scale(.7); } }
.ph-title { margin: 0; font: 800 clamp(2.2rem, 4.6vw, 3.6rem)/1.1 var(--font-head); letter-spacing: -.02em; }
.ph-w { display: inline-block; }
.ph-w--hot { color: var(--accent); }
.ph-head-c { display: grid; gap: 1.5rem; justify-items: start; }
.ph-head-c p { margin: 0; max-width: 34rem; color: color-mix(in srgb, var(--text) 84%, var(--bg)); }
.ph-btns { display: flex; flex-wrap: wrap; gap: 1rem; }
.ph-ghost { color: var(--text); border: 1.5px solid var(--border); background: var(--surface); }
.ph-ghost:hover { border-color: var(--accent); box-shadow: 0 8px 22px color-mix(in srgb, var(--glow) 30%, transparent); }

/* ---- Pinned stage ---- */
.ph-track { height: 220vh; }                         /* scroll distance for the growing photo */
.ph-stage {
  position: sticky; top: 6.5rem; height: calc(100svh - 7.5rem); min-height: 32rem; margin: 0;
  display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: .9rem;
  --e: 0;                                            /* 0 = small round photo, 1 = photo covers the whole view (set by index.js) */
}
/* View: 3 x 3 grid for the cards; the photo is centred behind them and grows to cover the full view */
.ph-view {
  position: relative; min-height: 0; padding: 1.25rem; gap: 1.5rem;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto;
}
.ph-box {
  position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); overflow: hidden; background: var(--surface);
  width: calc(11rem + (100% - 11rem) * var(--e)); height: calc(11rem + (100% - 11rem) * var(--e));
  border-radius: calc(50% - (50% - 28px) * var(--e));  /* circle → rounded rectangle */
  border: 1px solid var(--border); box-shadow: 0 18px 50px color-mix(in srgb, var(--glow) calc(10% + 30% * var(--e)), transparent);
}
.ph-box::before { z-index: 2; }                      /* electric ring above the picture */
.ph-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.4 - .4 * var(--e))); }
.ph-stage figcaption { text-align: center; font-size: .9375rem; font-weight: 600; opacity: var(--e); transform: translateY(calc((1 - var(--e)) * .75rem)); color: color-mix(in srgb, var(--text) 84%, var(--bg)); }

/* Four slots: top, right, bottom, left (above the photo) */
.ph-slot { position: relative; z-index: 3; display: grid; align-items: center; justify-items: center; }
.ph-slot--top { grid-column: 2; grid-row: 1; }
.ph-slot--bottom { grid-column: 2; grid-row: 3; }
.ph-slot--left { grid-column: 1; grid-row: 2; justify-items: start; }
.ph-slot--right { grid-column: 3; grid-row: 2; justify-items: end; }
.ph-card {
  width: 100%; max-width: 21rem; display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 1rem; align-items: center; padding: 1rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--text) 18%, transparent);
  transition: border-color .3s, box-shadow .3s;
}
.ph-card:hover { border-color: var(--accent); box-shadow: 0 16px 38px color-mix(in srgb, var(--glow) 40%, transparent); }
.ph-card img { width: 4rem; height: 4rem; object-fit: cover; border-radius: 12px; }
.ph-card h3 { margin: 0 0 .2rem; font: 800 .9375rem/1.3 var(--font-head); letter-spacing: .04em; text-transform: uppercase; }
.ph-card p { margin: 0; font-size: .875rem; line-height: 1.5; color: color-mix(in srgb, var(--text) 82%, var(--surface)); }

/* Entrance (only when index.js has armed the section) + gentle floating once in */
.ph.is-armed .ph-tag, .ph.is-armed .ph-head-c { opacity: 0; transform: translateY(1.25rem); transition: opacity .8s .5s, transform .8s .5s; }
.ph.is-armed .ph-w { opacity: 0; transform: translateY(.7em) rotate(4deg); transition: opacity .7s calc(var(--i) * 110ms + .15s), transform .7s calc(var(--i) * 110ms + .15s) cubic-bezier(.2, .9, .3, 1.3); }
.ph.is-armed .ph-slot { opacity: 0; transform: scale(.85); }
.ph.is-armed.is-in .ph-slot { opacity: 1; transform: none; transition: opacity .7s calc(var(--n) * 140ms + .2s), transform .7s calc(var(--n) * 140ms + .2s) cubic-bezier(.3, 1.4, .5, 1); }
.ph.is-in .ph-tag, .ph.is-in .ph-head-c, .ph.is-in .ph-w { opacity: 1; transform: none; }
.ph.is-in .ph-card { animation: ph-bob 5s ease-in-out infinite; animation-delay: calc(var(--n, 0) * -1.2s); }
.ph-slot:nth-of-type(1) .ph-card { --n: 0; } .ph-slot:nth-of-type(2) .ph-card { --n: 1; } .ph-slot:nth-of-type(3) .ph-card { --n: 2; } .ph-slot:nth-of-type(4) .ph-card { --n: 3; }
@keyframes ph-bob { 50% { transform: translateY(-6px); } }

/* Tablet / mobile: no pinning – photo is a full rounded picture, cards form a grid under it */
@media (max-width: 900px) {
  .ph-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .ph-track { height: auto; }
  .ph-stage { position: static; height: auto; min-height: 0; --e: 1; }
  .ph-view { padding: 0; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .ph-box { position: relative; left: auto; top: auto; transform: none; grid-column: 1 / -1; grid-row: 1; width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .ph-slot--top, .ph-slot--bottom, .ph-slot--left, .ph-slot--right { grid-column: auto; grid-row: auto; justify-items: stretch; }
  .ph-card { max-width: none; height: 100%; }
}
@media (max-width: 560px) {
  .ph-view { grid-template-columns: minmax(0, 1fr); }
}
/* Reduced motion: final picture shown straight away, nothing floats */
@media (prefers-reduced-motion: reduce) {
  section.ph::before, .ph-tag i, .ph.is-in .ph-card { animation: none; }
  .ph-track { height: auto; }
  .ph-stage { position: static; --e: 1 !important; }
}

/* 28. ABOUT SECTION 5: WHAT MAKES US DIFFERENT ------------------------------- */
/* Versus board: typical collector (struck through) against Ecoloop (ticked). Colour variables only. */
.df {
  --dx: 1;
  position: relative; isolation: isolate; overflow: clip;
  padding-block: clamp(4rem, 8vw, 6.5rem);           /* top and bottom are equal */
  background: var(--surface); color: var(--text); border-top: 1px solid var(--border);
}
[dir="rtl"] .df { --dx: -1; }
.df::before {                                        /* slow drifting glow */
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: 34rem; height: 34rem; border-radius: 50%;
  inset-block-end: -14rem; inset-inline-end: -8rem;
  background: radial-gradient(circle, color-mix(in srgb, var(--glow) 22%, transparent), transparent 70%);
  animation: df-drift 15s ease-in-out infinite alternate;
}
@keyframes df-drift { to { transform: translate(-6rem, -4rem) scale(1.2); } }

/* ---- Header ---- */
.df-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin-bottom: 3rem; }
.df-head-t { display: grid; gap: 1.25rem; justify-items: start; }
.df-tag { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; }
.df-tag i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); animation: df-blink 1.6s ease-in-out infinite; }
@keyframes df-blink { 50% { opacity: .25; transform: scale(.7); } }
.df-title { margin: 0; font: 800 clamp(2.2rem, 4.6vw, 3.6rem)/1.1 var(--font-head); letter-spacing: -.02em; }
.df-w { display: inline-block; }
.df-w--hot { color: var(--accent); }
.df-head-t p { margin: 0; max-width: 34rem; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }
/* Photo with the caption BELOW it; slow zoom */
.df-fig { margin: 0; display: grid; gap: .9rem; }
.df-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg); }
.df-photo::before { z-index: 2; }
.df-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: df-zoom 12s ease-in-out infinite alternate; }
@keyframes df-zoom { from { transform: scale(1); } to { transform: scale(1.1); } }
.df-fig figcaption { font-size: .9375rem; font-weight: 600; text-align: center; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }

/* ---- Board ---- */
.df-board { display: grid; gap: 1rem; }
.df-colhead, .df-row { display: grid; grid-template-columns: 11rem minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; align-items: stretch; }
.df-colhead { padding-inline: 1.25rem; }
.df-colhead strong { font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.df-colhead strong:last-child { color: var(--text); }
.df-colhead strong:last-child::after { content: ""; display: block; height: 3px; margin-top: .5rem; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--glow)); }
.df-colhead strong:nth-child(2) { color: color-mix(in srgb, var(--text) 68%, var(--surface)); }
.df-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.df-row { position: relative; padding: 1rem 1.25rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .4s, box-shadow .4s, transform .4s; }
.df-row.is-hot { border-color: var(--accent); box-shadow: 0 14px 34px color-mix(in srgb, var(--glow) 30%, transparent); transform: translateX(calc(var(--dx) * 6px)); }
.df-topic { display: inline-flex; align-items: center; gap: .75rem; font: 800 1rem/1.3 var(--font-head); }
.df-topic svg { flex: none; width: 1.5rem; height: 1.5rem; color: var(--accent); }
.df-row p { margin: 0; display: flex; align-items: center; gap: .75rem; font-weight: 600; }
.df-lbl { display: none; }                           /* labels only on mobile */
.df-x, .df-tick { flex: none; width: 1.75rem; height: 1.75rem; display: grid; place-items: center; border-radius: 50%; }
.df-x svg, .df-tick svg { width: .95rem; height: .95rem; }
/* Typical side: muted, with a line that draws through the text */
.df-bad { color: color-mix(in srgb, var(--text) 68%, var(--bg)); }
.df-x { border: 1.5px solid var(--border); }
.df-strike { background: linear-gradient(currentColor, currentColor) no-repeat 0 55% / 0% 2px; transition: background-size .8s ease calc(var(--n) * 220ms + .9s); }
.df.is-in .df-strike { background-size: 100% 2px; }
/* Ecoloop side: lime tick that draws itself */
.df-tick { background: var(--accent); color: var(--surface); }
.df-tick path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .6s ease calc(var(--n) * 220ms + 1.2s); }
.df.is-in .df-tick path { stroke-dashoffset: 0; }
.df-good { position: relative; overflow: hidden; margin: -.5rem 0 !important; padding: .5rem .9rem; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.df-row.is-hot .df-good { border-color: var(--accent); }
/* Light sweep across the hot Ecoloop cell */
.df-good::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: -40%; width: 40%; pointer-events: none; background: linear-gradient(100deg, transparent, color-mix(in srgb, var(--glow) 35%, transparent), transparent); opacity: 0; }
.df-row.is-hot .df-good::after { opacity: 1; animation: df-sweep 1.6s ease-in-out infinite; }
@keyframes df-sweep { to { inset-inline-start: 110%; } }

/* Meter: four segments light one after another */
.df-meter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); }
.df-meter-t { font-weight: 600; }
.df-meter-t strong { font: 800 1.5rem/1 var(--font-head); color: var(--accent); font-variant-numeric: tabular-nums; }
.df-segs { display: flex; gap: .5rem; flex: 1 1 14rem; max-width: 24rem; }
.df-segs i { flex: 1; height: 10px; border-radius: 99px; background: var(--border); transition: background .4s, box-shadow .4s; }
.df-segs i.is-lit { background: linear-gradient(90deg, var(--accent), var(--glow)); box-shadow: 0 0 12px var(--glow); }

/* Entrance (only when index.js has armed the section) */
.df.is-armed .df-tag, .df.is-armed .df-head-t p, .df.is-armed .df-fig, .df.is-armed .df-colhead, .df.is-armed .df-meter { opacity: 0; transform: translateY(1.25rem); transition: opacity .8s .4s, transform .8s .4s; }
.df.is-armed .df-w { opacity: 0; transform: translateY(.7em) rotate(4deg); transition: opacity .7s calc(var(--i) * 110ms + .15s), transform .7s calc(var(--i) * 110ms + .15s) cubic-bezier(.2, .9, .3, 1.3); }
.df.is-armed .df-row { opacity: 0; transform: translateX(calc(var(--dx) * -2.5rem)); filter: blur(5px); }
.df.is-in .df-tag, .df.is-in .df-head-t p, .df.is-in .df-fig, .df.is-in .df-colhead, .df.is-in .df-meter, .df.is-in .df-w { opacity: 1; transform: none; }
.df.is-armed.is-in .df-row { opacity: 1; filter: none; transform: none; transition: opacity .7s calc(var(--n) * 220ms + .5s), transform .7s calc(var(--n) * 220ms + .5s) cubic-bezier(.2, .9, .3, 1), filter .7s calc(var(--n) * 220ms + .5s), border-color .4s, box-shadow .4s; }
.df.is-armed.is-in .df-row.is-hot { transform: translateX(calc(var(--dx) * 6px)); }

/* Tablet / mobile: header stacks, each row becomes a card with labelled cells */
@media (max-width: 900px) {
  .df-head { grid-template-columns: minmax(0, 1fr); }
  .df-colhead { display: none; }
  .df-row { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
  .df-row p { flex-wrap: wrap; }
  .df-lbl { display: block; flex-basis: 100%; font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  .df-good { margin: 0 !important; padding: .75rem .9rem; }
  .df-row.is-hot { transform: none; }
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .df::before, .df-tag i, .df-photo img, .df-row.is-hot .df-good::after { animation: none; }
  .df-strike, .df-tick path, .df-row, .df-segs i { transition: none; }
  .df-strike { background-size: 100% 2px; } .df-tick path { stroke-dashoffset: 0; }
}

/* 29. ABOUT CTA – simple closing call-to-action ------------------------------ */
/* Dark band in light mode, light band in dark mode (text and background swap). Colour variables only. */
.ab-cta { --ov: var(--text); padding-block: clamp(4rem, 8vw, 6.5rem); background: var(--surface); border-top: 1px solid var(--border); }
[data-theme="dark"] .ab-cta { --ov: var(--bg); }
.ab-cta-card {
  position: relative; isolation: isolate; overflow: hidden; max-width: 1080px; margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--text); color: var(--bg); border-radius: 22px;
}
/* Light sweep gliding across the band */
.ab-cta-card::after {
  content: ""; position: absolute; inset-block: 0; inset-inline-start: -40%; width: 40%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, color-mix(in srgb, var(--glow) 28%, transparent), transparent);
  animation: ab-sweep 6s ease-in-out infinite;
}
@keyframes ab-sweep { to { inset-inline-start: 110%; } }
.ab-cta-t { display: grid; gap: .75rem; }
.ab-cta h2 { margin: 0; font: 800 clamp(1.6rem, 3vw, 2.3rem)/1.2 var(--font-head); letter-spacing: -.01em; }
.ab-cta p { margin: 0; max-width: 36rem; color: color-mix(in srgb, var(--bg) 88%, var(--text)); }
.ab-cta-btns { display: flex; flex-wrap: wrap; gap: 1rem; }
.ab-cta-ghost { color: var(--bg); border: 1.5px solid color-mix(in srgb, var(--bg) 60%, var(--text)); }
.ab-cta-ghost:hover { border-color: var(--glow); color: var(--glow); }
.ab-cta .btn-hero--solid svg { transition: transform .3s; }
.ab-cta .btn-hero--solid:hover svg { transform: translateX(4px); }
.ab-cta.is-armed .ab-cta-card { opacity: 0; transform: translateY(1.5rem); }
.ab-cta.is-in .ab-cta-card { opacity: 1; transform: none; transition: opacity .8s, transform .8s; }
@media (max-width: 820px) { .ab-cta-card { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .ab-cta-card::after { animation: none; } .ab-cta.is-in .ab-cta-card { transition: none; } }

/* 30. ABOUT SECTION 6: CUSTOMER STORIES (testimonial carousel) ----------------- */
/* Five cards share one grid cell and are slid into place by data-pos (-2 -1 0 1 2). Sizes use cqw (width of .tm-wrap), so the row always fits. Colour variables only. */
.tm {
  --ov: var(--text);                                   /* text colour used on lime buttons */
  position: relative; isolation: isolate; overflow: clip;
  padding-block: clamp(4rem, 8vw, 6.5rem);             /* top and bottom are equal */
  background: var(--bg); color: var(--text); border-top: 1px solid var(--border);
}
[data-theme="dark"] .tm { --ov: var(--bg); }
.tm::before {                                          /* slow drifting glow behind the row */
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: 36rem; height: 36rem; border-radius: 50%;
  inset-block-start: 22%; inset-inline-start: 50%; margin-inline-start: -18rem;
  background: radial-gradient(circle, color-mix(in srgb, var(--glow) 20%, transparent), transparent 70%);
  animation: tm-drift 14s ease-in-out infinite alternate;
}
@keyframes tm-drift { to { transform: translateX(8rem) scale(1.15); } }

/* ---- Header (centred) ---- */
.tm-head { display: grid; gap: 1.1rem; justify-items: center; text-align: center; max-width: 44rem; margin: 0 auto 3rem; }
.tm-tag { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; }
.tm-tag i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); animation: tm-blink 1.6s ease-in-out infinite; }
@keyframes tm-blink { 50% { opacity: .3; transform: scale(.7); } }
.tm-title { margin: 0; font: 800 clamp(2.1rem, 4.4vw, 3.4rem)/1.12 var(--font-head); letter-spacing: -.02em; }
.tm-title em { font-style: normal; color: var(--accent); }
.tm-head p { margin: 0; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }

/* ---- Carousel ---- */
.tm-wrap { container-type: inline-size; max-width: 1180px; margin-inline: auto; outline-offset: 8px; border-radius: var(--radius); }
.tm-stage { display: grid; place-items: center; overflow-x: clip; padding-block: 6px; }   /* tallest card sets the height */
.tm-card {
  --w: 30cqw; --x: 0cqw; --ih: 21cqw; --pd: 1rem;
  grid-area: 1 / 1; width: var(--w); padding: var(--pd);
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px; overflow: hidden;
  transform: translateX(calc(var(--x) * var(--dx, 1)));
  transition: transform .8s cubic-bezier(.65, 0, .25, 1), width .8s cubic-bezier(.65, 0, .25, 1), padding .8s, opacity .6s;
}
[dir="rtl"] .tm { --dx: -1; }
/* Positions: centre card is open, side cards are photo only */
.tm-card[data-pos="0"]  { --w: 30cqw; --x: 0cqw;   --ih: 21cqw; --pd: 1rem; z-index: 3; box-shadow: 0 22px 50px color-mix(in srgb, var(--glow) 24%, transparent); }
.tm-card[data-pos="-1"] { --w: 15cqw; --x: -24.5cqw; --ih: 20cqw; --pd: 0; z-index: 2; cursor: pointer; }
.tm-card[data-pos="1"]  { --w: 15cqw; --x: 24.5cqw;  --ih: 20cqw; --pd: 0; z-index: 2; cursor: pointer; }
.tm-card[data-pos="-2"] { --w: 15cqw; --x: -41.5cqw; --ih: 20cqw; --pd: 0; z-index: 1; cursor: pointer; }
.tm-card[data-pos="2"]  { --w: 15cqw; --x: 41.5cqw;  --ih: 20cqw; --pd: 0; z-index: 1; cursor: pointer; }
.tm-card[data-pos="-1"]:hover, .tm-card[data-pos="1"]:hover { border-color: var(--accent); }

/* Photo */
.tm-img { position: relative; height: var(--ih); overflow: hidden; border-radius: 16px; background: var(--bg); transition: height .8s cubic-bezier(.65, 0, .25, 1); }
.tm-card:not([data-pos="0"]) .tm-img { border-radius: 21px; }
.tm-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tm-card[data-pos="0"] .tm-img img { animation: tm-zoom 10s ease-in-out infinite alternate; }
@keyframes tm-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
/* Scan line that sweeps down the photo when a card arrives in the centre */
.tm-img::after { content: ""; position: absolute; inset-inline: 0; top: 0; height: 28%; pointer-events: none; opacity: 0; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--glow) 55%, transparent), transparent); }
.tm-card.is-zap .tm-img::after { animation: tm-scan .9s ease-out; }
@keyframes tm-scan { 0% { top: -30%; opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* Text area: collapses to nothing on side cards, opens on the centre card */
.tm-body { display: grid; gap: 1rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .8s, opacity .5s; }
.tm-card[data-pos="0"] .tm-body { max-height: 22rem; opacity: 1; padding-top: 1.1rem; transition-delay: 0s, .35s; }
.tm-quote { margin: 0; font-size: 1rem; line-height: 1.6; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }
.tm-who { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .75rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.tm-avatar { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; font: 800 1rem var(--font-head); background: var(--glow); color: var(--ov); }
.tm-name { display: grid; min-width: 0; }
.tm-name strong { font: 700 1rem/1.3 var(--font-head); }
.tm-name small { font-size: .8125rem; line-height: 1.4; color: color-mix(in srgb, var(--text) 78%, var(--surface)); }
.tm-pill { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .75rem; font: 700 .8125rem var(--font-head); border-radius: 999px; background: color-mix(in srgb, var(--glow) 34%, var(--surface)); border: 1px solid var(--accent); color: var(--text); white-space: nowrap; }
.tm-pill svg { width: 14px; height: 14px; color: var(--accent); }

/* Controls */
.tm-ctrl { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 1.5rem; }
.tm-btn { justify-self: center; display: grid; place-items: center; width: 3.25rem; height: 2.5rem; border-radius: 10px; cursor: pointer; background: var(--surface); color: var(--accent); border: 1.5px solid var(--accent); transition: background .25s, color .25s, box-shadow .25s, transform .25s; }
.tm-btn svg { width: 20px; height: 20px; }
.tm-btn:hover, .tm-btn:focus-visible { background: var(--glow); color: var(--ov); box-shadow: 0 0 20px color-mix(in srgb, var(--glow) 60%, transparent); }
.tm-btn:active { transform: scale(.94); }
.tm-mid { display: grid; gap: .6rem; justify-items: center; min-width: 9rem; }
.tm-count { font-size: .875rem; font-weight: 600; letter-spacing: .06em; color: color-mix(in srgb, var(--text) 78%, var(--surface)); }
.tm-count strong { color: var(--text); }
.tm-prog { width: 100%; height: 3px; border-radius: 3px; background: var(--border); overflow: hidden; }
.tm-prog i { display: block; width: 100%; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
[dir="rtl"] .tm-prog i { transform-origin: right; }
.tm-prog i.run { animation: tm-fill 5s linear forwards; }
@keyframes tm-fill { to { transform: scaleX(1); } }

/* CTA */
.tm-cta { display: flex; justify-content: center; margin-top: 2.5rem; }
.tm-cta .btn-hero svg { transition: transform .3s; }
.tm-cta .btn-hero:hover svg { transform: translateX(4px); }

/* Tablet: only the centre card and one card each side */
@media (max-width: 900px) {
  .tm-card[data-pos="0"]  { --w: 54cqw; --ih: 38cqw; }
  .tm-card[data-pos="-1"] { --w: 20cqw; --x: -39cqw; --ih: 30cqw; }
  .tm-card[data-pos="1"]  { --w: 20cqw; --x: 39cqw;  --ih: 30cqw; }
  .tm-card[data-pos="-2"], .tm-card[data-pos="2"] { --w: 20cqw; --ih: 30cqw; opacity: 0; pointer-events: none; }
  .tm-card[data-pos="-2"] { --x: -60cqw; } .tm-card[data-pos="2"] { --x: 60cqw; }
}
/* Phone: one story at a time */
@media (max-width: 560px) {
  .tm-card[data-pos="0"] { --w: 100cqw; --ih: 62cqw; }
  .tm-card[data-pos="-1"], .tm-card[data-pos="1"], .tm-card[data-pos="-2"], .tm-card[data-pos="2"] { --w: 100cqw; --ih: 62cqw; opacity: 0; pointer-events: none; }
  .tm-card[data-pos="-1"], .tm-card[data-pos="-2"] { --x: -110cqw; } .tm-card[data-pos="1"], .tm-card[data-pos="2"] { --x: 110cqw; }
  .tm-who { grid-template-columns: auto minmax(0, 1fr); } .tm-pill { grid-column: 1 / -1; justify-self: start; }
  .tm-ctrl { grid-template-columns: auto 1fr auto; gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tm::before, .tm-tag i, .tm-card[data-pos="0"] .tm-img img { animation: none; }
  .tm-card, .tm-img, .tm-body { transition: none; } .tm-card.is-zap .tm-img::after { animation: none; }
}

/* 31. SERVICES SECTION 2: HOME E-WASTE PICKUP ---------------------------------- */
/* Street scene sized in cqw (width of .hpk-stage) so every part keeps its place at any screen width. Colour variables only. */
.hpk {
  --ov: var(--text);                                   /* text colour used on lime buttons */
  position: relative; isolation: isolate; overflow: clip;
  padding-block: clamp(4rem, 8vw, 6.5rem);             /* top and bottom are equal */
  background: var(--bg); color: var(--text);
}
[data-theme="dark"] .hpk { --ov: var(--bg); }
.hpk::before {                                         /* slow drifting glow */
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: 34rem; height: 34rem; border-radius: 50%;
  inset-block-start: -10rem; inset-inline-end: -8rem;
  background: radial-gradient(circle, color-mix(in srgb, var(--glow) 22%, transparent), transparent 70%);
  animation: hpk-drift 15s ease-in-out infinite alternate;
}
@keyframes hpk-drift { to { transform: translate(-5rem, 4rem) scale(1.2); } }

/* ---- Header ---- */
.hpk-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin-bottom: 3rem; }
.hpk-head-t { display: grid; gap: 1.25rem; justify-items: start; }
.hpk-tag { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; }
.hpk-tag i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); animation: hpk-blink 1.6s ease-in-out infinite; }
@keyframes hpk-blink { 50% { opacity: .3; transform: scale(.7); } }
.hpk-title { margin: 0; font: 800 clamp(2.2rem, 4.6vw, 3.6rem)/1.1 var(--font-head); letter-spacing: -.02em; }
.hpk-title em { font-style: normal; color: var(--accent); }
.hpk-head-t p { margin: 0; max-width: 36rem; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }
.hpk-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.hpk-facts li { display: flex; align-items: center; gap: .7rem; font-weight: 600; }
.hpk-facts svg { flex: none; width: 1.6rem; height: 1.6rem; padding: .3rem; border-radius: 50%; background: var(--glow); color: var(--ov); }
.hpk-head .btn-hero svg { transition: transform .3s; }
.hpk-head .btn-hero:hover svg { transform: translateX(4px); }
.hpk-fig { margin: 0; display: grid; gap: .9rem; }
.hpk-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.hpk-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: hpk-zoom 12s ease-in-out infinite alternate; }
@keyframes hpk-zoom { to { transform: scale(1.07); } }
.hpk-fig figcaption { font-size: .875rem; color: color-mix(in srgb, var(--text) 80%, var(--surface)); }

/* ---- Street scene ---- */
.hpk-stage {
  --ox: 47.3cqw; --oy: 11.4cqw; --dx: 38.2cqw; --dy: 18cqw;   /* where devices start (hands) and how far they hop (truck rear) */
  container-type: inline-size; position: relative; direction: ltr;   /* the scene never mirrors: the truck always drives left */
  height: 42cqw; overflow: hidden; border-radius: 22px; border: 1px solid var(--border); background: var(--surface);
}
/* Pavement band (top part) */
.hpk-sky { position: absolute; inset: 0 0 auto 0; height: 25cqw; background: linear-gradient(180deg, color-mix(in srgb, var(--glow) 16%, var(--surface)), var(--surface)); }
.hpk-house { position: absolute; left: 3cqw; bottom: 0; width: 32cqw; height: 28cqw; object-fit: contain; object-position: center bottom; }
.hpk-pair { position: absolute; left: 38cqw; bottom: 0; height: 22cqw; width: auto; }
/* Road band (bottom part) */
.hpk-road { position: absolute; inset: 25cqw 0 0 0; background: color-mix(in srgb, var(--text) 7%, var(--surface)); border-top: 1px solid var(--border); }
.hpk-lane { position: absolute; inset-inline: 0; bottom: .8cqw; height: max(4px, .6cqw); background: repeating-linear-gradient(90deg, var(--muted) 0 3cqw, transparent 3cqw 6cqw); background-size: 6cqw 100%; opacity: .6; animation: hpk-lane .5s linear infinite; animation-play-state: paused; }
@keyframes hpk-lane { to { background-position: 6cqw 0; } }
/* Truck: parked at the right, starts off-screen right, drives off to the left */
.hpk-truck { position: absolute; left: 60cqw; top: 1cqw; width: 30cqw; height: auto; transform: translateX(70cqw); }
[data-phase="0"] .hpk-truck { transform: translateX(0); transition: transform 2.4s cubic-bezier(.2, .7, .2, 1); animation: hpk-roll .3s ease-in-out infinite alternate; }
[data-phase="1"] .hpk-truck { transform: translateX(0); animation: hpk-bump 3.6s ease-in-out both; }
[data-phase="2"] .hpk-truck { transform: translateX(0); }
[data-phase="3"] .hpk-truck { transform: translateX(-110cqw); transition: transform 2.3s cubic-bezier(.6, 0, .9, .5); animation: hpk-roll .3s ease-in-out infinite alternate; }
[data-phase="reset"] .hpk-truck { transform: translateX(70cqw); transition: none; }
@keyframes hpk-roll { to { margin-top: -.3cqw; } }                     /* gentle road wobble while moving */
@keyframes hpk-bump { 0%, 100% { margin-top: 0; } 38%, 66%, 94% { margin-top: 0; } 30%, 58%, 86% { margin-top: .7cqw; } }  /* dips as each device lands */
[data-phase="0"] .hpk-lane, [data-phase="3"] .hpk-lane { animation-play-state: running; }
/* Devices: hop from the hands into the truck bed (one after another during phase 1) */
.hpk-item {
  position: absolute; left: var(--ox); top: var(--oy); z-index: 2; width: 10cqw; height: auto; margin: -3.3cqw 0 0 -5cqw; opacity: 0;
  filter: drop-shadow(0 .5cqw .6cqw color-mix(in srgb, var(--text) 25%, transparent));
}
[data-phase="1"] .hpk-item { animation: hpk-hop 1.1s cubic-bezier(.4, 0, .6, 1) both; }
[data-phase="1"] .hpk-item--1 { animation-delay: .2s; }
[data-phase="1"] .hpk-item--2 { animation-delay: 1.1s; }
[data-phase="1"] .hpk-item--3 { animation-delay: 2s; }
@keyframes hpk-hop {
  0%   { opacity: 0; transform: translate(0, 0) scale(.3); }
  15%  { opacity: 1; transform: translate(calc(var(--dx) * .05), calc(var(--dy) * .05 - 1cqw)) scale(.5); }
  50%  { transform: translate(calc(var(--dx) * .5), calc(var(--dy) * .5 - 7cqw)) scale(1); }
  80%  { opacity: 1; }                                  /* stays solid until it drops into the truck */
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.45); }
}
/* Confirmation chip + electric bolt (phase 2) */
.hpk-done, .hpk-zap { position: absolute; top: 5cqw; display: grid; place-items: center; border-radius: 50%; opacity: 0; transform: scale(.4); transition: opacity .4s, transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.hpk-done { left: 82cqw; width: 6cqw; height: 6cqw; background: var(--glow); color: var(--ov); }
.hpk-zap { left: 90cqw; width: 4cqw; height: 4cqw; border: 1.5px solid var(--accent); color: var(--accent); background: var(--surface); }
.hpk-done svg { width: 58%; height: 58%; } .hpk-zap svg { width: 58%; height: 58%; }
[data-phase="2"] .hpk-done, [data-phase="2"] .hpk-zap { opacity: 1; transform: scale(1); }
[data-phase="2"] .hpk-zap { animation: hpk-buzz .6s steps(2) infinite; }
@keyframes hpk-buzz { 50% { opacity: .45; } }

/* ---- Steps ---- */
.hpk-steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.hpk-step { display: grid; gap: .5rem; align-content: start; padding: 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .4s, box-shadow .4s, transform .4s; }
.hpk-step strong { font: 700 1.0625rem/1.3 var(--font-head); }
.hpk-step span:last-child { font-size: .9375rem; line-height: 1.55; color: color-mix(in srgb, var(--text) 82%, var(--surface)); }
.hpk-num { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; font: 800 .875rem var(--font-head); background: var(--bg); border: 1.5px solid var(--border); color: var(--text); transition: background .4s, border-color .4s, color .4s; }
.hpk-step.is-on { border-color: var(--accent); box-shadow: 0 14px 34px color-mix(in srgb, var(--glow) 26%, transparent); transform: translateY(-4px); }
.hpk-step.is-on .hpk-num { background: var(--glow); border-color: var(--glow); color: var(--ov); }
.hpk-step.is-done .hpk-num { border-color: var(--accent); color: var(--accent); }

/* ---- Responsive ---- */
@media (max-width: 900px) { .hpk-head { grid-template-columns: minmax(0, 1fr); } .hpk-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {                            /* taller scene so the truck and people stay readable */
  .hpk-stage { --ox: 53.5cqw; --oy: 16cqw; --dx: 37cqw; --dy: 28.3cqw; height: 66cqw; }
  .hpk-sky { height: 36cqw; } .hpk-road { inset-block-start: 36cqw; }
  .hpk-house { left: 1cqw; width: 42cqw; height: 36cqw; }
  .hpk-pair { left: 40cqw; height: 32cqw; }
  .hpk-truck { left: 46cqw; top: 2cqw; width: 52cqw; }
  .hpk-done { left: 80cqw; top: 8cqw; width: 8cqw; height: 8cqw; } .hpk-zap { display: none; }
  .hpk-item { width: 16cqw; margin: -5.3cqw 0 0 -8cqw; }
}
@media (max-width: 520px) { .hpk-steps { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  .hpk::before, .hpk-tag i, .hpk-photo img, .hpk-lane, .hpk-zap { animation: none !important; }
  .hpk-truck, .hpk-step, .hpk-num, .hpk-done, .hpk-zap { transition: none !important; }
}

/* 32. SERVICES SECTION 3: OFFICE & CORPORATE E-WASTE DRIVES -------------------- */
/* Office floor: 10 columns x 5 rows of workstations, swept by a trolley. Colour variables only. */
.odr {
  --ov: var(--text);                                   /* text colour used on lime fills */
  position: relative; isolation: isolate; overflow: clip;
  padding-block: clamp(4rem, 8vw, 6.5rem);             /* top and bottom are equal */
  background: var(--surface); color: var(--text); border-top: 1px solid var(--border);
}
[data-theme="dark"] .odr { --ov: var(--bg); }
.odr::before {                                         /* slow drifting glow */
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: 34rem; height: 34rem; border-radius: 50%;
  inset-block-end: -12rem; inset-inline-start: -8rem;
  background: radial-gradient(circle, color-mix(in srgb, var(--glow) 22%, transparent), transparent 70%);
  animation: odr-drift 15s ease-in-out infinite alternate;
}
@keyframes odr-drift { to { transform: translate(6rem, -4rem) scale(1.2); } }
.odr-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }

/* ---- Left column ---- */
.odr-t { display: grid; gap: 1.25rem; justify-items: start; }
.odr-tag { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; }
.odr-tag i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); animation: odr-blink 1.6s ease-in-out infinite; }
@keyframes odr-blink { 50% { opacity: .3; transform: scale(.7); } }
.odr-title { margin: 0; font: 800 clamp(2.1rem, 4.2vw, 3.3rem)/1.12 var(--font-head); letter-spacing: -.02em; }
.odr-title em { font-style: normal; color: var(--accent); }
.odr-t > p { margin: 0; max-width: 34rem; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }
.odr-plan { width: 100%; max-width: 34rem; display: grid; gap: 1rem; padding: 1.5rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); }
.odr-lbl { font-weight: 600; }
.odr-lbl strong { color: var(--accent); font-size: 1.125rem; }
.odr-range { width: 100%; margin: 0; accent-color: var(--accent); cursor: pointer; }
.odr-est { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.odr-est li { display: grid; gap: .3rem; justify-items: start; align-content: start; padding: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.odr-est svg { width: 1.5rem; height: 1.5rem; color: var(--accent); }
.odr-est strong { font: 800 1.75rem/1.1 var(--font-head); }
.odr-est span { font-size: .875rem; line-height: 1.4; color: color-mix(in srgb, var(--text) 80%, var(--surface)); }
.odr-note { margin: 0; font-size: .875rem; line-height: 1.5; color: color-mix(in srgb, var(--text) 78%, var(--surface)); }
.odr-t .btn-hero svg { transition: transform .3s; }
.odr-t .btn-hero:hover svg { transform: translateX(4px); }

/* ---- Right column: the floor ---- */
.odr-floor { direction: ltr; display: grid; gap: 1rem; padding: clamp(1rem, 2.5vw, 1.75rem); background: var(--bg); border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 22px 50px color-mix(in srgb, var(--glow) 18%, transparent); }
.odr-rail, .odr-desks { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: clamp(.25rem, 1vw, .6rem); }
.odr-rc { display: grid; place-items: center; height: 2rem; border-bottom: 2px solid var(--border); color: var(--accent); transition: border-color .3s; }
.odr-rc svg { width: 1.25rem; height: 1.25rem; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.odr-rc.is-on { border-color: var(--accent); }
.odr-rc.is-on svg { opacity: 1; transform: none; }
.odr-desks { grid-auto-flow: column; grid-template-rows: repeat(5, auto); }
.odr-desks { grid-template-columns: none; grid-template-rows: repeat(5, auto); grid-auto-columns: minmax(0, 1fr); }   /* fills column by column */
.odr-desk { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 10px; color: var(--muted); background: var(--surface); border: 1.5px dashed var(--border); opacity: .3; transition: background .35s, border-color .35s, color .35s, opacity .35s, transform .35s; }
.odr-desk svg { grid-area: 1 / 1; width: 52%; height: 52%; transition: opacity .3s; }
.odr-desk svg:last-child { opacity: 0; }
.odr-desk.is-live { opacity: 1; }
.odr-desk.is-tag { border: 1.5px solid var(--accent); color: var(--accent); background: color-mix(in srgb, var(--glow) 22%, var(--surface)); transform: scale(1.06); }
.odr-desk.is-done { border: 1.5px solid var(--glow); color: var(--ov); background: var(--glow); }
.odr-desk.is-done svg:first-child { opacity: 0; } .odr-desk.is-done svg:last-child { opacity: 1; }
.odr-count { display: grid; gap: .6rem; font-weight: 600; }
.odr-count strong { color: var(--accent); font-size: 1.125rem; }
.odr-bar { display: block; height: 6px; border-radius: 6px; background: var(--border); overflow: hidden; }
.odr-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .4s; }
.odr-leg { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .875rem; color: color-mix(in srgb, var(--text) 82%, var(--surface)); }
.odr-leg li { display: flex; align-items: center; gap: .5rem; }
.odr-k { width: .9rem; height: .9rem; border-radius: 4px; }
.odr-k--wait { border: 1.5px dashed var(--muted); } .odr-k--tag { border: 1.5px solid var(--accent); background: color-mix(in srgb, var(--glow) 22%, var(--surface)); } .odr-k--done { background: var(--glow); }

/* ---- Photo band ---- */
.odr-fig { margin: 3rem 0 0; display: grid; gap: .9rem; }
.odr-photo { position: relative; aspect-ratio: 21 / 7; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg); }
.odr-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; animation: odr-zoom 12s ease-in-out infinite alternate; }
@keyframes odr-zoom { to { transform: scale(1.06); } }
.odr-fig figcaption { font-size: .875rem; color: color-mix(in srgb, var(--text) 80%, var(--surface)); }

/* ---- Responsive ---- */
@media (max-width: 900px) { .odr-grid { grid-template-columns: minmax(0, 1fr); } .odr-photo { aspect-ratio: 16 / 9; } }
@media (max-width: 520px) { .odr-est { grid-template-columns: minmax(0, 1fr); } .odr-plan { padding: 1.25rem; } .odr-desk { border-radius: 6px; } }
@media (prefers-reduced-motion: reduce) {
  .odr::before, .odr-tag i, .odr-photo img { animation: none; }
  .odr-desk, .odr-rc, .odr-rc svg, .odr-bar i { transition: none; }
}

/* 33. SERVICES CTA: choose a service, the button follows ------------------------ */
.sc { --ov: var(--text); padding-block: clamp(4rem, 8vw, 6.5rem); background: var(--surface); border-top: 1px solid var(--border); }   /* top and bottom are equal */
[data-theme="dark"] .sc { --ov: var(--bg); }
.sc-card { position: relative; max-width: 1080px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; padding: clamp(1.75rem, 4vw, 3rem); background: var(--bg); border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 22px 50px color-mix(in srgb, var(--glow) 18%, transparent); }
.sc-t { display: grid; gap: 1.1rem; }
.sc h2 { margin: 0; font: 800 clamp(1.6rem, 3vw, 2.3rem)/1.2 var(--font-head); letter-spacing: -.01em; }
.sc-opts { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.sc-leg { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }   /* visible to screen readers only */
.sc-chip { position: relative; cursor: pointer; }
.sc-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sc-chip span { display: inline-block; padding: .6rem 1.2rem; font: 600 .9375rem var(--font-head); border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text); transition: background .25s, border-color .25s, box-shadow .25s; }
.sc-chip:hover span { border-color: var(--accent); }
.sc-chip input:checked + span { background: var(--glow); border-color: var(--glow); color: var(--ov); box-shadow: 0 0 18px color-mix(in srgb, var(--glow) 50%, transparent); }
.sc-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.sc-t p { margin: 0; max-width: 36rem; min-height: 3.3em; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }
.sc .btn-hero svg { transition: transform .3s; } .sc .btn-hero:hover svg { transform: translateX(4px); }
@media (max-width: 820px) { .sc-card { grid-template-columns: minmax(0, 1fr); justify-items: start; } }

/* 34. SERVICES SECTION 4: SECURE DATA-SAFE DISPOSAL ---------------------------- */
/* Three panels: wiping platter, step rail, certificate. Everything is driven by data-phase (0-3) on the section. Colour variables only. */
.dsp {
  --ov: var(--text);                                   /* text colour used on lime fills */
  position: relative; isolation: isolate; overflow: clip;
  padding-block: clamp(4rem, 8vw, 6.5rem);             /* top and bottom are equal */
  background: var(--bg); color: var(--text); border-top: 1px solid var(--border);
}
[data-theme="dark"] .dsp { --ov: var(--bg); }
.dsp::before {                                         /* slow drifting glow */
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: 34rem; height: 34rem; border-radius: 50%;
  inset-block-start: 20%; inset-inline-end: -10rem;
  background: radial-gradient(circle, color-mix(in srgb, var(--glow) 20%, transparent), transparent 70%);
  animation: dsp-drift 15s ease-in-out infinite alternate;
}
@keyframes dsp-drift { to { transform: translate(-6rem, 4rem) scale(1.2); } }

/* ---- Header ---- */
.dsp-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: end; margin-bottom: 3rem; }
.dsp-head-t { display: grid; gap: 1.25rem; justify-items: start; }
.dsp-tag { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; }
.dsp-tag i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); animation: dsp-blink 1.6s ease-in-out infinite; }
@keyframes dsp-blink { 50% { opacity: .3; transform: scale(.7); } }
.dsp-title { margin: 0; font: 800 clamp(2.2rem, 4.6vw, 3.6rem)/1.1 var(--font-head); letter-spacing: -.02em; }
.dsp-title em { font-style: normal; color: var(--accent); }
.dsp-head-r { display: grid; gap: 1.25rem; justify-items: start; }
.dsp-head-r p { margin: 0; max-width: 34rem; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }
.dsp-head .btn-hero svg { transition: transform .3s; } .dsp-head .btn-hero:hover svg { transform: translateX(4px); }

/* ---- Panels ---- */
.dsp-row { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, .95fr); gap: 1.5rem; align-items: stretch; }
.dsp-card { margin: 0; padding: clamp(1.25rem, 2.5vw, 1.75rem); background: var(--surface); border: 1px solid var(--border); border-radius: 22px; transition: border-color .4s, box-shadow .4s; }
.dsp[data-phase="1"] .dsp-disk { border-color: var(--accent); box-shadow: 0 20px 46px color-mix(in srgb, var(--glow) 24%, transparent); }
.dsp[data-phase="3"] .dsp-cert-wrap { border-color: var(--accent); box-shadow: 0 20px 46px color-mix(in srgb, var(--glow) 24%, transparent); }

/* Panel 1: platter */
.dsp-disk { display: grid; gap: 1.25rem; align-content: center; }
.dsp-svg { width: 100%; max-width: 21rem; margin-inline: auto; height: auto; overflow: visible; }
.dsp-plate { fill: var(--bg); stroke: var(--border); stroke-width: 2; }
.dsp-ring { fill: none; stroke: var(--accent); stroke-width: 9; stroke-dasharray: 5 2; transform-origin: 100px 100px; transition: stroke .6s, stroke-dasharray .6s, stroke-width .6s; transition-delay: calc(var(--i) * .7s); animation: dsp-spin 14s linear infinite; }
.dsp-ring:nth-child(even) { animation-direction: reverse; animation-duration: 18s; }
@keyframes dsp-spin { to { transform: rotate(360deg); } }
.dsp[data-phase="2"] .dsp-ring, .dsp[data-phase="3"] .dsp-ring { stroke: var(--border); stroke-dasharray: 100 0; stroke-width: 3; transition-delay: 0s; }
.dsp[data-phase="1"] .dsp-ring { stroke: var(--border); stroke-dasharray: 100 0; stroke-width: 3; }                    /* wipes outer ring first (delay per ring) */
.dsp-arm { transform-origin: 100px 100px; }
.dsp-arm line { stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; }
.dsp-arm circle { fill: var(--glow); stroke: var(--accent); stroke-width: 2; }
.dsp[data-phase="1"] .dsp-arm { animation: dsp-spin 2.2s linear infinite; }
.dsp[data-phase="2"] .dsp-arm { animation: dsp-spin 1.1s linear infinite; }
.dsp-hub { fill: var(--surface); stroke: var(--accent); stroke-width: 3; transition: fill .4s; }
.dsp[data-phase="3"] .dsp-hub { fill: var(--glow); }
.dsp-cap { display: grid; gap: .5rem; justify-items: center; text-align: center; font-weight: 600; }
.dsp-cap strong { font: 800 2rem/1 var(--font-head); color: var(--accent); }
.dsp-bar { width: 100%; max-width: 21rem; height: 6px; border-radius: 6px; background: var(--border); overflow: hidden; }
.dsp-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }

/* Panel 2: step rail (line fills as the phases pass) */
.dsp-rail { display: grid; align-content: center; }
.dsp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; position: relative; }
.dsp-steps::before { content: ""; position: absolute; inset-block: 1.2rem; inset-inline-start: 1.2rem; width: 2px; background: var(--border); }
.dsp-steps::after { content: ""; position: absolute; inset-block-start: 1.2rem; inset-inline-start: 1.2rem; width: 2px; height: calc(100% - 2.4rem); background: var(--accent); transform-origin: top; transform: scaleY(var(--fill, 0)); transition: transform .8s; }
.dsp-step { position: relative; z-index: 1; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.dsp-step > div { display: grid; gap: .25rem; }
.dsp-step strong { font: 700 1.0625rem/1.3 var(--font-head); }
.dsp-step div span { font-size: .9375rem; line-height: 1.55; color: color-mix(in srgb, var(--text) 82%, var(--surface)); }
.dsp-node { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; font: 800 .875rem var(--font-head); background: var(--surface); border: 2px solid var(--border); transition: background .4s, border-color .4s, color .4s, box-shadow .4s; }
.dsp-step.is-on .dsp-node { background: var(--glow); border-color: var(--glow); color: var(--ov); box-shadow: 0 0 18px color-mix(in srgb, var(--glow) 60%, transparent); }
.dsp-step.is-done .dsp-node { border-color: var(--accent); color: var(--accent); }

/* Panel 3: certificate */
.dsp-cert-wrap { display: grid; gap: 1rem; align-content: start; }
.dsp-opts { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.dsp-leg { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.dsp-chip { position: relative; cursor: pointer; }
.dsp-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.dsp-chip span { display: inline-block; padding: .45rem .95rem; font: 600 .875rem var(--font-head); border-radius: 999px; border: 1.5px solid var(--border); background: var(--bg); transition: background .25s, border-color .25s; }
.dsp-chip:hover span { border-color: var(--accent); }
.dsp-chip input:checked + span { background: var(--glow); border-color: var(--glow); color: var(--ov); }
.dsp-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.dsp-slot { display: block; height: 8px; border-radius: 8px; background: var(--border); }
.dsp-cert { position: relative; display: grid; gap: 1rem; padding: 1.25rem; background: var(--bg); border: 1px solid var(--accent); border-radius: 14px; opacity: .35; transform: translateY(-1rem) scale(.97); transition: opacity .7s, transform .8s cubic-bezier(.3, 1.3, .5, 1); }
.dsp[data-phase="3"] .dsp-cert { opacity: 1; transform: none; }
.dsp-cert-h { display: flex; align-items: center; gap: .6rem; }
.dsp-cert-h svg { flex: none; width: 1.4rem; height: 1.4rem; color: var(--accent); }
.dsp-cert-h strong { font: 700 1rem/1.3 var(--font-head); }
.dsp-cert dl { margin: 0; display: grid; gap: .75rem; }
.dsp-cert dl div { display: grid; gap: .1rem; padding-bottom: .75rem; border-bottom: 1px dashed var(--border); }
.dsp-cert dt { font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; color: color-mix(in srgb, var(--text) 78%, var(--surface)); }
.dsp-cert dd { margin: 0; font-weight: 700; }
.dsp-stamp { justify-self: start; display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .9rem; font: 800 .875rem var(--font-head); letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; background: var(--glow); color: var(--ov); opacity: 0; transform: scale(.5) rotate(-8deg); transition: opacity .4s .5s, transform .5s .5s cubic-bezier(.3, 1.8, .5, 1); }
.dsp-stamp svg { width: 1rem; height: 1rem; }
.dsp[data-phase="3"] .dsp-stamp { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 1000px) { .dsp-row { grid-template-columns: minmax(0, 1fr); } .dsp-head { grid-template-columns: minmax(0, 1fr); align-items: start; } }
@media (prefers-reduced-motion: reduce) {
  .dsp::before, .dsp-tag i, .dsp-ring, .dsp-arm { animation: none !important; }
  .dsp-ring, .dsp-node, .dsp-cert, .dsp-stamp, .dsp-bar i, .dsp-steps::after { transition: none !important; }
}

/* 36. SERVICES SECTION 5: HOW OUR COLLECTION PROCESS WORKS ------------------------ */
/* Photo stage (left) + four step cards (right). The active step drives the photo, caption and progress bar. Colour variables only. */
.cpw {
  --ov: var(--text);                                   /* text colour used on lime fills */
  --gap: 1.5rem;                                       /* one gap value: between columns and between cards */
  position: relative; isolation: isolate; overflow: clip;
  padding-block: clamp(4rem, 8vw, 6.5rem);             /* top and bottom are equal */
  background: color-mix(in srgb, var(--glow) 8%, var(--bg)); color: var(--text); border-top: 1px solid var(--border);
}
[data-theme="dark"] .cpw { --ov: var(--bg); }
.cpw::before {                                         /* slow drifting glow */
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: 32rem; height: 32rem; border-radius: 50%;
  inset-block-start: 10%; inset-inline-start: -10rem;
  background: radial-gradient(circle, color-mix(in srgb, var(--glow) 20%, transparent), transparent 70%);
  animation: cpw-drift 14s ease-in-out infinite alternate;
}
@keyframes cpw-drift { to { transform: translate(6rem, 5rem) scale(1.2); } }

/* ---- Header ---- */
.cpw-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: end; margin-bottom: 3rem; }
.cpw-head-t { display: grid; gap: 1.25rem; justify-items: start; }
.cpw-tag { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; }
.cpw-tag i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); animation: cpw-blink 1.6s ease-in-out infinite; }
@keyframes cpw-blink { 50% { opacity: .3; transform: scale(.7); } }
.cpw-title { margin: 0; font: 800 clamp(2.2rem, 4.6vw, 3.6rem)/1.1 var(--font-head); letter-spacing: -.02em; }
.cpw-title em { font-style: normal; color: var(--accent); }
.cpw-head-r { display: grid; gap: 1.25rem; justify-items: start; }
.cpw-head-r p { margin: 0; max-width: 34rem; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }
.cpw-head .btn-hero svg { transition: transform .3s; } .cpw-head .btn-hero:hover svg { transform: translateX(4px); }

/* ---- Two columns ---- */
.cpw-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: stretch; }

/* ---- Left: photo stage (photo fills the column height, caption below it) ---- */
.cpw-view { display: flex; flex-direction: column; gap: 1rem; margin: 0; min-width: 0; }
.cpw-frame { position: relative; flex: 1; min-height: 22rem; overflow: hidden; border-radius: 24px; border: 1px solid var(--border); background: var(--surface); }
.cpw-img {                                             /* stacked photos: hidden = wiped away to the right and zoomed in */
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  clip-path: inset(0 100% 0 0); transform: scale(1.12);
  transition: clip-path .9s cubic-bezier(.65, 0, .25, 1), transform 1.4s cubic-bezier(.2, .7, .2, 1);
}
.cpw-img.is-on { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 1; }
.cpw-scan {                                            /* thin glowing line that sweeps down the photo */
  position: absolute; z-index: 2; inset-inline: 0; top: 0; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--glow), transparent); box-shadow: 0 0 18px var(--glow);
  animation: cpw-scan 3.6s ease-in-out infinite;
}
@keyframes cpw-scan { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: calc(100% - 3px); opacity: 0; } }
.cpw-cap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.cpw-cap-n { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.cpw-cap strong { font: 700 1.0625rem var(--font-head); text-align: end; }

/* ---- Right: step cards ---- */
.cpw-steps { display: grid; grid-auto-rows: 1fr; gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.cpw-li { position: relative; display: grid; min-width: 0; }
.cpw-li:not(:last-child)::after {                      /* connector line sits in the gap between two cards (never touches them) */
  content: ""; position: absolute; z-index: 1; width: 3px; border-radius: 3px; background: var(--border);
  inset-inline-start: calc(1.25rem + 1.5rem - 1.5px); top: calc(100% + .25rem); height: calc(var(--gap) - .5rem);
  transition: background .5s, box-shadow .5s;
}
.cpw-li.is-done:not(:last-child)::after { background: var(--accent); box-shadow: 0 0 10px var(--glow); }
.cpw-step {
  display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1.25rem; align-items: center; width: 100%;
  padding: 1.25rem; font: inherit; color: inherit; text-align: start; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .4s, box-shadow .4s, transform .4s, background .4s;
}
.cpw-step:hover { transform: translateX(4px); border-color: var(--accent); }
.cpw-step:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.cpw-step.is-on { border-color: var(--accent); background: color-mix(in srgb, var(--glow) 14%, var(--surface)); box-shadow: 0 14px 34px color-mix(in srgb, var(--glow) 28%, transparent); }
.cpw-node {                                            /* numbered circle; turns into a tick once the step is done */
  position: relative; display: grid; place-items: center; width: 3rem; aspect-ratio: 1; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--border); font: 800 1.125rem var(--font-head);
  transition: background .4s, border-color .4s, color .4s, box-shadow .4s;
}
.cpw-node svg { position: absolute; width: 1.375rem; height: 1.375rem; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .3s; }
.cpw-step.is-on .cpw-node { background: var(--accent); border-color: var(--accent); color: var(--bg); animation: cpw-pulse 1.8s ease-out infinite; }
.cpw-step.is-done .cpw-node { background: var(--glow); border-color: var(--accent); color: var(--ov); }
.cpw-step.is-done .cpw-node b { opacity: 0; }
.cpw-step.is-done .cpw-node svg { opacity: 1; transform: scale(1); }
@keyframes cpw-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--glow) 70%, transparent); } 100% { box-shadow: 0 0 0 .875rem transparent; } }
.cpw-txt { display: grid; gap: .4rem; min-width: 0; }
.cpw-txt h3 { margin: 0; font: 700 1.25rem/1.25 var(--font-head); }
.cpw-txt p { margin: 0; font-size: 1rem; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }
.cpw-prog { display: block; height: 4px; margin-top: .5rem; border-radius: 4px; background: var(--border); overflow: hidden; }   /* progress bar sits inside the card, under the text */
.cpw-prog b { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--accent), var(--glow)); transform: scaleX(0); transform-origin: left; }
.cpw-step.is-done .cpw-prog b { transform: scaleX(1); }
.cpw-step.is-on .cpw-prog b { animation: cpw-fill var(--dur, 5s) linear forwards; }
.cpw-steps:hover .cpw-step.is-on .cpw-prog b, .cpw-steps:focus-within .cpw-step.is-on .cpw-prog b { animation-play-state: paused; }   /* hover / focus pauses the autoplay */
@keyframes cpw-fill { to { transform: scaleX(1); } }

/* ---- Tablet / phone: one column ---- */
@media (max-width: 900px) {
  .cpw-head, .cpw-grid { grid-template-columns: 1fr; }
  .cpw-frame { flex: none; min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 480px) {
  .cpw-step { grid-template-columns: 2.5rem minmax(0, 1fr); gap: 1rem; padding: 1rem; }
  .cpw-node { width: 2.5rem; font-size: 1rem; }
  .cpw-li:not(:last-child)::after { inset-inline-start: calc(1rem + 1.25rem - 1.5px); }
  .cpw-cap { flex-direction: column; align-items: flex-start; gap: .25rem; }
  .cpw-cap strong { text-align: start; }
}
/* Reduced motion: no autoplay, no sweeping line, no pulsing; steps still change on click */
@media (prefers-reduced-motion: reduce) {
  .cpw::before, .cpw-scan, .cpw-tag i, .cpw-step.is-on .cpw-node { animation: none; }
  .cpw-scan { display: none; }
  .cpw-img, .cpw-step { transition: none; }
  .cpw-step.is-on .cpw-prog b { animation: none; transform: scaleX(1); }
}

/* 37. SERVICES SECTION 6: WHY CHOOSE OUR E-WASTE SERVICES? ------------------------- */
/* "Circuit board" layout: wide photo, then one trace with four solder-pad nodes. The JS sets data-on (0-4) and CSS lights the nodes / fills the trace. Colour variables only. */
.wcs {
  --ov: var(--text);                                   /* text colour used on lime fills */
  --gap: clamp(1.25rem, 2.5vw, 2rem);                  /* one gap value between the four columns */
  position: relative; isolation: isolate; overflow: clip;
  padding-block: clamp(4rem, 8vw, 6.5rem);             /* top and bottom are equal */
  background: var(--bg); color: var(--text); border-top: 1px solid var(--border);
}
[data-theme="dark"] .wcs { --ov: var(--bg); }
/* ---- Header ---- */
.wcs-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: end; margin-bottom: 3rem; }
.wcs-head-t { display: grid; gap: 1.25rem; justify-items: start; }
.wcs-tag { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; }
.wcs-tag i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); animation: wcs-blink 1.6s ease-in-out infinite; }
@keyframes wcs-blink { 50% { opacity: .3; transform: scale(.7); } }
.wcs-title { margin: 0; font: 800 clamp(2.2rem, 4.6vw, 3.6rem)/1.1 var(--font-head); letter-spacing: -.02em; }
.wcs-title em { font-style: normal; color: var(--accent); white-space: nowrap; }   /* keeps "E-Waste" on one line */
.wcs-head-r { display: grid; gap: 1.25rem; justify-items: start; }
.wcs-head-r p { margin: 0; max-width: 34rem; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }
.wcs-head .btn-hero svg { transition: transform .3s; } .wcs-head .btn-hero:hover svg { transform: translateX(4px); }

/* ---- Photo (caption below it) ---- */
.wcs-fig { display: grid; gap: 1rem; margin: 0 0 3rem; }
.wcs-frame { position: relative; overflow: hidden; aspect-ratio: 3 / 1; border-radius: 24px; border: 1px solid var(--border); background: var(--surface); clip-path: inset(0 0 0 0 round 24px); }
.wcs-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; animation: wcs-drift 18s ease-in-out infinite alternate; }
@keyframes wcs-drift { from { transform: scale(1.04) translateX(-1.5%); } to { transform: scale(1.12) translateX(1.5%); } }
.wcs-scan { position: absolute; inset-block: 0; width: 3px; inset-inline-start: 0; pointer-events: none; background: linear-gradient(180deg, transparent, var(--glow), transparent); box-shadow: 0 0 18px var(--glow); animation: wcs-scan 5s ease-in-out infinite; }
@keyframes wcs-scan { 0% { inset-inline-start: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { inset-inline-start: calc(100% - 3px); opacity: 0; } }
.wcs-cap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1.5rem; padding: .9rem 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.wcs-cap strong { font: 700 1.0625rem var(--font-head); }
.wcs-cap span { font-size: .9375rem; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }
/* shutter reveal when the section scrolls in (only when JS marks it live; without JS the photo is simply visible) */
.wcs.is-live .wcs-frame { animation: wcs-open 1.2s cubic-bezier(.65, 0, .25, 1) both; }
@keyframes wcs-open { from { clip-path: inset(0 50% 0 50% round 24px); } to { clip-path: inset(0 0 0 0 round 24px); } }

/* ---- Circuit trace: four equal columns ---- */
.wcs-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.wcs-pt { display: grid; align-content: start; gap: .6rem; min-width: 0; }
.wcs-row { position: relative; display: flex; align-items: center; margin-bottom: .75rem; }   /* node + the trace that leaves it */
.wcs-node {                                            /* solder pad: ring that powers up */
  position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 3.75rem; aspect-ratio: 1; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--border); color: var(--muted);
  transition: background .5s, border-color .5s, color .5s, box-shadow .5s;
}
.wcs-node svg { width: 1.75rem; height: 1.75rem; }
.wcs-node svg path, .wcs-node svg circle { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .9s ease-out; }
.wcs-seg { flex: 1; height: 3px; margin-inline: .5rem; border-radius: 3px; background: var(--border); }
.wcs-seg b { display: block; width: 100%; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--glow)); box-shadow: 0 0 10px var(--glow); transform: scaleX(1); transform-origin: left; transition: transform 1s ease-in-out; }
.wcs-seg b::after {                                    /* the spark riding at the head of the current */
  content: ""; float: right; width: .5rem; height: .5rem; margin-top: -.125rem; border-radius: 50%; background: var(--glow); box-shadow: 0 0 12px 3px var(--glow);
}
/* off state (before the current arrives) */
.wcs-pt:not(.is-lit) .wcs-seg b { transform: scaleX(0); }
.wcs-pt:not(.is-lit) .wcs-node svg path, .wcs-pt:not(.is-lit) .wcs-node svg circle { stroke-dashoffset: 1; }
.wcs-pt:not(.is-lit) h3, .wcs-pt:not(.is-lit) p { opacity: .55; }
.wcs-pt h3, .wcs-pt p { transition: opacity .6s; }
/* on state */
.wcs-pt.is-lit .wcs-node { background: var(--accent); border-color: var(--accent); color: var(--bg); box-shadow: 0 0 0 6px color-mix(in srgb, var(--glow) 30%, transparent), 0 0 24px var(--glow); }
.wcs-pt.is-pulse .wcs-node { animation: wcs-pulse 1.2s ease-out; }
@keyframes wcs-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--glow) 80%, transparent), 0 0 24px var(--glow); } 100% { box-shadow: 0 0 0 1.5rem transparent, 0 0 24px var(--glow); } }
.wcs-stat { display: flex; align-items: baseline; gap: .4rem; margin: 0; font: 800 clamp(2.25rem, 4vw, 3.25rem)/1 var(--font-head); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.wcs-stat b { font-weight: 800; }
.wcs-stat small { font: 700 1rem var(--font-head); letter-spacing: 0; color: var(--accent); }
.wcs-pt h3 { margin: .25rem 0 0; font: 700 1.25rem/1.25 var(--font-head); }
.wcs-pt > p:not(.wcs-stat) { margin: 0; max-width: 30ch; font-size: 1rem; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }

/* Laptop and wide layouts: keep each description on the same baseline even when a title wraps. */
@media (min-width: 1001px) {
  .wcs-pt h3 { min-height: 2.5em; }
}

/* ---- Tablet: two columns; phone: one column with a vertical trace ---- */
@media (max-width: 1000px) {
  .wcs-head { grid-template-columns: 1fr; }
  .wcs-board { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .wcs-pt:nth-child(2) .wcs-seg { display: none; }     /* the trace stays inside each row of two */
  .wcs-frame { aspect-ratio: 16 / 8; }
}
@media (max-width: 600px) {
  .wcs-board { grid-template-columns: 1fr; }
  .wcs-seg { display: none !important; }
  .wcs-frame { aspect-ratio: 4 / 3; }
  .wcs-cap { flex-direction: column; }
}
/* Reduced motion: everything is shown lit and still */
@media (prefers-reduced-motion: reduce) {
  .wcs-img, .wcs-scan, .wcs-tag i, .wcs.is-live .wcs-frame, .wcs-pt.is-pulse .wcs-node { animation: none; }
  .wcs-scan { display: none; }
  .wcs-node, .wcs-seg b, .wcs-node svg path, .wcs-node svg circle { transition: none; }
}

/* 38. SERVICES SECTION 7: WHAT WE ACCEPT (CTA with image) -------------------------- */
/* Text + chips + buttons on the left, photo with caption below on the right. Chips are "scanned" in turn by a pure-CSS loop. Colour variables only. */
.wac {
  --ov: var(--text);                                   /* text colour used on lime fills */
  padding-block: clamp(4rem, 8vw, 6.5rem);             /* top and bottom are equal */
  background: var(--surface); color: var(--text); border-top: 1px solid var(--border);
}
[data-theme="dark"] .wac { --ov: var(--bg); }
.wac-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.wac-text { display: grid; gap: 1.25rem; justify-items: start; }
.wac-tag { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; }
.wac-tag i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); animation: wac-blink 1.6s ease-in-out infinite; }
@keyframes wac-blink { 50% { opacity: .3; transform: scale(.7); } }
.wac-title { margin: 0; font: 800 clamp(2rem, 4vw, 3.2rem)/1.12 var(--font-head); letter-spacing: -.02em; }
.wac-title em { font-style: normal; color: var(--accent); }
.wac-lead { margin: 0; max-width: 34rem; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }

/* Chips: each one lights up for a moment (same loop, staggered start), so a scanner seems to move down the list */
.wac-chips { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.wac-chips li {
  display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; font: 600 .9375rem var(--font-head);
  background: var(--bg); border: 1px solid var(--border); border-radius: 999px;
  animation: wac-scan-chip 9s ease-in-out infinite; animation-delay: calc(var(--i) * 1.2s);
}
.wac-chips svg { width: 1rem; height: 1rem; color: var(--accent); transition: transform .3s; }
@keyframes wac-scan-chip {
  0%, 16%, 100% { background: var(--bg); border-color: var(--border); box-shadow: 0 0 0 transparent; }
  4%, 12% { background: color-mix(in srgb, var(--glow) 35%, var(--surface)); border-color: var(--accent); box-shadow: 0 0 18px color-mix(in srgb, var(--glow) 55%, transparent); }
}
.wac-btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.wac .btn-hero svg { transition: transform .3s; } .wac .btn-hero:hover svg { transform: translateX(4px); }

/* Photo: spinning lime border, slow drift, scan line; caption below */
.wac-fig { display: grid; gap: 1rem; margin: 0; }
.wac-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 24px; border: 1px solid var(--border); background: var(--bg); }
.wac-img { display: block; width: 100%; height: 100%; object-fit: cover; animation: wac-drift 16s ease-in-out infinite alternate; }
@keyframes wac-drift { from { transform: scale(1.03); } to { transform: scale(1.1) translateY(-1.5%); } }
.wac-scan { position: absolute; inset-inline: 0; top: 0; height: 3px; pointer-events: none; background: linear-gradient(90deg, transparent, var(--glow), transparent); box-shadow: 0 0 18px var(--glow); animation: wac-scan 4s ease-in-out infinite; }
@keyframes wac-scan { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: calc(100% - 3px); opacity: 0; } }
.wac-cap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1.5rem; padding: .9rem 1.25rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); }
.wac-cap strong { font: 700 1.0625rem var(--font-head); }
.wac-cap span { font-size: .9375rem; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }

@media (max-width: 900px) { .wac-grid { grid-template-columns: 1fr; } }
/* Reduced motion: still chips, still photo */
@media (prefers-reduced-motion: reduce) {
  .wac-chips li, .wac-img, .wac-scan, .wac-tag i { animation: none; }
  .wac-scan { display: none; }
}

/* 39. SERVICES SECTION 8: RESOURCES CTA – GET READY BEFORE YOU RECYCLE ------------- */
/* Photo (left, caption below) + interactive checklist with a progress ring (right). --p (0 to 1) is set by index.js. Colour variables only. */
.rcs {
  --p: 1;                                              /* progress 0-1 (JS sets it; 1 = photo in full colour if JS is off) */
  --ov: var(--text);                                   /* text colour used on lime fills */
  padding-block: clamp(4rem, 8vw, 6.5rem);             /* top and bottom are equal */
  background: var(--bg); color: var(--text); border-top: 1px solid var(--border);
}
[data-theme="dark"] .rcs { --ov: var(--bg); }
.rcs-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }

/* Photo: grey and dim at 0%, full colour at 100% */
.rcs-fig { display: grid; gap: 1rem; margin: 0; }
.rcs-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 24px; border: 1px solid var(--border); background: var(--surface); }
.rcs-img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(calc(1 - var(--p))) brightness(calc(.75 + var(--p) * .25)); transform: scale(calc(1.12 - var(--p) * .08)); transition: filter .8s, transform 1.2s ease-out; }
.rcs-cap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1.5rem; padding: .9rem 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.rcs-cap strong { font: 700 1.0625rem var(--font-head); }
.rcs-cap span { font-size: .9375rem; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }

/* Text column */
.rcs-text { display: grid; gap: 1.25rem; justify-items: start; }
.rcs-tag { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; }
.rcs-tag i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); animation: rcs-blink 1.6s ease-in-out infinite; }
@keyframes rcs-blink { 50% { opacity: .3; transform: scale(.7); } }
.rcs-title { margin: 0; font: 800 clamp(2.1rem, 4.2vw, 3.3rem)/1.1 var(--font-head); letter-spacing: -.02em; }
.rcs-title em { font-style: normal; color: var(--accent); }
.rcs-lead { margin: 0; max-width: 34rem; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }

/* Board: ring on the left, checklist on the right */
.rcs-board { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem; align-items: center; width: 100%; padding-block: 1.25rem; border-block: 1px solid var(--border); }
.rcs-ring { position: relative; display: grid; place-items: center; width: 8.5rem; aspect-ratio: 1; }
.rcs-ring svg { grid-area: 1 / 1; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.rcs-ring circle { fill: none; stroke-width: 7; }
.rcs-track { stroke: var(--border); }
.rcs-bar { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p) * 100); filter: drop-shadow(0 0 6px var(--glow)); transition: stroke-dashoffset .7s cubic-bezier(.4, 0, .2, 1); }
.rcs-pct { grid-area: 1 / 1; font: 800 1rem var(--font-head); color: var(--muted); }
.rcs-pct b { font-size: 2rem; letter-spacing: -.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.rcs-list { display: grid; margin: 0; padding: 0; border: 0; min-width: 0; }
.rcs-leg { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }   /* visually hidden, read by screen readers */
.rcs-item { position: relative; display: flex; align-items: center; gap: .9rem; padding: .8rem 0; cursor: pointer; font: 600 1rem var(--font-head); }
.rcs-item + .rcs-item { border-top: 1px dashed var(--border); }
.rcs-item input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.rcs-box { flex: none; display: grid; place-items: center; width: 1.625rem; aspect-ratio: 1; border-radius: 8px; border: 2px solid var(--border); background: var(--surface); color: var(--bg); transition: background .3s, border-color .3s, box-shadow .3s; }
.rcs-box svg { width: 1rem; height: 1rem; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .35s ease-out .1s; }
.rcs-box svg path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .35s ease-out .1s; }
.rcs-item:hover .rcs-box { border-color: var(--accent); }
.rcs-item input:focus-visible ~ .rcs-box { outline: 2px solid var(--accent); outline-offset: 3px; }
.rcs-item input:checked ~ .rcs-box { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 14px var(--glow); }
.rcs-item input:checked ~ .rcs-box svg path { stroke-dashoffset: 0; }
.rcs-item input:checked ~ .rcs-lbl { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--accent); }
.rcs-status { margin: 0; font: 700 .9375rem var(--font-head); color: var(--accent); }
.rcs-btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.rcs .btn-hero svg { transition: transform .3s; } .rcs .btn-hero:hover svg { transform: translateX(4px); }
/* at 100% the solid button glows with a repeating ring */
.rcs.is-ready .btn-hero--solid { animation: rcs-glow 1.8s ease-out infinite; }
@keyframes rcs-glow { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--glow) 80%, transparent); } 100% { box-shadow: 0 0 0 1.1rem transparent; } }

@media (max-width: 900px) { .rcs-grid { grid-template-columns: 1fr; } .rcs-fig { order: 2; } }
@media (max-width: 480px) { .rcs-board { grid-template-columns: 1fr; justify-items: center; } .rcs-list { width: 100%; } }
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .rcs-img, .rcs-bar, .rcs-box, .rcs-box svg path { transition: none; }
  .rcs-tag i, .rcs.is-ready .btn-hero--solid { animation: none; }
}

/* 39. WHAT WE ACCEPT SECTION 4: HOME ENTERTAINMENT & AUDIO (audio mixer) ---------- */
/* One photo of gadgets: a "camera" pans and zooms to the selected gadget (--z zoom, --fx / --fy focus point set by index.js). Details sit beside it,
   and a mixer of six faders sits below; the selected fader slides up and its equaliser bars jump. Only the site colour variables are used. */
.ea { --ov: var(--text); --e: cubic-bezier(.3, 1.4, .5, 1); position: relative; isolation: isolate; overflow: clip; background: var(--surface); color: var(--text); padding-block: 5.25rem; border-top: 1px solid var(--border); }
/* Background: faint vertical lines like a sound-board, with a light beam sweeping across them */
.ea::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .7;
  background-image: repeating-linear-gradient(90deg, var(--border) 0 1px, transparent 1px 36px);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, var(--text) 20%, transparent 78%); mask-image: radial-gradient(ellipse at 50% 50%, var(--text) 20%, transparent 78%); }
.ea::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 12rem; z-index: -1; pointer-events: none; translate: -100% 0; animation: ea-sweep 8s linear infinite;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--glow) 22%, transparent), transparent); }
@keyframes ea-sweep { to { translate: 120vw 0; } }

/* Heading: two colours; each letter bounces up like an equaliser bar */
.ea-head { display: grid; justify-items: center; gap: 1rem; margin-bottom: 3.5rem; padding-inline: var(--pad-x); text-align: center; }
.ea-eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0; font: 700 .8125rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; }
.ea-eyebrow::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--glow); animation: ea-pulse 1.8s ease-in-out infinite; }
@keyframes ea-pulse { 50% { transform: scale(.6); opacity: .5; } }
.ea-head h2 { margin: 0; max-width: 20ch; font: 800 clamp(2rem, 4.6vw, 3.75rem)/1.1 var(--font-head); letter-spacing: -.035em; }
.ea-head h2 em { font-style: normal; color: var(--accent); text-shadow: 0 0 22px color-mix(in srgb, var(--glow) 55%, transparent); }
.ea-lead { margin: 0; max-width: 40rem; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }
.ea-word { display: inline-block; white-space: nowrap; }
.ea-ch-l { display: inline-block; }
.ea.is-armed:not(.is-in) .ea-ch-l { opacity: 0; transform: translateY(.9em) scaleY(.4); transform-origin: bottom; }
.ea.is-in .ea-ch-l { animation: ea-letter .7s var(--e) backwards; animation-delay: calc(var(--c) * 45ms); }
@keyframes ea-letter { from { opacity: 0; transform: translateY(.9em) scaleY(.4); } }

/* ---- Layout ---- */
.ea-wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--pad-x); display: grid; gap: 2rem; }
.ea-top { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 2rem; align-items: center; }

/* Photo: the image sits inside a clipped frame (electric ring above it); the camera move is a transform on the image */
.ea-screen { margin: 0; display: grid; gap: .9rem; }
.ea-frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 22px; background: var(--bg); border: 1px solid var(--border); box-shadow: 0 22px 54px color-mix(in srgb, var(--glow) 28%, transparent); --z: 2.4; --fx: 71%; --fy: 48%; }
.ea-frame::before { z-index: 2; }
.ea-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 0 0;
  /* centre the focus point, clamped so the photo never shows an empty edge */
  transform: translate(max(calc((1 - var(--z)) * 100%), min(0%, calc(50% - var(--z) * var(--fx)))), max(calc((1 - var(--z)) * 100%), min(0%, calc(50% - var(--z) * var(--fy))))) scale(var(--z));
  transition: transform 1.2s cubic-bezier(.7, 0, .2, 1);
}
.ea-frame.is-pan .ea-img { animation: ea-focus 1.1s ease-out; }                    /* soft focus pull on every change */
@keyframes ea-focus { 0% { filter: blur(7px) brightness(1.15); } 100% { filter: none; } }
/* Caption BELOW the photo; the matching line shows */
.ea-cap { display: grid; text-align: center; font-size: .9375rem; font-weight: 600; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }
.ea-cap span { grid-area: 1 / 1; opacity: 0; transform: translateY(.5rem); transition: opacity .4s, transform .4s; }
.ea-cap span.is-on { opacity: 1; transform: none; transition-delay: .25s; }

/* Details panel: all six share one grid cell; only the selected one shows, and its parts drop in one after another */
.ea-info { display: grid; padding: 1.75rem; background: var(--bg); border: 1px solid var(--border); border-radius: 22px; }
.ea-panel { grid-area: 1 / 1; display: grid; align-content: center; gap: 1rem; justify-items: start; visibility: hidden; }
.ea-panel.is-on { visibility: visible; }
.ea-panel > * { margin: 0; opacity: 0; }
.ea-panel.is-on > * { animation: ea-rise .6s var(--e) both; }
.ea-panel.is-on > :nth-child(2) { animation-delay: .08s; } .ea-panel.is-on > :nth-child(3) { animation-delay: .16s; } .ea-panel.is-on > :nth-child(4) { animation-delay: .24s; } .ea-panel.is-on > :nth-child(5) { animation-delay: .34s; }
@keyframes ea-rise { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: none; } }
.ea-count { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: color-mix(in srgb, var(--text) 72%, var(--bg)); }
.ea-panel h3 { font: 800 clamp(1.5rem, 2.6vw, 2rem)/1.2 var(--font-head); letter-spacing: -.02em; }
.ea-panel p:not(.ea-count) { color: color-mix(in srgb, var(--text) 84%, var(--bg)); }
.ea-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ea-chips li { padding: .3rem .8rem; font-size: .8125rem; font-weight: 600; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; }
/* "Accepted" stamp that slams down */
.ea-stamp { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem 1rem; font: 800 .875rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--ov); background: var(--glow); border-radius: 10px; }
.ea-stamp svg { width: 1rem; height: 1rem; }
.ea-panel.is-on .ea-stamp { animation: ea-stamp .6s .5s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes ea-stamp { from { opacity: 0; transform: scale(2.2) rotate(-12deg); } to { opacity: 1; transform: rotate(-3deg); } }

/* ---- Mixer ---- */
.ea-mixer { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; padding: 1.25rem; background: var(--bg); border: 1px solid var(--border); border-radius: 22px; }
.ea-ch {
  --lv: var(--rest);                                  /* fader level: resting value, high when selected */
  display: grid; justify-items: center; gap: .9rem; padding: 1rem .5rem; color: var(--text); font: inherit; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; transition: border-color .3s, box-shadow .4s, transform .3s;
}
.ea-ch:hover { transform: translateY(-3px); border-color: var(--accent); }
.ea-ch.is-on { --lv: 88%; border-color: var(--accent); box-shadow: 0 16px 34px color-mix(in srgb, var(--glow) 34%, transparent); }
/* Equaliser bars: always bouncing a little, a lot when selected */
.ea-eq { display: flex; align-items: flex-end; gap: 3px; height: 1.5rem; }
.ea-eq i { width: 5px; height: 100%; border-radius: 3px; background: var(--border); transform-origin: bottom; transform: scaleY(.2); animation: ea-bar var(--sp, 1.5s) ease-in-out infinite alternate; transition: background .3s; }
.ea-eq i:nth-child(2) { animation-delay: -.3s; } .ea-eq i:nth-child(3) { animation-delay: -.6s; } .ea-eq i:nth-child(4) { animation-delay: -.9s; } .ea-eq i:nth-child(5) { animation-delay: -1.2s; }
.ea-ch { --amp: .45; }
.ea-ch.is-on { --amp: 1; --sp: .55s; }
.ea-ch.is-on .ea-eq i { background: var(--accent); }
@keyframes ea-bar { from { transform: scaleY(.15); } to { transform: scaleY(var(--amp)); } }
/* Fader: track, lime fill and a sliding knob (overshoots a little, like a real fader) */
.ea-track { position: relative; width: .5rem; height: 7.5rem; border-radius: 99px; background: var(--border); }
.ea-fill { position: absolute; inset-inline: 0; bottom: 0; height: var(--lv); border-radius: 99px; background: linear-gradient(to top, var(--accent), var(--glow)); transition: height .9s var(--e); }
.ea-knob { position: absolute; left: 50%; bottom: var(--lv); width: 1.75rem; height: 1rem; margin-left: -.875rem; margin-bottom: -.5rem; border-radius: 6px; background: var(--surface); border: 2px solid var(--accent); box-shadow: 0 4px 10px color-mix(in srgb, var(--text) 25%, transparent); transition: bottom .9s var(--e), box-shadow .4s; }
.ea-ch.is-on .ea-knob { box-shadow: 0 0 0 4px color-mix(in srgb, var(--glow) 35%, transparent), 0 0 16px var(--glow); }
.ea-ico { color: var(--accent); }
.ea-ico svg { width: 1.6rem; height: 1.6rem; display: block; }
.ea-name { font-size: .875rem; font-weight: 700; }

/* Entrance (only when index.js has armed the section) */
.ea.is-armed .ea-eyebrow, .ea.is-armed .ea-lead, .ea.is-armed .ea-screen, .ea.is-armed .ea-info { opacity: 0; transform: translateY(1.5rem); transition: opacity .8s .3s, transform .8s .3s; }
.ea.is-armed .ea-ch { opacity: 0; transform: translateY(2rem); }
.ea.is-armed .ea-mixer { opacity: 0; transition: opacity .6s .5s; }
.ea.is-in .ea-eyebrow, .ea.is-in .ea-lead, .ea.is-in .ea-screen, .ea.is-in .ea-info, .ea.is-in .ea-mixer { opacity: 1; transform: none; }
.ea.is-armed.is-in .ea-ch { opacity: 1; transform: none; transition: opacity .6s calc(var(--k) * 90ms + .6s), transform .8s calc(var(--k) * 90ms + .6s) var(--e), border-color .3s, box-shadow .4s; }

/* Tablet / mobile */
@media (max-width: 900px) {
  .ea-top { grid-template-columns: minmax(0, 1fr); }
  .ea-mixer { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .ea-mixer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ea-info { padding: 1.25rem; }
}
/* Reduced motion: no sweeping, bouncing or camera moves; everything is shown */
@media (prefers-reduced-motion: reduce) {
  .ea::after, .ea-eyebrow::before, .ea-eq i, .ea-frame.is-pan .ea-img, .ea-panel.is-on > *, .ea-panel.is-on .ea-stamp { animation: none; }
  .ea-panel > * { opacity: 1; }
  .ea-img, .ea-fill, .ea-knob, .ea-cap span { transition: none; }
}

/* 40. WHAT WE ACCEPT SECTION 5: CHARGERS, CABLES & SMALL ELECTRONICS (plug-in ports) ---- */
/* Six port cards: each plug slides into its socket, the card's LED and charge bar light up, and a battery fills as ports connect (index.js adds .is-on).
   --ov = text on lime (flipped in darkmode.css). Only the site colour variables are used. */
.ec { --ov: var(--text); --e: cubic-bezier(.3, 1.4, .5, 1); position: relative; isolation: isolate; overflow: clip; background: var(--bg); color: var(--text); padding-block: 5.25rem; border-top: 1px solid var(--border); }
/* Keep the soft diagonal light beam without the dotted background. */
.ec::after { content: ""; position: absolute; top: -20%; bottom: -20%; inset-inline-start: 0; width: 14rem; z-index: -1; pointer-events: none; translate: -100% 0; rotate: 18deg; animation: ec-beam 9s linear infinite;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--glow) 20%, transparent), transparent); }
@keyframes ec-beam { to { translate: 130vw 0; } }

/* Heading: two colours; each letter flickers on like a device powering up */
.ec-head { display: grid; justify-items: center; gap: 1rem; margin-bottom: 3.5rem; padding-inline: var(--pad-x); text-align: center; }
.ec-eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0; font: 700 .8125rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; }
.ec-eyebrow::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--glow); animation: ec-pulse 1.8s ease-in-out infinite; }
@keyframes ec-pulse { 50% { transform: scale(.6); opacity: .5; } }
.ec-head h2 { margin: 0; max-width: 20ch; font: 800 clamp(2rem, 4.6vw, 3.75rem)/1.1 var(--font-head); letter-spacing: -.035em; }
.ec-head h2 em { display: block; font-style: normal; color: var(--accent); text-shadow: 0 0 22px color-mix(in srgb, var(--glow) 55%, transparent); }
.ec-lead { margin: 0; max-width: 40rem; color: color-mix(in srgb, var(--text) 84%, var(--bg)); }
.ec-word { display: inline-block; white-space: nowrap; }
.ec-ch { display: inline-block; }
.ec.is-armed:not(.is-in) .ec-ch { opacity: 0; }
.ec.is-in .ec-ch { animation: ec-flick .9s steps(1) backwards; animation-delay: calc(var(--c) * 40ms); }
@keyframes ec-flick { 0% { opacity: 0; } 20% { opacity: 1; } 30% { opacity: .15; } 45% { opacity: 1; } 55% { opacity: .3; } 70%, 100% { opacity: 1; } }

/* ---- Layout ---- */
.ec-wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--pad-x); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 2rem; align-items: center; }
.ec-left { display: grid; gap: 1.5rem; }
.ec-fig { margin: 0; display: grid; gap: .9rem; }
/* Photo (a transparent cut-out): floats on a glowing disc; rings pulse out of it each time a port connects */
.ec-photo { position: relative; display: grid; place-items: center; aspect-ratio: 1 / .8; }
.ec-photo::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--glow) 34%, transparent), color-mix(in srgb, var(--glow) 6%, transparent) 70%, transparent); animation: ec-breathe 4s ease-in-out infinite; }
@keyframes ec-breathe { 50% { transform: scale(1.08); } }
.ec-photo img { position: relative; width: 92%; height: auto; max-height: 100%; object-fit: contain; filter: drop-shadow(0 22px 24px color-mix(in srgb, var(--text) 30%, transparent)); animation: ec-float 5s ease-in-out infinite; }
@keyframes ec-float { 50% { transform: translateY(-10px) rotate(-1deg); } }
.ec-ring { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--glow); opacity: 0; pointer-events: none; }
.ec.is-zap .ec-ring { animation: ec-zap 1.1s ease-out; }
.ec.is-zap .ec-ring:nth-of-type(2) { animation-delay: .18s; }
@keyframes ec-zap { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.ec-fig figcaption { text-align: center; font-size: .9375rem; font-weight: 600; color: color-mix(in srgb, var(--text) 84%, var(--bg)); }

/* Battery meter */
.ec-meter { display: flex; align-items: center; gap: 1.1rem; padding: 1rem 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; }
.ec-bat { position: relative; flex: none; width: 4.5rem; height: 2.25rem; padding: 3px; border: 2px solid var(--text); border-radius: 9px; }
.ec-bat::after { content: ""; position: absolute; inset-inline-end: -7px; top: 50%; width: 4px; height: 12px; margin-top: -6px; border-radius: 0 3px 3px 0; background: var(--text); }
.ec-bat i { display: block; height: 100%; width: var(--p, 0%); border-radius: 5px; transition: width .6s var(--e);
  background: repeating-linear-gradient(135deg, var(--accent) 0 8px, var(--glow) 8px 16px); background-size: 22px 22px; animation: ec-charge 1s linear infinite; }
@keyframes ec-charge { to { background-position: 22px 0; } }
.ec.is-full .ec-bat { box-shadow: 0 0 0 4px color-mix(in srgb, var(--glow) 35%, transparent), 0 0 18px var(--glow); }
.ec.is-full .ec-bat i { animation: none; }
.ec-meter-t { display: grid; }
.ec-meter-t strong { font: 800 1.75rem/1.1 var(--font-head); color: var(--accent); font-variant-numeric: tabular-nums; }
.ec-meter-t span { font-size: .875rem; font-weight: 600; color: color-mix(in srgb, var(--text) 80%, var(--surface)); }

/* ---- Port cards ---- */
.ec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ec-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "port port" "ico txt"; gap: 1rem; align-items: start; text-align: start;
  padding: 1.25rem 1.25rem 1.5rem; color: var(--text); font: inherit; cursor: pointer; background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  transition: border-color .3s, box-shadow .4s, transform .3s;
}
.ec-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.ec-card.is-on { border-color: var(--accent); box-shadow: 0 16px 34px color-mix(in srgb, var(--glow) 28%, transparent); }
/* Port: socket (two holes) on the right; the plug sits further out until connected */
.ec-port { grid-area: port; position: relative; justify-self: end; width: 6.5rem; height: 2rem; }
.ec-sock { position: absolute; inset-inline-end: 0; top: 0; width: 2.75rem; height: 2rem; border-radius: 8px; background: var(--bg); border: 2px solid var(--border); transition: border-color .3s; }
.ec-sock::before, .ec-sock::after { content: ""; position: absolute; top: 50%; width: 5px; height: 11px; margin-top: -5.5px; border-radius: 2px; background: var(--border); transition: background .3s; }
.ec-sock::before { inset-inline-start: .55rem; } .ec-sock::after { inset-inline-end: .55rem; }
.ec-plug { position: absolute; inset-inline-end: .35rem; top: .2rem; width: 2.4rem; height: 1.6rem; border-radius: 7px; background: var(--text); transform: translateX(calc(var(--dir, -1) * 2.6rem)); transition: transform .7s var(--e); }
.ec-plug::before, .ec-plug::after { content: ""; position: absolute; top: 50%; width: 4px; height: 9px; margin-top: -4.5px; border-radius: 1px; background: var(--glow); inset-inline-end: -4px; }
.ec-plug::before { margin-top: -9px; } .ec-plug::after { margin-top: 1px; }
.ec-plug { right: auto; left: 0; }                   /* plug rests at the left of the port; moves right into the socket */
.ec-card .ec-plug { --dir: 0; }
.ec-card:not(.is-on) .ec-plug { transform: translateX(0); }
.ec-card.is-on .ec-plug { transform: translateX(2.35rem); }
.ec-card.is-on .ec-sock { border-color: var(--accent); }
.ec-card.is-on .ec-sock::before, .ec-card.is-on .ec-sock::after { background: var(--accent); }
.ec-card:hover:not(.is-on) .ec-plug { animation: ec-wiggle .5s ease-in-out infinite; }
@keyframes ec-wiggle { 50% { transform: translateX(.4rem); } }
.ec-led { position: absolute; inset-inline-start: 0; top: 50%; width: .6rem; height: .6rem; margin-top: -.3rem; border-radius: 50%; background: var(--border); transition: background .3s, box-shadow .3s; }
.ec-card.is-on .ec-led { background: var(--glow); box-shadow: 0 0 10px var(--glow); animation: ec-pulse 1.6s ease-in-out infinite; }
.ec-card .ec-plug { inset-inline-start: 1rem; }
.ec-ico { grid-area: ico; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 12px; background: var(--bg); border: 1px solid var(--border); color: var(--accent); transition: background .3s, color .3s; }
.ec-ico svg { width: 1.5rem; height: 1.5rem; }
.ec-card.is-on .ec-ico { background: var(--accent); color: var(--surface); }
.ec-txt { grid-area: txt; display: grid; gap: .25rem; }
.ec-txt strong { font: 800 1rem/1.3 var(--font-head); }
.ec-txt span { font-size: .875rem; line-height: 1.5; color: color-mix(in srgb, var(--text) 80%, var(--surface)); }
/* Charge bar along the bottom edge: fills when connected, with a light running through it */
.ec-bar { position: absolute; inset-inline: 0; bottom: 0; height: 5px; background: var(--border); }
.ec-bar::before { content: ""; position: absolute; inset: 0; transform: scaleX(0); transform-origin: left center; background: linear-gradient(90deg, var(--accent), var(--glow)); transition: transform 1.1s cubic-bezier(.3, 0, .2, 1); }
.ec-card.is-on .ec-bar::before { transform: scaleX(1); }
.ec-bar::after { content: ""; position: absolute; inset-block: 0; width: 30%; background: linear-gradient(90deg, transparent, var(--surface), transparent); opacity: 0; translate: -100% 0; }
.ec-card.is-on .ec-bar::after { opacity: .7; animation: ec-run 2.2s ease-in-out infinite 1.2s; }
@keyframes ec-run { to { translate: 340% 0; } }

/* Entrance (only when index.js has armed the section) */
.ec.is-armed .ec-eyebrow, .ec.is-armed .ec-lead, .ec.is-armed .ec-left { opacity: 0; transform: translateY(1.5rem); transition: opacity .8s .3s, transform .8s .3s; }
.ec.is-armed .ec-card { opacity: 0; transform: translateY(2rem) scale(.96); }
.ec.is-in .ec-eyebrow, .ec.is-in .ec-lead, .ec.is-in .ec-left { opacity: 1; transform: none; }
.ec.is-armed.is-in .ec-card { opacity: 1; transform: none; transition: opacity .6s calc(var(--k) * 110ms + .4s), transform .8s calc(var(--k) * 110ms + .4s) var(--e), border-color .3s, box-shadow .4s; }

/* Tablet / mobile */
@media (max-width: 900px) {
  .ec-wrap { grid-template-columns: minmax(0, 1fr); }
  .ec-photo { max-width: 26rem; margin-inline: auto; width: 100%; }
}
@media (max-width: 560px) {
  .ec-grid { grid-template-columns: minmax(0, 1fr); }
}
/* Reduced motion: nothing moves; plugs are shown connected */
@media (prefers-reduced-motion: reduce) {
  .ec::after, .ec-eyebrow::before, .ec-photo::before, .ec-photo img, .ec-bat i, .ec-card.is-on .ec-led, .ec-card.is-on .ec-bar::after, .ec-card:hover:not(.is-on) .ec-plug, .ec.is-zap .ec-ring { animation: none; }
  .ec-plug, .ec-bar::before, .ec-bat i { transition: none; }
}

/* 41. WHAT WE ACCEPT SECTION 6: SMALL HOUSEHOLD APPLIANCES & SPECIAL ITEMS (room tabs + printing slip) ---- */
/* Pick a room: the house turns, and that room's slip prints out of the slot line by line (index.js toggles .is-on). Only the site colour variables are used. */
.hh { --ov: var(--text); --e: cubic-bezier(.3, 1.4, .5, 1); position: relative; isolation: isolate; overflow: clip; background: var(--surface); color: var(--text); padding-block: 5.25rem; border-top: 1px solid var(--border); }
/* Background: faint diagonal lines with a soft glow rising from the bottom */
.hh::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .7;
  background-image: repeating-linear-gradient(135deg, var(--border) 0 1px, transparent 1px 34px);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, var(--text) 20%, transparent 78%); mask-image: radial-gradient(ellipse at 50% 50%, var(--text) 20%, transparent 78%); }
.hh::after { content: ""; position: absolute; inset-inline: 0; bottom: -10rem; height: 20rem; z-index: -1; pointer-events: none; animation: hh-rise 6s ease-in-out infinite alternate;
  background: radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--glow) 26%, transparent), transparent 70%); }
@keyframes hh-rise { to { transform: translateY(-2rem); opacity: .6; } }

/* Heading: two colours; each letter stamps down like ink */
.hh-head { display: grid; justify-items: center; gap: 1rem; margin-bottom: 3.5rem; padding-inline: var(--pad-x); text-align: center; }
.hh-eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0; font: 700 .8125rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; }
.hh-eyebrow::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--glow); animation: hh-pulse 1.8s ease-in-out infinite; }
@keyframes hh-pulse { 50% { transform: scale(.6); opacity: .5; } }
.hh-head h2 { margin: 0; max-width: 22ch; font: 800 clamp(2rem, 4.6vw, 3.75rem)/1.1 var(--font-head); letter-spacing: -.035em; }
.hh-head h2 em { display: block; font-style: normal; color: var(--accent); text-shadow: 0 0 22px color-mix(in srgb, var(--glow) 55%, transparent); }
.hh-lead { margin: 0; max-width: 40rem; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }
.hh-word { display: inline-block; white-space: nowrap; }
.hh-ch { display: inline-block; }
.hh.is-armed:not(.is-in) .hh-ch { opacity: 0; }
.hh.is-in .hh-ch { animation: hh-stamp .55s var(--e) backwards; animation-delay: calc(var(--c) * 35ms); }
@keyframes hh-stamp { from { opacity: 0; transform: scale(1.8) rotate(-8deg); } }

/* ---- Layout ---- */
.hh-wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--pad-x); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
/* House (a transparent cut-out): floats on a glowing disc and turns in 3D whenever a room is picked */
.hh-fig { margin: 0; display: grid; gap: .9rem; }
.hh-house { position: relative; display: grid; place-items: center; aspect-ratio: 1 / .85; perspective: 900px; }
.hh-glow { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--glow) 34%, transparent), color-mix(in srgb, var(--glow) 6%, transparent) 70%, transparent); animation: hh-breathe 4s ease-in-out infinite; }
@keyframes hh-breathe { 50% { transform: scale(1.08); } }
.hh-house img { position: relative; width: 92%; height: auto; max-height: 100%; object-fit: contain; filter: drop-shadow(0 24px 26px color-mix(in srgb, var(--text) 30%, transparent)); animation: hh-float 5s ease-in-out infinite; }
@keyframes hh-float { 50% { translate: 0 -10px; } }
.hh-house.is-turn img { animation: hh-float 5s ease-in-out infinite, hh-turn 1s cubic-bezier(.6, 0, .2, 1); }
@keyframes hh-turn { 0% { transform: rotateY(0); } 50% { transform: rotateY(-28deg) scale(.96); } 100% { transform: rotateY(0); } }
.hh-fig figcaption { text-align: center; font-size: .9375rem; font-weight: 600; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }

/* ---- Room tabs ---- */
.hh-right { display: grid; gap: 1rem; }
.hh-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.hh-tab { display: grid; justify-items: center; gap: .4rem; padding: .85rem .5rem; color: var(--text); font: 700 .875rem/1.2 var(--font-body); text-align: center; cursor: pointer; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; transition: background .3s, border-color .3s, color .3s, transform .3s, box-shadow .3s; }
.hh-tab svg { width: 1.5rem; height: 1.5rem; color: var(--accent); transition: color .3s, transform .5s var(--e); }
.hh-tab:hover { transform: translateY(-3px); border-color: var(--accent); }
.hh-tab.is-on { background: var(--glow); color: var(--ov); border-color: var(--glow); box-shadow: 0 12px 26px color-mix(in srgb, var(--glow) 40%, transparent); }
.hh-tab.is-on svg { color: var(--ov); transform: scale(1.2) rotate(-6deg); }

/* ---- Printer + slip ---- */
.hh-printer { position: relative; display: flex; align-items: center; justify-content: space-between; height: 1.5rem; padding-inline: 1rem; background: var(--text); border-radius: 12px 12px 4px 4px; }
.hh-printer i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px var(--glow); animation: hh-pulse 1s ease-in-out infinite; }
.hh-printer span { width: 62%; height: 6px; border-radius: 3px; background: var(--bg); opacity: .85; }
.hh-paper { position: relative; display: grid; overflow: hidden; margin-inline: .75rem; margin-top: -4px; padding-bottom: 6px; }   /* slips emerge from the slot above */
.hh-slip { grid-area: 1 / 1; display: grid; gap: .9rem; align-content: start; padding: 1.5rem; background: var(--bg); border: 1px solid var(--border); border-top: 0; border-radius: 0 0 14px 14px; visibility: hidden; transform: translateY(-101%); }
.hh-slip.is-on { visibility: visible; transform: none; animation: hh-print 1.3s steps(16, end) backwards; }
@keyframes hh-print { from { transform: translateY(-101%); } }
.hh-slip > * { margin: 0; }
.hh-slip-h { display: flex; justify-content: space-between; gap: 1rem; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: color-mix(in srgb, var(--text) 72%, var(--bg)); padding-bottom: .75rem; border-bottom: 2px dashed var(--border); }
.hh-slip h3 { font: 800 clamp(1.35rem, 2.2vw, 1.75rem)/1.2 var(--font-head); letter-spacing: -.02em; }
.hh-flag { justify-self: start; padding: .25rem .75rem; font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ov); background: var(--glow); border-radius: 8px; }
.hh-list { list-style: none; margin: 0; padding: 0; display: grid; }
.hh-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; font-weight: 600; border-bottom: 1px dashed var(--border); }
.hh-list li b { flex: none; display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .65rem; font-size: .8125rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--surface); background: var(--accent); border-radius: 999px; }
.hh-list li b svg { width: .8rem; height: .8rem; }
.hh-slip.is-on .hh-list li { animation: hh-line .5s var(--e) backwards; animation-delay: calc(var(--l) * 160ms + .6s); }
.hh-slip.is-on .hh-list li b { animation: hh-ok .5s cubic-bezier(.3, 1.6, .5, 1) backwards; animation-delay: calc(var(--l) * 160ms + .9s); }
@keyframes hh-line { from { opacity: 0; transform: translateX(-1rem); } }
@keyframes hh-ok { from { opacity: 0; transform: scale(0); } }
.hh-note { font-size: .875rem; color: color-mix(in srgb, var(--text) 80%, var(--bg)); }
/* Barcode at the bottom of the slip */
.hh-code { display: block; height: 2rem; background: repeating-linear-gradient(90deg, var(--text) 0 2px, transparent 2px 5px, var(--text) 5px 6px, transparent 6px 10px, var(--text) 10px 13px, transparent 13px 16px); opacity: .75; }

/* Entrance (only when index.js has armed the section) */
.hh.is-armed .hh-eyebrow, .hh.is-armed .hh-lead, .hh.is-armed .hh-fig, .hh.is-armed .hh-right { opacity: 0; transform: translateY(1.5rem); transition: opacity .8s .3s, transform .8s .3s; }
.hh.is-in .hh-eyebrow, .hh.is-in .hh-lead, .hh.is-in .hh-fig, .hh.is-in .hh-right { opacity: 1; transform: none; }

/* Tablet / mobile */
@media (max-width: 900px) {
  .hh-wrap { grid-template-columns: minmax(0, 1fr); }
  .hh-house { max-width: 26rem; margin-inline: auto; width: 100%; }
}
@media (max-width: 480px) {
  .hh-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hh-list li { flex-wrap: wrap; }
}
/* Reduced motion: slips appear at once, nothing floats */
@media (prefers-reduced-motion: reduce) {
  .hh::after, .hh-eyebrow::before, .hh-glow, .hh-house img, .hh-house.is-turn img, .hh-printer i, .hh-slip.is-on, .hh-slip.is-on .hh-list li, .hh-slip.is-on .hh-list li b { animation: none; }
  .hh-tab, .hh-tab svg { transition: none; }
}

/* 42. RESOURCES SECTION 2: E-WASTE RECYCLING GUIDES --------------------------- */
/* Flat background on purpose (no glows). Everything moves through classes set by index.js section 36. Colour variables only. */
.grd {
  --ov: var(--text);                                   /* text colour used on lime fills */
  padding-block: clamp(4rem, 8vw, 6.5rem);             /* top and bottom are equal */
  background: var(--surface); color: var(--text); border-top: 1px solid var(--border);
}
[data-theme="dark"] .grd { --ov: var(--bg); }

/* ---- Header (same pattern as the other sections) ---- */
.grd-head { display: grid; gap: 1.1rem; justify-items: start; max-width: 44rem; margin-bottom: 3rem; }
.grd-tag { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; }
.grd-tag i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); animation: grd-blink 1.6s ease-in-out infinite; }
@keyframes grd-blink { 50% { opacity: .3; transform: scale(.7); } }
.grd-title { margin: 0; font: 800 clamp(2.1rem, 4.2vw, 3.3rem)/1.1 var(--font-head); letter-spacing: -.02em; }
.grd-title em { font-style: normal; color: var(--accent); }
.grd-lead { margin: 0; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }

/* ---- Layout ---- */
.grd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }   /* both columns end on the same line */
.grd-left { display: grid; gap: 1.25rem; }

/* ---- Left: stage, caption, tabs ---- */
.grd-fig { margin: 0; display: grid; gap: 1rem; }
.grd-stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 22px; background: var(--bg); border: 1px solid var(--border); }
.grd-img { position: absolute; inset: 6% 8% 14%; width: 84%; height: 80%; object-fit: contain; opacity: 0; transform: translateY(24px) scale(.88); transition: opacity .5s, transform .7s cubic-bezier(.3, 1.3, .5, 1); }
.grd-img.is-on { opacity: 1; transform: none; animation: grd-float 4.5s ease-in-out .8s infinite alternate; }     /* floats gently once landed */
@keyframes grd-float { to { transform: translateY(-1.2%); } }
.grd-shadow { position: absolute; inset-inline: 22%; bottom: 7%; height: 4%; border-radius: 50%; background: color-mix(in srgb, var(--text) 16%, transparent); animation: grd-breathe 4.5s ease-in-out .8s infinite alternate; }
@keyframes grd-breathe { to { transform: scaleX(.88); opacity: .6; } }
/* Scan: an accent line sweeps down the picture each time a guide opens */
.grd-scan { position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--accent); box-shadow: 0 0 18px var(--glow); opacity: 0; }
.grd-stage.is-scan .grd-scan { animation: grd-sweep 1.1s ease-in-out; }
@keyframes grd-sweep { 0% { top: 0; opacity: 1; } 100% { top: calc(100% - 3px); opacity: 1; } }
.grd-cap { display: grid; gap: .2rem; }
.grd-cap strong { font: 700 1.125rem/1.3 var(--font-head); }
.grd-cap span { font-size: .9375rem; color: color-mix(in srgb, var(--text) 82%, var(--surface)); }

.grd-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.grd-tab { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: .6rem; justify-items: center; padding: .9rem .75rem 1rem; cursor: pointer; font: inherit; color: var(--text); text-align: center; background: var(--bg); border: 1.5px solid var(--border); border-radius: 16px; overflow: hidden; transition: border-color .3s, transform .3s; }
.grd-tab:hover { border-color: var(--accent); transform: translateY(-3px); }
.grd-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.grd-tab[aria-selected="true"] { border-color: var(--accent); }
.grd-th { display: grid; place-items: center; width: 100%; aspect-ratio: 3 / 2; }
.grd-th img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: .55; transition: filter .4s, opacity .4s, transform .4s; }
.grd-tab:hover .grd-th img, .grd-tab[aria-selected="true"] .grd-th img { filter: none; opacity: 1; transform: scale(1.06); }
.grd-tl { display: block; width: 100%; min-width: 0; font: 700 .875rem/1.3 var(--font-head); white-space: normal; overflow-wrap: anywhere; text-wrap: balance; }
.grd-tp { position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: var(--border); opacity: 0; }
.grd-tab[aria-selected="true"] .grd-tp { opacity: 1; }
.grd-tp i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.grd-tab.is-timing .grd-tp i { animation: grd-timer 7s linear forwards; }     /* the auto-advance timer */
@keyframes grd-timer { to { transform: scaleX(1); } }

/* ---- Right: the guide ---- */
.grd-guide { display: grid; gap: 1.5rem; justify-items: start; align-content: space-between; padding: clamp(1.25rem, 3vw, 2rem); background: var(--bg); border: 1px solid var(--border); border-radius: 22px; }
.grd-stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; width: 100%; }
.grd-stats li { flex: 1 1 8rem; display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; align-items: center; padding: .9rem 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.grd-stats svg { grid-row: span 2; width: 1.6rem; height: 1.6rem; color: var(--accent); }
.grd-stats strong { font: 800 1.375rem/1.1 var(--font-head); }
.grd-stats span { font-size: .875rem; color: color-mix(in srgb, var(--text) 80%, var(--surface)); }

/* Steps: the line is drawn by .grd-steps::after (scaleY from the top) */
.grd-steps { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: 1.4rem; position: relative; }
.grd-steps::before { content: ""; position: absolute; inset-block: 1.2rem; inset-inline-start: 1.2rem; width: 2px; background: var(--border); }
.grd-steps::after { content: ""; position: absolute; inset-block: 1.2rem; inset-inline-start: 1.2rem; width: 2px; background: var(--accent); transform-origin: top; transform: scaleY(0); }
.grd-steps.is-play::after { animation: grd-draw 2.6s ease-in-out .2s forwards; }
@keyframes grd-draw { to { transform: scaleY(1); } }
.grd-step { position: relative; z-index: 1; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.grd-step > div { display: grid; gap: .2rem; }
.grd-step strong { font: 700 1.0625rem/1.3 var(--font-head); }
.grd-step div span { font-size: .9375rem; line-height: 1.5; color: color-mix(in srgb, var(--text) 82%, var(--surface)); }
.grd-node { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--bg); border: 2px solid var(--border); color: var(--bg); }
.grd-node svg { width: 1.15rem; height: 1.15rem; stroke-dasharray: 26; stroke-dashoffset: 26; }
.grd-end .grd-node svg { stroke-dasharray: none; stroke-dashoffset: 0; }
.grd-end .grd-node { color: var(--text); }
/* Play: each row slides in, its node fills and its tick draws, one after another (--d is set per row by JS) */
.grd-steps.is-play .grd-step { animation: grd-in .6s cubic-bezier(.3, 1.2, .5, 1) both; animation-delay: calc(var(--d) * .65s + .2s); }
@keyframes grd-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
.grd-steps.is-play .grd-node { animation: grd-fill .5s ease both; animation-delay: calc(var(--d) * .65s + .45s); }
@keyframes grd-fill { to { background: var(--glow); border-color: var(--glow); color: var(--ov); } }
.grd-steps.is-play .grd-node svg { animation: grd-tick .5s ease both; animation-delay: calc(var(--d) * .65s + .55s); }
@keyframes grd-tick { to { stroke-dashoffset: 0; } }
.grd-steps.is-play .grd-end .grd-node { animation: grd-fill .5s ease both, grd-ripple 1.6s ease-out infinite; animation-delay: calc(var(--d) * .65s + .45s), calc(var(--d) * .65s + 1s); }
@keyframes grd-ripple { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--glow) 70%, transparent); } 100% { box-shadow: 0 0 0 .9rem transparent; } }
.grd-steps:not(.is-play) .grd-step { opacity: 1; }                      /* without JS everything is simply visible */

.grd-never { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; width: 100%; padding: 1rem 1.1rem; font-size: .9375rem; line-height: 1.5; background: var(--surface); border: 1px dashed var(--accent); border-radius: 14px; }
.grd-never svg { width: 1.4rem; height: 1.4rem; color: var(--accent); }
.grd-guide .btn-hero svg { transition: transform .3s; } .grd-guide .btn-hero:hover svg { transform: translateX(4px); }

/* ---- Responsive ---- */
@media (max-width: 900px) { .grd-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .grd-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .grd-tab { min-width: 0; padding: .7rem .55rem .9rem; }
  .grd-tab:last-child { grid-column: 1 / -1; grid-template-columns: minmax(5rem, .7fr) minmax(0, 1fr); align-items: center; column-gap: .75rem; }
  .grd-tab:last-child .grd-th { aspect-ratio: 3 / 2; }
  .grd-tab:last-child .grd-tl { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .grd-tag i, .grd-img.is-on, .grd-shadow, .grd-scan, .grd-tp i { animation: none !important; }
  .grd-steps::after { transform: scaleY(1); } .grd-steps.is-play::after, .grd-steps.is-play .grd-step, .grd-steps.is-play .grd-node, .grd-steps.is-play .grd-node svg { animation: none !important; }
  .grd-node { background: var(--glow); border-color: var(--glow); color: var(--ov); } .grd-node svg { stroke-dashoffset: 0; }
  .grd-img, .grd-tab, .grd-th img { transition: none; }
}

/* 43. RESOURCES SECTION 3: DATA SAFETY & DEVICE PREPARATION -------------------- */
/* Flat background on purpose (no glows). State classes (is-done / is-on) come from index.js section 37; without JS the finished state shows. Colour variables only. */
.drs {
  --ov: var(--text);                                   /* text colour used on lime fills */
  padding-block: clamp(4rem, 8vw, 6.5rem);             /* top and bottom are equal */
  background: var(--bg); color: var(--text); border-top: 1px solid var(--border);
}
[data-theme="dark"] .drs { --ov: var(--bg); }

/* ---- Header (same pattern as the other sections) ---- */
.drs-head { display: grid; gap: 1.1rem; justify-items: start; max-width: 44rem; margin-bottom: 3rem; }
.drs-tag { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; }
.drs-tag i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); animation: drs-blink 1.6s ease-in-out infinite; }
@keyframes drs-blink { 50% { opacity: .3; transform: scale(.7); } }
.drs-title { margin: 0; font: 800 clamp(2.1rem, 4.2vw, 3.3rem)/1.1 var(--font-head); letter-spacing: -.02em; }
.drs-title em { font-style: normal; color: var(--accent); }
.drs-lead { margin: 0; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }

/* ---- Photo + pins + beam ---- */
.drs-fig { margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.drs-stage { --p: 0; position: relative; aspect-ratio: 2 / 1; overflow: hidden; border-radius: 22px; border: 1px solid var(--border); background: var(--surface); }
.drs-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(calc(.35 + var(--p) * .65)) brightness(calc(.72 + var(--p) * .28)); transition: filter 1s; }   /* the photo wakes up as steps are secured */
.drs-beam { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--glow); box-shadow: 0 0 16px var(--glow); opacity: 0; transition: left .9s cubic-bezier(.6, 0, .3, 1), opacity .4s; }
.drs-stage.is-scan .drs-beam { opacity: 1; }
.drs-pins { position: absolute; inset: 0; }
.drs-pin { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: grid; place-items: center; width: 2.5rem; height: 2.5rem; padding: 0; cursor: pointer; border-radius: 50%; font: 800 .9375rem var(--font-head); color: var(--text); background: var(--surface); border: 2px solid var(--accent); transition: background .4s, color .4s, border-color .4s; }
.drs-pin b, .drs-pin svg { grid-area: 1 / 1; transition: opacity .3s; }
.drs-pin svg { width: 1.1rem; height: 1.1rem; opacity: 0; }
.drs-pin:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; }
.drs-pin.is-on { background: var(--glow); border-color: var(--glow); color: var(--ov); animation: drs-ripple 1.3s ease-out infinite; }
.drs-pin.is-done { background: var(--glow); border-color: var(--glow); color: var(--ov); }
.drs-pin.is-done b { opacity: 0; } .drs-pin.is-done svg { opacity: 1; }
@keyframes drs-ripple { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--glow) 80%, transparent); } 100% { box-shadow: 0 0 0 1.1rem transparent; } }
.drs-cap { font-size: .875rem; color: color-mix(in srgb, var(--text) 80%, var(--surface)); }

/* ---- Step cards ---- */
.drs-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.drs-card { display: grid; gap: .75rem; align-content: start; justify-items: start; padding: 1.25rem; cursor: pointer; font: inherit; color: var(--text); text-align: start; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); transition: border-color .4s, transform .4s, box-shadow .4s; }
.drs-card:hover { border-color: var(--accent); }
.drs-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.drs-card strong { font: 700 1.0625rem/1.3 var(--font-head); }
.drs-desc { font-size: .9375rem; line-height: 1.55; color: color-mix(in srgb, var(--text) 82%, var(--surface)); }
.drs-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; }
.drs-num { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; font: 800 .875rem var(--font-head); background: var(--bg); border: 1.5px solid var(--border); transition: background .4s, border-color .4s, color .4s; }
.drs-state { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem; font: 700 .8125rem var(--font-head); border-radius: 999px; background: var(--bg); border: 1px solid var(--border); transition: background .4s, border-color .4s, color .4s; }
.drs-ic { display: grid; width: 1rem; height: 1rem; } .drs-ic svg { width: 100%; height: 100%; }
.drs-ic--shut { display: none; }
.drs-meter { display: block; width: 100%; height: 6px; margin-top: .25rem; border-radius: 6px; background: var(--border); overflow: hidden; }
.drs-meter i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
/* Active: card lifts, meter fills over the length of the step. Done: filled and locked. */
.drs-card.is-on { border-color: var(--accent); transform: translateY(-6px); box-shadow: 0 16px 34px color-mix(in srgb, var(--glow) 24%, transparent); }
.drs-card.is-on .drs-meter i { animation: drs-fill 3.4s linear forwards; }
@keyframes drs-fill { to { transform: scaleX(1); } }
.drs-card.is-on .drs-num { background: var(--glow); border-color: var(--glow); color: var(--ov); }
.drs-card.is-done .drs-num { border-color: var(--accent); color: var(--accent); }
.drs-card.is-done .drs-meter i { transform: scaleX(1); }
.drs-card.is-done .drs-state, .drs-card.is-on .drs-state { background: var(--glow); border-color: var(--glow); color: var(--ov); }
.drs-card.is-done .drs-ic--open { display: none; } .drs-card.is-done .drs-ic--shut { display: grid; }
.drs-card.is-done { animation: drs-pop .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes drs-pop { 40% { transform: translateY(-4px) scale(1.02); } }

/* ---- Protection meter + CTA ---- */
.drs-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; margin-top: 2rem; padding: 1.25rem 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.drs-prot { flex: 1 1 18rem; display: flex; align-items: center; gap: 1rem; }
.drs-prot > svg { flex: none; width: 2rem; height: 2rem; color: var(--accent); }
.drs-prot-t { flex: 1; display: grid; gap: .5rem; }
.drs-prot-t strong { font: 700 1.0625rem/1.3 var(--font-head); }
.drs-bar { display: block; height: 8px; border-radius: 8px; background: var(--border); overflow: hidden; }
.drs-bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(1); transition: transform .8s cubic-bezier(.3, 1, .4, 1); }
.drs.is-ready .btn-hero--solid { animation: drs-glow 1.8s ease-in-out infinite; }     /* the CTA glows when all four steps are secured */
@keyframes drs-glow { 50% { box-shadow: 0 0 24px color-mix(in srgb, var(--glow) 70%, transparent); } }
.drs-foot .btn-hero svg { transition: transform .3s; } .drs-foot .btn-hero:hover svg { transform: translateX(4px); }

/* ---- Responsive ---- */
@media (max-width: 1000px) { .drs-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {                            /* taller photo crop, pins use their phone positions */
  .drs-stage { aspect-ratio: 4 / 3; }
  .drs-pin { left: var(--mx); top: var(--my); width: 2.25rem; height: 2.25rem; }
}
@media (max-width: 520px) { .drs-cards { grid-template-columns: minmax(0, 1fr); } .drs-foot { padding: 1.25rem; } }
@media (prefers-reduced-motion: reduce) {
  .drs-tag i, .drs-pin.is-on, .drs-card.is-done, .drs.is-ready .btn-hero--solid { animation: none !important; }
  .drs-card.is-on .drs-meter i { animation: none; transform: scaleX(1); }
  .drs-img, .drs-beam, .drs-pin, .drs-card, .drs-bar i { transition: none; }
}

/* 44. RESOURCES SECTION 4: E-WASTE AWARENESS & ENVIRONMENTAL IMPACT ------------- */
/* Flat background on purpose (no glows). Colour variables only. Slider position and counters are set by index.js section 44. */
.awr {
  --ov: var(--text);                                   /* text colour used on lime fills */
  padding-block: clamp(4rem, 8vw, 6.5rem);             /* top and bottom are equal */
  background: var(--surface); color: var(--text); border-top: 1px solid var(--border);
}
[data-theme="dark"] .awr { --ov: var(--bg); }

/* ---- Header (same pattern as the other sections) ---- */
.awr-head { display: grid; gap: 1.1rem; justify-items: start; max-width: 46rem; margin-bottom: 3rem; }
.awr-tag { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; }
.awr-tag i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); animation: awr-blink 1.6s ease-in-out infinite; }
@keyframes awr-blink { 50% { opacity: .3; transform: scale(.7); } }
.awr-title { margin: 0; font: 800 clamp(2.1rem, 4.2vw, 3.3rem)/1.1 var(--font-head); letter-spacing: -.02em; }
.awr-title em { font-style: normal; color: var(--accent); }
.awr-lead { margin: 0; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }

/* ---- Layout ---- */
.awr-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }

/* ---- Before / after slider ---- */
.awr-fig { margin: 0; display: grid; grid-template-rows: 1fr auto; gap: 1rem; }   /* photo grows so both columns end on the same line */
.awr-cmp { position: relative; min-height: 20rem; overflow: hidden; border-radius: 22px; border: 1px solid var(--border); background: var(--bg); touch-action: pan-y; }
.awr-cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.awr-a { filter: grayscale(.85) brightness(.8); }                                   /* dumped: dull and grey */
.awr-b { clip-path: inset(0 0 0 var(--pos)); }                                       /* recovered: shown to the right of the handle */
.awr-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--glow); box-shadow: 0 0 14px var(--glow); pointer-events: none; }
.awr-knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--surface); color: var(--accent); border: 2px solid var(--glow); }
.awr-knob svg { width: 1.4rem; height: 1.4rem; }
.awr-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.awr-cmp:has(.awr-range:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.awr-caps { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.awr-caps span { display: grid; gap: .25rem; padding: .9rem 1rem; font-size: .9375rem; line-height: 1.5; color: color-mix(in srgb, var(--text) 82%, var(--surface)); background: var(--bg); border: 1.5px solid var(--border); border-radius: 14px; transition: border-color .4s, color .4s, transform .4s; }
.awr-caps strong { font: 700 1.0625rem/1.3 var(--font-head); color: var(--text); }
.awr-caps span.is-lead { border-color: var(--accent); transform: translateY(-3px); color: var(--text); }   /* the caption of the side that is showing more */

/* ---- Calculator ---- */
.awr-calc { display: grid; gap: 1.1rem; align-content: start; padding: clamp(1.25rem, 3vw, 2rem); background: var(--bg); border: 1px solid var(--border); border-radius: 22px; }
.awr-calc h3 { margin: 0; font: 800 1.375rem/1.2 var(--font-head); }
.awr-lbl { font-weight: 600; }
.awr-lbl strong { color: var(--accent); font-size: 1.125rem; }
.awr-dev { width: 100%; margin: 0; accent-color: var(--accent); cursor: pointer; }
.awr-dots { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: .4rem; }
.awr-dots i { aspect-ratio: 1; border-radius: 6px; background: var(--surface); border: 1.5px solid var(--border); transition: background .35s, border-color .35s, transform .35s; }
.awr-dots i.is-lit { background: var(--glow); border-color: var(--glow); transform: scale(1.06); }
.awr-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.awr-stats li { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center; padding: .85rem 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.awr-stats svg { grid-row: span 2; width: 1.6rem; height: 1.6rem; color: var(--accent); }
.awr-stats strong { font: 800 1.5rem/1.1 var(--font-head); }
.awr-stats span { font-size: .875rem; color: color-mix(in srgb, var(--text) 80%, var(--surface)); }
.awr-note { margin: 0; font-size: .875rem; line-height: 1.5; color: color-mix(in srgb, var(--text) 78%, var(--surface)); }

/* ---- Awareness facts ---- */
.awr-facts { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.awr-fact { display: grid; gap: .6rem; align-content: start; padding: 1.5rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .4s, transform .4s; }
.awr-fact:hover { border-color: var(--accent); transform: translateY(-4px); }
.awr-big { display: flex; align-items: baseline; gap: .4rem; color: var(--accent); }
.awr-big b { font: 800 clamp(2.4rem, 4vw, 3.2rem)/1 var(--font-head); }
.awr-big small { font: 700 1.125rem var(--font-head); }
.awr-fact > span:last-child { color: color-mix(in srgb, var(--text) 84%, var(--surface)); line-height: 1.55; }
.awr-src { margin: 1rem 0 0; font-size: .875rem; color: color-mix(in srgb, var(--text) 78%, var(--surface)); }
.awr-cta { display: flex; margin-top: 2rem; }
.awr-cta .btn-hero svg { transition: transform .3s; } .awr-cta .btn-hero:hover svg { transform: translateX(4px); }

/* ---- Responsive ---- */
@media (max-width: 1000px) { .awr-grid { grid-template-columns: minmax(0, 1fr); } .awr-cmp { min-height: 0; aspect-ratio: 16 / 10; } }
@media (max-width: 700px) { .awr-facts { grid-template-columns: minmax(0, 1fr); } .awr-caps { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  .awr-tag i { animation: none; }
  .awr-caps span, .awr-fact, .awr-dots i { transition: none; }
}

/* 45. RESOURCES SECTION 5: FAQs & RECYCLING TIPS ------------------------------- */
/* Flat background on purpose (no glows). Chat messages and tips are added by index.js section 45. Colour variables only. */
.faq {
  --ov: var(--text);                                   /* text colour used on lime fills */
  padding-block: clamp(4rem, 8vw, 6.5rem);             /* top and bottom are equal */
  background: var(--bg); color: var(--text); border-top: 1px solid var(--border);
}
[data-theme="dark"] .faq { --ov: var(--bg); }

/* ---- Header (same pattern as the other sections) ---- */
.faq-head { display: grid; gap: 1.1rem; justify-items: start; max-width: 44rem; margin-bottom: 3rem; }
.faq-tag { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; }
.faq-tag i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); animation: faq-blink 1.6s ease-in-out infinite; }
@keyframes faq-blink { 50% { opacity: .3; transform: scale(.7); } }
.faq-title { margin: 0; font: 800 clamp(2.1rem, 4.2vw, 3.3rem)/1.1 var(--font-head); letter-spacing: -.02em; }
.faq-title em { font-style: normal; color: var(--accent); }
.faq-lead { margin: 0; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }

/* ---- Layout ---- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.faq-left { display: grid; grid-template-rows: 1fr auto; gap: 1.5rem; }

/* ---- Left: photo + tip ---- */
.faq-fig { margin: 0; display: grid; grid-template-rows: 1fr auto; gap: 1rem; }
.faq-photo { position: relative; min-height: 18rem; overflow: hidden; border-radius: 22px; border: 1px solid var(--border); background: var(--surface); }
.faq-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: faq-zoom 12s ease-in-out infinite alternate; }
@keyframes faq-zoom { to { transform: scale(1.07); } }
.faq-fig figcaption { font-size: .875rem; color: color-mix(in srgb, var(--text) 80%, var(--surface)); }
.faq-tip { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1.25rem 1.25rem 1.6rem; background: var(--surface); border: 1.5px solid var(--accent); border-radius: var(--radius); overflow: hidden; }
.faq-tip-ic { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--glow); color: var(--ov); }
.faq-tip-ic svg { width: 1.4rem; height: 1.4rem; }
.faq-tip-b { display: grid; gap: .3rem; }
.faq-tip-b strong { font: 700 .875rem var(--font-head); letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.faq-tip-b p { margin: 0; font-weight: 600; line-height: 1.5; }
.faq-tip.is-flip .faq-tip-b { animation: faq-flip .7s ease both; }
@keyframes faq-flip { 0% { opacity: 0; transform: rotateX(80deg) translateY(10px); } 100% { opacity: 1; transform: none; } }
.faq-next { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; padding: 0; cursor: pointer; border-radius: 50%; background: var(--bg); color: var(--accent); border: 1.5px solid var(--accent); transition: background .25s, color .25s, transform .25s; }
.faq-next svg { width: 1.1rem; height: 1.1rem; }
.faq-next:hover, .faq-next:focus-visible { background: var(--glow); color: var(--ov); transform: translateX(3px); }
.faq-dots { position: absolute; inset-inline: 1.25rem; bottom: .6rem; display: flex; gap: .35rem; }
.faq-dots i { flex: 1; height: 4px; border-radius: 4px; background: var(--border); transition: background .4s; }
.faq-dots i.is-on { background: var(--accent); }

/* ---- Right: chat ---- */
.faq-chat { display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 1rem; padding: clamp(1.25rem, 3vw, 1.75rem); background: var(--surface); border: 1px solid var(--border); border-radius: 22px; min-width: 0; }
.faq-bar { display: flex; align-items: center; gap: .85rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.faq-ava { flex: none; width: 3rem; height: 3rem; overflow: hidden; border-radius: 50%; border: 2px solid var(--accent); }
.faq-ava img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.faq-bar > div { display: grid; gap: .1rem; }
.faq-bar strong { font: 700 1.0625rem var(--font-head); }
.faq-bar span { display: inline-flex; align-items: center; gap: .45rem; font-size: .875rem; color: color-mix(in srgb, var(--text) 80%, var(--surface)); }
.faq-bar span i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); animation: faq-blink 1.6s ease-in-out infinite; }
.faq-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.faq-chip { padding: .5rem 1.1rem; cursor: pointer; font: 600 .9375rem var(--font-head); color: var(--text); background: var(--bg); border: 1.5px solid var(--border); border-radius: 999px; transition: background .25s, border-color .25s; }
.faq-chip:hover { border-color: var(--accent); }
.faq-chip:focus-visible, .faq-q:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.faq-chip[aria-pressed="true"] { background: var(--glow); border-color: var(--glow); color: var(--ov); }

/* Conversation */
.faq-log { display: flex; flex-direction: column; gap: .75rem; min-height: 15rem; max-height: 22rem; overflow-y: auto; padding: 1rem; background: var(--bg); border: 1px solid var(--border); border-radius: 16px; scroll-behavior: smooth; }
.faq-msg { max-width: 86%; padding: .75rem 1rem; border-radius: 16px; animation: faq-in .45s cubic-bezier(.3, 1.3, .5, 1) both; }
.faq-msg p { margin: 0; line-height: 1.55; }
.faq-msg--crew { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); border-end-start-radius: 4px; }
.faq-msg--you { align-self: flex-end; background: var(--glow); color: var(--ov); font-weight: 600; border-end-end-radius: 4px; }
@keyframes faq-in { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.faq-w { display: inline-block; animation: faq-word .35s ease both; animation-delay: calc(var(--i) * 40ms); }       /* answer reveals word by word */
@keyframes faq-word { from { opacity: 0; transform: translateY(6px); } }
.faq-typing { display: inline-flex; gap: .35rem; align-items: center; height: 1.55em; }
.faq-typing i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); animation: faq-dot 1s ease-in-out infinite; }
.faq-typing i:nth-child(2) { animation-delay: .15s; } .faq-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes faq-dot { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-5px); opacity: 1; } }

/* Suggested questions */
.faq-qs { display: grid; gap: .6rem; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; cursor: pointer; font: 600 .9375rem/1.4 var(--font-head); text-align: start; color: var(--text); background: var(--bg); border: 1.5px solid var(--border); border-radius: 14px; animation: faq-in .45s ease both; animation-delay: calc(var(--i) * 80ms); transition: border-color .25s, transform .25s; }
.faq-q:hover { border-color: var(--accent); transform: translateX(4px); }
.faq-q svg { flex: none; width: 1.1rem; height: 1.1rem; color: var(--accent); opacity: 0; transition: opacity .3s; }
.faq-q.is-asked svg { opacity: 1; }
.faq-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; padding-top: 1rem; border-top: 1px solid var(--border); font-weight: 600; }
.faq-foot .btn-hero svg { transition: transform .3s; } .faq-foot .btn-hero:hover svg { transform: translateX(4px); }

/* ---- Responsive ---- */
@media (max-width: 1000px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } .faq-photo { min-height: 0; aspect-ratio: 16 / 10; } .faq-left { grid-template-rows: auto auto; } .faq-fig { grid-template-rows: auto auto; } }
@media (max-width: 520px) { .faq-msg { max-width: 94%; } .faq-tip { grid-template-columns: auto minmax(0, 1fr); } .faq-next { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .faq-tag i, .faq-bar span i, .faq-photo img, .faq-typing i, .faq-tip.is-flip .faq-tip-b, .faq-msg, .faq-w, .faq-q { animation: none !important; }
  .faq-log { scroll-behavior: auto; } .faq-q, .faq-chip, .faq-next { transition: none; }
}

/* What We Accept: remove electric, scanning and pulsing glow effects across this page. */
.page-accepted *,
.page-accepted *::before,
.page-accepted *::after { animation: none !important; }
.page-accepted .fx,
.page-accepted .spark::before,
.page-accepted .wp-waves,
.page-accepted .wp-screen::after,
.page-accepted .wo-roll,
.page-accepted .ec-ring,
.page-accepted .hh-glow,
.page-accepted .wac-scan { display: none !important; }
.page-accepted .wa-hero::after,
.page-accepted .wp::after,
.page-accepted .wo::after,
.page-accepted .ea::before,
.page-accepted .ea::after,
.page-accepted .ec::after,
.page-accepted .hh::before,
.page-accepted .hh::after { display: none !important; }
.page-accepted .wo-shots.is-crt { filter: none !important; transform: none !important; }
.page-accepted .wo-bezel,
.page-accepted .wp-body,
.page-accepted .ea-frame,
.page-accepted .wp-card.is-on,
.page-accepted .wo-unit.is-on,
.page-accepted .ea-ch.is-on,
.page-accepted .ec-card.is-on,
.page-accepted .hh-tab.is-on { box-shadow: none !important; }
/* The Accepted page disables motion globally; keep the selected audio panel text visible without its entrance animation. */
.page-accepted .ea-panel.is-on > * { opacity: 1 !important; transform: none !important; }
.page-accepted h1,
.page-accepted h2,
.page-accepted h3,
.page-accepted em { text-shadow: none !important; }

/* 46. CONTACT SECTION 2: PICKUP REQUEST FORM ------------------------------------- */
/* Four-step route form (truck road, one step at a time) + photo with caption below and a live summary. Calm motion only: slides and fades, nothing flashes. Colour variables only. */
.prf {
  --ov: var(--text);                                   /* text colour used on lime fills */
  --gap: clamp(2rem, 5vw, 4rem);                       /* gap between the two columns */
  padding-block: clamp(4rem, 8vw, 6.5rem);             /* top and bottom are equal */
  background: var(--bg); color: var(--text); border-top: 1px solid var(--border);
}
[data-theme="dark"] .prf { --ov: var(--bg); }

/* Heading */
.prf-head { display: grid; justify-items: center; gap: 1.25rem; margin-bottom: 3rem; text-align: center; }
.prf-tag { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; }
.prf-tag i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); }
.prf-title { margin: 0; font: 800 clamp(2.2rem, 4.6vw, 3.6rem)/1.1 var(--font-head); letter-spacing: -.02em; }
.prf-title em { font-style: normal; color: var(--accent); }
.prf-lead { margin: 0; max-width: 38rem; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }

/* Two columns */
.prf-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--gap); align-items: stretch; }   /* both columns end at the same line */
.prf-card { padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: 0 16px 40px color-mix(in srgb, var(--glow) 16%, transparent); }
.prf-card { display: grid; grid-template-rows: 1fr; }   /* the visible child (form or confirmation) fills the card */
.prf-form { display: grid; gap: 1.75rem; align-content: start; }

/* Road progress: nodes in four equal columns, truck rides above them */
.prf-road { display: grid; gap: .5rem; --s: 0; }
.prf-lane { position: relative; height: 2.75rem; }
.prf-truck { position: absolute; bottom: 0; left: calc(12.5% + var(--s) * 25%); height: 2.75rem; width: auto; transform: translateX(-50%) scaleX(-1); transition: left .9s cubic-bezier(.65, 0, .25, 1); }   /* flipped so the cab faces forward */
.prf-nodes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.prf-li { position: relative; }
.prf-li:not(:last-child)::after { content: ""; position: absolute; top: 1.4375rem; left: calc(50% + 1.5rem + .5rem); width: calc(100% - 3rem - 1rem); height: 3px; border-radius: 3px; background: var(--border); transition: background .6s; }   /* road segment between two dots (never touches them) */
.prf-li.is-done:not(:last-child)::after { background: var(--accent); }
.prf-node { display: grid; justify-items: center; gap: .5rem; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: default; }
.prf-li.is-done .prf-node, .prf-li.is-reach .prf-node { cursor: pointer; }
.prf-node:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 12px; }
.prf-dot { position: relative; display: grid; place-items: center; width: 3rem; aspect-ratio: 1; border-radius: 50%; background: var(--bg); border: 2px solid var(--border); font: 800 1.0625rem var(--font-head); color: var(--muted); transition: background .5s, border-color .5s, color .5s; }
.prf-dot svg { position: absolute; width: 1.25rem; height: 1.25rem; opacity: 0; transform: scale(.5); transition: opacity .4s, transform .4s; }
.prf-li.is-on .prf-dot { border-color: var(--accent); color: var(--text); }
.prf-li.is-done .prf-dot { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.prf-li.is-done .prf-dot b { opacity: 0; }
.prf-li.is-done .prf-dot svg { opacity: 1; transform: scale(1); }
.prf-nl { font: 700 .9375rem var(--font-head); color: var(--muted); transition: color .4s; }
.prf-li.is-on .prf-nl, .prf-li.is-done .prf-nl { color: var(--text); }

/* Steps: only the current one is shown; it slides in softly */
.prf-step { display: none; gap: 1.25rem; align-content: start; }
.prf-step.is-on { display: grid; animation: prf-in .55s cubic-bezier(.2, .7, .2, 1); }
.prf-step.is-back { animation-name: prf-in-back; }
@keyframes prf-in { from { opacity: 0; transform: translateX(1.5rem); } to { opacity: 1; transform: none; } }
@keyframes prf-in-back { from { opacity: 0; transform: translateX(-1.5rem); } to { opacity: 1; transform: none; } }
.prf-step h3 { margin: 0; font: 700 1.5rem/1.2 var(--font-head); }
.prf-hint { margin: -.5rem 0 0; font-size: 1rem; color: var(--muted); }
.prf-sub { margin: .25rem 0 -.25rem; font: 700 1.0625rem var(--font-head); }

/* Chips (checkbox / radio) */
.prf-chips { display: flex; flex-wrap: wrap; gap: .625rem; }
.prf-chip { position: relative; cursor: pointer; }
.prf-chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.prf-chip span { display: inline-flex; align-items: center; padding: .6rem 1.1rem; font: 600 .9375rem var(--font-head); background: var(--bg); border: 1px solid var(--border); border-radius: 999px; transition: background .3s, border-color .3s, transform .3s; }
.prf-chip:hover span { border-color: var(--accent); transform: translateY(-2px); }
.prf-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.prf-chip input:checked + span { background: var(--glow); border-color: var(--accent); color: var(--ov); }

/* Service options (three equal cards) */
.prf-svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.prf-opt { position: relative; display: grid; cursor: pointer; }
.prf-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.prf-opt span { display: grid; align-content: start; gap: .25rem; padding: .9rem 1rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); transition: background .3s, border-color .3s, transform .3s; }
.prf-opt b { font: 700 1rem var(--font-head); }
.prf-opt small { font-size: .875rem; color: var(--muted); }
.prf-opt:hover span { border-color: var(--accent); transform: translateY(-2px); }
.prf-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.prf-opt input:checked + span { background: color-mix(in srgb, var(--glow) 22%, var(--surface)); border-color: var(--accent); }

/* Fields */
.prf-field { display: grid; gap: .45rem; min-width: 0; }
.prf-field label { font: 700 .9375rem var(--font-head); }
.prf-field label span { font-weight: 500; color: var(--muted); }
.prf-field input, .prf-field textarea {
  width: 100%; min-width: 0; padding: .8rem 1rem; font: 500 1rem var(--font-body, inherit); color: var(--text);
  background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius); transition: border-color .3s, background .3s;
}
.prf-field textarea { resize: vertical; min-height: 5.5rem; }
.prf-field input::placeholder, .prf-field textarea::placeholder { color: var(--muted); opacity: 1; }
.prf-field input:hover, .prf-field textarea:hover { border-color: var(--accent); }
.prf-field input:focus-visible, .prf-field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.prf-field input[aria-invalid="true"], .prf-field textarea[aria-invalid="true"] { border-color: var(--text); }
[data-theme="dark"] .prf-field input { color-scheme: dark; }
.prf-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.prf-dates { display: flex; flex-wrap: wrap; gap: .625rem; }
.prf-dates input { flex: 1 1 11rem; width: auto; }
.prf-quick { padding: 0 1.1rem; font: 600 .9375rem var(--font-head); color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 999px; cursor: pointer; transition: border-color .3s, background .3s; }
.prf-quick:hover { border-color: var(--accent); background: var(--surface); }
.prf-quick:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Consent checkbox */
.prf-agree { position: relative; display: flex; align-items: center; gap: .75rem; cursor: pointer; font: 500 1rem var(--font-body, inherit); }
.prf-agree input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.prf-box { flex: none; display: grid; place-items: center; width: 1.625rem; aspect-ratio: 1; border-radius: 8px; border: 2px solid var(--border); background: var(--bg); color: var(--bg); transition: background .3s, border-color .3s; }
.prf-box svg { width: 1rem; height: 1rem; }
.prf-box svg path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .35s ease-out .1s; }
.prf-agree input:focus-visible ~ .prf-box { outline: 2px solid var(--accent); outline-offset: 3px; }
.prf-agree input:checked ~ .prf-box { background: var(--accent); border-color: var(--accent); }
.prf-agree input:checked ~ .prf-box svg path { stroke-dashoffset: 0; }

/* The hidden attribute must always win over the display rules below (form, confirmation, back button) */
.prf [hidden] { display: none !important; }

/* Message + buttons */
.prf-msg { margin: 0; padding: .7rem 1rem; font: 700 .9375rem var(--font-head); color: var(--text); background: var(--bg); border: 1px solid var(--border); border-inline-start: 4px solid var(--accent); border-radius: var(--radius); }
.prf-msg:empty { display: none; }
.prf-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.prf-nav .btn-hero { margin-inline-start: auto; }
.prf-nav .btn-hero svg { transition: transform .3s; } .prf-nav .btn-hero:hover svg { transform: translateX(4px); }
.prf-back { padding: .85rem 1.5rem; font: 700 1rem var(--font-head); color: var(--text); background: transparent; border: 1.5px solid var(--border); border-radius: 999px; cursor: pointer; transition: border-color .3s, background .3s; }
.prf-back:hover { border-color: var(--accent); background: var(--bg); }
.prf-back:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Confirmation */
.prf-done { display: grid; justify-items: center; align-content: center; gap: 1rem; padding-block: 1rem; text-align: center; }
.prf-done:not([hidden]) { animation: prf-in .6s cubic-bezier(.2, .7, .2, 1); }
.prf-done h3 { margin: 0; font: 800 1.875rem var(--font-head); }
.prf-done p { margin: 0; max-width: 32rem; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }
.prf-done .prf-ref { font: 600 1rem var(--font-head); color: var(--muted); }
.prf-done .prf-ref b { color: var(--text); font-variant-numeric: tabular-nums; }
.prf-ok { display: grid; place-items: center; width: 5rem; aspect-ratio: 1; border-radius: 50%; background: var(--bg); border: 2px solid var(--border); color: var(--accent); }
.prf-ok svg { width: 3rem; height: 3rem; }
.prf-ok circle, .prf-ok path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: prf-draw 1s ease-out .15s forwards; }   /* the tick draws itself once */
.prf-ok path { animation-delay: .7s; }
@keyframes prf-draw { to { stroke-dashoffset: 0; } }
.prf-done .prf-nav { justify-content: center; margin-top: .5rem; }
.prf-done .prf-nav .btn-hero { margin-inline-start: 0; }

/* Right column: photo (caption below) + live summary */
.prf-aside { display: grid; gap: 1.5rem; }
.prf-fig { display: grid; gap: .9rem; margin: 0; }
.prf-frame { overflow: hidden; aspect-ratio: 16 / 10; border-radius: 24px; border: 1px solid var(--border); background: var(--surface); }
.prf-frame img { display: block; width: 100%; height: 100%; object-fit: cover; animation: prf-drift 18s ease-in-out infinite alternate; }
@keyframes prf-drift { from { transform: scale(1.03); } to { transform: scale(1.1); } }
.prf-fig figcaption { font: 600 .9375rem var(--font-head); color: color-mix(in srgb, var(--text) 84%, var(--surface)); }
.prf-sum { display: grid; margin: 0; padding: .5rem 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; }
.prf-sum > div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; }
.prf-sum > div + div { border-top: 1px dashed var(--border); }
.prf-sum dt { flex: none; font-size: .9375rem; color: var(--muted); }
.prf-sum dd { margin: 0; text-align: end; font: 700 1rem var(--font-head); overflow-wrap: anywhere; }
.prf-sum dd.is-new { animation: prf-text .5s ease-out; }   /* a changed value slides in softly (no colour change) */
@keyframes prf-text { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Tablet / phone */
@media (max-width: 960px) { .prf-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .prf-svc, .prf-two { grid-template-columns: 1fr; }
  .prf-nl { font-size: .8125rem; }
  .prf-li:not(:last-child)::after { left: calc(50% + 1.5rem + .25rem); width: calc(100% - 3rem - .5rem); }
}
/* Reduced motion: no sliding, no driving, no drifting */
@media (prefers-reduced-motion: reduce) {
  .prf-step.is-on, .prf-done:not([hidden]), .prf-frame img, .prf-sum dd.is-new { animation: none; }
  .prf-truck, .prf-dot, .prf-dot svg, .prf-li::after, .prf-chip span, .prf-opt span { transition: none; }
  .prf-ok circle, .prf-ok path { animation: none; stroke-dashoffset: 0; }
}

/* 47. CONTACT SECTION 3: MAP --------------------------------------------------------- */
/* Heading, area chips, full-width map, then facts + buttons below it (nothing sits on the map). Calm fades only. Colour variables only. */
.mps {
  --ov: var(--text);                                   /* text colour used on lime fills */
  padding-block: clamp(4rem, 8vw, 6.5rem);             /* top and bottom are equal */
  background: var(--surface); color: var(--text); border-top: 1px solid var(--border);
}
[data-theme="dark"] .mps { --ov: var(--bg); }

/* Heading */
.mps-head { display: grid; justify-items: center; gap: 1.25rem; margin-bottom: 2rem; text-align: center; }
.mps-tag { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; }
.mps-tag i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); }
.mps-title { margin: 0; font: 800 clamp(2.2rem, 4.6vw, 3.6rem)/1.1 var(--font-head); letter-spacing: -.02em; }
.mps-title em { font-style: normal; color: var(--accent); }
.mps-lead { margin: 0; max-width: 38rem; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }

/* Area chips */
.mps-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .625rem; margin-bottom: 1.5rem; }
.mps-chip { position: relative; cursor: pointer; }
.mps-chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.mps-chip span { display: inline-flex; align-items: center; padding: .6rem 1.2rem; font: 600 .9375rem var(--font-head); background: var(--bg); border: 1px solid var(--border); border-radius: 999px; transition: background .3s, border-color .3s, transform .3s; }
.mps-chip:hover span { border-color: var(--accent); transform: translateY(-2px); }
.mps-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.mps-chip input:checked + span { background: var(--glow); border-color: var(--accent); color: var(--ov); }

/* Map: full container width; the iframe fades while a new area loads */
.mps-frame { overflow: hidden; height: clamp(22rem, 46vw, 34rem); border-radius: 24px; border: 1px solid var(--border); background: var(--bg); box-shadow: 0 16px 40px color-mix(in srgb, var(--glow) 16%, transparent); }
.mps-frame iframe { display: block; width: 100%; height: 100%; border: 0; transition: opacity .5s; }
.mps-frame.is-loading iframe { opacity: .35; }
[data-theme="dark"] .mps-frame iframe { filter: invert(.9) hue-rotate(180deg) brightness(.95) contrast(.9); }   /* gives the light map a dark look in dark mode */

/* Facts + buttons below the map */
.mps-info { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 2rem; align-items: center; margin-top: 1.5rem; }
.mps-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.mps-facts li { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.mps-facts li > div { display: grid; gap: .15rem; min-width: 0; }
.mps-facts b { font: 700 1.0625rem var(--font-head); }
.mps-facts li span:not(.mps-ico) { font-size: .9375rem; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }
.mps-ico { flex: none; display: grid; place-items: center; width: 2.75rem; aspect-ratio: 1; border-radius: 50%; background: var(--bg); border: 1px solid var(--border); color: var(--accent); }
.mps-ico svg { width: 1.375rem; height: 1.375rem; }
.mps-btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.mps-btns .btn-hero svg { transition: transform .3s; } .mps-btns .btn-hero:hover svg { transform: translate(3px, -3px); }
.mps-alt { display: inline-flex; align-items: center; padding: .85rem 1.5rem; font: 700 1rem var(--font-head); color: var(--text); background: transparent; border: 1.5px solid var(--border); border-radius: 999px; text-decoration: none; transition: border-color .3s, background .3s; }
.mps-alt:hover { border-color: var(--accent); background: var(--bg); }
.mps-alt:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (max-width: 1000px) { .mps-info { grid-template-columns: 1fr; } .mps-facts { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .mps-frame iframe, .mps-chip span { transition: none; } }

/* 47 (continued). CONTACT SECTION 3: GET IN TOUCH, under the map -------------------- */
.mps-touch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2rem clamp(2rem, 5vw, 4rem); align-items: center; margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--border); }
.mps-touch-t { display: grid; gap: .75rem; }
.mps-touch-t h3 { margin: 0; font: 800 clamp(1.75rem, 3vw, 2.25rem)/1.15 var(--font-head); letter-spacing: -.02em; }
.mps-touch-t p { margin: 0; max-width: 30rem; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }
.mps-touch-list { display: grid; margin: 0; padding: 0; list-style: none; }
.mps-touch-list li + li { border-top: 1px dashed var(--border); }
.mps-touch-list a { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; color: inherit; text-decoration: none; transition: transform .35s; }
.mps-touch-list a:hover { transform: translateX(6px); }
.mps-touch-list a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 12px; }
.mps-tc { display: grid; gap: .1rem; min-width: 0; }
.mps-tc small { font-size: .875rem; color: var(--muted); }
.mps-tc b { font: 700 1.125rem var(--font-head); overflow-wrap: anywhere; }
.mps-touch-list a:hover .mps-ico { background: var(--glow); border-color: var(--accent); color: var(--ov); }
.mps-ico { transition: background .3s, border-color .3s, color .3s; }
@media (max-width: 1000px) { .mps-touch { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .mps-touch-list a, .mps-ico { transition: none; } }

/* 48. 404 PAGE ------------------------------------------------------------------------ */
/* Message left, truck picture right (caption below). Calm motion only. Colour variables only. */
.nf {
  --ov: var(--text);
  padding-block: clamp(7rem, 12vw, 9rem);              /* top and bottom are equal (clears the floating navbar) */
  background: var(--bg); color: var(--text);
}
[data-theme="dark"] .nf { --ov: var(--bg); }
.nf-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.nf-text { display: grid; gap: 1.5rem; justify-items: start; }
.nf-tag { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; }
.nf-tag i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); }
.nf-title { margin: 0; font: 800 clamp(2.4rem, 5vw, 4rem)/1.08 var(--font-head); letter-spacing: -.03em; }
.nf-title em { font-style: normal; color: var(--accent); }
.nf-lead { margin: 0; max-width: 34rem; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }
.nf-btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.nf .btn-hero svg { transition: transform .3s; } .nf .btn-hero:hover svg { transform: translateX(4px); }
.nf-alt { display: inline-flex; align-items: center; padding: .85rem 1.5rem; font: 700 1rem var(--font-head); color: var(--text); border: 1.5px solid var(--border); border-radius: 999px; text-decoration: none; transition: border-color .3s, background .3s; }
.nf-alt:hover { border-color: var(--accent); background: var(--surface); }
.nf-links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; font-size: .9375rem; }
.nf-links span { color: var(--muted); font-weight: 600; }
.nf-links a { color: var(--text); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.nf-links a:hover { color: var(--accent); }
.nf-alt:focus-visible, .nf-links a:focus-visible, .soon-alt:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.nf-fig { display: grid; gap: .9rem; margin: 0; }
.nf-frame { position: relative; overflow: hidden; display: grid; align-content: end; aspect-ratio: 16 / 11; padding: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; }
.nf-truck { display: block; width: 56%; height: auto; justify-self: start; animation: nf-drive 9s ease-in-out infinite alternate; }   /* drives slowly along the road */
@keyframes nf-drive { from { transform: translateX(0); } to { transform: translateX(calc(100% * .85)); } }
.nf-road { display: block; height: 4px; margin-top: .75rem; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--border) 0 28px, transparent 28px 48px); }
.nf-fig figcaption { font: 600 .9375rem var(--font-head); color: color-mix(in srgb, var(--text) 84%, var(--surface)); }
@media (max-width: 900px) { .nf-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .nf-truck { animation: none; } .nf-alt { transition: none; } }

/* 49. COMING SOON PAGE ---------------------------------------------------------------- */
/* Message, launch bar and notify form on the left, picture (caption below) on the right. Calm motion only. Colour variables only. */
.soon {
  --ov: var(--text);
  padding-block: clamp(7rem, 12vw, 9rem);              /* top and bottom are equal (clears the floating navbar) */
  background: var(--bg); color: var(--text);
}
[data-theme="dark"] .soon { --ov: var(--bg); }
.soon-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.soon-text { display: grid; gap: 1.5rem; justify-items: start; }
.soon-tag { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; }
.soon-tag i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); }
.soon-title { margin: 0; font: 800 clamp(2.4rem, 5vw, 4rem)/1.08 var(--font-head); letter-spacing: -.03em; }
.soon-title em { font-style: normal; color: var(--accent); }
.soon-lead { margin: 0; max-width: 34rem; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }
.soon-meter { display: grid; gap: .6rem; width: 100%; max-width: 34rem; }
.soon-meter-top { display: flex; justify-content: space-between; font: 700 .9375rem var(--font-head); }
.soon-meter-top span { color: var(--muted); }
.soon-track { height: .625rem; overflow: hidden; border-radius: 999px; background: var(--border); }
.soon-fill { display: block; width: 80%; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--glow)); transform-origin: left; animation: soon-fill 2.2s cubic-bezier(.2, .7, .2, 1) both; }   /* fills once */
@keyframes soon-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.soon-form { display: flex; flex-wrap: wrap; gap: .75rem; width: 100%; max-width: 34rem; }
.soon-form input { flex: 1 1 14rem; min-width: 0; padding: .85rem 1.25rem; font: 500 1rem var(--font-body, inherit); color: var(--text); background: var(--surface); border: 1.5px solid var(--border); border-radius: 999px; transition: border-color .3s; }
.soon-form input::placeholder { color: var(--muted); opacity: 1; }
.soon-form input:hover { border-color: var(--accent); }
.soon-form input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.soon-form input[aria-invalid="true"] { border-color: var(--text); }
[data-theme="dark"] .soon-form input { color-scheme: dark; }
.soon-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.soon-msg { margin: -.5rem 0 0; font: 700 .9375rem var(--font-head); color: var(--accent); }
.soon-msg:empty { display: none; }
.soon-alt { color: var(--text); font: 700 1rem var(--font-head); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.soon-alt:hover { color: var(--accent); }
.soon-fig { display: grid; gap: .9rem; margin: 0; }
.soon-frame { overflow: hidden; aspect-ratio: 4 / 3; border-radius: 24px; border: 1px solid var(--border); background: var(--surface); }
.soon-frame img { display: block; width: 100%; height: 100%; object-fit: cover; animation: soon-drift 16s ease-in-out infinite alternate; }
@keyframes soon-drift { from { transform: scale(1.03); } to { transform: scale(1.1); } }
.soon-fig figcaption { font: 600 .9375rem var(--font-head); color: color-mix(in srgb, var(--text) 84%, var(--surface)); }
@media (max-width: 900px) { .soon-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .soon-fill, .soon-frame img { animation: none; } }

/* 50. CONTACT SECTION 4: HOW PICKUP WORKS ---------------------------------------------- */
/* Photo + road with a truck on the left, four steps on a vertical line on the right. --p (0 to 1, set by index.js from the scroll position) moves the truck and lights the steps. Calm motion only. Colour variables only. */
.pkw {
  --p: 1;                                              /* progress 0-1 (1 = everything lit when JS is off) */
  --ov: var(--text);                                   /* text colour used on lime fills */
  --gap: 1.5rem;                                       /* one gap value between the steps */
  padding-block: clamp(4rem, 8vw, 6.5rem);             /* top and bottom are equal */
  background: var(--bg); color: var(--text); border-top: 1px solid var(--border);
}
[data-theme="dark"] .pkw { --ov: var(--bg); }

/* Heading */
.pkw-head { display: grid; justify-items: center; gap: 1.25rem; margin-bottom: 3rem; text-align: center; }
.pkw-tag { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; }
.pkw-tag i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); }
.pkw-title { margin: 0; font: 800 clamp(2.2rem, 4.6vw, 3.6rem)/1.1 var(--font-head); letter-spacing: -.02em; }
.pkw-title em { font-style: normal; color: var(--accent); }
.pkw-lead { margin: 0; max-width: 38rem; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }

/* Two columns */
.pkw-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.pkw-side { position: sticky; top: 7rem; display: grid; gap: 1.25rem; }   /* stays in view while the steps scroll past */
.pkw-fig { display: grid; gap: .9rem; margin: 0; }
.pkw-frame { overflow: hidden; aspect-ratio: 4 / 3; border-radius: 24px; border: 1px solid var(--border); background: var(--surface); }
.pkw-frame img { display: block; width: 100%; height: 100%; object-fit: cover; animation: pkw-drift 18s ease-in-out infinite alternate; }
@keyframes pkw-drift { from { transform: scale(1.03); } to { transform: scale(1.1); } }
.pkw-fig figcaption { font: 600 .9375rem var(--font-head); color: color-mix(in srgb, var(--text) 84%, var(--surface)); }

/* Road strip: the truck sits above the dashed road, so nothing overlaps */
.pkw-lane { position: relative; display: grid; align-content: end; height: 4.25rem; padding: .75rem 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.pkw-truck { position: absolute; bottom: 1.5rem; left: calc(1.25rem + (100% - 2.5rem - 3.5rem) * var(--p)); width: 3.5rem; height: auto; transform: scaleX(-1); transition: left .35s linear; }   /* flipped so the cab faces forward */
.pkw-road { display: block; height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--border) 0 22px, transparent 22px 38px); }

/* Steps on a vertical line */
.pkw-main { display: grid; gap: 2rem; justify-items: start; }
.pkw-steps { display: grid; gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.pkw-li { position: relative; display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.pkw-li:not(:last-child)::after { content: ""; position: absolute; left: calc(1.75rem - 1.5px); top: calc(3.5rem + .375rem); bottom: calc(var(--gap) * -1 + .375rem); width: 3px; border-radius: 3px; background: var(--border); transition: background .6s; }   /* line sits between two dots, never touching them */
.pkw-li.is-on:not(:last-child)::after { background: var(--accent); }
.pkw-node { position: relative; display: grid; place-items: center; width: 3.5rem; aspect-ratio: 1; border-radius: 50%; background: var(--surface); border: 2px solid var(--border); font: 800 1.25rem var(--font-head); color: var(--muted); transition: background .5s, border-color .5s, color .5s; }
.pkw-node svg { position: absolute; width: 1.5rem; height: 1.5rem; opacity: 0; transform: scale(.5); transition: opacity .4s, transform .4s; }
.pkw-li.is-on .pkw-node { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.pkw-li.is-on .pkw-node b { opacity: 0; }
.pkw-li.is-on .pkw-node svg { opacity: 1; transform: scale(1); }
.pkw-txt { display: grid; gap: .5rem; justify-items: start; padding-top: .125rem; min-width: 0; transition: opacity .6s, transform .6s; }
.pkw-chip { padding: .25rem .75rem; font: 700 .8125rem var(--font-head); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; }
.pkw-txt h3 { margin: 0; font: 700 1.375rem/1.25 var(--font-head); }
.pkw-txt p { margin: 0; color: color-mix(in srgb, var(--text) 84%, var(--surface)); }
/* before the truck arrives (only when JS is running) the step is calmer */
.pkw.is-live .pkw-li:not(.is-on) .pkw-txt { opacity: .55; transform: translateX(.5rem); }
.pkw-btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.pkw .btn-hero svg { transition: transform .3s; } .pkw .btn-hero:hover svg { transform: translateX(4px); }

@media (max-width: 900px) { .pkw-grid { grid-template-columns: 1fr; } .pkw-side { position: static; } }
@media (prefers-reduced-motion: reduce) {
  .pkw-frame img { animation: none; }
  .pkw-truck, .pkw-node, .pkw-node svg, .pkw-txt, .pkw-li::after { transition: none; }
}

/* CONTACT SECTION 5: PREPARE ELECTRONICS FOR PICKUP ------------------------- */
.cprep { --ov: var(--text); padding-block: clamp(4rem, 8vw, 6.5rem); background: var(--bg); color: var(--text); border-top: 1px solid var(--border); }
[data-theme="dark"] .cprep { --ov: var(--bg); }
.cprep-head { display: grid; justify-items: center; gap: 1rem; margin: 0 auto 3rem; text-align: center; }
.cprep-tag { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .95rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font: 700 .8125rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
.cprep-tag i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); }
.cprep-head h2 { margin: 0; max-width: 34ch; font: 800 clamp(2.25rem, 4.5vw, 3.5rem)/1.08 var(--font-head); letter-spacing: -.03em; }
.cprep-head h2 em { color: var(--accent); font-style: normal; }
.cprep-head p { margin: 0; line-height: 1.7; color: color-mix(in srgb, var(--text) 82%, var(--surface)); }
.cprep-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4.5vw, 4rem); align-items: center; }
.cprep-fig { min-width: 0; margin: 0; }
.cprep-photo { aspect-ratio: 1.15 / 1; overflow: hidden; border-radius: 22px; background: var(--surface); }
.cprep-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cprep-fig figcaption { margin-top: .8rem; font-size: .9rem; font-weight: 600; color: color-mix(in srgb, var(--text) 82%, var(--surface)); }
.cprep-guide { display: grid; gap: 1.5rem; min-width: 0; }
.cprep-tabs { display: flex; flex-wrap: wrap; gap: .55rem; }
.cprep-tabs button { padding: .62rem 1rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); font: 600 .9rem var(--font-body); cursor: pointer; transition: background .2s, border-color .2s; }
.cprep-tabs button:hover, .cprep-tabs button[aria-selected="true"] { border-color: var(--accent); background: var(--glow); color: var(--ov); }
.cprep-tabs button:focus-visible, .cprep-item input:focus-visible + .cprep-check { outline: 2px solid var(--accent); outline-offset: 3px; }
.cprep-steps { display: grid; margin: 0; padding: 0; list-style: none; }
.cprep-item { display: block; padding: 1rem 0; border-bottom: 1px dashed var(--border); }
.cprep-item label { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .9rem; align-items: start; cursor: pointer; }
.cprep-item input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cprep-check { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border: 2px solid var(--border); border-radius: 8px; color: var(--bg); }
.cprep-check svg { width: 1rem; height: 1rem; opacity: 0; }
.cprep-item input:checked + .cprep-check { border-color: var(--accent); background: var(--accent); }
.cprep-item input:checked + .cprep-check svg { opacity: 1; }
.cprep-copy { display: grid; gap: .25rem; }
.cprep-copy strong { font: 700 1rem/1.35 var(--font-head); }
.cprep-copy span { font-size: .9rem; line-height: 1.5; color: color-mix(in srgb, var(--text) 82%, var(--surface)); }
.cprep-progress { display: grid; gap: .65rem; padding-top: .4rem; }
.cprep-progress strong { font: 700 .9rem var(--font-head); color: var(--accent); }
.cprep-track { display: block; height: 9px; overflow: hidden; border-radius: 9px; background: var(--border); }
.cprep-track i { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--accent), var(--glow)); transition: transform .35s ease; }
.cprep-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cprep-actions .btn-hero svg { transition: transform .25s; }
.cprep-actions .btn-hero:hover svg { transform: translateX(4px); }
@media (max-width: 900px) { .cprep-grid { grid-template-columns: 1fr; } .cprep-photo { aspect-ratio: 1.35 / 1; } }
@media (max-width: 560px) { .cprep-head { margin-bottom: 2rem; } .cprep-break { display: none; } .cprep-actions > * { flex: 1 1 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .cprep-tabs button, .cprep-track i, .cprep-actions .btn-hero svg { transition: none; } }

/* Standalone error and launch pages: compact header and viewport-height content. */
.standalone-page { min-height: 100vh; min-height: 100svh; }
.standalone-page .nav-inner { grid-template-columns: minmax(0, 1fr) auto; }
.standalone-page .menu-wrap,
.standalone-page .btn-login--bar,
.standalone-page .burger,
.standalone-page .footer { display: none !important; }
.standalone-page .nf,
.standalone-page .soon {
  min-height: calc(100vh - var(--nav-h) - 1.5rem);
  min-height: calc(100svh - var(--nav-h) - 1.5rem);
  display: grid; align-items: center; padding-block: clamp(2rem, 5vh, 4rem);
}
