/* ==========================================================
   Green Mandideals — shared styles
   Glassmorphism + spatial UI
   ========================================================== */

:root {
  --bg-0: #03140d;
  --bg-1: #062419;
  --green-1: #34d399;
  --green-2: #10b981;
  --lime: #a3e635;
  --mint: #6ee7b7;
  --amber: #fbbf24;
  --text: #ecfdf5;
  --text-dim: #a7c4b8;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-highlight: rgba(255, 255, 255, 0.28);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 24px;
  --radius-sm: 14px;
  --max: 1200px;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
main, footer { overflow-x: clip; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-0);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--green-2); color: #022c22; }

/* ---------- Ambient background ---------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(1200px 800px at 80% -10%, #0b3d2a 0%, transparent 60%),
    radial-gradient(900px 700px at -10% 110%, #0a3324 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
}

/* Static soft blobs: radial gradients instead of filter: blur(), and no motion,
   so glass panels on top never have to re-blur a changing background. */
.blob { position: absolute; border-radius: 50%; }
.blob.b1 { width: 900px; height: 900px; top: -380px; left: -340px; background: radial-gradient(circle, rgba(16,185,129,0.45), transparent 65%); }
.blob.b2 { width: 760px; height: 760px; top: 30%; right: -340px; background: radial-gradient(circle, rgba(132,204,22,0.26), transparent 65%); }
.blob.b3 { width: 700px; height: 700px; bottom: -360px; left: 25%; background: radial-gradient(circle, rgba(14,165,233,0.18), transparent 65%); }

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}

/* Leaves float above the content (never behind glass), so drawing them doesn't force re-blurs */
#leaf-canvas {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.4;
}

/* ---------- Glass primitives ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow), inset 0 1px 0 var(--glass-highlight);
  position: relative;
}

/* glossy sheen that follows the cursor (set by JS) */
.glass.sheen::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,0.12), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.glass.sheen:hover::after { opacity: 1; }

/* ---------- Layout ---------- */
.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }

section { padding: 110px 0; position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(110, 231, 183, 0.25);
  border-radius: 999px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: pulse 2s infinite; }

@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; }
h2.section-title { font-size: clamp(2rem, 4vw, 3rem); margin: 18px 0 14px; }
.section-sub { color: var(--text-dim); max-width: 640px; font-size: 1.05rem; }
.center { text-align: center; }
.center .section-sub { margin-inline: auto; }

.gradient-text {
  background: linear-gradient(100deg, var(--mint), var(--lime) 50%, var(--green-1));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-1), var(--lime));
  color: #022c22;
  box-shadow: 0 10px 30px rgba(52, 211, 153, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(163, 230, 53, 0.45); }
.btn-ghost {
  background: var(--glass);
  border-color: var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
}
.btn-ghost:hover { background: var(--glass-strong); transform: translateY(-3px); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Navbar ---------- */
.nav-wrap {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  transition: top 0.3s;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 12px 22px;
  border-radius: 999px;
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.logo-mark {
  width: 66px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  padding: 4px 6px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(132, 204, 22, 0.25), 0 0 0 1px rgba(255,255,255,0.6);
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.08); }

.foot-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 170px;
  padding: 14px 14px 12px;
  color: #14532d;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  transition: transform 0.3s;
}
.foot-logo:hover { transform: translateY(-4px); }
.foot-logo img { width: 100%; height: auto; }
.logo span em { font-style: normal; color: var(--mint); }

.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.93rem;
  color: var(--text-dim);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,0.08); }
.nav-links .btn { padding: 10px 20px; color: #022c22; }

.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--text);
  cursor: pointer;
  place-items: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: 0.3s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 140px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); margin: 22px 0; }
.hero p.lead { font-size: 1.15rem; color: var(--text-dim); max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-tags { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 40px; color: var(--text-dim); font-size: 0.92rem; }
.hero-tags div { display: flex; align-items: center; gap: 8px; }
.hero-tags svg { width: 18px; height: 18px; color: var(--green-1); }

/* spatial 3D stage */
.stage { perspective: 1200px; height: 520px; position: relative; }
.stage-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 0.15s ease-out; }

.orb {
  position: absolute;
  top: 50%; left: 50%;
  width: 300px; height: 300px;
  margin: -150px 0 0 -150px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #a7f3d0, #10b981 45%, #064e3b 80%);
  box-shadow: 0 0 80px rgba(16,185,129,0.55), inset -20px -30px 60px rgba(0,0,0,0.35);
  transform: translateZ(0);
  animation: float 7s ease-in-out infinite;
}
.orb::before {
  content: "";
  position: absolute; inset: -40px;
  border-radius: 50%;
  border: 1px dashed rgba(167, 243, 208, 0.35);
  animation: spin 30s linear infinite;
}
.orb::after {
  content: "";
  position: absolute; inset: -90px;
  border-radius: 50%;
  border: 1px solid rgba(163, 230, 53, 0.15);
  animation: spin 50s linear infinite reverse;
}
.orb-icon { position: absolute; inset: 0; display: grid; place-items: center; }
.orb-icon svg { width: 120px; height: 120px; color: rgba(255,255,255,0.92); filter: drop-shadow(0 8px 20px rgba(0,0,0,0.3)); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }

.float-card {
  position: absolute;
  padding: 16px 18px;
  border-radius: 18px;
  display: flex; align-items: center; gap: 12px;
  min-width: 200px;
  font-size: 0.9rem;
  animation: float 6s ease-in-out infinite;
}
.float-card .ic {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; flex-shrink: 0;
}
.float-card .ic svg { width: 22px; height: 22px; }
.float-card strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.float-card small { color: var(--text-dim); }
.fc1 { top: 6%; left: -2%; transform: translateZ(80px); animation-delay: -1s; }
.fc2 { top: 42%; right: -6%; transform: translateZ(120px); animation-delay: -3s; }
.fc3 { bottom: 4%; left: 8%; transform: translateZ(60px); animation-delay: -2s; }
.ic-green { background: rgba(16,185,129,0.2); color: var(--green-1); }
.ic-lime { background: rgba(163,230,53,0.18); color: var(--lime); }
.ic-amber { background: rgba(251,191,36,0.18); color: var(--amber); }

/* ---------- Marquee ---------- */
.marquee { padding: 26px 0; border-block: 1px solid var(--glass-border); background: rgba(255,255,255,0.02); overflow: hidden; }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: scroll 30s linear infinite; }
.marquee-track span { display: flex; align-items: center; gap: 14px; font-family: var(--font-head); font-size: 1.3rem; color: var(--text-dim); white-space: nowrap; }
.marquee-track span::before { content: "✦"; color: var(--lime); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Cycle / how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 60px; position: relative; }
.step { padding: 30px 26px; transition: transform 0.4s; }
.step:hover { transform: translateY(-8px); }
.step-num {
  font-family: var(--font-head);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--lime);
}
.step-icon {
  width: 60px; height: 60px; margin: 18px 0;
  border-radius: 18px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(52,211,153,0.25), rgba(163,230,53,0.1));
  border: 1px solid rgba(110,231,183,0.3);
}
.step-icon svg { width: 30px; height: 30px; color: var(--mint); }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Audience (apartments / industries) ---------- */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 60px; }
.aud-card { padding: 40px; overflow: hidden; transform-style: preserve-3d; transition: transform 0.2s ease-out; }
.aud-card .badge {
  display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 600;
  background: rgba(163,230,53,0.15); color: var(--lime); margin-bottom: 18px;
}
.aud-card h3 { font-size: 1.7rem; margin-bottom: 12px; }
.aud-card p { color: var(--text-dim); }
.aud-card ul { margin-top: 22px; display: grid; gap: 12px; }
.aud-card li { display: flex; gap: 12px; align-items: flex-start; }
.aud-card li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; color: var(--green-1); }
.aud-card .big-ic {
  position: absolute; right: -30px; bottom: -30px; width: 200px; height: 200px;
  color: rgba(255,255,255,0.04);
}

