:root {
  --ink: #eaf1e9;
  --muted: #9aafa0;
  --faint: #668070;
  --bg: #0b1511;
  --panel: #14231b;
  --panel-2: #1b2c21;
  --line: #2e4937;
  --green: #37d17b;
  --lime: #d1f271;
  --amber: #f3c85c;
  --shadow: 0 18px 55px rgba(0,0,0,.45);
  --sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Arial Black", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.55; min-width: 320px; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.wrap { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; position: relative; z-index: 1; }

.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); pointer-events: none; }
.backdrop::before { content: ""; position: absolute; inset: 0; background: url("assets/drop-the-envelopes-still.jpg") center / cover; opacity: .19; filter: saturate(.8) brightness(.55); transform: scale(1.06); }
.backdrop__milo, .backdrop__george { position: absolute; bottom: -6%; width: min(40vw, 530px); height: 70vh; background-size: contain; background-repeat: no-repeat; opacity: .21; filter: saturate(.65) brightness(.5); }
.backdrop__milo { left: -5%; background-image: url("assets/milo-bipedal-bg.jpg"); background-position: left bottom; }
.backdrop__george { right: -5%; background-image: url("assets/george-bipedal-bg.jpg"); background-position: right bottom; }
.backdrop__wash { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 18%, rgba(11,21,17,.2), rgba(11,21,17,.82) 68%, #0b1511 100%), linear-gradient(180deg, rgba(11,21,17,.62), rgba(11,21,17,.76) 45%, #0b1511); }

.notice-bar { display: flex; justify-content: center; gap: .9rem; flex-wrap: wrap; padding: .46rem 1rem; background: #392b0d; border-bottom: 1px solid #6d5316; color: var(--amber); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-align: center; text-transform: uppercase; }
.notice-bar__detail { color: #f7dda0; font-weight: 500; letter-spacing: .08em; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(11,21,17,.88); border-bottom: 1px solid rgba(67,98,77,.75); backdrop-filter: blur(16px); }
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; font-weight: 850; letter-spacing: -.03em; }
.brand__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; background: linear-gradient(145deg, var(--lime), var(--green)); color: #102018; font-size: .72rem; font-weight: 950; box-shadow: 0 0 24px rgba(55,209,123,.18); }
.brand__words { font-size: 1.05rem; line-height: 1.05; }
.brand__words small { display: block; margin-top: .26rem; color: var(--muted); font-size: .63rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 1.3rem; }
nav a { color: var(--muted); font-size: .85rem; font-weight: 700; text-decoration: none; }
nav a:hover { color: var(--lime); }
nav .nav-social { padding: .45rem .75rem; border: 1px solid var(--line); border-radius: 6px; color: var(--lime); }
.nav-toggle { display: none; border: 1px solid var(--line); border-radius: 6px; padding: .48rem .75rem; background: var(--panel); color: var(--ink); font: inherit; font-size: .8rem; }

.hero { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr); align-items: center; gap: clamp(2.2rem, 6vw, 6rem); min-height: 640px; padding-top: clamp(4rem, 9vw, 7.5rem); padding-bottom: clamp(4rem, 9vw, 7rem); }
.hero__copy { max-width: 590px; }
.eyebrow { margin: 0 0 .9rem; color: var(--lime); font-size: .68rem; font-weight: 850; letter-spacing: .16em; line-height: 1.35; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: var(--display); letter-spacing: -.045em; line-height: .98; }
h1 { max-width: 660px; font-size: clamp(3.2rem, 7vw, 6.7rem); text-wrap: balance; }
h1 span { color: var(--lime); }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
.hero__lead { max-width: 500px; margin: 1.7rem 0 0; color: #c0cfc3; font-size: 1.1rem; }
.hero__lead strong { color: var(--ink); }
.hero__actions { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px; padding: .72rem 1.15rem; border: 1px solid transparent; border-radius: 7px; font: inherit; font-size: .86rem; font-weight: 850; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--green); color: #0a1710; box-shadow: 0 7px 24px rgba(55,209,123,.16); }
.button--primary:hover { background: var(--lime); color: #0a1710; }
.button--quiet { border-color: var(--line); background: rgba(20,35,27,.65); color: var(--ink); }
.button--quiet:hover { border-color: var(--green); color: var(--lime); }
.age-note { display: flex; align-items: center; gap: .65rem; margin: 2rem 0 0; color: var(--muted); font-size: .8rem; }
.age-note span { display: inline-grid; place-items: center; width: 31px; height: 23px; border: 1px solid var(--muted); border-radius: 4px; color: var(--ink); font-size: .65rem; font-weight: 900; }

.hero__art { display: flex; justify-content: center; }
.door-frame { position: relative; width: min(100%, 430px); padding: .8rem .8rem 1rem; border: 1px solid #405847; border-radius: 10px; background: linear-gradient(145deg, rgba(36,54,43,.9), rgba(10,18,14,.95)); box-shadow: var(--shadow), inset 0 0 0 5px #101b15; transform: rotate(1.2deg); }
.door-frame::before { content: ""; position: absolute; inset: 1.8rem; border: 5px solid rgba(8,14,11,.75); border-bottom-width: 10px; pointer-events: none; z-index: 1; }
.door-frame img { display: block; width: 100%; aspect-ratio: 575 / 1024; object-fit: cover; border: 1px solid #55685b; }
.door-frame__label, .door-frame__plate { display: flex; justify-content: space-between; gap: .75rem; color: #b3c7b6; font-size: .58rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.door-frame__label { padding: .2rem .1rem .65rem; }
.door-frame__plate { padding: .72rem .1rem 0; color: var(--lime); }

.trailer-section { padding-bottom: clamp(5rem, 10vw, 9rem); }
.section-kicker { display: flex; align-items: center; gap: .75rem; margin-bottom: .9rem; color: var(--muted); font-size: .65rem; font-weight: 800; letter-spacing: .13em; }
.section-kicker > span:first-child { color: var(--lime); }
.section-kicker__rule { width: 60px; height: 1px; background: var(--line); }
.trailer-card { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: rgba(20,35,27,.84); box-shadow: var(--shadow); }
.trailer-card__screen { position: relative; background: #070c09; aspect-ratio: 16 / 7; min-height: 240px; }
.trailer-card video { display: block; width: 100%; height: 100%; object-fit: cover; }
.trailer-audio-toggle { position: absolute; right: 1.2rem; bottom: 1rem; z-index: 1; border: 1px solid var(--lime); border-radius: 999px; padding: .55rem .8rem; background: rgba(9,17,13,.88); color: var(--ink); font: inherit; font-size: .72rem; font-weight: 800; cursor: pointer; }
.trailer-audio-toggle:hover, .trailer-audio-toggle:focus-visible { background: var(--lime); color: #102018; }
.screen-bug { position: absolute; top: 1.2rem; right: 1.2rem; padding: .35rem .48rem; border: 1px solid rgba(209,242,113,.6); color: var(--lime); font-size: .6rem; font-weight: 800; line-height: 1.2; text-align: center; letter-spacing: .08em; }
.screen-caption { position: absolute; bottom: 1rem; left: 1.2rem; padding: .35rem .55rem; background: rgba(9,17,13,.82); color: var(--ink); font-size: .62rem; font-weight: 800; letter-spacing: .13em; }
.trailer-card__footer { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding: 1.4rem 1.6rem 1.5rem; }
.trailer-card h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.trailer-card__note { max-width: 260px; margin: 0; color: var(--muted); font-size: .83rem; text-align: right; }

.waitlist { padding-bottom: clamp(5rem, 9vw, 8rem); }
.waitlist__panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; padding: clamp(2rem, 5vw, 4.5rem); border: 1px solid #47624e; border-radius: 10px; background: linear-gradient(120deg, rgba(27,44,33,.95), rgba(15,29,21,.95)); box-shadow: var(--shadow); }
.waitlist h2 { margin-bottom: 1rem; font-size: clamp(2.2rem, 4vw, 3.5rem); }
.waitlist__copy > p:not(.eyebrow):not(.waitlist__status) { max-width: 440px; margin: 0; color: #bfcec1; }
.waitlist__status { display: flex; align-items: center; gap: .5rem; margin: 1.3rem 0 0; color: var(--lime); font-size: .76rem; font-weight: 750; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(55,209,123,.13); }
.waitlist-form { padding: 1.25rem; border: 1px solid var(--line); border-radius: 8px; background: rgba(7,15,10,.42); }
.waitlist-form label { display: block; margin-bottom: .5rem; color: var(--ink); font-size: .82rem; font-weight: 750; }
.input-row { display: flex; gap: .6rem; }
input[type="email"] { min-width: 0; flex: 1; border: 1px solid #45604c; border-radius: 6px; padding: .75rem .85rem; background: #0e1b14; color: var(--ink); font: inherit; }
input[type="email"]::placeholder { color: #698170; }
.form-note, .form-feedback { margin: .7rem 0 0; color: var(--faint); font-size: .72rem; }
.form-feedback { color: var(--lime); }

.socials { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 2rem; padding-bottom: 6rem; }
.socials h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.socials__links { border-top: 1px solid var(--line); }
.socials__links a { display: grid; grid-template-columns: 95px 1fr auto; align-items: center; gap: .8rem; padding: .9rem 0; border-bottom: 1px solid var(--line); color: var(--lime); font-weight: 750; text-decoration: none; }
.socials__links a:hover { color: var(--ink); }
.socials__links span { color: var(--muted); font-size: .75rem; font-weight: 600; }
.socials__links b { color: var(--green); font-size: 1.1rem; }
.site-footer { border-top: 1px solid var(--line); background: rgba(7,14,10,.6); }
.site-footer__inner { display: flex; justify-content: space-between; gap: 1rem; padding: 1.35rem 0; color: var(--faint); font-size: .7rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 760px) {
  .wrap { width: min(calc(100% - 1.5rem), var(--max)); }
  .nav { min-height: 66px; }
  .nav-toggle { display: block; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; align-items: stretch; flex-direction: column; gap: 0; padding: .65rem .75rem .9rem; background: rgba(11,21,17,.98); border-bottom: 1px solid var(--line); }
  nav.open { display: flex; }
  nav a { padding: .7rem .4rem; }
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding-top: 4rem; }
  .hero__art { order: -1; }
  .hero__copy { max-width: none; }
  .hero__art .door-frame { width: min(80vw, 390px); }
  .trailer-card__screen { aspect-ratio: 4 / 3; }
  .trailer-card__footer { display: block; }
  .trailer-card__note { margin-top: .65rem; text-align: left; }
  .waitlist__panel, .socials { grid-template-columns: 1fr; }
  .input-row { flex-direction: column; }
  .input-row .button { width: 100%; }
}
@media (max-width: 430px) {
  .notice-bar { display: block; font-size: .62rem; }
  .notice-bar__detail { display: block; margin-top: .2rem; }
  h1 { font-size: 3.1rem; }
  .door-frame__label, .door-frame__plate { font-size: .5rem; }
  .socials__links a { grid-template-columns: 75px 1fr auto; font-size: .85rem; }
  .site-footer__inner { display: block; }
  .site-footer__inner span { display: block; }
  .site-footer__inner span + span { margin-top: .4rem; }
}
