/* Automotive Vault — bright, warm, premium enthusiast styling */
:root {
  --orange: #F26B1D;
  --orange-deep: #D4540A;
  --orange-soft: #FFE8D6;
  --gold: #C9962B;
  --ink: #1B1814;
  --ink-2: #4A433B;
  --muted: #7A7067;
  --cream: #FFF9F2;
  --warm: #FDF0E3;
  --line: #EEDFCF;
  --white: #fff;
  --red: #D1281F;
  --red-soft: #FDE4E1;
  --green: #1F8A4C;
  --green-soft: #DEF4E6;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(60, 30, 0, .06), 0 8px 28px rgba(60, 30, 0, .08);
  --shadow-lg: 0 20px 60px rgba(60, 30, 0, .18);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream); line-height: 1.55; font-size: 16px; }
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--orange-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
main:focus { outline: none; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.prewrap { white-space: pre-wrap; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .03em; }
.accent { color: var(--orange); }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: .6rem; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 62ch; }
.stack { display: grid; gap: 20px; align-content: start; }
.stack-sm { display: grid; gap: 10px; align-content: start; }
.row-gap { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.row-between h2, .row-between h3 { margin: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid transparent; border-radius: 999px; padding: 11px 20px; font: 600 .95rem/1.2 var(--font); cursor: pointer; text-decoration: none !important; transition: transform .12s, background .15s, box-shadow .15s, border-color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(242, 107, 29, .35); }
.btn-primary:hover { background: var(--orange-deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-deep); }
.btn-danger { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(209, 40, 31, .28); }
.btn-danger:hover { background: #A91D16; }
.btn-danger-ghost { background: #fff; color: var(--red); border-color: #F3C2BD; }
.btn-danger-ghost:hover { background: var(--red-soft); }
.btn-sm { padding: 7px 14px; font-size: .85rem; }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--orange-deep); cursor: pointer; font: inherit; text-decoration: underline; }
.link.danger { color: var(--red); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; align-items: center; }
.actions.end { justify-content: flex-end; }
.actions.center { justify-content: center; }
.file-btn { cursor: pointer; justify-self: start; }

/* ---------- Pills / badges ---------- */
.pill { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--warm); color: var(--ink-2); white-space: nowrap; }
.pill-orange { background: var(--orange-soft); color: var(--orange-deep); }
.pill-gold { background: linear-gradient(135deg, #F8E3AE, #E9C46A); color: #5B4100; }
.pill-danger { background: var(--red-soft); color: var(--red); }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: rgba(255, 255, 255, .92); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.badge-secure { background: var(--green-soft); color: var(--green); border-color: transparent; }
.badge-missing { background: var(--red); color: #fff; border-color: transparent; }
.badge-track { background: #E6EEFF; color: #1D3F8F; border-color: transparent; }
.chip { display: inline-block; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Top bar & nav ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 249, 242, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 16px; width: min(1180px, 100% - 40px); margin-inline: auto; height: 64px; }
.brand { display: flex; white-space: nowrap; flex: none; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; font-size: 1.15rem; letter-spacing: -.01em; }
.brand strong { color: var(--orange); }
.brand-mark { width: 36px; height: 36px; color: var(--orange); }
.brand-mark svg { width: 100%; height: 100%; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.plan-btn { background: none; border: 0; padding: 0; cursor: pointer; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none !important; }
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; padding: 0 10px; flex-direction: column; justify-content: center; gap: 4px; }
.menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.mainnav { border-top: 1px solid var(--line); }
.mainnav-inner { width: min(1180px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; height: 48px; }
.mainnav-inner::-webkit-scrollbar { display: none; }
.mainnav a { padding: 8px 12px; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: .9rem; white-space: nowrap; text-decoration: none !important; }
.mainnav a:hover { background: var(--warm); color: var(--ink); }
.mainnav a.active { background: var(--ink); color: #fff; }
.nav-group { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--orange-deep); font-weight: 800; padding: 0 4px 0 14px; white-space: nowrap; }

/* ---------- Banner ---------- */
.banner { background: linear-gradient(90deg, #FFE1C4, #FFD2A6); border-bottom: 1px solid #F6C08E; font-size: .95rem; }
.banner .wrap { padding: 10px 0; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center; text-align: center; }
.banner-danger { background: var(--red-soft); border-color: #F3C2BD; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 28px 0 64px; }
.section-warm { background: var(--warm); }
.section-head { text-align: center; margin: 0 auto 36px; max-width: 720px; }
.section-head .lead { margin-inline: auto; }
.sub-head { margin-top: 48px; }
.page-head { padding: 48px 0 8px; background: radial-gradient(1200px 300px at 85% -40%, rgba(242, 107, 29, .22), transparent 60%); }
.page-head h1 { margin-bottom: .3em; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.notice { background: #fff; border: 1px dashed #F2B98D; border-radius: var(--radius-sm); padding: 12px 16px; color: var(--ink-2); margin: 0 0 24px; }
.callout { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.callout p { margin: 0; color: var(--ink-2); }
.callout-orange { background: linear-gradient(135deg, var(--orange), #FF9447); color: #fff; }
.callout-orange p, .callout-orange h3 { color: #fff; }
.panel { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.panel h2 { font-size: 1.15rem; margin-top: 4px; }
.panel h2 + * { margin-top: 0; }
.panel p:last-child { margin-bottom: 0; }
.panel-quiet { background: transparent; box-shadow: none; border: 1px dashed var(--line); }
.lock { font-size: .72rem; font-weight: 700; color: var(--green); background: var(--green-soft); padding: 3px 9px; border-radius: 999px; vertical-align: middle; letter-spacing: 0; margin-left: 6px; }

/* ---------- Art ---------- */
.art { width: 100%; height: 100%; display: block; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; background: radial-gradient(900px 500px at 90% 10%, rgba(242, 107, 29, .25), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(245, 183, 0, .16), transparent 60%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-title { font-size: clamp(2.4rem, 5.6vw, 4.1rem); font-weight: 850; letter-spacing: -.035em; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.hero-art { position: relative; height: 440px; }
.hero-card { position: absolute; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid #fff; background: #fff; }
.hc1 { width: 78%; aspect-ratio: 2/1; top: 0; right: 0; transform: rotate(2deg); z-index: 2; }
.hc2 { width: 62%; aspect-ratio: 2/1; bottom: 40px; left: 0; transform: rotate(-3deg); z-index: 3; }
.hc3 { width: 50%; aspect-ratio: 2/1; bottom: 0; right: 4%; transform: rotate(4deg); z-index: 1; }
.hero-badge { position: absolute; z-index: 4; top: 44%; right: 6%; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lg); display: grid; font-size: .85rem; }
.hero-badge strong { color: var(--green); }
.hero-badge span { color: var(--muted); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border-top: 4px solid var(--orange); }
.pillar-icon { font-size: 2rem; margin-bottom: 8px; }
.pillar ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.pillar a { font-weight: 600; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps-3 { grid-template-columns: repeat(3, 1fr); }
.steps li { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.steps p { color: var(--ink-2); margin: 0; }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; margin-bottom: 14px; }
.mini-steps { padding-left: 20px; display: grid; gap: 10px; color: var(--ink-2); }

.cta-band { background: var(--ink); color: #fff; padding: 64px 0; text-align: center; }
.cta-band h2 { color: #fff; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.plan .btn, .plan > .pill { margin-top: auto; align-self: flex-start; }
.plan-featured { border-color: var(--orange); box-shadow: 0 12px 40px rgba(242, 107, 29, .2); }
.plan-flag { position: absolute; top: -12px; right: 20px; background: var(--orange); color: #fff; font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; }
.plan-price { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.ticks { list-style: none; padding: 0; margin: 12px 0 18px; display: grid; gap: 8px; }
.ticks li { padding-left: 26px; position: relative; color: var(--ink-2); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--orange); font-weight: 800; }

/* ---------- Auth ---------- */
.auth { padding: 48px 20px 80px; display: grid; place-items: center; background: radial-gradient(800px 400px at 50% -10%, rgba(242, 107, 29, .2), transparent 60%); }
.auth-card { width: min(460px, 100%); background: #fff; border-radius: 24px; padding: 32px; box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: 2rem; }
.welcome { text-align: center; }
.welcome-art { border-radius: 16px; overflow: hidden; aspect-ratio: 2/1; margin: -8px -8px 18px; }
.welcome .btn { margin-top: 10px; }

/* ---------- Forms ---------- */
form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; margin-bottom: 16px; color: var(--ink); }
input, select, textarea { font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; width: 100%; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(242, 107, 29, .15); }
input:disabled { background: var(--warm); color: var(--muted); }
textarea { resize: vertical; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
label.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--orange); }
.opt, .hint { font-weight: 400; color: var(--muted); font-size: .82rem; }
.form-error { color: var(--red); font-weight: 600; min-height: 1.2em; margin: 0 0 8px; }
.form-error:empty { margin: 0; min-height: 0; }
.form-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-section { font-size: 1rem; margin: 18px 0 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.form-card > .form-section:first-child { margin-top: 0; padding-top: 0; border: 0; }
.field-image { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: start; margin-bottom: 8px; }
.img-preview { aspect-ratio: 4/3; border-radius: 14px; background: var(--warm); border: 1.5px dashed var(--line); display: grid; place-items: center; overflow: hidden; }
.img-preview img { width: 100%; height: 100%; object-fit: cover; }
.field-image label { margin: 0; }

/* ---------- Garage ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.stat { background: #fff; border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); display: grid; }
.stat strong { font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: .88rem; }
.stat-alert { background: var(--red-soft); }
.stat-alert strong { color: var(--red); }

.vcard, .event-card, .listing, .show-card, .club-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.vcard:hover, .event-card:hover, .listing:hover, .show-card:hover, .club-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.vcard-media, .event-media, .listing-media, .show-media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--warm); border: 0; padding: 0; cursor: pointer; width: 100%; }
.vcard-media img, .event-media img, .listing-media img, .show-media img, .club-media img, .track-media img, .detail-media img, .poster-media img, .modal-media img, .alert-vehicle img { width: 100%; height: 100%; object-fit: cover; }
.vcard-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.vcard-body, .event-body, .listing-body, .show-body, .club-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.vcard-body h3 a { color: var(--ink); }
.vcard-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 14px; }
.vcard-new { animation: glow 2.2s ease-out; }
.vcard-missing { outline: 3px solid var(--red); }
@keyframes glow { 0% { box-shadow: 0 0 0 6px rgba(242, 107, 29, .6); } 100% { box-shadow: var(--shadow); } }

.empty { text-align: center; background: #fff; border-radius: var(--radius); padding: 56px 24px; box-shadow: var(--shadow); }
.empty-icon { font-size: 2.6rem; margin-bottom: 8px; }

.back { display: inline-block; margin-bottom: 18px; font-weight: 600; color: var(--ink-2); }
.detail-hero { padding: 28px 0 8px; }
.detail-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; }
.detail-media { aspect-ratio: 16/10; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--warm); }
.detail-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dl { margin: 0; display: grid; }
.dl-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.dl-row:last-child { border-bottom: 0; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; font-weight: 600; text-align: right; word-break: break-all; }
.plate { display: inline-block; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 800; letter-spacing: .12em; background: #FFF6D6; border: 2px solid var(--ink); border-radius: 6px; padding: 2px 10px; }
.alert-strip { background: var(--red); color: #fff; border-radius: 12px; padding: 12px 16px; margin-bottom: 20px; font-weight: 500; }
.alert-strip a { color: #fff; font-weight: 700; text-decoration: underline; }

/* ---------- Alert flow & poster ---------- */
.alert-flow { display: grid; gap: 20px; }
.alert-vehicle { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 14px; padding: 10px; box-shadow: var(--shadow); }
.alert-vehicle > :first-child { width: 110px; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; flex: none; }
.step-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.step-label { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.step-card h1 { font-size: 1.9rem; }
.warning { background: var(--red-soft); border-left: 4px solid var(--red); border-radius: 10px; padding: 16px 18px; }
.warning p:last-child { margin: 0; }
.warning strong:first-child { display: block; margin-bottom: 6px; color: var(--red); }

.alert-page { padding-top: 32px; }
.poster-wrap { width: min(720px, 100% - 32px); display: grid; gap: 20px; }
.owner-bar { background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }
.owner-bar .actions { margin: 0; }
.poster { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid var(--red); }
.poster-head { background: var(--red); color: #fff; font: 900 clamp(1.6rem, 6vw, 2.6rem)/1 var(--display); letter-spacing: .08em; text-align: center; padding: 18px 12px; }
.poster-recovered { border-color: var(--green); }
.poster-recovered .poster-head { background: var(--green); }
.poster-media { aspect-ratio: 16/9; background: var(--warm); }
.poster-body { padding: 24px 28px 20px; }
.poster-body h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); }
.poster-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 8px 0 20px; }
.poster-grid .full { grid-column: 1 / -1; }
.poster-grid .k { display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.poster-grid .v { font-weight: 600; font-size: 1.05rem; }
.poster-call { background: var(--warm); border-radius: 12px; padding: 14px 16px; }
.poster-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: .78rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.poster-brand { font-weight: 800; color: var(--ink); }
.share-box { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.share-box label { display: grid; gap: 6px; font-weight: 600; }
.share-box input { font-size: .85rem; color: var(--ink-2); }

.list { display: grid; gap: 8px; margin-bottom: 18px; }
.list-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); text-decoration: none !important; }
a.list-item:hover { border-color: var(--orange); }

/* ---------- Track ---------- */
.track-list { display: grid; gap: 18px; }
.track-card { display: grid; grid-template-columns: 240px 1fr; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.track-media { background: var(--warm); min-height: 160px; }
.track-body { padding: 20px 22px; display: grid; gap: 10px; align-content: start; }
.track-body .actions { margin-top: 4px; }
.track-fix { display: grid; gap: 2px; background: var(--warm); border-radius: 12px; padding: 12px 14px; }
.track-fix .k { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.pair { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.pair label { margin: 0; flex: 1 1 220px; }

/* ---------- Shop ---------- */
.product { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; background: #fff; border-radius: 24px; padding: 32px; box-shadow: var(--shadow); }
.product-art svg { width: 100%; max-width: 380px; margin-inline: auto; display: block; }
.product-body h2 { font-size: 2.2rem; margin-top: 10px; }
.big-tick { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 2rem; font-weight: 800; }

/* ---------- Community ---------- */
.date-chip { position: absolute; top: 12px; left: 12px; background: #fff; border-radius: 12px; padding: 6px 10px; display: grid; text-align: center; box-shadow: var(--shadow); line-height: 1.1; }
.date-chip strong { font-size: 1.3rem; }
.date-chip span { font-size: .72rem; text-transform: uppercase; font-weight: 700; color: var(--orange-deep); }
.event-body .actions, .listing-body .actions, .show-body .btn, .club-body .btn { margin-top: auto; padding-top: 12px; }
.show-body .btn, .club-body .btn { align-self: flex-start; }
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink-2); margin: 8px 0 0; }
.past { opacity: .6; }
.listing-type { position: absolute; top: 12px; left: 12px; }
.price { font-size: 1.35rem; font-weight: 800; color: var(--orange-deep); letter-spacing: -.01em; }
.tabs { display: inline-flex; background: #fff; border-radius: 999px; padding: 4px; box-shadow: var(--shadow); margin-bottom: 24px; }
.tab { padding: 8px 20px; border-radius: 999px; font-weight: 600; color: var(--ink-2); text-decoration: none !important; }
.tab.active { background: var(--orange); color: #fff; }
.club-card { flex-direction: row; }
.club-media { width: 38%; flex: none; background: var(--warm); }
.club-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.club-cta h3, .club-cta p { margin: 0; }
.club-cta .btn { margin-left: auto; }

/* ---------- Modal ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(27, 24, 20, .5); display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .2s; overflow-y: auto; }
.modal-overlay.show { opacity: 1; }
.modal { position: relative; background: #fff; border-radius: 22px; width: min(520px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; box-shadow: var(--shadow-lg); transform: translateY(12px); transition: transform .2s; }
.modal-overlay.show .modal { transform: none; }
.modal-wide { width: min(980px, 100%); }
.modal-body { padding: 30px; }
.modal-body h2 { padding-right: 30px; }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink); box-shadow: var(--shadow); }
.modal-media { aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; margin-bottom: 18px; background: var(--warm); }

/* ---------- Toast ---------- */
#toast-root { position: fixed; z-index: 200; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; width: min(440px, 100% - 32px); pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 13px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s; font-weight: 500; }
.toast.show { opacity: 1; transform: none; }
.toast-success { background: var(--green); }
.toast-error { background: var(--red); }

/* ---------- Mobile scroll cue ---------- */
.scroll-cue { display: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; background: var(--cream); }
.site-footer .wrap { display: grid; gap: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .two-col, .detail-grid, .product { grid-template-columns: 1fr; }
  .hero-art { height: 320px; }
  .grid-3, .plans, .pillars, .steps { grid-template-columns: 1fr 1fr; }
  .steps-3 { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .section { padding: 52px 0; }
  .page-head { padding-top: 32px; }
  .hide-sm { display: none; }
  .menu-btn { display: flex; }
  .topbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
  .topbar-inner { gap: 10px; width: calc(100% - 28px); }
  .brand { font-size: 1.02rem; gap: 8px; }
  .brand-mark { width: 30px; height: 30px; }
  .topbar-right { gap: 8px; }
  .menu-btn { flex: none; }
  .mainnav { position: fixed; top: 64px; left: 0; right: 0; bottom: 0; background: var(--cream); border-top: 1px solid var(--line); overflow-y: auto; display: none; }
  body.menu-open .mainnav { display: block; animation: slidein .2s ease-out; }
  body.menu-open { overflow: hidden; }
  body.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .mainnav-inner { flex-direction: column; align-items: stretch; height: auto; padding: 16px 0 40px; gap: 4px; }
  .mainnav a { font-size: 1.05rem; padding: 12px 16px; border-radius: 12px; }
  .nav-group { padding: 16px 16px 4px; }
  .grid-2, .grid-3, .plans, .pillars, .steps, .steps-3, .detail-cols, .form-grid, .poster-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .field-image { grid-template-columns: 1fr; }
  .track-card { grid-template-columns: 1fr; }
  .track-media { aspect-ratio: 16/9; min-height: 0; }
  .club-card { flex-direction: column; }
  .club-media { width: 100%; aspect-ratio: 16/9; }
  .club-cta .btn { margin-left: 0; }
  .hero { padding-top: 32px; }
  .hero-art { height: 250px; }
  .hero-badge { top: auto; bottom: 8px; right: 0; }
  .form-card, .step-card, .panel, .auth-card, .product { padding: 20px; }
  .modal-body { padding: 22px; }
  .poster-body { padding: 20px; }
  .actions.end { justify-content: stretch; }
  .actions.end .btn { flex: 1; }

  /* "Explore the Garage ↓" — fixed bottom cue, fades once the user scrolls */
  .scroll-cue { display: block; position: fixed; z-index: 40; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translate(-50%, 12px); background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 12px 22px; white-space: nowrap; font: 700 .92rem var(--font); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); opacity: 0; pointer-events: none; transition: opacity .35s, transform .35s; }
  .scroll-cue.visible { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); animation: nudge 2.4s ease-in-out 1s infinite; }
  body.menu-open .scroll-cue, body.modal-open .scroll-cue { opacity: 0; pointer-events: none; }
}
@media (max-width: 430px) {
  .plan-btn { display: none; }
  .topbar-right .btn-primary { padding: 7px 12px; }
}
@keyframes slidein { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes nudge { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 5px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Print: just the alert poster ---------- */
@media print {
  .topbar, #banner, .site-footer, .scroll-cue, .owner-bar, .share-box, .panel, #toast-root { display: none !important; }
  body { background: #fff; }
  .alert-page { padding: 0; }
  .poster { box-shadow: none; }
  .poster-head, .badge-missing { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
