/* Backyard Ninja Monkey's — site styles */
:root {
  --ink: #0d0e0b;
  --panel: #171914;
  --card: #14160f;
  --line: #2a2e22;
  --line-strong: #3a3f30;
  --cream: #f4f1e8;
  --text: #d6d8ce;
  --muted: #c9ccbf;
  --muted-dark: #3b3d35;
  --lime: #b9e52f;
  --orange: #f36b21;
  --orange-dark: #c24e0e;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1320px;
  --radius: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--lime); }
a:hover { color: var(--orange); }
input, textarea, button { font: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.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: 16px; top: -60px; z-index: 100; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* Type helpers */
.display { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 0.92; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: 0.12em; font-size: 18px; color: var(--orange); }
.h2 { font-size: clamp(44px, 5.4vw, 76px); }
.lime { color: var(--lime); }
.orange { color: var(--orange); }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding: 18px 30px; border-radius: 14px; font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 22px; letter-spacing: 0.04em; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn svg { width: 22px; height: 22px; }
.btn-lime { background: var(--lime); color: var(--ink); box-shadow: 6px 6px 0 var(--orange); }
.btn-lime:hover { color: var(--ink); transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--orange); }
.btn-ghost { color: var(--cream); border: 2px solid var(--line-strong); }
.btn-ghost:hover { color: var(--lime); border-color: var(--lime); }
.btn-dark { background: var(--ink); color: var(--lime); font-size: 24px; }
.btn-dark:hover { color: var(--cream); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Top strip */
.topstrip { background: var(--lime); color: var(--ink); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; padding: 10px 16px; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; text-align: center; }
.topstrip a { color: inherit; text-decoration: none; }

/* Header / nav */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13,14,11,0.94); backdrop-filter: blur(8px); border-bottom: 1px solid #262920; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.brand:hover { color: var(--cream); }
.brand img { width: 64px; height: 50px; object-fit: cover; border-radius: 10px; }
.brand-word { display: flex; flex-direction: column; font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 0.9; font-size: 20px; letter-spacing: 0.02em; }
.brand-word .lime { font-size: 26px; letter-spacing: 0.04em; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; font-family: var(--display); font-weight: 700; font-size: 19px; text-transform: uppercase; letter-spacing: 0.05em; }
.nav-links a { color: var(--cream); text-decoration: none; padding: 10px 0; display: inline-block; }
.nav-links a:hover { color: var(--lime); }
.nav-links .nav-cta { background: var(--orange); color: var(--ink); padding: 12px 22px; border-radius: 999px; font-weight: 800; font-style: italic; transform: skewX(-6deg); }
.nav-links .nav-cta:hover { color: var(--ink); background: var(--lime); }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 12px; background: transparent; border: 2px solid var(--line-strong); color: var(--cream); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-bottom: 1px solid #262920; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid #1f221a; width: 100%; }
  .nav-links .nav-cta { text-align: center; margin-top: 14px; border-bottom: 0; transform: none; }
}