/* ---------- Green Points ---------- */
.points-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.points-list { margin-top: 30px; display: grid; gap: 16px; }
.points-list .row { display: flex; gap: 16px; padding: 18px 20px; border-radius: var(--radius-sm); }
.points-list .row svg { width: 26px; height: 26px; color: var(--lime); flex-shrink: 0; }
.points-list .row h4 { font-size: 1.02rem; margin-bottom: 2px; }
.points-list .row p { color: var(--text-dim); font-size: 0.92rem; }

.calc { padding: 36px; }
.calc h3 { font-size: 1.4rem; margin-bottom: 6px; }
.calc .hint { color: var(--text-dim); font-size: 0.88rem; margin-bottom: 26px; }
.calc label { display: flex; justify-content: space-between; font-size: 0.93rem; margin-bottom: 10px; }
.calc label b { color: var(--mint); font-family: var(--font-head); }
.calc input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; border-radius: 99px;
  background: rgba(255,255,255,0.1);
  outline: none; margin-bottom: 26px;
}
.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-1), var(--lime));
  box-shadow: 0 0 0 6px rgba(163,230,53,0.2); cursor: pointer;
}
.calc input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border: none; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-1), var(--lime)); cursor: pointer;
}
.calc .result {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px;
}
.calc .result div { padding: 18px; border-radius: var(--radius-sm); background: rgba(0,0,0,0.2); border: 1px solid var(--glass-border); }
.calc .result small { color: var(--text-dim); font-size: 0.8rem; display: block; }
.calc .result strong { font-family: var(--font-head); font-size: 1.8rem; color: var(--lime); }
.calc .note { margin-top: 18px; font-size: 0.78rem; color: var(--text-dim); opacity: 0.8; }

/* points coin */
.coin {
  width: 70px; height: 70px; border-radius: 50%; margin-bottom: 20px;
  background: radial-gradient(circle at 30% 30%, #ecfccb, var(--lime) 45%, #3f6212);
  display: grid; place-items: center;
  box-shadow: 0 0 40px rgba(163,230,53,0.5);
  animation: coinflip 5s ease-in-out infinite;
}
.coin svg { width: 34px; height: 34px; color: #1a2e05; }
@keyframes coinflip { 0%,70%,100% { transform: rotateY(0); } 85% { transform: rotateY(360deg); } }

/* ---------- Manpower sourcing ---------- */
.man-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.man-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.man-step { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius-sm); transition: transform 0.3s; }
.man-step:hover { transform: translateY(-4px); }
.man-step > span { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--lime); line-height: 1.2; }
.man-step h4 { font-size: 1rem; margin-bottom: 4px; }
.man-step p { color: var(--text-dim); font-size: 0.88rem; }

