/* Bullet Kulture — public site. Mobile first; built to load fast inside
   WhatsApp/Instagram in-app browsers on budget Android phones. */

:root {
  --ink: #141210;
  --ink-2: #221e1a;
  --text: #1d1a17;
  --muted: #6c655d;
  --line: #e5dfd5;
  --paper: #f6f2eb;
  --card: #fff;
  --red: #b3261e;
  --red-dark: #8f1d17;
  --brass: #d9a53a;
  --wa: #157f3b;
  --wa-dark: #106631;
  --ok: #17663a;
  --ok-bg: #e8f3ec;
  --warn: #a4400f;
  --radius: 14px;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 16px/1.5 var(--body); overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
h2 { font: 600 clamp(24px, 3.4vw, 32px)/1.1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
svg { flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 24px; } }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border-radius: 10px; border: 1.5px solid transparent;
  font: 600 15px/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--ink); }
.btn-xl { width: 100%; min-height: 54px; font-size: 17px; }
.btn-icon { width: 46px; padding: 0; }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--red); color: #fff; font-size: 12px; }

/* ---------- demo bar + header ---------- */
.demobar { background: #f1dfae; color: #3b2d05; font-size: 13px; }
.demobar .wrap { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; padding-top: 7px; padding-bottom: 7px; }
.demobar a { font-weight: 600; }

.hdr { position: sticky; top: 0; z-index: 40; background: var(--ink); color: #fff; border-bottom: 1px solid #2c2722; }
.hdr-in { display: flex; align-items: center; gap: 20px; height: 62px; }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; font: 700 19px/0.92 var(--display); text-transform: uppercase; letter-spacing: .06em; }
.logo span:last-child { color: var(--red); background: #fff; padding: 2px 4px 1px; margin-top: 3px; letter-spacing: .12em; }
.hdr .logo span:last-child { color: #fff; background: var(--red); }
.logo-sm { font-size: 17px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 10px; border-radius: 8px; text-decoration: none; color: #e8e2d9; font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current] { color: #fff; background: #2a2520; }
.hdr-call { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1.5px solid #4a433b; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 14px; }
.hdr-call:hover { border-color: #fff; }
.hdr-call span { display: none; }
@media (min-width: 760px) { .hdr-call span { display: inline; } }
@media (max-width: 420px) { .nav a[href="/#stores"] { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--ink); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20,18,16,.94) 0%, rgba(20,18,16,.8) 45%, rgba(20,18,16,.35) 100%),
              linear-gradient(0deg, rgba(20,18,16,.85) 0%, rgba(20,18,16,0) 45%); }
.hero-in { padding-top: 56px; padding-bottom: 40px; }
.eyebrow { margin: 0 0 14px; color: var(--brass); font: 600 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { max-width: 760px; font: 700 clamp(38px, 6.4vw, 72px)/1 var(--display); text-transform: uppercase; letter-spacing: .005em; }
.hero h1 em { font-style: normal; color: var(--brass); }
.hero-search, .list-search { position: relative; display: flex; gap: 8px; max-width: 640px; margin-top: 28px; padding: 6px; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.hero-search input, .list-search input { flex: 1; min-width: 0; height: 48px; padding: 0 8px 0 40px; border: 0; background: transparent; color: var(--text); font: 16px var(--body); outline: none; }
.hs-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.quick a { padding: 8px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(0,0,0,.25); font-size: 14px; font-weight: 600; text-decoration: none; }
.quick a:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; max-width: 760px; margin: 40px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,.18); list-style: none; font-size: 14px; color: #d6cfc4; }
.trust li { display: flex; flex-direction: column; gap: 2px; }
.trust b { display: inline-flex; align-items: center; gap: 4px; color: #fff; font: 600 24px/1.1 var(--display); }
.trust b svg { color: var(--brass); }
@media (min-width: 700px) {
  .hero-in { padding-top: 88px; padding-bottom: 56px; }
  .trust { grid-template-columns: repeat(4, auto); justify-content: start; }
}

/* ---------- sections ---------- */
.sec { padding-top: 48px; padding-bottom: 8px; }
.sec h2 { margin-bottom: 20px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sec-head h2 { margin: 0; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--red); text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; }

.chips-lg, .budgets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .chips-lg { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); } .budgets { grid-template-columns: repeat(4, 1fr); } }
.chips-lg a, .budgets a { display: flex; flex-direction: column; gap: 2px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.chips-lg a:hover, .budgets a:hover { border-color: var(--ink); box-shadow: 0 6px 18px rgba(20,18,16,.08); }
.chips-lg span, .budgets span { font-weight: 700; }
.chips-lg small, .budgets small { color: var(--muted); }
.budgets span { font: 600 20px/1.2 var(--display); }

/* ---------- bike cards ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 520px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1140px) { .sec > .grid { grid-template-columns: repeat(4, 1fr); } }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: 0 12px 28px rgba(20,18,16,.12); transform: translateY(-2px); border-color: #d6cfc3; }
.card-img { position: relative; aspect-ratio: 4 / 3; background: #e9e4dc; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card.is-sold .card-img img { filter: grayscale(1) contrast(.9); opacity: .75; }
.noimg { display: grid; place-items: center; height: 100%; color: var(--muted); font-size: 14px; }
.tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.tag { display: inline-block; padding: 4px 9px; border-radius: 6px; font: 600 12px/1.2 var(--body); letter-spacing: .04em; text-transform: uppercase; background: var(--ink); color: #fff; }
.tag-booked { background: var(--brass); color: var(--ink); }
.tag-sold { background: var(--red); }
.tag-ev { background: #0f6b5c; }
.card-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 16px 16px; }
.card h3 { font: 600 17px/1.3 var(--body); }
.card h3 small { font-weight: 500; color: var(--muted); font-size: 14px; }
.specs { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; color: var(--muted); font-size: 14px; }
.specs span:not(:last-child)::after { content: "·"; margin: 0 7px; color: #b6ada2; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.price { font: 600 23px/1 var(--display); letter-spacing: .01em; }
.card.is-sold .price { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.where { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; }
.where svg { width: 14px; height: 14px; }

/* ---------- why + stores + footer ---------- */
.why { margin-top: 56px; padding: 56px 0; background: var(--ink); color: #fff; }
.why h2 { margin-bottom: 28px; }
.why-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .why-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.why-n { display: block; margin-bottom: 10px; color: var(--red); font: 700 34px/1 var(--display); }
.why h3 { margin-bottom: 8px; font: 600 20px/1.2 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.why p { margin: 0; color: #cfc8bd; }

.stores { display: grid; gap: 16px; }
@media (min-width: 760px) { .stores { grid-template-columns: 1fr 1fr; } }
.store { padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.store h3 { font: 600 24px/1.1 var(--display); text-transform: uppercase; }
.store p { margin: 8px 0 0; }
.store-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.ftr { margin-top: 64px; padding: 40px 0 24px; background: var(--ink-2); color: #cbc3b8; font-size: 14px; }
.ftr-in { display: grid; gap: 28px; }
@media (min-width: 760px) { .ftr-in { grid-template-columns: 1.3fr 1fr 1fr; } }
.ftr h4 { margin: 0 0 6px; color: #fff; font: 600 16px/1.2 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.ftr p { margin: 10px 0 0; }
.ftr a { color: #fff; }
.ftr p a { display: inline-flex; align-items: center; gap: 6px; }
.ftr .logo { color: #fff; }
.ftr .logo span:last-child { color: #fff; background: var(--red); }
.ftr-note { margin-top: 32px; padding-top: 16px; border-top: 1px solid #3a342e; color: #9b9389; font-size: 12.5px; }

/* ---------- listing page ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 10px; color: var(--muted); font-size: 14px; }
.crumbs a { color: var(--muted); }
.list-head h1 { font: 700 clamp(28px, 4.6vw, 44px)/1.05 var(--display); text-transform: uppercase; }
.list-search { margin-top: 18px; box-shadow: none; border: 1px solid var(--line); }
.list { display: grid; gap: 28px; padding-top: 24px; }
@media (min-width: 960px) { .list { grid-template-columns: 250px 1fr; align-items: start; } }

.filters { display: none; }
.filters fieldset { margin: 0; padding: 16px 0; border: 0; border-top: 1px solid var(--line); }
.filters legend { padding: 0; margin-bottom: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.filters-top { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; }
.filters-top b { font: 600 20px/1 var(--display); text-transform: uppercase; }
.filters-top a { margin-left: auto; color: var(--red); font-size: 14px; font-weight: 600; }
.filters-x { display: none; }
.opt { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 15px; }
.opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--red); }
.opt small { margin-left: auto; color: var(--muted); }
.filters-done { display: none; }
@media (min-width: 960px) {
  .filters { display: block; }
}
/* Mobile: filters open as a full-screen sheet. */
@media (max-width: 959px) {
  .filters-open .filters { display: block; position: fixed; inset: 0; z-index: 60; overflow: auto; padding: 16px 16px 100px; background: #fff; }
  .filters-x { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--paper); font-size: 26px; line-height: 1; cursor: pointer; }
  .filters-open .filters-done { display: block; position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .filters-done .btn { width: 100%; }
}

.results-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.results-bar p { margin: 0 auto 0 0; }
.btn-filters { min-height: 40px; padding: 0 12px; }
@media (min-width: 960px) { .btn-filters { display: none; } }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sort select { height: 40px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font: 600 14px var(--body); color: var(--text); }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.active-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 600; text-decoration: none; }
.active-chips a span { font-size: 16px; line-height: 1; opacity: .8; }
.empty, .empty-page { padding: 40px 24px; background: var(--card); border: 1px dashed #cfc6b9; border-radius: var(--radius); text-align: center; }
.empty-page { margin-top: 40px; }
.empty h2, .empty-page h1 { font: 600 24px/1.2 var(--display); text-transform: uppercase; }
.empty p, .empty-page p { color: var(--muted); max-width: 460px; margin: 10px auto 0; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px !important; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; color: var(--muted); font-size: 14px; }

/* ---------- bike detail ---------- */
.detail-grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .detail-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 36px; align-items: start; } }

.gallery { min-width: 0; }
.g-main { position: relative; aspect-ratio: 4 / 3; background: #0f0d0b; border-radius: var(--radius); overflow: hidden; }
.g-empty { display: grid; place-items: center; color: #8d857b; }
.g-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; }
.g-track::-webkit-scrollbar { display: none; }
.g-slide { flex: 0 0 100%; height: 100%; margin: 0; scroll-snap-align: start; }
.g-slide img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.g-count { position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.65); color: #fff; font-size: 13px; font-weight: 600; }
.g-nav, .g-close { position: absolute; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.g-nav { top: 50%; transform: translateY(-50%); opacity: 0; transition: opacity .2s; }
.g-prev { left: 12px; } .g-next { right: 12px; }
.g-main:hover .g-nav, .g-nav:focus-visible { opacity: 1; }
@media (hover: none) { .g-nav { display: none; } }
.g-close { display: none; top: 14px; right: 14px; }
.g-stamp { position: absolute; top: 18px; left: 18px; padding: 6px 14px; border: 3px solid #fff; border-radius: 8px; background: var(--red); color: #fff; font: 700 24px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; transform: rotate(-4deg); box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.g-stamp-booked { background: var(--brass); color: var(--ink); border-color: var(--ink); }
.g-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.g-thumbs button { flex: none; width: 88px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #ddd; cursor: pointer; opacity: .65; transition: opacity .15s, border-color .15s; }
.g-thumbs button[aria-current] { border-color: var(--ink); opacity: 1; }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.credit { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
/* full-screen viewer */
.gallery.is-full .g-main { position: fixed; inset: 0; z-index: 100; aspect-ratio: auto; border-radius: 0; }
.gallery.is-full .g-slide img { cursor: default; }
.gallery.is-full .g-close { display: grid; }
.gallery.is-full .g-nav { opacity: 1; }

.info-code { margin: 0 0 8px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.info h1 { font: 700 clamp(32px, 4.4vw, 46px)/1 var(--display); text-transform: uppercase; }
.info-sub { margin: 8px 0 0; color: var(--muted); font-size: 16px; }
.price-row { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.price-lg { font: 700 clamp(36px, 4.6vw, 44px)/1 var(--display); }
.price-lg.is-sold { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 3px; }
.emi { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.emi b { color: var(--text); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 20px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.facts div { padding: 12px 14px; background: var(--card); }
.facts dt { color: var(--muted); font-size: 13px; }
.facts dd { margin: 2px 0 0; font-weight: 700; font-size: 16px; }
.facts dd.warn { color: var(--warn); }
.papers { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--ok-bg); color: var(--ok); font-size: 15px; }
.papers svg { margin-top: 2px; }
.papers-no { background: #fbefe4; color: var(--warn); }
.sold-note { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #fbe9e7; color: var(--red-dark); font-size: 15px; }
.cta { display: grid; gap: 10px; margin-top: 20px; }
.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fine { margin: 12px 0 0; color: var(--muted); font-size: 12.5px; }

.notes, .visit { margin-top: 28px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.notes h2, .visit h2 { font-size: 22px; }
.notes p { margin: 10px 0 0; white-space: pre-line; max-width: 72ch; }
.visit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.visit p { margin: 6px 0 0; }

.sticky-cta { display: none; }
@media (max-width: 959px) {
  .sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(20,18,16,.08); }
  .sticky-cta div { display: flex; flex-direction: column; min-width: 0; margin-right: auto; }
  .sticky-cta small { overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
  .sticky-cta strong { font: 700 22px/1.1 var(--display); }
  body:has(.sticky-cta) .ftr { padding-bottom: 96px; }
}

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 90px; z-index: 120; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transform: translate(-50%, 10px); transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- opening animation (home, once per session) ---------- */
/* Timeline: needle revs 0.1–1.5s · wordmark 0.25–1.0s · curtain lifts 1.65s. */
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); --ease-io: cubic-bezier(.76, 0, .24, 1); }
.intro { display: none; }
html.intro-on body { overflow: hidden; }
html.intro-on .intro {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: radial-gradient(120% 80% at 50% 40%, #2a221b 0%, var(--ink) 60%); color: #fff;
  animation: intro-out .6s var(--ease-io) 1.65s forwards; cursor: pointer;
}
html.intro-on .intro.skip { animation: intro-out .35s var(--ease-io) forwards; }
@keyframes intro-out { to { transform: translateY(-100%); } }
.intro-in { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 24px; animation: intro-in-lift .6s var(--ease-io) 1.6s forwards; }
@keyframes intro-in-lift { to { transform: translateY(-40px); opacity: 0; } }

.intro-gauge { width: min(220px, 60vw); height: auto; overflow: visible; }
.ig-track, .ig-fill { fill: none; stroke-width: 6; stroke-linecap: round; }
.ig-track { stroke: #3a322b; }
.ig-fill { stroke: var(--brass); stroke-dasharray: 100; stroke-dashoffset: 100; animation: ig-fill 1.4s var(--ease-out) .1s forwards; }
.ig-ticks path { stroke: #8d8378; stroke-width: 2; stroke-linecap: round; }
.ig-ticks path.red { stroke: var(--red); stroke-width: 3; }
.ig-needle { stroke: #fff; stroke-width: 3; stroke-linecap: round; transform-box: view-box; transform-origin: 110px 116px; transform: rotate(-90deg); animation: ig-needle 1.4s .1s forwards; }
.ig-hub { fill: var(--red); stroke: #fff; stroke-width: 2; }
/* rev up, drop, blip, settle at idle — fill tracks the needle */
@keyframes ig-needle {
  0%   { transform: rotate(-90deg); animation-timing-function: cubic-bezier(.3, .8, .3, 1); }
  42%  { transform: rotate(66deg);  animation-timing-function: ease-in-out; }
  60%  { transform: rotate(18deg);  animation-timing-function: cubic-bezier(.3, .8, .3, 1); }
  74%  { transform: rotate(48deg);  animation-timing-function: ease-in-out; }
  100% { transform: rotate(-38deg); }
}
@keyframes ig-fill {
  0%   { stroke-dashoffset: 100; animation-timing-function: cubic-bezier(.3, .8, .3, 1); }
  42%  { stroke-dashoffset: 13.3; stroke: var(--red); animation-timing-function: ease-in-out; }
  60%  { stroke-dashoffset: 40; animation-timing-function: cubic-bezier(.3, .8, .3, 1); }
  74%  { stroke-dashoffset: 23.3; stroke: var(--red); animation-timing-function: ease-in-out; }
  100% { stroke-dashoffset: 71; stroke: var(--brass); }
}

.intro-word { display: flex; flex-direction: column; align-items: center; font: 700 clamp(44px, 12vw, 76px)/.95 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.intro-word span { position: relative; display: block; overflow: hidden; padding: 2px 10px 0; }
.intro-word b { display: block; transform: translateY(105%); animation: intro-rise .55s var(--ease-out) .25s forwards; }
.intro-word span:last-child { margin-top: 6px; letter-spacing: .12em; }
.intro-word span:last-child::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red); transform: scaleX(0); transform-origin: left; animation: intro-wipe .45s var(--ease-io) .45s forwards; }
.intro-word span:last-child b { animation-delay: .62s; }
@keyframes intro-rise { to { transform: none; } }
@keyframes intro-wipe { to { transform: none; } }
.intro-tag { margin: 0; text-align: center; color: #cdbfa9; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: 0; animation: intro-fade .5s var(--ease-out) .95s forwards; }
.intro-skip { position: absolute; bottom: calc(24px + env(safe-area-inset-bottom)); color: #8d8378; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: 0; animation: intro-fade .4s ease .6s forwards; }
@keyframes intro-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Hero entrance: quick on every home visit; waits for the curtain when the intro plays. */
.hero-bg { animation: hero-settle 1.6s var(--ease-out) both; }
.hero-in > * { animation: hero-rise .7s var(--ease-out) both; }
.hero-in > :nth-child(2) { animation-delay: .06s; }
.hero-in > :nth-child(3) { animation-delay: .14s; }
.hero-in > :nth-child(4) { animation-delay: .22s; }
.hero-in > :nth-child(5) { animation-delay: .3s; }
html.intro-on .hero-bg { animation-delay: 1.75s; }
html.intro-on .hero-in > * { animation-delay: 1.9s; }
html.intro-on .hero-in > :nth-child(2) { animation-delay: 1.98s; }
html.intro-on .hero-in > :nth-child(3) { animation-delay: 2.06s; }
html.intro-on .hero-in > :nth-child(4) { animation-delay: 2.14s; }
html.intro-on .hero-in > :nth-child(5) { animation-delay: 2.22s; }
@keyframes hero-settle { from { transform: scale(1.08); } to { transform: none; } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Cards below the fold rise in as they scroll into view (site.js adds .pre / .in). */
.card.pre { opacity: 0; transform: translateY(24px); }
.card.in { transition: opacity .55s var(--ease-out), transform .55s var(--ease-out), box-shadow .2s, border-color .2s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .card.pre { opacity: 1; transform: none; }
}
