/* RecycleOn — global styles
   Palette: National Blue #0083CA (PMS 2195), National Green #00A649 (PMS 2426), black text. */

:root {
  --blue: #0083CA;
  --blue-deep: #006BA6;
  --blue-tint: #E9F4FB;
  --blue-tint-2: #CFE6F6;
  --green: #00A649;
  --green-deep: #008C3D;
  --green-tint: #E6F7EC;
  --green-tint-2: #BFEBD0;
  --black: #111111;
  --ink: #1C1C1C;
  --muted: #4B4F54;
  --line: #E2E8ED;
  --paper: #FFFFFF;
  --paper-2: #F6F9FB;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 12px 32px rgba(17, 17, 17, 0.08);
  --shadow-lift: 0 22px 54px rgba(17, 17, 17, 0.16);
  --max: 1200px;
  --font-head: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--black);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--black); }
button { font: inherit; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--black); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 1rem; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.hl-blue { color: var(--blue); }
.hl-green { color: var(--green-deep); }
.wrap { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.lede { font-size: 1.15rem; color: var(--ink); }
.measure { max-width: 58ch; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .measure { margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -3rem; background: var(--black); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 1rem; color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

[data-reveal], [data-reveal-group] > * { will-change: transform, opacity; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--black); margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--blue) 50%, var(--green) 50%); }
.eyebrow.light { color: #fff; }

/* Split headline */
.split-word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: .9rem 1.5rem; border-radius: 999px; border: 2px solid transparent; text-decoration: none; color: var(--black); cursor: pointer;
  line-height: 1.1; white-space: nowrap; overflow: hidden; isolation: isolate; transition: color .2s, border-color .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.btn:hover::after { transform: scaleX(1); }
.btn-primary { background: var(--green); border-color: var(--green); }
.btn-primary::after { background: var(--green-deep); }
.btn-secondary { background: #fff; border-color: var(--blue); }
.btn-secondary::after { background: var(--blue-tint); }
.btn-ghost { background: transparent; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); }
.btn-ghost::after { background: var(--blue-tint); }
.btn-light { background: #fff; border-color: #fff; }
.btn-light::after { background: var(--green-tint); }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

.text-link { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 700; color: var(--blue-deep); text-decoration: none; }
.text-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.text-link:hover { color: var(--black); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90; background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 237, .8); will-change: transform;
}
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; position: relative; }
.header-spacer { height: 78px; }

.logo { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; }
.logo img { height: 34px; width: auto; display: block; }
.site-footer .logo img { height: 40px; }
.logo-sub { display: block; font-family: var(--font-body); font-weight: 500; font-size: .8rem; letter-spacing: 0; color: var(--muted); margin-top: .45rem; }
.logo.on-dark + .logo-sub { color: #C9CDD2; }

.site-header .logo, .header-actions { flex: none; }
.nav { display: flex; align-items: center; gap: .1rem; margin-left: 0; }
.nav a { position: relative; display: inline-block; padding: .6rem .65rem; font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--black); text-decoration: none; border-radius: 8px; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: .65rem; right: .65rem; bottom: .3rem; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--blue) 50%, var(--green) 50%); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: .6rem; }

.menu { position: relative; }
.menu-btn { display: inline-flex; align-items: center; gap: .45rem; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: .55rem .95rem; font-family: var(--font-head); font-weight: 700; font-size: .84rem; color: var(--black); cursor: pointer; white-space: nowrap; transition: border-color .2s, background-color .2s; }
.menu-btn svg { width: 16px; height: 16px; transition: transform .25s; }
.menu-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.menu-btn:hover { border-color: var(--blue); }
.menu-btn-state { border-color: var(--blue); background: var(--blue-tint); }
.menu-list { position: absolute; right: 0; top: calc(100% + .6rem); min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lift); padding: .5rem; list-style: none; margin: 0; z-index: 95; transform-origin: top right; }
.menu-list[hidden] { display: none; }
.menu-list a, .menu-list span { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .7rem .85rem; border-radius: 10px; text-decoration: none; color: var(--black); font-weight: 600; font-size: .95rem; }
.menu-list a:hover { background: var(--blue-tint); }
.menu-list .current { color: var(--muted); font-weight: 500; }
.menu-list .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-tint); }
.menu-list .dot.blue { background: var(--blue); box-shadow: 0 0 0 4px var(--blue-tint); }
.menu.up .menu-list { top: auto; bottom: calc(100% + .6rem); transform-origin: bottom left; left: 0; right: auto; }