.man-card { padding: 36px; transition: transform 0.2s ease-out; }
.man-card-head { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; }
.man-card-head h3 { font-size: 1.35rem; }
.man-card-head small { color: var(--text-dim); }
.role-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.role-chips span {
  padding: 8px 14px; border-radius: 999px; font-size: 0.86rem;
  background: rgba(255,255,255,0.06); border: 1px solid var(--glass-border);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.role-chips span:hover { background: rgba(163,230,53,0.14); border-color: rgba(163,230,53,0.4); transform: translateY(-2px); }
.client { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--glass-border); }
.client small { display: block; color: var(--text-dim); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.client-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 14px;
  font-family: var(--font-head); font-weight: 700;
  background: linear-gradient(135deg, rgba(52,211,153,0.18), rgba(163,230,53,0.08));
  border: 1px solid rgba(110,231,183,0.3);
}
.client-chip svg { width: 20px; height: 20px; color: var(--mint); }
.man-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Clients & growth ---------- */
.clients-slider {
  margin-top: 56px;
  padding: 14px 0 22px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clients-track {
  display: flex;
  width: max-content;
  animation: clients-slide 32s linear infinite;
}
.clients-slider:hover .clients-track,
.clients-slider:focus-within .clients-track { animation-play-state: paused; }
@keyframes clients-slide { to { transform: translateX(-50%); } }
.clients-track .client-tile { width: 290px; flex-shrink: 0; margin-right: 22px; }
.clients-track .client-tile:hover { transform: translateY(-6px); }
.client-tile {
  padding: 28px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto;
  column-gap: 18px; align-items: center; transition: transform 0.2s ease-out, border-color 0.3s;
}
.client-tile:hover { border-color: rgba(163,230,53,0.45); }
.client-tile .mono {
  grid-row: span 2;
  width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: #fff;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 10px 26px color-mix(in srgb, var(--c1) 45%, transparent);
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
}
.client-tile:hover .mono { transform: rotate(-8deg) scale(1.08); }
.client-tile h3 { font-size: 1.12rem; align-self: end; }
.client-tile small { color: var(--text-dim); align-self: start; }
.client-tile.more { border-style: dashed; }
.client-tile.has-logo { grid-template-columns: 1fr; grid-template-rows: auto; row-gap: 4px; }
.client-logo {
  height: 96px; margin-bottom: 14px; padding: 12px 18px;
  border-radius: 16px; overflow: hidden;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.3), inset 0 0 0 1px rgba(255,255,255,0.15);
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
}
.client-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.client-tile:hover .client-logo { transform: scale(1.04); }
.mono-logo { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; letter-spacing: 0.04em; color: #fff; }
.client-tile.more .client-logo { background: rgba(255,255,255,0.05) !important; border: 1px dashed var(--glass-border); color: var(--lime); box-shadow: none; }

.growth { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 26px; }
.growth-card { padding: 28px; transition: transform 0.35s; }
.growth-card:hover { transform: translateY(-6px); }
.growth-card .step-icon { margin: 0 0 16px; }
.growth-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.growth-card p { color: var(--text-dim); font-size: 0.92rem; }

/* founder experience */
.exp { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; }
.exp-stat { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 16px; background: rgba(163,230,53,0.12); border: 1px solid rgba(163,230,53,0.35); }
.exp-stat strong { font-family: var(--font-head); font-size: 2rem; line-height: 1; color: var(--lime); }
.exp-stat span { font-size: 0.8rem; line-height: 1.25; color: var(--text-dim); }
.exp-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.exp-tags span { padding: 6px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; background: rgba(255,255,255,0.07); border: 1px solid var(--glass-border); }
.founder-bio { color: var(--text-dim); margin-bottom: 18px; }

/* ---------- Blend n Bites Café ---------- */
.cafe {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  padding: 56px; overflow: hidden;
  background: linear-gradient(135deg, rgba(251,191,36,0.12), rgba(16,185,129,0.08) 60%, rgba(255,255,255,0.04));
}
.cafe-eyebrow { color: #fcd34d; background: rgba(251,191,36,0.12); border-color: rgba(252,211,77,0.3); }
.cafe-eyebrow .dot { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.cafe-gradient {
  background: linear-gradient(100deg, #fde68a, #f59e0b, #fde68a);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 5s linear infinite;
}
.cafe-features { display: grid; gap: 14px; margin-top: 26px; }
.cafe-feat { display: flex; gap: 14px; align-items: flex-start; }
.cafe-feat svg {
  width: 44px; height: 44px; padding: 10px; flex-shrink: 0; border-radius: 12px;
  color: #fcd34d; background: rgba(251,191,36,0.14); border: 1px solid rgba(252,211,77,0.25);
}
.cafe-feat h4 { font-size: 1rem; }
.cafe-feat p { color: var(--text-dim); font-size: 0.9rem; }
.btn-cafe {
  background: linear-gradient(135deg, #fcd34d, #f59e0b); color: #451a03;
  box-shadow: 0 10px 30px rgba(245,158,11,0.35);
}
.btn-cafe:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(245,158,11,0.5); }
.cafe-loc { display: inline-flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: 0.92rem; }
.cafe-loc svg { width: 18px; height: 18px; color: #fcd34d; }

.cafe-visual { position: relative; height: 340px; display: grid; place-items: center; }
.cafe-visual::before {
  content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(251,191,36,0.35), transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}
.cup { position: relative; width: 220px; animation: float 6s ease-in-out infinite; }
.cup-svg { width: 100%; height: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.35)); }
.steam { position: absolute; top: -70px; left: 50px; width: 80px; height: 80px; display: flex; justify-content: space-between; }
.steam i {
  display: block; width: 8px; height: 60px; border-radius: 8px;
  background: linear-gradient(to top, rgba(255,255,255,0.5), transparent);
  filter: blur(3px);
  animation: steam 3s ease-in-out infinite;
}
.steam i:nth-child(2) { animation-delay: 0.6s; }
.steam i:nth-child(3) { animation-delay: 1.2s; }
@keyframes steam {
  0% { transform: translateY(20px) scaleY(0.6); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(-30px) scaleY(1.2) translateX(6px); opacity: 0; }
}
.cafe-badge {
  position: absolute; top: 14%; right: 0;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  animation: float 5s ease-in-out infinite;
}
.cafe-badge.b2 { top: auto; bottom: 12%; right: auto; left: 0; animation-delay: -2s; }
.cafe-badge svg { width: 18px; height: 18px; color: #fcd34d; }

/* ---------- Impact / values ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 60px; }
.value { padding: 32px; }
.value svg { width: 36px; height: 36px; color: var(--mint); margin-bottom: 16px; }
.value h3 { font-size: 1.2rem; margin-bottom: 8px; }
.value p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 320px 1fr; gap: 50px; padding: 50px; align-items: center; }
.avatar {
  width: 100%; aspect-ratio: 1; border-radius: 50%;
  padding: 6px;
  background: conic-gradient(from 0deg, var(--green-1), var(--lime), #f97316, var(--green-1));
  position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45), 0 0 50px rgba(52,211,153,0.25);
  animation: float 7s ease-in-out infinite;
}
.avatar img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--bg-0);
  position: relative; z-index: 1;
  transition: transform 0.5s;
}
.avatar:hover img { transform: scale(1.03); }
.avatar::before {
  content: ""; position: absolute; inset: -14px;
  border-radius: 50%;
  border: 1px dashed rgba(167, 243, 208, 0.4);
  animation: spin 24s linear infinite;
}
.founder .role { color: var(--lime); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem; }
.founder h3 { font-size: 2.2rem; margin: 8px 0 16px; }
.founder blockquote { font-size: 1.1rem; color: var(--text-dim); border-left: 3px solid var(--green-1); padding-left: 18px; margin-bottom: 24px; }
.mail-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--glass-border);
  transition: background 0.2s;
  word-break: break-all;
}
.mail-chip:hover { background: rgba(255,255,255,0.12); }
.mail-chip svg { width: 18px; height: 18px; color: var(--mint); flex-shrink: 0; }

/* ---------- Contact / offices ---------- */
.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 60px; }
.office { padding: 32px; }
.office .tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); }
.office h3 { font-size: 1.35rem; margin: 10px 0 12px; }
.office p { color: var(--text-dim); }
.office .pin {
  width: 52px; height: 52px; border-radius: 16px; margin-bottom: 20px;
  display: grid; place-items: center;
  background: rgba(16,185,129,0.15); border: 1px solid rgba(110,231,183,0.3);
  position: relative;
}
.office .pin svg { width: 26px; height: 26px; color: var(--mint); }
.office .pin::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  border: 2px solid var(--green-1); opacity: 0;
  animation: ripple 2.4s ease-out infinite;
}
@keyframes ripple { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.6); opacity: 0; } }
.office a.link { display: inline-flex; gap: 8px; margin-top: 16px; color: var(--mint); font-weight: 500; }
.office a.link:hover { text-decoration: underline; }

/* ---------- CTA banner ---------- */
.cta-banner {
  padding: 60px; text-align: center; overflow: hidden;
  background: linear-gradient(135deg, rgba(16,185,129,0.22), rgba(163,230,53,0.1));
}
.cta-banner h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 14px; }
.cta-banner p { color: var(--text-dim); max-width: 560px; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
footer { padding: 70px 0 30px; border-top: 1px solid var(--glass-border); background: rgba(0,0,0,0.25); margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-grid h4 { font-size: 0.95rem; margin-bottom: 16px; }
.foot-grid p, .foot-grid li { color: var(--text-dim); font-size: 0.92rem; }
.foot-grid li { margin-bottom: 10px; }
.foot-grid a:hover { color: var(--mint); }
.foot-bottom {
  margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--glass-border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--text-dim); font-size: 0.85rem;
}

/* ---------- Legal pages ---------- */
.legal-hero { padding: 170px 0 50px; text-align: center; }
.legal-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin: 18px 0 12px; }
.legal-hero p { color: var(--text-dim); }
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: start; padding-bottom: 60px; }
.toc { position: sticky; top: 110px; padding: 24px; }
.toc h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--lime); margin-bottom: 14px; }
.toc a { display: block; padding: 7px 12px; border-radius: 10px; font-size: 0.9rem; color: var(--text-dim); transition: 0.2s; }
.toc a:hover, .toc a.active { background: rgba(255,255,255,0.07); color: var(--text); }
.legal-body { padding: 50px; }
.legal-body section { padding: 0; margin-bottom: 40px; scroll-margin-top: 110px; }
.legal-body h2 { font-size: 1.45rem; margin-bottom: 14px; display: flex; gap: 12px; align-items: baseline; }
.legal-body h2 .n { font-size: 0.9rem; color: var(--lime); font-weight: 700; }
.legal-body h3 { font-size: 1.05rem; margin: 18px 0 8px; color: var(--mint); }
.legal-body p, .legal-body li { color: #cfe3da; margin-bottom: 10px; }
.legal-body ul { padding-left: 4px; }
.legal-body ul li { position: relative; padding-left: 22px; }
.legal-body ul li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 8px; height: 8px; border-radius: 50%; background: var(--green-1); }
.legal-body a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.legal-body .callout { padding: 18px 22px; border-radius: var(--radius-sm); background: rgba(16,185,129,0.1); border: 1px solid rgba(110,231,183,0.25); margin: 16px 0; }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; padding-bottom: 60px; }
.contact-form { padding: 44px; }
.contact-form h2 { font-size: 1.6rem; }
.form-sub { color: var(--text-dim); font-size: 0.9rem; margin: 6px 0 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; color: #cfe3da; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  font: inherit; font-size: 0.95rem;
  color: var(--text);
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236ee7b7' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field select option { background: var(--bg-1); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: rgba(167,196,184,0.55); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green-1);
  background: rgba(0,0,0,0.35);
  box-shadow: 0 0 0 4px rgba(52,211,153,0.15);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #f87171; box-shadow: 0 0 0 4px rgba(248,113,113,0.12); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; color: var(--text-dim); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green-1); flex-shrink: 0; }
.consent a { color: var(--mint); text-decoration: underline; }
.consent.invalid span { color: #fca5a5; }
.form-error { color: #fca5a5; font-size: 0.9rem; margin-bottom: 14px; }
.form-success {
  display: flex; gap: 14px; margin-top: 22px; padding: 18px 20px;
  border-radius: 14px; background: rgba(16,185,129,0.12); border: 1px solid rgba(110,231,183,0.35);
  color: #cfe3da; font-size: 0.92rem; animation: loadIn 0.6s cubic-bezier(.2,.7,.2,1);
}
.form-success[hidden], .form-error[hidden] { display: none; }
.form-success svg { width: 24px; height: 24px; color: var(--green-1); flex-shrink: 0; }
.form-success a { color: var(--mint); text-decoration: underline; }

.contact-side { display: grid; gap: 18px; }
.info-card { display: flex; gap: 16px; padding: 24px; }
.info-card .pin {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(16,185,129,0.15); border: 1px solid rgba(110,231,183,0.3);
}
.info-card .pin svg { width: 24px; height: 24px; color: var(--mint); }
.info-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.info-card p { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 8px; }
.info-card a { color: var(--mint); }
.info-card a:hover { text-decoration: underline; }
.map-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 0.92rem; }
.map-link svg { width: 16px; height: 16px; }

@media (max-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .contact-form { padding: 26px; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1); }
.reveal.from-left { transform: translateX(-50px); }
.reveal.from-right { transform: translateX(50px); }
.reveal.zoom { transform: scale(0.9); }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* hero load-in */
.load-in { opacity: 0; transform: translateY(30px); animation: loadIn 1s cubic-bezier(.2,.7,.2,1) forwards; }
.load-in.l2 { animation-delay: 0.15s; }
.load-in.l3 { animation-delay: 0.3s; }
.load-in.l4 { animation-delay: 0.45s; }
.load-in.l5 { animation-delay: 0.6s; }
@keyframes loadIn { to { opacity: 1; transform: none; } }

/* scroll progress (scaleX is GPU-only, no layout) */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--green-1), var(--lime)); box-shadow: 0 0 12px var(--lime); will-change: transform; }

