:root {
  --bg: #fff7ec;
  --bg-alt: #ffeed6;
  --surface: #ffffff;
  --ink: #1d1410;
  --ink-soft: #5e4c42;
  --line: #1d1410;
  --brand: #ff6b35;
  --brand-ink: #1d1410;
  --accent: #2ec4b6;
  --bowl: #ff6b35;
  --bowl-rim: #ffd166;
  --food: #fff3c4;
  --ph-bg: #fff176;
  --ph-ink: #5a4a00;
  --shadow: 4px 4px 0 var(--line);
  --radius: 18px;
  --font-display: "Luckiest Guy", "Arial Black", Impact, sans-serif;
  --font-body: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17110e;
    --bg-alt: #211813;
    --surface: #2a1f19;
    --ink: #fff3e6;
    --ink-soft: #cdb8a8;
    --line: #fff3e6;
    --brand: #ff7f4d;
    --brand-ink: #17110e;
    --accent: #3fd9cb;
    --bowl: #ff7f4d;
    --bowl-rim: #ffd166;
    --food: #ffe9a8;
    --ph-bg: #4a3212;
    --ph-ink: #ffd166;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.02; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.5rem, 6.6vw, 4.8rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); max-width: 20ch; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; margin-bottom: .25em; }
p { margin: 0 0 1em; }
a { color: inherit; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.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;
}

/* Placeholders: deliberately loud so nothing ships unfilled by accident */
.ph {
  background: var(--ph-bg);
  color: var(--ph-ink);
  outline: 2px dashed currentColor;
  outline-offset: 1px;
  border-radius: 4px;
  padding: 0 .25em;
}

.preview-banner {
  background: var(--ph-bg);
  color: var(--ph-ink);
  text-align: center;
  font-size: .9rem;
  padding: 8px 16px;
  border-bottom: 2px solid var(--line);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; letter-spacing: .02em; }
.brand-mark { width: 38px; height: 38px; }

.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 600; }
.site-nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }

.nav-toggle { display: none; background: none; border: 2px solid var(--line); border-radius: 10px; width: 44px; height: 40px; cursor: pointer; color: var(--ink); }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; margin: 0 auto; position: relative; content: "";
}
.nav-toggle .bars::before { position: absolute; top: -6px; }
.nav-toggle .bars::after { position: absolute; top: 6px; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 2px solid var(--line);
    padding: 8px 16px 16px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 15%, transparent); }
  .site-nav .btn { margin-top: 12px; justify-content: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .4em;
  background: var(--brand); color: var(--brand-ink);
  border: 2px solid var(--line); border-radius: 999px;
  padding: 14px 26px 11px; font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; letter-spacing: .03em;
  text-decoration: none; box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease;
  cursor: pointer;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--line); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--line); }
.btn-ghost { background: var(--surface); color: var(--ink); }
.btn-small { padding: 9px 18px 6px; font-size: 1rem; box-shadow: 3px 3px 0 var(--line); }
.btn .ph { outline: none; padding: 0; background: none; color: inherit; text-decoration: underline dashed; text-underline-offset: 3px; }

.is-disabled { cursor: not-allowed; opacity: .55; }
.btn.is-disabled:hover, .btn.is-disabled:active { transform: none; box-shadow: var(--shadow); }
.btn-small.is-disabled:hover { box-shadow: 3px 3px 0 var(--line); }

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .85rem; color: var(--ink-soft); margin-bottom: 14px; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 46ch; }
.hl { color: var(--brand); -webkit-text-stroke: 0; }

