/* Direction A "Night Watch": doorbell-cam night palette, porch-light amber, orange-hair glow,
   red/amber/green status LEDs from the clown's chest. Same store structure as before. */
:root {
  --bg: #11161f;
  --panel: #1b2230;
  --panel-2: #0c1017;
  --line: #2a3344;
  --text: #eceae4;
  --muted: #a9b0c0;
  --amber: #f6c26b;
  --orange: #f05a1a;
  --red: #e3262b;
  --led-red: #ff3b30;
  --led-amber: #ffc21a;
  --led-green: #2fe36a;
  --slot-ink: #56607a;
  --poster-cream: #ffe8ae;
}

/* The site is a night scene in both themes; light mode only lifts the panels a touch. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) { --bg: #151b26; --panel: #202838; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #11161f; --panel: #1b2230; }
}
:root[data-theme="dark"] { --bg: #11161f; --panel: #1b2230; }
:root[data-theme="light"] { --bg: #151b26; --panel: #202838; }

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 17px/1.5 Fredoka, "Trebuchet MS", sans-serif;
  overflow-x: clip;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

h1, h2, h3, .logo, .btn, .pill, .tag { font-family: Chango, "Arial Black", sans-serif; font-weight: 400; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 24px; color: var(--amber); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* Draft markers: copy we still have to write together. */
.draft, .draft-inline { background: repeating-linear-gradient(-45deg, rgba(246, 194, 107, 0.18) 0 8px, transparent 8px 16px); outline: 2px dashed var(--amber); border-radius: 6px; padding: 0 6px; font-style: italic; }

.logo-mark { flex: none; height: 48px; width: auto; }