/* cursor glow removed for performance: it sat behind every glass panel */
.cursor-glow { display: none; }

/* Phones: lighter blur */
@media (max-width: 768px) {
  .glass { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
}

/* Moving elements skip backdrop blur (it would recompute every frame) */
.glass.float-card, .clients-track .glass, .glass.cafe-badge {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(12, 52, 37, 0.85);
}
.clients-track .glass { background: rgba(255,255,255,0.07); }
.marquee-track, .clients-track { will-change: transform; }

/* back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  opacity: 0; transform: translateY(20px); transition: 0.3s;
  color: var(--text);
}
.to-top.show { opacity: 1; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .points-wrap, .man-grid, .cafe { grid-template-columns: 1fr; }
  .cafe-visual { height: 280px; }
  .stage { height: 440px; max-width: 520px; margin-inline: auto; width: 100%; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .values, .offices, .growth { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .founder { grid-template-columns: 240px 1fr; padding: 36px; gap: 34px; }
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}

@media (max-width: 1180px) {
  .menu-toggle { display: grid; }
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px; border-radius: 22px;
    background: rgba(6, 36, 25, 0.92);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    opacity: 0; transform: translateY(-10px) scale(0.98); pointer-events: none;
    transition: 0.25s;
  }
  .menu-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 16px; }
  .nav-links .btn { justify-content: center; }
  .navbar { position: relative; }
}

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

@media (max-width: 640px) {
  section { padding: 80px 0; }
  .steps, .values, .offices, .foot-grid, .growth { grid-template-columns: 1fr; }
  .clients-track { animation-duration: 24s; }
  .clients-track .client-tile { width: 240px; margin-right: 16px; padding: 20px; }
  .client-logo { height: 84px; }
  .founder { grid-template-columns: 1fr; padding: 28px; text-align: left; }
  .avatar { max-width: 220px; margin-inline: auto; }
  .aud-card, .calc, .cta-banner, .man-card, .cafe { padding: 28px; }
  .man-steps { grid-template-columns: 1fr; }
  /* side-slide reveals would push the page wider than the phone; slide up instead */
  .reveal.from-left, .reveal.from-right { transform: translateY(30px); }
  .reveal.visible { transform: none; }
  .hero h1 { font-size: 2.3rem; }
  .hero-cta .btn, .man-cta .btn { flex: 1 1 auto; justify-content: center; }
  .client-chip, .mail-chip { max-width: 100%; }
  .exp-stat strong { font-size: 1.6rem; }
  .founder h3 { font-size: 1.8rem; }
  .cafe-badge { font-size: 0.75rem; padding: 8px 12px; }
  .cafe-visual { height: 240px; }
  .cup { width: 160px; }
  .steam { left: 36px; top: -60px; }
  .legal-body { padding: 26px; }
  .stage { height: 380px; }
  .orb { width: 200px; height: 200px; margin: -100px 0 0 -100px; }
  .orb-icon svg { width: 80px; height: 80px; }
  .float-card { min-width: 0; padding: 12px 14px; font-size: 0.8rem; }
  .fc1 { left: 0; }
  .fc2 { right: 0; }
  .calc .result strong { font-size: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .load-in { opacity: 1; transform: none; }
  .clients-slider { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  html { scroll-behavior: auto; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 44px auto 0; display: grid; gap: 14px; }
.faq { padding: 0; border-radius: var(--radius-sm); overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--lime); transition: transform .25s; }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--green-1); outline-offset: -2px; }
.faq p { margin: 0; padding: 0 24px 22px; color: var(--text-dim); line-height: 1.6; }
.faq p a { color: var(--mint); }

/* ---------- Chat assistant (Green Buddy) ---------- */
.to-top { bottom: 96px; }
.gm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gm-chat { position: fixed; right: 22px; bottom: 22px; z-index: 150; font-family: var(--font-body); }
.gm-chat-launcher {
  width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; position: relative;
  display: grid; place-items: center; color: #03140d;
  background: linear-gradient(135deg, var(--green-1), var(--lime));
  box-shadow: 0 10px 30px rgba(52, 211, 153, .45), 0 0 0 0 rgba(163, 230, 53, .5);
  transition: transform .2s;
}
.gm-chat-launcher:hover { transform: scale(1.06); }
.gm-chat-launcher:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
.gm-chat-launcher svg { width: 28px; height: 28px; }
.gm-ic-close, .gm-chat.open .gm-ic-open { display: none; }
.gm-chat.open .gm-ic-close { display: block; }
.gm-chat.open .gm-chat-launcher { animation: none; }
.gm-chat-badge {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%); white-space: nowrap;
  background: var(--bg-1); color: var(--text); border: 1px solid var(--glass-border); border-radius: 999px;
  padding: 7px 14px; font-size: .85rem; font-weight: 600; box-shadow: var(--shadow); pointer-events: none;
}
.gm-chat.open .gm-chat-badge { display: none; }
/* pulse ring via transform/opacity (animating box-shadow repainted every frame) */
.gm-chat-launcher::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  border: 2px solid rgba(163,230,53,.55);
  animation: gm-pulse 2.6s ease-out infinite;
}
.gm-chat.open .gm-chat-launcher::after { animation: none; opacity: 0; }
@keyframes gm-pulse { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.45); opacity: 0; } }