.nav-toggle { display: none; background: none; border: 2px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--black); position: relative; transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--black); transition: transform .3s, top .3s; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Route wipe ---------- */
.wipe { position: fixed; inset: 0; z-index: 150; pointer-events: none; }
.wipe > div { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); }
.wipe-a { background: var(--blue); }
.wipe-b { background: var(--green); }
.wipe-logo { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; }
.wipe-logo .logo img { height: 56px; }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; position: relative; }
.section-tight { padding: 3.5rem 0; }
.section-tint { background: var(--paper-2); }
.section-blue { background: var(--blue-tint); }
.section-green { background: var(--green-tint); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4.5rem; align-items: center; }
.split.reverse > :first-child { order: 2; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100vh - 78px); display: flex; align-items: center; overflow: hidden; background: radial-gradient(1200px 600px at 85% 20%, var(--blue-tint) 0%, transparent 60%), radial-gradient(800px 500px at 10% 90%, var(--green-tint) 0%, transparent 60%), #fff; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; padding: 4rem 0; position: relative; z-index: 2; }
.hero h1 { margin-bottom: 1.4rem; }
.hero .lede { max-width: 52ch; }
.hero .btn-group { margin-top: 2.25rem; }
.hero-scene { position: relative; height: min(70vh, 640px); min-height: 420px; pointer-events: none; }
/* Full-bleed WebGL layer behind the hero content. It must form its own stacking context: without it
   Chromium composites the transparent canvas against an opaque white backdrop and a rectangle appears. */
.hero-canvas { position: absolute; inset: 0; z-index: 0; isolation: isolate; }
.hero-canvas canvas { transform: translateZ(0); touch-action: pan-y; }
.hero-stat { z-index: 1; pointer-events: auto; }.hero-stat { position: absolute; right: -2%; top: -2%; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .9rem 1.1rem; box-shadow: var(--shadow); font-family: var(--font-head); will-change: transform; }
.hero-stat .n { font-size: 1.6rem; font-weight: 800; color: var(--blue); line-height: 1; }
.hero-stat .l { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--black); margin-top: .2rem; }
.scroll-cue { position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .4rem; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); z-index: 3; }
.scroll-cue i { display: block; width: 2px; height: 34px; background: linear-gradient(var(--blue), var(--green)); border-radius: 2px; animation: cue 1.6s infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0 } 40% { transform: scaleY(1); opacity: 1 } 100% { transform: scaleY(1) translateY(10px); opacity: 0 } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: .9rem 0; }
.marquee-track { display: flex; gap: 3rem; width: max-content; will-change: transform; }
.marquee-track span { display: inline-flex; align-items: center; gap: 3rem; font-family: var(--font-head); font-weight: 800; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; color: var(--black); white-space: nowrap; }
.marquee-track i { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); display: inline-block; }
.marquee-track i.g { background: var(--green); }

/* ---------- Announcement ---------- */
.announce { background: var(--green-tint); border-bottom: 1px solid var(--green-tint-2); }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; padding: .95rem 0; font-weight: 600; }
.announce .pill { font-family: var(--font-head); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--green); color: var(--black); padding: .25rem .65rem; border-radius: 999px; }

/* ---------- Figure frame + parallax ---------- */
.figure-frame { position: relative; }
.figure-frame .img-wrap { overflow: hidden; border-radius: var(--radius) var(--radius) var(--radius) 120px; box-shadow: var(--shadow-lift); aspect-ratio: 5 / 4; }
.figure-frame img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.figure-frame::before { content: ""; position: absolute; inset: auto -1.25rem -1.25rem auto; width: 46%; height: 46%; border-radius: var(--radius) var(--radius) var(--radius) 120px; background: var(--green); z-index: -1; }
.figure-frame::after { content: ""; position: absolute; left: -1.4rem; top: -1.4rem; width: 130px; height: 130px; border-radius: 50%; border: 11px solid var(--blue); z-index: -1; }
.figure-frame.tall .img-wrap { aspect-ratio: 4 / 5; }
.figure-frame.square .img-wrap { aspect-ratio: 1 / 1; }
.figure-frame.plain .img-wrap, .figure-frame.plain::before { border-radius: var(--radius); }