/* Hero */
.hero { background: radial-gradient(circle at 78% 30%, #23281a 0%, var(--ink) 60%); }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 96px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-size: clamp(52px, 7.2vw, 104px); letter-spacing: -0.005em; }
.hero h1 .small { display: block; font-size: 0.42em; color: var(--cream); letter-spacing: 0.04em; }
.hero h1 .big { display: block; }
.hero h1 .small:first-child { margin-bottom: 10px; }
.hero h1 .mid { margin: 10px 0; }
.hero .lead { font-size: 20px; color: var(--text); }
.hero .lead strong.lime, .hero .lead strong.orange { font-weight: 700; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 10px 0 0; padding: 0; list-style: none; max-width: 600px; }
.badges li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 14px 8px; border: 1px solid #2c3024; border-radius: 14px; background: var(--card); font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 16px; line-height: 1; }
.badges svg { width: 34px; height: 34px; }
@media (max-width: 560px) { .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.hero-media { flex: 1 1 480px; min-width: 0; position: relative; min-height: 640px; }
.hero-photo-main { position: absolute; inset: 0 40px 40px 0; border-radius: 28px; overflow: hidden; border: 6px solid var(--lime); transform: rotate(2deg); box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.hero-photo-small { position: absolute; left: -24px; bottom: 0; width: 210px; height: 260px; border-radius: 20px; overflow: hidden; border: 5px solid var(--orange); transform: rotate(-5deg); box-shadow: 0 20px 40px rgba(0,0,0,.5); }
.hero-photo-main img, .hero-photo-small img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-small img { object-position: 30% 50%; }
.sticker { position: absolute; right: 0; top: 28px; width: 150px; height: 150px; border-radius: 50%; background: var(--orange); color: var(--ink); display: flex; align-items: center; justify-content: center; text-align: center; transform: rotate(10deg); font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 21px; line-height: .95; box-shadow: 0 10px 0 var(--ink); padding: 14px; }
@media (max-width: 640px) {
  .hero-inner { padding-top: 44px; padding-bottom: 72px; gap: 40px; }
  .hero-media { min-height: 460px; }
  .hero-photo-main { inset: 0 16px 36px 0; }
  .hero-photo-small { left: -6px; width: 140px; height: 180px; }
  .sticker { width: 112px; height: 112px; font-size: 16px; right: -4px; top: -16px; }
}

/* Strip */
.strip { background: var(--orange); color: var(--ink); transform: rotate(-1.5deg); margin: -20px -20px 0; padding: 18px 24px; position: relative; z-index: 2; box-shadow: 0 8px 0 var(--ink); }
.strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; list-style: none; margin: 0; padding: 0; font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(24px, 3vw, 34px); letter-spacing: 0.04em; }
.strip li + li::before { content: "✦"; margin-right: 34px; }

/* Sections */
.section { padding: 110px 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 52px; }
.section-head .stack { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 640px) { .section { padding: 80px 0; } }

/* Why */
.why { padding-top: 130px; }
.why h2 { max-width: 760px; }
.why .section-head p { max-width: 440px; color: var(--muted); font-size: 19px; }
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; gap: 16px; }
.feature .icon { width: 64px; height: 64px; border-radius: 18px; display: flex; align-items: center; justify-content: center; }
.feature .icon svg { width: 34px; height: 34px; }
.feature:nth-child(1) .icon { background: var(--lime); transform: rotate(-6deg); }
.feature:nth-child(2) .icon { background: var(--orange); transform: rotate(5deg); }
.feature:nth-child(3) .icon { background: var(--cream); transform: rotate(-3deg); }
.feature h3 { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 32px; line-height: 1; }
.feature p { color: var(--muted); }

/* Build steps */
.build { background: var(--cream); color: var(--ink); }
.build .eyebrow { color: var(--orange-dark); }
.build .head { display: flex; flex-direction: column; gap: 14px; max-width: 780px; margin-bottom: 56px; }
.build .head p { color: var(--muted-dark); font-size: 19px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step-photo { position: relative; border-radius: 22px; overflow: hidden; height: 340px; border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.step-photo img { width: 100%; height: 100%; object-fit: cover; }
.step-num { position: absolute; top: 14px; left: 14px; background: var(--ink); color: var(--lime); font-family: var(--display); font-weight: 900; font-style: italic; font-size: 34px; padding: 4px 16px; border-radius: 12px; line-height: 1.2; }
.step h3 { margin-top: 8px; font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 30px; line-height: 1; }
.step p { font-size: 17px; color: var(--muted-dark); }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { min-height: 44px; padding: 10px 20px; border-radius: 999px; cursor: pointer; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: 18px; background: transparent; color: var(--cream); border: 2px solid var(--line-strong); transition: background .15s, color .15s, border-color .15s; }
.chip:hover { border-color: var(--lime); }
.chip[aria-pressed="true"] { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); grid-auto-rows: 300px; gap: 16px; margin: 0; padding: 0; list-style: none; }
.gallery-grid li { position: relative; border-radius: 20px; overflow: hidden; border: 3px solid #2c3024; }
.gallery-grid li:nth-child(3n+2) { border-color: var(--orange); }
.gallery-grid li.tall { grid-row: span 2; }
.gallery-grid.filtered li.tall { grid-row: auto; }
.gallery-grid li[hidden] { display: none; }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 10px; } .gallery-grid .cap { font-size: 12px; left: 8px; bottom: 8px; } }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid li:hover img { transform: scale(1.04); }
.gallery-grid .cap { position: absolute; left: 12px; bottom: 12px; background: rgba(13,14,11,.85); color: var(--cream); font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; padding: 6px 12px; border-radius: 8px; }
.insta { display: flex; justify-content: center; margin-top: 40px; }
.insta a { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; border: 2px solid var(--line-strong); padding: 14px 24px; border-radius: 999px; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: 19px; text-align: center; }
.insta a:hover { border-color: var(--lime); color: var(--lime); }
.insta svg { width: 22px; height: 22px; flex: none; }

/* Story */
.story { background: var(--panel); border-top: 1px solid #262920; border-bottom: 1px solid #262920; }
.story-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.story-media { flex: 1 1 520px; min-width: 0; position: relative; aspect-ratio: 6 / 5; }
.story-photo { position: absolute; inset: 0 60px 0 0; border-radius: 28px; overflow: hidden; border: 6px solid var(--orange); transform: rotate(-2deg); }
.story-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; }
.story-tag { position: absolute; right: 0; bottom: 40px; background: var(--lime); color: var(--ink); padding: 20px 24px; border-radius: 18px; transform: rotate(4deg); max-width: 250px; font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 26px; line-height: .95; box-shadow: 6px 6px 0 var(--ink); }
.story-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.story-copy h2 { font-size: clamp(44px, 5vw, 70px); }
.story-copy > p { color: var(--text); font-size: 19px; line-height: 1.65; }
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 8px; }
.person { background: var(--ink); border: 1px solid #2c3024; border-radius: 20px; padding: 22px; display: flex; align-items: center; gap: 16px; }
.person .avatar { width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--lime); display: flex; align-items: center; justify-content: center; }
.person .avatar svg { width: 28px; height: 28px; }
.person .role { display: block; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; color: var(--orange); line-height: 1.3; }
.person .name { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: 1; }
.story-sign { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 26px; line-height: 1.15; }
@media (max-width: 640px) { .story-media { aspect-ratio: 1 / 1; } .story-photo { inset: 0 24px 0 0; } .story-tag { font-size: 20px; max-width: 190px; bottom: -10px; } }

/* Safety */
.safety-box { background: var(--lime); color: var(--ink); border-radius: 32px; padding: 56px clamp(24px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; gap: 40px; position: relative; overflow: hidden; }
.safety-box .bg-star { position: absolute; right: -50px; top: -50px; width: 260px; height: 260px; opacity: .12; }
.safety-box .eyebrow { color: var(--ink); }
.safety-copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; position: relative; }
.safety-copy h2 { font-size: clamp(40px, 4.6vw, 64px); }
.safety-copy p { max-width: 520px; }
.rules { flex: 1 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; position: relative; }
.rules li { background: var(--ink); color: var(--cream); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.45; }
.rules strong { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 30px; line-height: 1.05; color: var(--orange); }
.rules li:first-child strong { font-size: 44px; line-height: 1; color: var(--lime); text-transform: none; }
.safety { padding: 100px 0; }

/* Quote */
.quote { padding: 20px 0 120px; }
.quote-inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.quote-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.quote-copy h2 { font-size: clamp(48px, 5.6vw, 80px); line-height: .9; }
.contact-list { display: flex; flex-direction: column; gap: 12px; margin: 6px 0 0; padding: 0; list-style: none; }
.contact-list a { display: flex; align-items: center; gap: 14px; color: var(--cream); text-decoration: none; font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--lime); }
.contact-list .phone { font-family: var(--display); font-weight: 800; font-size: 30px; }
.contact-list .dot { width: 52px; height: 52px; border-radius: 50%; background: var(--lime); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-list .dot svg { width: 24px; height: 24px; }

.quote-form { flex: 1 1 560px; min-width: 0; background: var(--cream); color: var(--ink); border-radius: 28px; padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 20px; box-shadow: 10px 10px 0 var(--orange); }
.form-body { display: flex; flex-direction: column; gap: 20px; }
.form-body .btn-dark { align-self: flex-start; }
.quote-form h3 { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 36px; line-height: 1; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px; }
.field .req, .form-note .req { color: var(--orange-dark); }
.field-wide { grid-column: 1 / -1; }
.form-note { font-size: 14px; color: var(--muted-dark); margin-top: -8px; }
.field input, .field textarea { min-height: 52px; border: 2px solid var(--ink); border-radius: 12px; padding: 12px 14px; background: #fff; font-size: 17px; color: var(--ink); font-weight: 400; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 700; font-size: 15px; padding: 0; margin-bottom: 10px; }
legend span { font-weight: 500; color: #4a4c43; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; border-radius: 999px; cursor: pointer; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: 18px; background: #fff; color: var(--ink); border: 2px solid var(--ink); user-select: none; transition: background .15s, color .15s; }
.pill input:checked + span { background: var(--ink); color: var(--lime); }
.pill input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 600; font-size: 16px; }
.form-status.error { color: #a3290b; }
.form-success { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 30px 0; }
.form-success[hidden] { display: none; }
.form-success .big { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 54px; line-height: .9; }
.form-success p { color: var(--muted-dark); }

/* Footer */
.site-footer { background: #000; border-top: 4px solid var(--lime); padding: 64px 0 32px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 56px; align-items: start; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer-brand img { width: 150px; height: 170px; object-fit: contain; }
.footer-brand .name { display: block; font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 30px; line-height: .95; max-width: 320px; }
.footer-brand .tag { display: block; margin-top: 8px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 16px; color: var(--orange); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-cols h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 15px; color: var(--lime); margin-bottom: 10px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-cols a { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.footer-cols a:hover { color: var(--lime); }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer-contact svg { width: 20px; height: 20px; flex: none; color: var(--lime); }
@media (max-width: 960px) { .footer-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-cols > :last-child { grid-column: 1 / -1; } }
.footer-banner { background: var(--lime); color: var(--ink); border-radius: 12px; padding: 14px 20px; text-align: center; font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 22px; letter-spacing: .03em; line-height: 1.15; margin-bottom: 40px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: #a3a69a; }
.footer-bottom a { color: var(--text); }
.footer-bottom a:hover { color: var(--lime); }

/* Simple pages (thanks, 404) */
.simple-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; text-align: center; padding-top: 48px; padding-bottom: 48px; }
.simple-page img { width: 160px; height: auto; }
.simple-page .lead { margin: 0 auto; }

@media (max-width: 560px) {
  .pill span { font-size: 16px; padding: 8px 14px; }
  .form-body .btn-dark { align-self: stretch; justify-content: center; }
  .quote-form h3 { font-size: 30px; }
}

/* Pricing */
.pricing { background: var(--cream); color: var(--ink); }
.pricing .eyebrow { color: var(--orange-dark); }
.pricing .section-head p { max-width: 460px; color: var(--muted-dark); font-size: 19px; }
.orange-dark { color: var(--orange-dark); }
.factors { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; list-style: none; margin: 0 0 40px; padding: 0; }
.factor { background: #fff; border: 3px solid var(--ink); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 12px; box-shadow: 6px 6px 0 var(--ink); }
.factor-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--ink); color: var(--lime); display: flex; align-items: center; justify-content: center; }
.factor:nth-child(even) .factor-icon { color: var(--orange); }
.factor-icon svg { width: 30px; height: 30px; }
.factor h3 { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 28px; line-height: 1; }
.factor p { font-size: 17px; color: var(--muted-dark); }
.quote-steps { background: var(--ink); color: var(--cream); border-radius: 28px; padding: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px; }
.quote-steps-title { font-size: clamp(32px, 3.4vw, 44px); flex: 1 1 100%; }
.quote-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; flex: 999 1 640px; min-width: 0; }
.quote-steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--muted); }
.quote-steps li strong { display: block; color: var(--cream); font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 22px; line-height: 1.1; margin-bottom: 4px; }
.quote-steps .n { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 24px; }
.quote-steps li:nth-child(2) .n { background: var(--orange); }
.quote-steps li:nth-child(3) .n { background: var(--cream); }

/* Service area */
.area .section-head p { max-width: 460px; color: var(--muted); font-size: 19px; }
.states { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.state { position: relative; border-radius: 26px; padding: 32px; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.state .abbr { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 120px; line-height: .8; letter-spacing: -.02em; }
.state .state-name { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 22px; }
.state-pa { background: var(--lime); color: var(--ink); border-color: var(--lime); transform: rotate(-1.5deg); }
.state-nj { background: var(--orange); color: var(--ink); border-color: var(--orange); transform: rotate(1deg); }
.state-ny .abbr { color: var(--lime); }
.state-ny { transform: rotate(-.5deg); }

/* FAQ */
.faq { padding-top: 0; }
.faq-inner { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-start; }
.faq-head { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }
.faq-list { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; }
.faq details[open] { border-color: var(--lime); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 22px; line-height: 1.15; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--lime); font-size: 30px; line-height: .8; flex: none; }
.faq details[open] summary::after { content: "–"; color: var(--orange); }
.faq details p { padding: 0 0 22px; color: var(--muted); }

/* Inner pages (gallery, how-we-build, about) */
.nav-links a[aria-current="page"] { color: var(--lime); }
.page-hero { background: radial-gradient(circle at 80% 20%, #23281a 0%, var(--ink) 60%); padding: 40px 0 80px; border-bottom: 1px solid #262920; }
.page-hero .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.page-hero h1 { font-size: clamp(48px, 6.4vw, 92px); max-width: 1000px; }
.page-hero .lead { max-width: 720px; color: var(--text); font-size: 20px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0 10px; list-style: none; margin: 0; padding: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; display: inline-block; padding: 12px 0; }
.crumbs a:hover { color: var(--lime); }
.crumbs [aria-current] { display: inline-block; padding: 12px 0; color: var(--lime); }
.more-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 48px; }
.build .more-row .btn-ghost { color: var(--ink); border-color: var(--ink); }
.build .more-row .btn-ghost:hover { color: var(--orange-dark); border-color: var(--orange-dark); }
.text-link { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 20px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.text-link svg { width: 20px; height: 20px; }

/* Gallery page */
.gallery-grid { grid-auto-flow: dense; }
.gallery-grid li.wide { grid-column: span 2; }
.gallery-grid.filtered li.wide { grid-column: auto; }
.gallery-page .section-head { margin-bottom: 36px; }
.gallery-notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 64px; }
.gallery-notes h3 { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 30px; line-height: 1; margin-bottom: 10px; }
.gallery-notes p { color: var(--muted); }

/* How-we-build page */
.detail-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 80px; }
.detail-step { display: flex; flex-wrap: wrap; align-items: center; gap: 36px 64px; }
.detail-step:nth-child(even) { flex-direction: row-reverse; }
.detail-step .step-photo { flex: 1 1 380px; min-width: 0; height: 480px; }
.detail-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.detail-copy h2 { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(38px, 4vw, 56px); line-height: .95; }
.detail-copy p { color: var(--muted-dark); font-size: 18px; }
@media (max-width: 640px) { .detail-steps { gap: 56px; } .detail-step .step-photo { height: 360px; } }
.obstacle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.obstacle { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.obstacle h3 { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 28px; line-height: 1; }
.obstacle p { color: var(--muted); font-size: 17px; }
.obstacle .trains { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; color: var(--orange); }
.levels { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.levels li { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 22px; border-radius: 999px; background: var(--ink); color: var(--lime); font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: 20px; }
.levels li:nth-child(even) { color: var(--orange); }
.levels-box { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 56px; margin-bottom: 64px; }
.levels-box .stack { flex: 1 1 380px; display: flex; flex-direction: column; gap: 14px; }
.levels-box .stack p { color: var(--muted-dark); font-size: 19px; }
.levels-box .levels { flex: 1 1 420px; }

/* CTA band (inner pages) */
.cta-band { padding: 0 0 110px; }
.cta-box { background: var(--panel); border: 2px solid var(--lime); border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; box-shadow: 10px 10px 0 var(--orange); }
.cta-box .stack { display: flex; flex-direction: column; gap: 14px; flex: 1 1 420px; }
.cta-box h2 { font-size: clamp(40px, 4.6vw, 64px); }
.cta-box p { color: var(--muted); }
@media (max-width: 640px) { .cta-band { padding-bottom: 80px; } }

/* Motion
   1. Pure-CSS load animations (hero photos, sticker, button press): only when the device allows motion.
   2. Scroll reveals, gated by html.motion. The header partial adds .motion before first paint;
      main.js adds .in as elements scroll into view. Reduced-motion visitors get a soft fade only;
      everyone else also gets the rise, swing, pop, ticker and tile shuffle. Keep the selector lists
      here in sync with MOTION_SELECTOR in main.js. The hidden "not yet revealed" state only exists
      under .motion, so with JS off (or if main.js fails, via the 3s failsafe) everything simply shows. */
.story-photo { --from: 0deg; --tilt: -2deg; }
.step-photo { --from: -5deg; --tilt: 0deg; }
:is(.step, .detail-step):nth-child(even) .step-photo { --from: 5deg; }
.hero-photo-main { --from: -2deg; --tilt: 2deg; }
.hero-photo-small { --from: 0deg; --tilt: -5deg; }
.strip .dup { display: none; }

@keyframes swing {
  0% { transform: rotate(var(--from)); }
  55% { transform: rotate(calc(var(--tilt) - (var(--from) - var(--tilt)) * .6)); }
  80% { transform: rotate(calc(var(--tilt) + (var(--from) - var(--tilt)) * .2)); }
  100% { transform: rotate(var(--tilt)); }
}
@keyframes fade-in { from { opacity: 0; } }
@keyframes pop { from { scale: 0; rotate: -25deg; } to { scale: 1; rotate: 0deg; } }
@keyframes tile-in { from { opacity: 0; scale: .9; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes sticker-in { from { transform: rotate(-200deg) scale(0); } to { transform: rotate(10deg) scale(1); } }
@keyframes sticker-wobble {
  0%, 86%, 100% { transform: rotate(10deg); }
  89% { transform: rotate(2deg); }
  92% { transform: rotate(16deg); }
  95% { transform: rotate(6deg); }
  98% { transform: rotate(12deg); }
}

@media (prefers-reduced-motion: no-preference) {
  /* Hero: transform only, so the hero photo (the LCP image) paints immediately */
  .hero-photo-main { animation: swing 1.1s cubic-bezier(.3,.7,.3,1) .15s both; }
  .hero-photo-small { animation: swing 1.1s cubic-bezier(.3,.7,.3,1) .35s both; }
  .sticker { animation: sticker-in .8s cubic-bezier(.3,1.5,.5,1) .6s both, sticker-wobble 5s ease-in-out 1.4s infinite; }

  /* Buttons drop into their hard shadow when pressed */
  .btn:active { transform: translate(3px, 3px); }
  .btn-lime:active { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--orange); }
  .nav-links .nav-cta:active { transform: skewX(-6deg) scale(.95); }
}

/* Scroll reveals. Everyone with JS gets a soft fade; movement is added only when the device allows motion. */
.motion :is(.section-head, .build .head, .feature, .factor, .step, .faq details, .state, .rules li, .quote-steps, .quote-copy, .story-copy, .safety-copy, .obstacle, .detail-copy, .gallery-notes > div, .cta-box, .levels-box, .gallery-grid li, .insta, .more-row, .story-photo, .step-photo) { transition: opacity .7s ease var(--d, 0ms); }
.motion :is(.section-head, .build .head, .feature, .factor, .step, .faq details, .state, .rules li, .quote-steps, .quote-copy, .story-copy, .safety-copy, .obstacle, .detail-copy, .gallery-notes > div, .cta-box, .levels-box, .gallery-grid li, .insta, .more-row, .story-photo, .step-photo):not(.in) { opacity: 0; }
.motion .gallery-grid { transition: opacity .18s ease; }
.motion .gallery-grid.is-switching { opacity: 0; }
.motion .gallery-grid.shuffle li:not([hidden]) { animation: fade-in .45s ease var(--d, 0ms) both; }

@media (prefers-reduced-motion: no-preference) {
  /* Rise in */
  .motion :is(.section-head, .build .head, .feature, .factor, .step, .faq details, .state, .rules li, .quote-steps, .quote-copy, .story-copy, .safety-copy, .obstacle, .detail-copy, .gallery-notes > div, .cta-box, .levels-box, .gallery-grid li, .insta, .more-row) {
    transition: opacity .6s ease var(--d, 0ms), translate .7s cubic-bezier(.2,.7,.2,1) var(--d, 0ms);
  }
  .motion :is(.section-head, .build .head, .feature, .factor, .step, .faq details, .state, .rules li, .quote-steps, .quote-copy, .story-copy, .safety-copy, .obstacle, .detail-copy, .gallery-notes > div, .cta-box, .levels-box, .gallery-grid li, .insta, .more-row):not(.in) { translate: 0 28px; }
  /* Photo frames swing into their tilt */
  .motion :is(.story-photo, .step-photo).in { animation: swing 1s cubic-bezier(.3,.7,.3,1) var(--d, 0ms) both; }
  /* Step numbers pop */
  .motion .step-num:not(.in) { scale: 0; }
  .motion .step-num.in { animation: pop .55s cubic-bezier(.3,1.6,.5,1) calc(var(--d, 0ms) + 350ms) both; }
  /* Orange strip becomes a slow ticker (the .dup items make the loop seamless) */
  .motion .strip { overflow: hidden; }
  .motion .strip ul { flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: max-content; animation: marquee 34s linear infinite; }
  .motion .strip li { padding-right: 34px; white-space: nowrap; }
  .motion .strip li::before { content: "✦"; margin-right: 34px; }
  .motion .strip .dup { display: block; }
  .motion .strip:hover ul { animation-play-state: paused; }
  /* Gallery filters: matching tiles shuffle back in */
  .motion .gallery-grid.shuffle li:not([hidden]) { animation: tile-in .45s cubic-bezier(.2,.7,.2,1) var(--d, 0ms) both; }
}