.gm-chat-panel {
  position: absolute; right: 0; bottom: 76px; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px));
  display: flex; flex-direction: column; overflow: hidden; border-radius: 20px;
  background: rgba(6, 36, 25, .96); border: 1px solid var(--glass-border); box-shadow: 0 24px 70px rgba(0,0,0,.6);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  animation: gm-in .22s ease-out;
}
.gm-chat-panel[hidden] { display: none; }
@keyframes gm-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.gm-chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--glass-border); background: linear-gradient(135deg, rgba(52,211,153,.18), rgba(163,230,53,.08)); }
.gm-chat-head strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--text); }
.gm-chat-head small { color: var(--text-dim); font-size: .78rem; display: flex; align-items: center; gap: 6px; }
.gm-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.gm-chat-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #03140d; background: linear-gradient(135deg, var(--green-1), var(--lime)); flex: none; }
.gm-chat-avatar svg { width: 20px; height: 20px; }
.gm-chat-close { margin-left: auto; background: transparent; border: 0; color: var(--text-dim); cursor: pointer; padding: 6px; border-radius: 8px; }
.gm-chat-close:hover { color: var(--text); background: var(--glass); }
.gm-chat-close svg { width: 20px; height: 20px; display: block; }

.gm-chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.gm-msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: .93rem; line-height: 1.5; word-wrap: break-word; }
.gm-msg p { margin: 0 0 6px; } .gm-msg p:last-child { margin: 0; }
.gm-msg ul { margin: 4px 0 6px; padding-left: 18px; list-style: disc; } .gm-msg li { margin: 2px 0; display: list-item; }
.gm-msg a { color: var(--mint); text-decoration: underline; }
.gm-assistant { align-self: flex-start; background: var(--glass-strong); color: var(--text); border-bottom-left-radius: 4px; }
.gm-user { align-self: flex-end; background: linear-gradient(135deg, var(--green-2), #65a30d); color: #fff; border-bottom-right-radius: 4px; white-space: pre-wrap; }
.gm-error { border: 1px solid rgba(251, 191, 36, .5); }
.gm-typing { display: flex; gap: 5px; padding: 14px; }
.gm-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: gm-bounce 1.2s infinite; }
.gm-typing span:nth-child(2) { animation-delay: .15s; } .gm-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes gm-bounce { 0%,60%,100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-4px); } }

.gm-chat-suggest { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 10px; }
.gm-chat-suggest[hidden] { display: none; }
.gm-chat-suggest button { background: rgba(16,185,129,.12); color: var(--text); border: 1px solid rgba(110,231,183,.4); border-radius: 999px; padding: 7px 12px; font-size: .8rem; cursor: pointer; font-family: inherit; }
.gm-chat-suggest button:hover { background: rgba(16,185,129,.25); }