/* ---------- State cards ---------- */
.state-cards { display: grid; gap: 1.5rem; }
.state-card { display: grid; grid-template-columns: 320px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.state-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.state-card .img-wrap { overflow: hidden; min-height: 260px; }
.state-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.state-card:hover img { transform: scale(1.06); }
.state-card .body { padding: 2.4rem 2.6rem; display: flex; flex-direction: column; gap: .75rem; position: relative; }
.state-card .body::before { content: ""; position: absolute; left: 0; top: 2.4rem; bottom: 2.4rem; width: 6px; border-radius: 0 4px 4px 0; }
.state-card.oregon .body::before { background: var(--blue); }
.state-card.colorado .body::before { background: var(--green); }
.state-card h3 { font-size: 1.85rem; margin: 0; }
.state-card .btn { align-self: flex-start; margin-top: .5rem; }
.state-tag { font-family: var(--font-head); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.state-tag.blue { color: var(--blue-deep); }
.state-tag.green { color: var(--green-deep); }

/* ---------- Feature (spotlight) cards ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin: 2.75rem 0; }
.feature { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; display: flex; flex-direction: column; gap: .75rem; text-align: left; overflow: hidden; transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); --mx: 50%; --my: 50%; }
.feature::before { content: ""; position: absolute; inset: 0; background: radial-gradient(220px circle at var(--mx) var(--my), var(--spot, var(--blue-tint)), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature:hover::before { opacity: 1; }
.feature > * { position: relative; }
.feature .icon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; }
.feature .icon svg { width: 26px; height: 26px; }
.feature:nth-child(odd) { --spot: var(--blue-tint); }
.feature:nth-child(odd) .icon { background: var(--blue-tint); color: var(--blue); }
.feature:nth-child(even) { --spot: var(--green-tint); }
.feature:nth-child(even) .icon { background: var(--green-tint); color: var(--green-deep); }
.feature h3 { font-size: 1.1rem; margin: .25rem 0 0; }
.feature p { font-size: .97rem; color: var(--ink); }
.feature .num { position: absolute; right: 1.2rem; top: 1rem; font-family: var(--font-head); font-weight: 900; font-size: 2.6rem; color: var(--line); line-height: 1; }

/* ---------- Icon list ---------- */
.icon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.icon-list li { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.25rem; font-weight: 600; transition: transform .3s var(--ease-out), border-color .3s; }
.icon-list li:hover { transform: translateX(6px); border-color: var(--blue); }
.icon-list .icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue); }
.icon-list li:nth-child(even) .icon { background: var(--green-tint); color: var(--green-deep); }
.icon-list svg { width: 22px; height: 22px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem 1.7rem; position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--blue), var(--green)); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out); }
.stat.is-in::after { transform: scaleX(1); }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 3.2vw, 2.8rem); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat:nth-child(1) .num { color: var(--blue); }
.stat:nth-child(2) .num { color: var(--green-deep); }
.stat .label { font-size: .95rem; color: var(--muted); margin-top: .5rem; }
.source-note { font-size: .88rem; color: var(--muted); margin-top: 1rem; }

