/* The OnlyVans Project — one calm, dark stylesheet for the public site. */
:root {
  --bg: #14171A; --band: #1A1E22; --panel: #1C2024; --line: #2C3238; --edge: #4A535C;
  --text: #ECE8DF; --soft: #C9CDD1; --mute: #A7ADB3; --accent: #F0A63C; --ink: #14171A;
  --good: #9AD0A4; --bad: #F2A29A;
  --head: 'Barlow Condensed', 'Arial Narrow', sans-serif; --body: Barlow, system-ui, sans-serif; --mono: 'IBM Plex Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
html { background: var(--bg); }
body { margin: 0; background: transparent; position: relative; color: var(--text); font: 17px/1.55 var(--body); -webkit-text-size-adjust: 100%; }
a { color: var(--text); } a:hover { color: #fff; }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--ink); padding: 10px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.band { background: rgba(26,30,34,.90); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec { padding: 64px 0; display: flex; flex-direction: column; gap: 26px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.split { display: flex; flex-wrap: wrap; gap: 36px 56px; }
.split > * { flex: 1 1 340px; min-width: 0; }
.eyebrow { font: 13px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.mono { font-family: var(--mono); font-size: 13px; }
.mute { color: var(--mute); } .soft { color: var(--soft); }
.h1 { font: 700 clamp(44px, 7vw, 88px)/.98 var(--head); text-transform: uppercase; letter-spacing: .01em; max-width: 900px; }
.h2 { font: 700 clamp(34px, 5vw, 48px)/1.05 var(--head); text-transform: uppercase; }
.h3 { font-size: 22px; font-weight: 600; line-height: 1.25; }
.lede { font-size: 20px; color: var(--soft); max-width: 660px; }

/* header */
.top { border-bottom: 1px solid var(--line); background: rgba(20,23,26,.82); position: relative; }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 14px; font: 700 30px var(--head); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.brand b { color: var(--accent); font-weight: 700; } .brand i { font: 400 15px var(--mono); letter-spacing: 0; text-transform: lowercase; color: var(--mute); font-style: normal; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; }
.nav a { padding: 11px 12px; text-decoration: none; font-weight: 500; border-radius: 6px; }
.nav a[aria-current="page"] { background: var(--line); }
.nav a.cart { border: 1px solid var(--edge); font-weight: 600; margin-left: 6px; }

/* buttons + forms */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 6px; border: 1px solid var(--edge); background: transparent; color: var(--text); font: 600 17px var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--text); color: #fff; }
.btn.go { background: var(--accent); border-color: var(--accent); color: var(--ink); } .btn.go:hover { filter: brightness(1.08); color: var(--ink); }
.btn.small { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn[disabled] { opacity: .55; cursor: default; }
.pill { min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--edge); background: transparent; color: var(--text); font: 500 15px var(--mono); cursor: pointer; }
.pill[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--ink); }
label.f { display: flex; flex-direction: column; gap: 6px; font-weight: 500; }
label.f small, .hint { display: block; font-weight: 400; font-size: 15px; color: var(--mute); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=tel], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; background: var(--bg); color: var(--text); border: 1px solid var(--edge); border-radius: 6px; font: inherit; }
textarea { resize: vertical; min-height: 110px; }
input[type=file] { width: 100%; padding: 10px 14px; background: var(--bg); color: var(--soft); border: 1px dashed var(--edge); border-radius: 6px; font: inherit; }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; flex: 0 0 20px; accent-color: var(--accent); }
.fw { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
label.check { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 26px; display: flex; flex-direction: column; gap: 16px; }
fieldset.card { margin: 0; min-width: 0; } fieldset.card legend { padding: 0 8px; font: 13px var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.msg { padding: 12px 16px; border-radius: 6px; border: 1px solid var(--edge); background: var(--bg); }
.msg.ok { border-color: var(--good); } .msg.err { border-color: var(--bad); }
.msg:empty { display: none; }
.tag { display: inline-block; padding: 4px 12px; border: 1px solid var(--edge); border-radius: 999px; font-size: 14px; white-space: nowrap; }
.tag.on { background: var(--text); color: var(--ink); border-color: var(--text); font-weight: 600; }

/* hero */
.hero { padding: 64px 0 36px; display: flex; flex-direction: column; gap: 26px; }
figure { margin: 0; }
.shot img { display: block; width: 100%; height: clamp(240px, 44vw, 560px); object-fit: cover; object-position: 50% 62%; border-radius: 8px; }
figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-top: 10px; font: 13px var(--mono); color: var(--mute); }

/* parts list */
.list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.item { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.item .no { flex: 0 0 84px; font: 14px var(--mono); color: var(--accent); }
.item .nm { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.item .nm b { font-size: 20px; font-weight: 600; } .item .nm span { color: var(--mute); }
.item .fit { flex: 0 1 200px; font: 13px var(--mono); color: var(--soft); text-transform: uppercase; }
.item .pr { flex: 0 0 auto; font: 15px var(--mono); }
a.item:hover b { text-decoration: underline; }
.three { display: flex; flex-wrap: wrap; gap: 20px; } .three > * { flex: 1 1 290px; min-width: 0; }

/* part page */
.gallery { display: flex; flex-direction: column; gap: 10px; }
.stage { background: #23282D; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: grid; place-items: center; min-height: 260px; }
.stage img { display: block; width: 100%; max-height: 520px; object-fit: contain; }
.tint { width: 100%; background: var(--c, #888); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.tint img { mix-blend-mode: multiply; }
.chip { width: 100%; aspect-ratio: 4 / 3; display: grid; place-items: center; background: #23282D; }
.chip i { width: 46%; aspect-ratio: 2.4 / 1; border-radius: 22px; background: var(--c, #888); box-shadow: inset 0 14px 0 rgba(255,255,255,.14), inset 0 -22px 0 rgba(0,0,0,.16), 0 18px 30px rgba(0,0,0,.35); }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.thumbs button { width: 72px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: #23282D; cursor: pointer; }
.thumbs button[aria-pressed="true"] { border-color: var(--text); } .thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { width: 52px; height: 52px; padding: 0; border-radius: 999px; border: 2px solid transparent; background: transparent; cursor: pointer; display: grid; place-items: center; }
.sw[aria-pressed="true"] { border-color: var(--text); }
.sw i { width: 36px; height: 36px; border-radius: 999px; background: var(--c); border: 1px solid rgba(255,255,255,.28); }
label.opt { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; }
label.opt span { flex: 1; } label.opt b { font: 14px var(--mono); font-weight: 400; }
dl.facts { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
dl.facts div { display: flex; gap: 16px; } dl.facts dt { flex: 0 0 120px; font: 13px var(--mono); color: var(--mute); text-transform: uppercase; } dl.facts dd { margin: 0; }

/* library */
.prose { max-width: 720px; display: flex; flex-direction: column; gap: 16px; font-size: 18px; }
.prose h2 { font: 700 30px/1.1 var(--head); text-transform: uppercase; margin-top: 14px; }
.prose ul { margin: 0; padding-left: 22px; } .prose li { margin: 4px 0; }
.prose img { border-radius: 8px; display: block; }
.idx a { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.idx a b { flex: 1 1 300px; font-size: 19px; font-weight: 500; } .idx a:hover b { text-decoration: underline; }

/* requests + vans */
.req { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.req .v { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 76px; }
.req .v b { font: 700 30px/1 var(--head); }
.req .t { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 3px; } .req .t b { font-size: 19px; font-weight: 600; }
.req img { width: 96px; height: 72px; object-fit: cover; border-radius: 6px; }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 24px; }
.van { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.van > img { width: 100%; height: 250px; object-fit: cover; display: block; }
.van .more { display: flex; gap: 2px; padding-top: 2px; } .van .more img { flex: 1 1 0; min-width: 0; height: 96px; object-fit: cover; display: block; }
.van .tx { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.sticker { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; padding: 20px; background: #000; border: 1px solid var(--line); border-radius: 8px; }
.sticker img { flex: 0 1 280px; min-width: 0; width: 280px; height: auto; }
.sticker > div { flex: 1 1 260px; min-width: 0; }

/* cart */
table.cart { width: 100%; border-collapse: collapse; } table.cart td, table.cart th { padding: 14px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
table.cart th { font: 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); font-weight: 500; }
table.cart input[type=number] { width: 84px; }
.sum { display: flex; flex-direction: column; gap: 8px; } .sum div { display: flex; justify-content: space-between; gap: 16px; } .sum .tot { font-size: 22px; font-weight: 600; padding-top: 10px; border-top: 1px solid var(--line); }
.scroll { overflow-x: auto; }
#card-box { min-height: 90px; background: #fff; border-radius: 6px; padding: 8px; }

/* footer */
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; padding-top: 40px; padding-bottom: 56px; }
.plate { padding: 16px 20px; border: 1px solid var(--edge); border-radius: 6px; display: flex; flex-direction: column; gap: 4px; font: 13px var(--mono); color: var(--soft); text-transform: uppercase; }
.foot p { max-width: 480px; font-size: 15px; color: var(--mute); }

/* header logo */
.brand .logo { height: 76px; width: auto; display: block; filter: drop-shadow(0 2px 10px rgba(0,0,0,.55)); transition: transform .2s ease; }
.brand:hover .logo { transform: scale(1.03) rotate(-1deg); }
@media (max-width: 760px) { .brand .logo { height: 60px; } .brand .word { display: none; } }
@media (prefers-reduced-motion: reduce) { .brand .logo { transition: none; } .brand:hover .logo { transform: none; } }
/* the moving backdrop: behind everything, never in the way */
#backdrop { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; }
html[data-backdrop="driver"] main, html[data-backdrop="sunset"] main, html[data-backdrop="camp"] main { background: linear-gradient(rgba(20,23,26,.30), rgba(20,23,26,.52)); }
html[data-backdrop="fireflies"] main, html[data-backdrop="embers"] main { background: rgba(20,23,26,.22); }
.foot { background: rgba(20,23,26,.88); }
.bg-pick { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 12px 14px; background: rgba(20,23,26,.96); border: 1px solid var(--accent); border-radius: 8px; font-size: 14px; }
.bg-pick button { min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--edge); background: transparent; color: var(--text); font: inherit; cursor: pointer; }
.bg-pick button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.bg-pick small { color: var(--mute); flex-basis: 100%; }
