/* Brand colors pulled from the Waste Watch logos */
:root {
  --navy: #0b2545;
  --navy-2: #12305a;
  --navy-deep: #071a31;
  --teal: #0fa3b1;
  --teal-dark: #0b8691;
  --cyan: #7fdce6;
  --sand: #f2f5f8;
  --bg: #ffffff;
  --ink: #0b2545;
  --muted: #55657a;
  --line: #dde5ec;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 37, 69, .08);
  --font-head: "Big Shoulders Display", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1; margin: 0 0 .45em; text-transform: uppercase; letter-spacing: .005em; }
h1 { font-size: clamp(3rem, 8vw, 6.2rem); font-weight: 900; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 900; }
h3 { font-size: 1.45rem; font-weight: 800; line-height: 1.1; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .9rem;
}
.accent { color: var(--cyan); }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .9rem 1.5rem;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  border: 2px solid var(--teal);
  cursor: pointer;
  font: 600 1rem var(--font-body);
  transition: background .2s, transform .2s, border-color .2s;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-sm { padding: .5rem 1rem; font-size: .9rem; }
.btn-full { width: 100%; }

/* Nav: transparent over the video, solid after scrolling */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  color: #fff;
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled, .nav.menu-open { background: rgba(11, 37, 69, .96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.brand { flex-shrink: 0; }
.brand img { height: 72px; width: auto; aspect-ratio: 754 / 325; }
.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a { text-decoration: none; font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; opacity: .9; }
.nav-links .btn-sm { font-size: 1.15rem; padding: .55rem 1.1rem; }
.nav-links a:hover { opacity: 1; }
.nav-links .btn { opacity: 1; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero video */
.hero {
  position: relative;
  /* Shorter than full screen; the video crops (object-fit: cover), it never stretches */
  min-height: 680px;
  height: 82vh;
  height: 82svh;
  display: flex; align-items: flex-end;
  color: #fff;
  background: var(--navy) url("assets/video/hero-poster.jpg") center / cover no-repeat;
  overflow: hidden;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,26,49,.55) 0%, rgba(7,26,49,.05) 30%, rgba(7,26,49,.35) 60%, rgba(7,26,49,.9) 100%),
    linear-gradient(90deg, rgba(7,26,49,.55) 0%, rgba(7,26,49,0) 65%);
}
.hero-inner { position: relative; padding: 140px 0 96px; }
.hero h1 { text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero .eyebrow { color: var(--cyan); }
.lead { font-size: 1.2rem; color: rgba(255,255,255,.9); max-width: 32em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 2px; animation: cue 1.8s infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* One-liner band */
.oneliner { background: var(--navy); color: rgba(255,255,255,.85); padding: 56px 0; text-align: center; }
.oneliner p { font-size: clamp(1.15rem, 2.2vw, 1.5rem); max-width: 46em; margin: 0 auto; line-height: 1.5; }
.oneliner strong { color: var(--cyan); font-weight: 600; }

/* Sections */
.section { padding: 100px 0; }
.section-dark { background: var(--navy); color: #fff; }
.section-dark p { color: rgba(255,255,255,.78); }
.section-dark .eyebrow { color: var(--cyan); }
.section-tint { background: var(--sand); }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head > p:not(.eyebrow) { color: rgba(255,255,255,.78); }
.section-head.left { text-align: left; margin: 0 0 40px; }

/* Problem photos */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.photo:hover img { transform: scale(1.04); }
.photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 60px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(7,26,49,.9));
  color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; line-height: 1.05;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card p { color: var(--muted); margin: 0; }
.card-icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: rgba(15,163,177,.12);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card-icon svg { width: 23px; height: 23px; fill: none; stroke: var(--teal-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card-who { border-top: 4px solid var(--teal); }

/* How it works */
.how { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
}
.step h3 { margin-bottom: .25em; }
.step-num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 900; color: var(--cyan); line-height: 1; }
.step p { margin: 0; font-size: .97rem; }

/* Console */
.console-wrap { position: sticky; top: 110px; }
.console {
  background: linear-gradient(180deg, var(--navy-2), var(--navy-deep));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
  overflow: hidden;
}
.console-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.console-head img { width: 20px; height: 20px; }
.console-title { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.console-body { padding: 22px; display: grid; gap: 20px; }
.gauge { position: relative; width: 220px; margin: 0 auto; }
.gauge-fill { transition: stroke-dashoffset 1.6s cubic-bezier(.2,.8,.2,1); }
.gauge-readout { position: absolute; inset: auto 0 6px; text-align: center; }
.gauge-readout strong { display: block; font-family: var(--font-head); font-size: 2.8rem; font-weight: 900; line-height: 1; }
.gauge-readout span { font-size: .8rem; opacity: .7; }
.status-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.status-list li { background: rgba(255,255,255,.05); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; }
.status-list span { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; opacity: .6; }
.status-list b { font-weight: 600; }
.status-list .ok { color: var(--cyan); }
.log { font-size: .8rem; background: rgba(0,0,0,.25); border-radius: 10px; padding: 12px 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.log p { margin: 0 0 4px; color: rgba(255,255,255,.85); overflow-wrap: anywhere; }
.log time { color: var(--cyan); margin-right: 6px; }
.log .log-title { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; opacity: .55; margin-bottom: 6px; }
.console-note { text-align: center; font-size: .75rem; margin: 10px 0 0; opacity: .5; }

/* Features */
.features { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-list li {
  padding: 20px 20px 20px 22px;
  border-left: 4px solid var(--teal);
  background: var(--card);
  border-radius: 0 12px 12px 0;
  box-shadow: var(--shadow);
}
.feature-list b { display: block; font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; text-transform: uppercase; margin-bottom: 4px; }
.feature-list span { color: var(--muted); font-size: .95rem; }

/* Patent */
.patent { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 64px; align-items: center; }
.patent-fig { margin: 0; width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.patent-fig img { width: 100%; height: auto; aspect-ratio: 1265 / 1340; object-fit: contain; }
.patent-fig figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 10px; }
.patent-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 32px; margin: 26px 0; }
.patent-meta dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.patent-meta dd { margin: 2px 0 0; font-weight: 600; }

/* Mission CTA */
.mission {
  position: relative; color: #fff; text-align: center; padding: 120px 0;
  background: var(--navy) url("assets/video/hero-poster.jpg") center / cover no-repeat;
}
.mission-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,37,69,.88), rgba(11,37,69,.7) 50%, rgba(11,37,69,.95)); }
.mission-inner { position: relative; max-width: 860px; }
.mission-emblem { width: 110px; height: 110px; margin: 0 auto 22px; }
.mission h2 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
.mission .eyebrow { color: var(--cyan); }
.mission p:not(.eyebrow) { font-size: 1.15rem; color: rgba(255,255,255,.88); max-width: 40em; margin-inline: auto; }
.hero-cta.center { justify-content: center; }
.nowrap { white-space: nowrap; }

/* Get involved */
.contact-paths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 64px; }
.path {
  display: flex; flex-direction: column;
  padding: 26px; border-radius: var(--radius);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  transition: border-color .2s, transform .2s;
}
.path:hover { border-color: var(--teal); transform: translateY(-2px); }
.path .card-icon { background: rgba(127,220,230,.12); }
.path .card-icon svg { stroke: var(--cyan); }
.path p { font-size: .95rem; flex: 1; }
.path-btn {
  align-self: flex-start; margin-top: 8px; padding: 0; border: 0; background: none; cursor: pointer;
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  color: var(--cyan);
}
.path-btn:hover { color: #fff; }

.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-side h3 { font-size: 2rem; }
.pledge { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; }
.pledge li { position: relative; padding-left: 30px; color: rgba(255,255,255,.85); }
.pledge li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.share { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; }
.share .share-title { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .2em; color: var(--cyan); margin-bottom: 12px; }
.share-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.share-btn {
  font: 600 .9rem var(--font-body); color: #fff; text-decoration: none; cursor: pointer;
  padding: .55rem 1rem; border-radius: 6px; border: 1px solid rgba(255,255,255,.3); background: transparent;
}
.share-btn:hover { border-color: var(--cyan); color: var(--cyan); }

.form { background: #fff; color: var(--ink); border-radius: 18px; padding: 30px; display: grid; gap: 16px; box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact > *, .form-row > *, .form > * { min-width: 0; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; }
.field { display: grid; gap: 6px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-size: .85rem; font-weight: 600; padding: 0; }
.field legend { margin-bottom: 8px; }
.opt { font-weight: 400; color: var(--muted); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.checks label, .consent { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 500; cursor: pointer; }
.checks label { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.checks label:has(input:checked) { border-color: var(--teal); background: rgba(15,163,177,.07); }
.checks input, .consent input { accent-color: var(--teal); width: 16px; height: 16px; }
.consent { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form-success { text-align: center; padding: 30px 10px; }
.form-success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; margin: 0 auto 16px; }
.form-success .tick svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.form-success h3 { font-size: 2rem; margin-bottom: .3em; }
.form-success p { color: var(--muted); margin: 0 0 1.2em; }
.btn[disabled] { opacity: .7; cursor: wait; }
.form.flash { animation: flash 1s; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(127,220,230,.9); } 100% { box-shadow: 0 0 0 18px rgba(127,220,230,0); } }
.field input, .field select, .field textarea {
  font: inherit; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); border-color: transparent; }
.field.invalid input { border-color: #d64545; }
.form-status { margin: 0; font-size: .9rem; color: var(--teal-dark); min-height: 1.2em; }
.form-status.error { color: #d64545; }

/* Footer */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.6); font-size: .85rem; padding: 36px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-inner img { height: 84px; width: auto; aspect-ratio: 754 / 325; flex-shrink: 0; }
.footer-meta { display: flex; flex-direction: column; gap: 4px; text-align: right; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .gauge-fill, .photo img { transition: none; }
  .scroll-cue span { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1040px) {
  .grid-4, .contact-paths { grid-template-columns: repeat(2, 1fr); }
  .how, .features, .contact, .patent { grid-template-columns: 1fr; }
  .console-wrap { position: static; max-width: 460px; }
  .patent-fig { max-width: 460px; }
}
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(11, 37, 69, .98); padding: 8px 16px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links .btn { margin-top: 12px; border-bottom: 0; }
  .nav-toggle span { width: 28px; height: 3px; margin: 6px 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}
@media (max-width: 760px) {
  .nav-inner { height: 78px; }
  .brand img { height: 58px; }
  html { scroll-padding-top: 78px; }
  .hero { min-height: 560px; height: auto; }
  .contact-paths { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .hero-inner { padding: 110px 0 96px; }
  .photo-grid { grid-template-columns: 1fr; gap: 14px; }
  .photo { aspect-ratio: 16 / 11; }
  .grid-3, .grid-4, .feature-list { grid-template-columns: 1fr; }
  .step { grid-template-columns: 48px 1fr; padding: 18px; }
  .step-num { font-size: 2.1rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}