/* Hero: full-cover video */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100vh - 68px);
  min-height: calc(100svh - 68px);
  display: flex; align-items: flex-end;
  padding: 96px 0 72px;
  background: #e8682a url("/assets/video/hero-poster.jpg") center / cover no-repeat;
  color: #fff;
  border-bottom: 2px solid var(--line);
}
.hero-video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%;
  pointer-events: none; /* a tap on the video must never reach the native player */
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to right, rgba(20, 10, 4, .78) 0%, rgba(20, 10, 4, .5) 30%, rgba(20, 10, 4, 0) 55%),
    linear-gradient(to top, rgba(20, 10, 4, .55) 0%, rgba(20, 10, 4, 0) 40%);
}
.hero-inner { position: relative; }
/* Copy hugs the left edge instead of the centred column, so it stays off the brothers */
.hero .wrap { max-width: none; margin: 0; padding-left: clamp(16px, 4vw, 72px); padding-right: 16px; }
.hero-copy { max-width: 540px; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
.hero .lede { font-size: 1.1rem; max-width: 40ch; }
.hero .ca-box { max-width: 480px; }
@media (min-width: 1500px) { .hero-copy { max-width: 560px; } .hero h1 { font-size: 4.3rem; } }
/* Wide screens: slide the video right so the brothers sit clear of the copy, and fade
   its left edge into the matching backdrop orange (sampled from the footage: #ac4f1f). */
@media (min-width: 1100px) {
  .hero { background: #ac4f1f; }
  .hero-video {
    left: 16%; width: 100%; object-position: center 30%;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%);
            mask-image: linear-gradient(to right, transparent 0, #000 14%);
  }
}
.hero h1 { text-shadow: 0 3px 24px rgba(0, 0, 0, .35); }
.hero .eyebrow { color: rgba(255, 255, 255, .85); }
.hero .lede { color: rgba(255, 255, 255, .9); }
.hero .hl { color: #ffb38a; }
.hero .ca-box { background: rgba(20, 10, 4, .55); border-color: #fff; color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero .btn { border-color: #fff; box-shadow: 4px 4px 0 #fff; }
.hero .btn.is-disabled:hover, .hero .btn.is-disabled:active { box-shadow: 4px 4px 0 #fff; }
.hero .btn:not(.is-disabled):hover { box-shadow: 6px 6px 0 #fff; }
.hero .btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; }
@media (min-width: 900px) { .hero { padding: 96px 0 80px; } }
/* Phones/tablets in portrait: a 16:9 clip stretched over a tall screen shows only ~30% of
   its width, which cuts both brothers off. Instead the video is a full-width band sized so
   both fit (a square band shows ~29-85% of the frame, checked across the whole clip), fading into the dark below the copy. */
@media (max-width: 899px) {
  .hero {
    display: block; min-height: 0; padding: 0 0 48px;
    background: #1d1410;
  }
  .hero-video {
    position: relative; inset: auto; z-index: 0; display: block;
    width: 100%; height: min(100vw, 60svh);
    object-position: 66% 30%;
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  }
  .hero-shade { display: none; }
  .hero-inner { z-index: 1; margin-top: -56px; }
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 24px; }

.sound-toggle {
  position: absolute; right: 16px; top: 20px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: #1d1410; border: 2px solid #1d1410; border-radius: 999px;
  padding: 10px 18px 8px 14px; font-family: var(--font-display); font-weight: 400; font-size: 1rem; letter-spacing: .03em; cursor: pointer;
  box-shadow: 4px 4px 0 #1d1410;
}
.sound-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sound-toggle svg path:first-child { fill: currentColor; }
.sound-toggle .icon-on { display: none; }
.sound-toggle[aria-pressed="true"] .icon-on { display: block; }
.sound-toggle[aria-pressed="true"] .icon-off { display: none; }
.sound-toggle[aria-pressed="false"] { animation: nudge 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .sound-toggle[aria-pressed="false"] { animation: none; } }
@keyframes nudge { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@media (min-width: 720px) { .sound-toggle { right: 32px; top: 28px; } }

.ca-box {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 2px solid var(--line); border-radius: 14px;
  padding: 8px 8px 8px 14px; max-width: 520px;
}
.ca-label { font-weight: 800; font-size: .85rem; }
.ca-value { flex: 1; min-width: 0; font-family: var(--font-mono); font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-copy {
  border: 2px solid var(--line); background: var(--accent); color: #0d1f1d;
  border-radius: 10px; padding: 8px 14px; font: inherit; font-weight: 800; cursor: pointer;
}
.ca-copy:disabled { opacity: .45; cursor: not-allowed; }

/* Bowl mark (header + 404) */
.bowl-body { fill: var(--bowl); stroke: var(--line); stroke-width: 4; }
.bowl-rim { fill: var(--bowl-rim); stroke: var(--line); stroke-width: 4; }
.bowl-food { fill: var(--food); }
.bowl-foot { fill: var(--bowl); stroke: var(--line); stroke-width: 4; }
.bowl-eye { fill: var(--line); }
.bowl-mouth, .bowl-brow { fill: none; stroke: var(--line); stroke-width: 5; stroke-linecap: round; }
.bowl-mouth-o { fill: var(--line); }
.brand-mark .bowl-body, .brand-mark .bowl-rim { stroke-width: 3; }

/* Marquee */
.marquee { background: var(--ink); color: var(--bg); overflow: hidden; border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.marquee-track { display: flex; gap: 28px; width: max-content; padding: 16px 0 13px; font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: scroll 28s linear infinite; }
  @keyframes scroll { to { transform: translateX(-50%); } }
}

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.sub { margin-top: 56px; }

.cards { display: grid; gap: 20px; margin-top: 36px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px;
}
.card p { color: var(--ink-soft); margin: 0; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 36px 0 0; display: grid; gap: 20px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li {
  counter-increment: step; position: relative;
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 64px 22px 22px; box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step); position: absolute; top: 18px; left: 22px;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: var(--brand-ink); border: 2px solid var(--line); font-family: var(--font-display); font-weight: 400; padding-top: 3px;
}
.steps p { color: var(--ink-soft); margin: 0; }

.stats { display: grid; gap: 16px; margin: 36px 0 0; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); min-width: 0; }
.stat dt { font-size: .85rem; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.stat dd { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 3vw, 2rem); overflow-wrap: anywhere; display: inline-block; }

.phases { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.phases li { display: flex; gap: 18px; align-items: flex-start; border-top: 2px solid var(--line); padding-top: 18px; }
.phase-n { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; color: var(--brand); min-width: 2.2ch; line-height: 1; }
.phases p { color: var(--ink-soft); margin: 0; }

.community { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .community { grid-template-columns: 1fr 1fr; } }
.socials { display: grid; gap: 14px; }
.social {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; text-decoration: none; box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease;
}
.social:not(.is-disabled):hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--line); }
.social-name { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; letter-spacing: .02em; }
.social-sub { color: var(--ink-soft); font-size: .95rem; }

/* Footer */
.site-footer { padding: 48px 0 40px; }
.disclaimer { font-size: .9rem; color: var(--ink-soft); max-width: 80ch; }
.copy { font-size: .85rem; color: var(--ink-soft); margin: 0; }