.promo { background: var(--red); color: #fff; text-align: center; font-weight: 600; font-size: 15px; padding: 8px 16px; }
.promo a { color: var(--amber); }

.top { background: var(--panel); border-bottom: 2px solid var(--line); position: sticky; top: 0; z-index: 5; }
.nav { display: flex; align-items: center; gap: 28px; height: 66px; }
.logo { display: flex; align-items: center; gap: 12px; font-family: Caprasimo, Georgia, serif; font-size: 20px; color: var(--poster-cream); text-shadow: 1px 1px 0 var(--red); text-decoration: none; white-space: nowrap; }
.links { display: flex; gap: 22px; font-weight: 600; margin-left: auto; }
.links a { text-decoration: none; color: var(--muted); }
.links a:hover { color: var(--amber); }
.cart { text-decoration: none; font-weight: 600; color: var(--text); border: 2px solid var(--line); border-radius: 999px; padding: 5px 14px; white-space: nowrap; }

/* Hero: doorbell-cam framing over the main spot (a still until the video lands). */
.hero { position: relative; min-height: 640px; display: grid; align-items: end; overflow: hidden; background: #000; }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 13, 19, 0.92) 0%, rgba(10, 13, 19, 0.45) 48%, rgba(10, 13, 19, 0) 75%); }
.cctv { position: absolute; z-index: 2; font-family: VT323, monospace; font-size: 26px; color: #fff; text-shadow: 0 0 6px #000; }
.cctv.tl { left: 24px; top: 18px; }
.cctv.tl b { color: var(--led-red); font-weight: 400; }
.cctv.tr { right: 24px; top: 18px; }
.slot-tag { position: absolute; z-index: 2; right: 24px; bottom: 20px; background: rgba(0, 0, 0, 0.6); color: var(--muted); font-size: 13px; padding: 4px 12px; border-radius: 999px; }
.hero-copy { position: relative; z-index: 2; width: 100%; padding-top: 90px; padding-bottom: 72px; }
.pill { display: inline-block; background: var(--red); color: #fff; padding: 5px 14px; font-size: 14px; border-radius: 999px; margin: 0 0 16px; }
.hero h1 { font-size: clamp(2.4rem, 6.5vw, 5rem); max-width: 12em; }
.hero h1 span { color: var(--orange); text-shadow: 0 0 26px rgba(240, 90, 26, 0.6); }
.hero-sub { display: inline-block; font-size: 20px; color: var(--amber); margin: 18px 0 24px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.btn { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; padding: 13px 24px; text-decoration: none; border-radius: 999px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #c41e23; }
.btn-ghost { border: 3px solid var(--amber); color: var(--amber); }
.btn-ghost:hover { background: var(--amber); color: var(--bg); }

.section { padding-top: 64px; padding-bottom: 24px; }

/* Products */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.card .img { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--panel-2); margin-bottom: 12px; }
.card .img img { width: 100%; height: 100%; object-fit: cover; }
.tag { color: var(--led-red); font-size: 13px; margin: 0 0 4px; }
.card h3 { font-size: 17px; }
.price { font-weight: 700; margin: 6px 0 12px; }
.card .buy { display: block; text-align: center; padding: 11px; border-radius: 999px; background: var(--red); color: #fff; font: 600 15px Fredoka, sans-serif; text-decoration: none; }
.card .buy:hover { filter: brightness(1.1); }
.card button { width: 100%; padding: 11px; border: 2px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font: 600 15px Fredoka, sans-serif; cursor: not-allowed; }

/* Jack-in-the-Box: closed by default, pops open when the pointer moves over it (or on focus/tap). */
.jack .img img { position: absolute; inset: 0; transition: opacity 0.15s steps(1); }
.jack .img .open { opacity: 0; }
.jack:hover .img .open, .jack:focus-within .img .open, .jack:focus .img .open { opacity: 1; }
.jack .hint { position: absolute; left: 10px; bottom: 10px; background: rgba(0, 0, 0, 0.6); font-size: 12px; padding: 3px 10px; border-radius: 999px; color: var(--amber); }
.jack:hover .hint, .jack:focus .hint { opacity: 0; }

/* Videos */
.band { background: var(--panel-2); border-top: 2px solid var(--amber); margin-top: 64px; padding: 60px 0 68px; }
.videos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; max-width: 980px; margin: 0 auto; }
.video { margin: 0; }
.vid { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; align-content: end; padding-bottom: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; color: var(--slot-ink); font-weight: 600; font-size: 14px; overflow: hidden; }
.vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vid::before { content: "▶"; position: absolute; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 20px; top: calc(50% - 28px); left: calc(50% - 28px); }
.vid:has(video)::before { display: none; }
.video figcaption { margin-top: 14px; color: var(--muted); font-size: 18px; }
.video figcaption b { display: block; font-family: Chango, sans-serif; font-weight: 400; font-size: 16px; color: var(--text); margin-bottom: 2px; }
.disclose { color: var(--muted); font-size: 14px; margin: -12px 0 22px; }

/* Founder video */
.slot-img { display: grid; place-items: center; color: var(--slot-ink); font-weight: 600; font-size: 14px; border: 1px dashed var(--line); }
.blurb { color: var(--muted); margin: 6px 0 0; }
.founder { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.disclose-inline { color: var(--muted); font-size: 14px; margin: 12px 0 0; }

.promise { background: var(--panel); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); margin-top: 64px; }
.promise-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; padding-top: 22px; padding-bottom: 22px; font-size: 17px; }
.promise b { color: var(--amber); }

.narrow { max-width: 860px; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; font-weight: 600; font-size: 18px; }
summary::after { content: "+"; font-family: Chango, sans-serif; color: var(--orange); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 16px; color: var(--muted); }

.footer { background: var(--panel-2); color: var(--muted); margin-top: 72px; padding: 40px 0 28px; border-top: 2px solid var(--line); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 26px; }
.footer h4 { font-family: Chango, sans-serif; font-weight: 400; color: var(--amber); font-size: 16px; margin: 0 0 10px; }
.footer-cols a { display: block; text-decoration: none; font-size: 15px; margin-bottom: 6px; }
.legal { font-size: 13px; margin-top: 0; margin-bottom: 6px; }

@media (max-width: 900px) {
  .links { display: none; }
  .cart { margin-left: auto; }
  .logo { font-size: 16px; }
  .hero { min-height: 600px; }
  .hero-media img, .hero-media video { object-position: 65% 20%; }
  .hero-media::after { background: linear-gradient(0deg, rgba(10, 13, 19, 0.95) 0%, rgba(10, 13, 19, 0.55) 50%, rgba(10, 13, 19, 0.1) 100%); }
  .cctv { font-size: 18px; }
  .videos, .promise-inner, .footer-cols, .founder { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 480px) {
  .nav { gap: 12px; }
  .logo { font-size: 14px; }
  .cctv.tr { top: 46px; left: 24px; right: auto; }
}

/* Four testimonial modes: two by two. */
.videos-4 { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 900px) { .videos-4 { grid-template-columns: minmax(0, 1fr); } }