.gm-chat-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--glass-border); }
.gm-chat-form textarea { flex: 1; resize: none; max-height: 110px; background: rgba(0,0,0,.25); color: var(--text); border: 1px solid var(--glass-border); border-radius: 14px; padding: 10px 12px; font: inherit; font-size: 16px; line-height: 1.4; }
.gm-chat-form textarea:focus { outline: none; border-color: var(--green-1); }
.gm-chat-form button { width: 42px; height: 42px; flex: none; border-radius: 12px; border: 0; cursor: pointer; display: grid; place-items: center; color: #03140d; background: linear-gradient(135deg, var(--green-1), var(--lime)); }
.gm-chat-form button:disabled { opacity: .5; cursor: wait; }
.gm-chat-form button svg { width: 20px; height: 20px; }
.gm-chat-note { margin: 0; padding: 0 14px 10px; font-size: .72rem; color: var(--text-dim); text-align: center; }
.gm-chat-note a { color: var(--mint); }

@media (max-width: 520px) {
  .gm-chat { right: 16px; bottom: 16px; }
  .gm-chat-badge { display: none; }
  .gm-chat-panel { position: fixed; right: 8px; left: 8px; bottom: 86px; width: auto; height: calc(100vh - 110px); height: calc(100dvh - 110px); }
}
@media (prefers-reduced-motion: reduce) { .gm-chat-launcher, .gm-chat-panel, .gm-typing span { animation: none; } }

/* ==========================================================
   PREMIUM LAYER (v4), from UI UX Pro Max guidance:
   Agriculture -> Organic Biophilic, earth green + harvest gold,
   Classic Elegant pairing (Playfair Display + Inter),
   Standard motion tier (expo-out easing, 60-90ms stagger),
   transform/opacity only, full reduced-motion fallback.
   ========================================================== */
:root {
  --font-display: "Playfair Display", Georgia, serif;
  --gold: #d9b56a;
  --gold-soft: rgba(217, 181, 106, 0.14);
  --gold-line: rgba(217, 181, 106, 0.38);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --hairline: rgba(255, 255, 255, 0.09);
}

/* --- Editorial typography --- */
h1, h2.section-title, .cta-banner h2, .legal-hero h1, .founder h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.hero h1 { line-height: 1.06; }
h2.section-title { line-height: 1.1; }
.gradient-text {
  font-style: italic;
  font-weight: 500;
  padding-right: 0.08em; /* italic overhang */
  background: linear-gradient(100deg, #a7f3d0, var(--gold) 45%, #bef264 70%, #a7f3d0);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  animation-duration: 9s;
}
.section-sub { line-height: 1.7; }

/* gold hairline eyebrow */
.eyebrow { color: #e9d5a4; background: var(--gold-soft); border-color: var(--gold-line); letter-spacing: 0.18em; }
.eyebrow .dot { background: var(--gold); box-shadow: 0 0 10px rgba(217,181,106,0.8); }
.step-num, .founder .role, .office .tag, .toc h4 { color: var(--gold); }

/* --- Vignette for depth (film-grain blend layer removed: it forced a full-screen repaint every frame) --- */
.ambient::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, transparent 55%, rgba(0,0,0,0.45) 100%); }

/* --- Navbar: compact on scroll, hides on scroll down --- */
.nav-wrap { transition: transform .5s var(--ease-out), top .4s var(--ease-out); }
.nav-wrap.scrolled { top: 10px; }
.nav-wrap.scrolled .navbar { background: rgba(4, 26, 18, 0.8); border-color: var(--hairline); }
.nav-wrap.nav-hidden:not(.menu-open) { transform: translateY(-130%); }
.navbar { transition: background .4s, border-color .4s; }
.nav-links a:not(.btn) { position: relative; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

/* --- Buttons: light sweep, magnetic hook, press feedback --- */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s, border-color .3s; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease-out);
}
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: scale(.97) !important; transition-duration: .1s; }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn svg { transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: linear-gradient(135deg, #34d399, #a3e635 120%); box-shadow: 0 10px 30px rgba(16,185,129,0.28), inset 0 1px 0 rgba(255,255,255,0.4); }
.btn-primary:hover { box-shadow: 0 16px 40px rgba(16,185,129,0.4), 0 0 0 1px rgba(217,181,106,0.4), inset 0 1px 0 rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: var(--gold-line); }

/* --- Glass cards: gold spotlight border that follows the cursor --- */
.glass.sheen::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(217,181,106,0.8), rgba(110,231,183,0.25) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.glass.sheen:hover::before { opacity: 1; }
.step, .growth-card { transition: transform .5s var(--ease-out); }
.step-icon { transition: transform .6s var(--ease-out), background .4s; }
.step:hover .step-icon, .growth-card:hover .step-icon { transform: rotate(-6deg) scale(1.08); background: linear-gradient(135deg, rgba(217,181,106,0.3), rgba(52,211,153,0.15)); }

/* --- Reveal system: expo-out, slight scale, auto-stagger via --d (set by JS) --- */
.reveal {
  transform: translateY(36px) scale(.985);
  transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.from-left { transform: translateX(-46px); }
.reveal.from-right { transform: translateX(46px); }
.reveal.zoom { transform: scale(.92); }
.reveal.visible { transform: none; }

/* gold underline draws under section titles */
h2.section-title::after {
  content: ""; display: block; width: 64px; height: 2px; margin-top: 18px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform-origin: left;
  transition: transform 1.2s var(--ease-out) .35s;
}
.center h2.section-title::after { margin-inline: auto; width: 110px; transform-origin: center; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.reveal:not(.visible) h2.section-title::after { transform: scaleX(0); }
/* keep the old delay-N helpers working with the --d stagger variable */
.delay-1 { --d: .1s; } .delay-2 { --d: .2s; } .delay-3 { --d: .3s; } .delay-4 { --d: .4s; }

/* --- Hero headline: word-by-word mask reveal (JS wraps words) --- */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .1em 0; margin-bottom: -.1em; }
.split-word > span { display: inline-block; transform: translateY(110%); animation: wordUp 1.1s var(--ease-out) forwards; animation-delay: calc(.2s + var(--i) * 75ms); }
@keyframes wordUp { to { transform: none; } }
.hero h1.is-split { opacity: 1; transform: none; animation: none; }
.hero h1.is-split .gradient-text { animation: none; background: none; color: inherit; -webkit-background-clip: border-box; background-clip: border-box; padding-right: 0; }
.hero h1.is-split .gradient-text .split-word > span {
  background: linear-gradient(100deg, #a7f3d0, var(--gold) 55%, #bef264);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* hero stage depth */
.orb { box-shadow: 0 0 90px rgba(16,185,129,0.45), 0 0 0 1px rgba(217,181,106,0.15), inset -20px -30px 60px rgba(0,0,0,0.35); }
.orb::after { border-color: rgba(217,181,106,0.22); }
.float-card { border-color: rgba(217,181,106,0.2); }

/* --- Marquee: editorial italics + gold stars --- */
.marquee { border-color: var(--hairline); }
.marquee-track span { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.45rem; color: #cfe3da; }
.marquee-track span::before { color: var(--gold); font-style: normal; }

/* --- Stat counter --- */
.exp-stat { background: var(--gold-soft); border-color: var(--gold-line); }
.exp-stat strong { color: var(--gold); font-variant-numeric: tabular-nums; }

/* --- Founder --- */
.avatar { background: conic-gradient(from 0deg, var(--green-1), var(--gold), #bef264, var(--green-1)); }
.founder blockquote { font-family: var(--font-display); font-style: italic; font-size: 1.22rem; color: #d5e8df; border-left-color: var(--gold); }
.reveal .avatar img { clip-path: circle(0% at 50% 50%); transition: clip-path 1.4s var(--ease-out) .25s, transform .5s; }
.reveal.visible .avatar img { clip-path: circle(50% at 50% 50%); }

/* --- Progress, to-top, FAQ --- */
.progress { height: 2px; background: linear-gradient(90deg, var(--green-1), var(--gold)); box-shadow: 0 0 10px rgba(217,181,106,0.6); }
footer { border-top-color: var(--hairline); }
.faq { transition: border-color .3s; }
.faq[open] { border-color: var(--gold-line); }
.faq[open] p { animation: faqIn .5s var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq summary::after { color: var(--gold); }

@media (max-width: 640px) {
  .reveal.from-left, .reveal.from-right { transform: translateY(28px); }
  .reveal.visible { transform: none; }
  .marquee-track span { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  .split-word > span { transform: none; animation: none; }
  .reveal .avatar img { clip-path: none; }
  h2.section-title::after { transform: none !important; }
  .nav-wrap.nav-hidden { transform: none; }
}

/* ==========================================================
   MOTION LAYER (v5): intro, word reveals, card wipes,
   cursor ring, text roll, page transitions
   ========================================================== */
:root { --ease-io: cubic-bezier(.76, 0, .24, 1); }

/* --- Brand intro (home, once per session) --- */
.intro {
  position: fixed; inset: 0; z-index: 1000; pointer-events: none;
  display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 45%, #0b3d2a 0%, #03140d 70%);
  animation: introOut .85s var(--ease-io) .85s forwards;
}
.intro-skip .intro, html:not(.js) .intro { display: none; }
.intro-inner { display: grid; justify-items: center; gap: 18px; animation: introInnerOut .45s var(--ease-io) .72s forwards; }
.intro-logo {
  width: 104px; height: 66px; padding: 6px 8px; border-radius: 16px; background: #fff;
  display: grid; place-items: center;
  box-shadow: 0 20px 50px rgba(0,0,0,.45), 0 0 0 1px rgba(217,181,106,.4);
  animation: introPop .7s var(--ease-out) .05s both;
}
.intro-logo img { width: 100%; height: 100%; object-fit: contain; }
.intro-name { display: flex; gap: .35em; overflow: hidden; font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.3rem); color: var(--text); padding-bottom: .1em; }
.intro-name > span { display: inline-block; animation: introRise .9s var(--ease-out) both; }
.intro-name > span:nth-child(1) { animation-delay: .15s; }
.intro-name > span:nth-child(2) { animation-delay: .22s; font-style: italic; color: var(--gold); }
.intro-line { width: 140px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: scaleX(0); animation: introLine .7s var(--ease-out) .25s forwards; }
@keyframes introPop { from { opacity: 0; transform: scale(.6) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes introRise { from { transform: translateY(110%); } to { transform: none; } }
@keyframes introLine { to { transform: scaleX(1); } }
@keyframes introInnerOut { to { opacity: 0; transform: translateY(-30px); } }
@keyframes introOut { to { transform: translateY(-100%); border-radius: 0 0 50% 50% / 0 0 14% 14%; visibility: hidden; } }

/* hero waits for the intro curtain */
.intro-play .hero .load-in { animation-delay: .95s; }
.intro-play .hero .load-in.l2 { animation-delay: 1.0s; }
.intro-play .hero .load-in.l3 { animation-delay: 1.1s; }
.intro-play .hero .load-in.l4 { animation-delay: 1.2s; }
.intro-play .hero .load-in.l5 { animation-delay: 1.3s; }
.intro-play .split-word > span { animation-delay: calc(.95s + var(--i) * 60ms); }

/* --- Hero: 3D card entrance, orbit arc, cursor spotlight --- */
.float-card { animation: cardIn 1.1s var(--ease-out) both, float 6s ease-in-out infinite; }
.fc1 { animation-delay: .55s, -1s; }
.fc2 { animation-delay: .7s, -3s; }
.fc3 { animation-delay: .85s, -2s; }
.intro-play .fc1 { animation-delay: 1.35s, -1s; }
.intro-play .fc2 { animation-delay: 1.5s, -3s; }
.intro-play .fc3 { animation-delay: 1.65s, -2s; }
@keyframes cardIn { from { opacity: 0; translate: 0 50px; scale: .85; rotate: x 25deg; } to { opacity: 1; translate: 0 0; scale: 1; rotate: x 0deg; } }

.stage::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 430px; height: 430px; margin: -215px 0 0 -215px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(217,181,106,.0) 62%, rgba(217,181,106,.85) 88%, transparent 90%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  animation: spin 7s linear infinite;
  pointer-events: none;
}
.orb { animation: orbIn 1.4s var(--ease-out) .3s both, float 7s ease-in-out 1.7s infinite; }
.intro-play .orb { animation-delay: 1.05s, 2.45s; }
@keyframes orbIn { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }

.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(650px circle at 72% 45%, rgba(52,211,153,.13), transparent 60%);
}

/* --- Section headings: masked word rise --- */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .05em .12em 0; margin-bottom: -.12em; }
.sw > span {
  display: inline-block; transform: translateY(115%) rotate(5deg); transform-origin: 0 100%;
  transition: transform 1.1s var(--ease-out); transition-delay: calc(.12s + var(--i) * 65ms);
}
.words-in .sw > span { transform: none; }
.words-split .gradient-text { animation: none; background: none; color: inherit; -webkit-background-clip: border-box; background-clip: border-box; padding-right: 0; }
.words-split .gradient-text .sw > span, .words-split.cafe-gradient .sw > span {
  background: linear-gradient(100deg, #a7f3d0, var(--gold) 55%, #bef264);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.words-split .cafe-gradient { animation: none; background: none; color: inherit; -webkit-background-clip: border-box; background-clip: border-box; }
.words-split .cafe-gradient .sw > span { background: linear-gradient(100deg, #fde68a, #f59e0b); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --- Cards: clean wipe-up reveal --- */
.js .glass.reveal {
  /* keep a 4px strip unclipped: a fully clipped element never reports as intersecting */
  clip-path: inset(0 -60px calc(100% - 4px) -60px round var(--radius));
  transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out), clip-path 1.2s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .glass.reveal.visible { clip-path: inset(-60px -60px -60px -60px round var(--radius)); }
.reveal.settled { transition-delay: 0s !important; }
.js .glass.reveal.settled { clip-path: none; transition: transform .45s var(--ease-out), border-color .3s; }
/* phones/tablets: skip the clip-path wipe (clipping blurred glass is costly on mobile GPUs) */
@media (max-width: 1024px), (pointer: coarse) {
  .js .glass.reveal, .js .glass.reveal.visible { clip-path: none; }
}

/* icons inside cards pop in after the card */
.reveal .step-icon, .reveal .value > svg, .reveal .office .pin { transition: transform .9s var(--ease-out) .35s, opacity .6s .35s, background .4s; }
.reveal:not(.visible) .step-icon, .reveal:not(.visible).value > svg, .reveal:not(.visible) .pin { transform: scale(.4) rotate(-20deg); opacity: 0; }
.value.reveal:not(.visible) > svg { transform: scale(.4) rotate(-20deg); opacity: 0; }

/* --- How-it-works connector line --- */
@media (min-width: 1025px) {
  .steps::before {
    content: ""; position: absolute; left: 6%; right: 6%; top: 98px; height: 1px; z-index: -1;
    background: linear-gradient(90deg, transparent, var(--gold) 15%, var(--green-1) 50%, var(--gold) 85%, transparent);
    transform: scaleX(0); transform-origin: left;
    transition: transform 1.8s var(--ease-io) .4s;
  }
  .steps.in::before { transform: scaleX(1); }
}

/* --- Text roll on links/buttons --- */
.roll { display: inline-block; position: relative; overflow: hidden; vertical-align: top; line-height: 1.35; }
.roll > span { display: inline-block; transition: transform .55s var(--ease-out); }
.roll::after {
  content: attr(data-text); position: absolute; left: 0; top: 100%; white-space: nowrap;
  transition: transform .55s var(--ease-out);
}
.nav-links a:not(.btn) .roll::after { color: var(--gold); }
a:hover > .roll > span, a:hover > .roll::after, button:hover > .roll > span, button:hover > .roll::after,
.btn:hover .roll > span, .btn:hover .roll::after { transform: translateY(-100%); }

/* --- Marquee driven by JS (velocity + skew) --- */
.js-marquee .marquee-track { animation: none; }

/* --- Cursor ring (desktop) --- */
.cursor-ring {
  position: fixed; left: 0; top: 0; z-index: 999; pointer-events: none;
  width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 1px solid rgba(217,181,106,.75);
  opacity: 0; will-change: transform;
  transition: opacity .3s, scale .45s var(--ease-out), background-color .35s, border-color .35s;
}
.cursor-ring.on { opacity: 1; }
.cursor-ring.hover { scale: 1.8; background-color: rgba(217,181,106,.1); border-color: rgba(217,181,106,.95); }
.cursor-ring.press { scale: .8; }
.cursor-ring.hide { opacity: 0; }

/* --- Page transitions (veil drawn with html::after, no extra markup) --- */
html::after {
  content: ""; position: fixed; inset: 0; z-index: 1001; pointer-events: none;
  background: radial-gradient(ellipse at 50% 120%, #0b3d2a, #03140d 65%);
  transform: translateY(100%);
  transition: transform .55s var(--ease-io);
}
html.leaving::after { transform: none; }
html.page-enter::after { animation: veilOut .75s var(--ease-io) .05s both; }
@keyframes veilOut { from { transform: none; } to { transform: translateY(-100%); } }
.page-enter .legal-hero, .page-enter .hero { animation: none; }

@media (max-width: 640px) {
  .stage::before { width: 300px; height: 300px; margin: -150px 0 0 -150px; }
}

@media (prefers-reduced-motion: reduce) {
  .intro, .cursor-ring, .stage::before, .steps::before { display: none !important; }
  .sw > span { transform: none !important; }
  .js .glass.reveal { clip-path: none !important; }
  html::after { display: none; }
  .float-card, .orb { opacity: 1; }
}

/* ==========================================================
   GREEN LOOP SHOWCASE: dry waste -> Green Mandideals -> vegetables
   Own full-width section (large, easy to see). No glass panels
   behind it, so it never forces backdrop re-blur. Transform/opacity only.
   ========================================================== */
.hero { position: relative; }
.hero > .container { position: relative; z-index: 1; }
.hero-tags { gap: 8px 22px; }

.loop-section { padding: 90px 0 70px; }

.loop-band {
  position: relative; height: 320px; margin-top: 34px;
  pointer-events: none; overflow: hidden;
  background:
    radial-gradient(ellipse 40% 70% at 50% 85%, rgba(16,185,129,.18), transparent 70%),
    linear-gradient(180deg, transparent, rgba(0,0,0,.22));
  border-block: 1px solid var(--hairline);
}
/* soft fade at both screen edges */
.loop-band::before, .loop-band::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 8vw; z-index: 2;
}
.loop-band::before { left: 0; background: linear-gradient(90deg, var(--bg-0), transparent); }
.loop-band::after { right: 0; background: linear-gradient(-90deg, var(--bg-0), transparent); }

.lb-caption {
  position: absolute; top: 26px; z-index: 3;
  font-size: .85rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: #cbd5e1;
}
.lb-cap-l { left: 12vw; }
.lb-cap-r { right: 12vw; color: #bef264; }

/* conveyor belts */
.lb-belt {
  position: absolute; bottom: 72px; height: 8px; border-radius: 8px; overflow: hidden;
  background: rgba(255,255,255,0.07);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.lb-belt::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -56px; right: -56px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 22px, transparent 22px 44px);
  animation: belt .9s linear infinite;
}
.lb-belt-l { left: 0; width: calc(50% - 118px); }
.lb-belt-r { right: 0; width: calc(50% - 118px); }
.lb-belt-r::after { background: repeating-linear-gradient(90deg, rgba(163,230,53,.6) 0 22px, transparent 22px 44px); }
@keyframes belt { to { transform: translateX(44px); } }

/* moving items */
.lb-item {
  position: absolute; left: 0; bottom: 82px; width: 92px; height: 92px; z-index: 1;
  opacity: 0; will-change: transform, opacity;
  animation: lbWaste 10s linear infinite;
}
.lb-item svg { width: 100%; height: 100%; filter: drop-shadow(0 12px 14px rgba(0,0,0,.4)); animation: lbBob 1.1s ease-in-out infinite alternate; }
.lb-veg { animation-name: lbVeg; }
.lb-veg svg { animation-duration: .9s; }
@keyframes lbWaste {
  0%   { transform: translateX(-110px) scale(1); opacity: 0; }
  6%   { opacity: 1; }
  82%  { transform: translateX(calc(50vw - 215px)) scale(1); opacity: 1; }
  100% { transform: translateX(calc(50vw - 110px)) scale(.25); opacity: 0; }
}
@keyframes lbVeg {
  0%   { transform: translateX(calc(50vw - 46px)) scale(.25); opacity: 0; }
  14%  { transform: translateX(calc(50vw + 140px)) scale(1.1); opacity: 1; }
  20%  { transform: translateX(calc(50vw + 170px)) scale(1); }
  92%  { opacity: 1; }
  100% { transform: translateX(calc(100vw + 60px)) scale(1); opacity: 0; }
}
@keyframes lbBob { from { transform: translateY(0) rotate(-5deg); } to { transform: translateY(-9px) rotate(5deg); } }

/* the hub (solid background on purpose: no backdrop-filter) */
.lb-hub {
  position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); z-index: 2;
  width: 236px; padding: 18px 14px 16px; border-radius: 28px; text-align: center;
  background: linear-gradient(160deg, #0f4430, #062419);
  border: 1px solid rgba(217,181,106,.5);
  box-shadow: 0 26px 60px rgba(0,0,0,.5), 0 0 70px rgba(16,185,129,.3);
}
.lb-logo { display: block; width: 124px; height: 76px; margin: 0 auto 10px; padding: 6px 10px; border-radius: 16px; background: #fff; }
.lb-logo img { width: 100%; height: 100%; object-fit: contain; }
.lb-label { display: block; font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--gold); }
.lb-ring {
  position: absolute; inset: -8px; border-radius: 34px; border: 2px solid rgba(52,211,153,.6);
  animation: hubPulse 2.5s ease-out infinite;
}
@keyframes hubPulse { from { transform: scale(1); opacity: .85; } to { transform: scale(1.22); opacity: 0; } }
.lb-coin {
  position: absolute; left: 50%; top: -10px; white-space: nowrap;
  padding: 6px 14px; border-radius: 999px; font-size: .88rem; font-weight: 800; color: #1a2e05;
  background: linear-gradient(135deg, #ecfccb, var(--lime));
  box-shadow: 0 8px 20px rgba(163,230,53,.35);
  opacity: 0; animation: coinUp 2.5s var(--ease-out) infinite;
}
@keyframes coinUp {
  0%, 35% { transform: translate(-50%, 0) scale(.6); opacity: 0; }
  50%     { transform: translate(-50%, -34px) scale(1); opacity: 1; }
  85%     { transform: translate(-50%, -58px) scale(1); opacity: 0; }
  100%    { opacity: 0; }
}

/* numbered story under the animation */
.loop-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.loop-steps div { display: flex; align-items: center; gap: 14px; justify-content: center; color: #d5e8df; font-size: 1rem; }
.loop-steps b {
  flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); color: #1a2e05; background: linear-gradient(135deg, #f3e2b3, var(--gold));
}

/* paused while off screen (class set by motion.js) */
.lb-paused, .lb-paused *, .lb-paused *::after { animation-play-state: paused !important; }

@media (max-width: 760px) {
  .loop-section { padding: 70px 0 50px; }
  .loop-band { height: 230px; margin-top: 24px; }
  .lb-item { width: 58px; height: 58px; bottom: 60px; }
  .lb-belt { bottom: 52px; height: 6px; }
  .lb-belt-l, .lb-belt-r { width: calc(50% - 72px); }
  .lb-hub { width: 144px; bottom: 26px; padding: 11px 9px 10px; border-radius: 20px; }
  .lb-ring { border-radius: 26px; }
  .lb-logo { width: 76px; height: 47px; margin-bottom: 6px; border-radius: 11px; }
  .lb-label { font-size: .88rem; }
  .lb-coin { font-size: .72rem; padding: 4px 10px; }
  .lb-caption { top: 14px; font-size: .68rem; letter-spacing: .14em; }
  .lb-cap-l { left: 5vw; }
  .lb-cap-r { right: 5vw; }
  .loop-steps { grid-template-columns: 1fr; gap: 12px; }
  .loop-steps div { justify-content: flex-start; }
  /* fewer items on small screens so they never bunch up */
  .lb-waste:nth-of-type(2n), .lb-veg:nth-of-type(2n) { display: none; }
  .lb-item { animation-duration: 8s; }
  @keyframes lbWaste {
    0%   { transform: translateX(-70px); opacity: 0; }
    6%   { opacity: 1; }
    82%  { transform: translateX(calc(50vw - 135px)); opacity: 1; }
    100% { transform: translateX(calc(50vw - 70px)) scale(.25); opacity: 0; }
  }
  @keyframes lbVeg {
    0%   { transform: translateX(calc(50vw - 29px)) scale(.25); opacity: 0; }
    14%  { transform: translateX(calc(50vw + 82px)) scale(1.1); opacity: 1; }
    20%  { transform: translateX(calc(50vw + 98px)) scale(1); }
    92%  { opacity: 1; }
    100% { transform: translateX(calc(100vw + 40px)); opacity: 0; }
  }
}

/* reduced motion: a still "frame" of the same story */
@media (prefers-reduced-motion: reduce) {
  .lb-item { opacity: 1 !important; transform: translateX(var(--x)) !important; }
  .lb-coin { opacity: 1 !important; transform: translate(-50%, -34px) !important; }
}

/* cursor ring removed on request */
.cursor-ring { display: none !important; }

/* ==========================================================
   THEME: Midnight Emerald (chosen by owner)
   Deep emerald night + champagne gold + ivory text. Static only.
   ========================================================== */
:root {
  --bg-0: #04110b;
  --bg-1: #0a2a1c;
  --text: #f1f5ef;
  --text-dim: #a9c2b6;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(217, 181, 106, 0.16);
}
body { background: var(--bg-0); }
.ambient {
  background:
    radial-gradient(1100px 760px at 12% -8%, #0d4430 0%, transparent 62%),
    radial-gradient(900px 700px at 100% 35%, #08301f 0%, transparent 60%),
    radial-gradient(800px 600px at 40% 115%, #0a2a1c 0%, transparent 60%),
    linear-gradient(180deg, #072016, var(--bg-0) 55%);
}
.blob.b1 { background: radial-gradient(circle, rgba(16,185,129,0.32), transparent 65%); }
.blob.b2 { background: radial-gradient(circle, rgba(5,150,105,0.22), transparent 65%); }
.blob.b3 { background: radial-gradient(circle, rgba(217,181,106,0.08), transparent 65%); }
.grid-overlay { opacity: .6; }
.glass { box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.12); }
.nav-wrap.scrolled .navbar { background: rgba(4, 17, 11, 0.85); }
footer { background: rgba(0, 0, 0, 0.35); }

/* ==========================================================
   Midnight Emerald: solid card colour + scrolled navbar tint
   ========================================================== */
:root { --card-solid: rgba(12, 52, 37, 0.88); }
.glass.float-card, .glass.cafe-badge { background: var(--card-solid); }
.nav-wrap.scrolled .navbar { background: color-mix(in srgb, var(--bg-0) 85%, transparent); }