/* ---------- News cards ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--black); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); color: var(--black); }
.news-card .img-wrap { overflow: hidden; aspect-ratio: 16 / 9; }
.news-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.news-card:hover img { transform: scale(1.07); }
.news-card .body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .9rem; flex: 1; }
.news-card h3 { font-size: 1.2rem; margin: 0; line-height: 1.3; }
.news-card .meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.news-card .tag { font-family: var(--font-head); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; border: 2px solid var(--blue); color: var(--black); border-radius: 999px; padding: .25rem .7rem; }
.news-card .meta svg { width: 20px; height: 20px; color: var(--green-deep); transition: transform .25s var(--ease-out); }
.news-card:hover .meta svg { transform: translateX(5px); }

/* ---------- Page hero ---------- */
.page-hero { padding: 5rem 0 4.5rem; background: radial-gradient(900px 500px at 90% 0%, var(--blue-tint) 0%, transparent 60%), #fff; position: relative; overflow: hidden; }
.page-hero.center { padding-bottom: 3.5rem; }
.page-hero h1 { margin-bottom: 1.25rem; }
.page-hero .ghost { position: absolute; right: -2vw; top: -2vw; font-family: var(--font-head); font-weight: 900; font-size: 22vw; line-height: 1; color: var(--blue-tint); letter-spacing: -.05em; pointer-events: none; user-select: none; z-index: 0; }
.page-hero .wrap { position: relative; z-index: 1; }

/* ---------- CAA card ---------- */
.caa-card { background: var(--green-tint); border: 1px solid var(--green-tint-2); border-radius: var(--radius); padding: 2.4rem; }
.caa-card img { height: 46px; width: auto; margin-bottom: 1.25rem; mix-blend-mode: multiply; }
.caa-card p { color: var(--ink); }
.caa-card .text-link { margin-top: .5rem; }

/* ---------- US map ---------- */
.map-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); position: relative; }
.us-map { width: 100%; height: auto; max-width: 820px; margin-inline: auto; display: block; }
.us-map path { fill: #DCE5EC; stroke: #fff; stroke-width: .8; transition: fill .25s; cursor: default; }
.us-map path.epr { fill: var(--green); cursor: pointer; transform-box: fill-box; transform-origin: center; }
.us-map path.live { fill: var(--blue); }
.us-map path:hover { fill: var(--blue-tint-2); }
.us-map path.epr:hover { fill: var(--green-deep); }
.us-map path.live:hover { fill: var(--blue-deep); }
.map-tip { position: absolute; pointer-events: none; background: var(--black); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .82rem; padding: .45rem .7rem; border-radius: 8px; transform: translate(-50%, -130%); white-space: nowrap; opacity: 0; transition: opacity .15s; z-index: 5; }
.map-tip.show { opacity: 1; }
.map-tip small { display: block; font-family: var(--font-body); font-weight: 500; color: #C9CDD2; font-size: .72rem; }
.map-legend { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.25rem; font-size: .9rem; font-weight: 600; }
.map-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: .5rem; vertical-align: -2px; }
.state-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 1.25rem 0 0; list-style: none; padding: 0; }
.state-list li { font-family: var(--font-head); font-weight: 700; font-size: .88rem; background: var(--green-tint); color: var(--black); border-radius: 999px; padding: .45rem .95rem; transition: transform .25s var(--ease-out), background-color .25s; cursor: default; }
.state-list li.live { background: var(--blue-tint); }
.state-list li:hover, .state-list li.hot { transform: translateY(-3px); background: var(--green); }
.state-list li.live:hover, .state-list li.live.hot { background: var(--blue-tint-2); }

/* ---------- Process wheel ---------- */
.process { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.wheel-wrap { position: relative; max-width: 520px; margin-inline: auto; }
.wheel { width: 100%; height: auto; display: block; overflow: visible; }
.wheel .seg { fill: #E4EBF0; stroke: #fff; stroke-width: 3; cursor: pointer; transition: fill .3s, transform .3s var(--ease-out); transform-box: fill-box; transform-origin: center; }
.wheel .seg:hover { fill: var(--blue-tint-2); }
.wheel .seg.active { fill: var(--green); }
.wheel .seg.done { fill: var(--blue); }
.wheel .lbl { font-family: var(--font-head); font-weight: 700; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; fill: var(--black); pointer-events: none; }
.wheel .lbl.active { fill: var(--green-deep); }
.wheel .orbit { fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-dasharray: 4 8; opacity: .6; transform-origin: 260px 260px; }
.wheel .core { fill: #fff; stroke: var(--line); stroke-width: 2; }
.wheel-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 46%; text-align: center; pointer-events: none; }
.wheel-center .step { font-family: var(--font-head); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); }
.wheel-center h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); margin: .35rem 0 0; }
.wheel-center p { font-size: .82rem; color: var(--muted); margin-top: .4rem; line-height: 1.45; }
.wheel-controls { display: flex; justify-content: center; gap: .6rem; margin-top: 1.25rem; }
.wheel-controls button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; transition: border-color .2s, background-color .2s; }
.wheel-controls button:hover { border-color: var(--blue); background: var(--blue-tint); }
.wheel-controls svg { width: 18px; height: 18px; }
.wheel-progress { display: flex; gap: .4rem; justify-content: center; margin-top: 1rem; }
.wheel-progress i { width: 26px; height: 4px; border-radius: 2px; background: var(--line); transition: background-color .3s; }
.wheel-progress i.on { background: var(--green); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4rem; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.6rem; box-shadow: var(--shadow); position: relative; }
.form-card h2 { font-size: 1.45rem; margin-bottom: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-family: var(--font-head); font-weight: 700; font-size: .9rem; display: flex; justify-content: space-between; }
.field label em { font-style: normal; font-weight: 500; color: var(--muted); font-size: .8rem; }
.field input, .field select, .field textarea { font: inherit; color: var(--black); background: var(--paper-2); border: 2px solid var(--line); border-radius: var(--radius-sm); padding: .85rem 1rem; width: 100%; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px var(--blue-tint); }
.field.error input, .field.error select, .field.error textarea { border-color: #C62828; }
.field .err { font-size: .82rem; color: #B71C1C; font-weight: 500; }
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-done { position: absolute; inset: 0; border-radius: inherit; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; gap: .5rem; }
.form-done svg { width: 84px; height: 84px; }
.form-done .ring { fill: none; stroke: var(--green); stroke-width: 5; }
.form-done .tick { fill: none; stroke: var(--green-deep); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.form-done p { color: var(--muted); max-width: 36ch; }
.contact-aside { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-aside .tile { display: flex; gap: 1rem; align-items: flex-start; background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.25rem; text-decoration: none; color: inherit; transition: transform .3s var(--ease-out), border-color .3s; }
.contact-aside .tile:hover { transform: translateX(6px); border-color: var(--blue); }
.contact-aside .tile .icon { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue); }
.contact-aside .tile:nth-child(even) .icon { background: var(--green-tint); color: var(--green-deep); }
.contact-aside svg { width: 20px; height: 20px; }
.contact-aside h4 { margin: 0 0 .15rem; }
.contact-aside p { font-size: .95rem; color: var(--ink); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--blue-tint) 0%, #fff 55%, var(--green-tint) 100%); color: var(--black); padding: 5.5rem 0; position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta-band .orb { position: absolute; border-radius: 50%; pointer-events: none; }
.cta-band .orb-a { right: -6rem; bottom: -9rem; width: 24rem; height: 24rem; border: 2.6rem solid var(--green); opacity: .9; }
.cta-band .orb-b { right: 10rem; bottom: -3rem; width: 10rem; height: 10rem; background: var(--blue); opacity: .9; }
.cta-band .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; z-index: 1; }
.cta-band .eyebrow.light { color: var(--black); }
.cta-band h2 { margin: 0 0 .5rem; }
.cta-band p { color: var(--ink); margin: 0; max-width: 52ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #fff; padding: 4.5rem 0 0; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--blue) 0 50%, var(--green) 50% 100%); }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand p { color: #C9CDD2; font-size: .95rem; margin-top: 1.25rem; }
.footer-brand strong { color: #fff; display: block; font-family: var(--font-head); }
.footer-col h4 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-col a { color: #E6E9EC; text-decoration: none; font-weight: 500; transition: color .2s, padding-left .25s var(--ease-out); }
.footer-col a:hover { color: #7FE0A8; padding-left: .35rem; }
.footer-actions { display: flex; flex-direction: column; gap: .75rem; align-items: flex-start; }
.footer-actions .menu-btn { background: transparent; color: #fff; border-color: #3A3F45; }
.footer-actions .menu-btn:hover { border-color: var(--green); }
.footer-bar { border-top: 1px solid #2A2F35; padding: 1.4rem 0; }
.footer-bar .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .88rem; color: #B5BAC0; }
.footer-bar a { color: #E6E9EC; text-decoration: none; }
.footer-bar a:hover { color: #7FE0A8; }
.footer-bar .legal { display: flex; gap: .5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .split, .process { gap: 2.75rem; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-scene { height: 440px; min-height: 0; }
}
@media (max-width: 1180px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: .75rem 1.25rem 1.25rem; flex-direction: column; align-items: stretch; margin: 0; box-shadow: var(--shadow-lift); }
  .site-header[data-nav-open="true"] .nav { display: flex; }
  .nav a { padding: .85rem .6rem; font-size: 1.05rem; }
  .nav a::after { left: .6rem; right: auto; width: 40px; }
  .nav-toggle { display: inline-flex; }
  .menu-lang { display: none; }
}
@media (max-width: 900px) {
  .split, .contact-grid, .process { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .figure-frame { max-width: 520px; }
  .state-card { grid-template-columns: 1fr; }
  .state-card .img-wrap { min-height: 200px; max-height: 240px; }
  .state-card .body { padding: 1.75rem; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .page-hero .ghost { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .section { padding: 3.75rem 0; }
  .news-grid, .features { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 1.6rem; }
  .header-actions .menu-btn-state span { display: none; }
  .header-actions .menu-btn-state { padding: .55rem .7rem; }
  .logo img { height: 28px; }
  .figure-frame::after { display: none; }
  .cta-band .orb { display: none; }
  .hero-scene { height: 380px; }
  .hero-stat { top: 2%; }
  .wheel .lbl { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ---------- Vanilla additions ---------- */
.wipe-in .wipe > div { clip-path: inset(0 0 0 0); }
.wipe-in .wipe { pointer-events: auto; }
.news-card[hidden] { display: none; }
.form-done[hidden] { display: none; }
.hero-canvas canvas { display: block; width: 100%; height: 100%; }

