/* Precision Play — store site. Board 07 (soft): cream paper, soft white
   surfaces, rounded corners, layered soft shadows. No hard offset shadows and
   no heavy keylines. Tokens and type carried over from v2. */

:root {
  --ink: #0a0d14;
  --ink-soft: #1b2130;
  --paper: #f7f2e6;
  --paper-2: #fffcf4;
  --paper-3: #efe7d5;
  --line: #e3dac5;
  --line-2: #d9d0bb;
  --blue: #1673ff;
  --blue-deep: #0b3fb0;
  --amber: #ffb01f;
  --amber-soft: #fff1cc;
  --navy: #0a1a3a;
  --on-paper: #14171f;
  --on-paper-2: #4a4f5c;
  --on-ink: #f7f2e6;
  --on-ink-2: #b9bfcc;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --r-card: 14px;
  --r-banner: 20px;
  --sh-1: 0 1px 3px rgba(10,13,20,.08), 0 12px 28px -16px rgba(10,13,20,.35);
  --sh-2: 0 2px 4px rgba(10,13,20,.08), 0 20px 36px -16px rgba(10,13,20,.4);
  --sh-banner: 0 24px 50px -24px rgba(10,13,20,.6), 0 2px 6px rgba(10,13,20,.1);
  --sh-soft: 0 1px 3px rgba(10,13,20,.06), 0 8px 24px -16px rgba(10,13,20,.25);
  --tap: 44px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--on-paper); font: 400 15px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-deep); }
a:hover { color: var(--blue); }
h1, h2, h3, h4, h5, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.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 { position: fixed; left: 12px; top: -80px; z-index: 300; background: var(--ink); color: var(--on-ink); padding: 12px 18px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; color: var(--on-ink); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.d { font-family: var(--display); font-weight: 700; line-height: 1; letter-spacing: .01em; text-transform: uppercase; color: var(--ink); }
.tag { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-deep); }
.muted { color: var(--on-paper-2); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 12px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: 0 6px 16px -6px rgba(255,176,31,.7), 0 1px 2px rgba(10,13,20,.15); }
.btn-primary:hover { color: var(--ink); background: #ffbd45; }
.btn-quiet { background: var(--paper-2); color: var(--on-paper); box-shadow: var(--sh-soft); }
.btn-quiet:hover { color: var(--on-paper); background: #fff; }
.btn-direct { width: 100%; min-height: var(--tap); background: var(--ink); color: var(--on-ink); font-size: 13px; }
.btn-direct:hover { color: var(--on-ink); background: var(--ink-soft); }
.btn-direct:disabled { background: var(--paper-3); color: var(--on-paper-2); cursor: not-allowed; }

/* utility strip, header */
.util { background: var(--ink); color: var(--on-ink-2); font-size: 12px; }
.util .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; min-height: 34px; align-items: center; }
.util a { color: var(--amber); }
.hdr { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; min-height: 84px; padding-top: 10px; padding-bottom: 10px; }
.logo img { height: 46px; width: auto; }
.search { flex: 1 1 260px; display: flex; border: 1px solid var(--line-2); background: #fff; min-height: var(--tap); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(10,13,20,.06); }
.search input { flex: 1; border: 0; padding: 0 14px; background: transparent; min-width: 0; }
.search input:focus { outline: none; }
.search:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.search button { border: 0; background: var(--amber); color: var(--ink); padding: 0 18px; font-weight: 600; font-size: 13px; cursor: pointer; }
.hnav { display: flex; gap: 6px; font-size: 14px; font-weight: 500; }
.hnav a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 8px; color: var(--on-paper); text-decoration: none; border-radius: 10px; }
.hnav a:hover, .hnav a[aria-current="page"] { background: var(--paper-3); }

/* category pills */
.catnav { background: var(--paper-2); border-bottom: 1px solid var(--line-2); }
.catnav .wrap { display: flex; gap: 4px; flex-wrap: wrap; min-height: 52px; align-items: center; padding-top: 4px; padding-bottom: 4px; }
.pill { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 14px; color: var(--on-paper); text-decoration: none; font-weight: 500; font-size: 14px; border-radius: 999px; }
.pill:hover { background: var(--paper-3); color: var(--on-paper); }
.pill[aria-current="page"] { background: var(--ink); color: var(--on-ink); }
.pill .cnt { color: var(--on-paper-2); font-size: 12px; margin-left: 6px; }
.pill[aria-current="page"] .cnt { color: var(--on-ink-2); }
.pill-sell { margin-left: auto; color: var(--blue-deep); }

/* hero: full content width, two columns, art clipped to the right column */
.hero-wrap { margin-top: 28px; }
.hero { position: relative; display: grid; grid-template-columns: 45fr 55fr; grid-template-rows: minmax(0, 1fr); height: clamp(340px, 31vw, 380px); border-radius: 22px; background: var(--navy); color: #f5f8ff; overflow: hidden; box-shadow: var(--sh-banner); }
.hero-ret { position: absolute; right: -60px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; align-self: center; padding: 24px 20px 24px 44px; min-width: 0; }
.hero-copy .ey { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; }
.hero-copy h1 { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 3.8vw, 48px); line-height: .92; text-transform: uppercase; color: #fff; }
.hero-copy h1 em { font-style: normal; color: var(--amber); }
.hero-copy p.sub { margin: 12px 0 18px; color: #c3cfe8; font-size: 14.5px; max-width: 440px; }
.hero-stats { display: flex; gap: 26px; margin-top: 18px; font-size: 12px; color: #a9b8d6; }
.hero-stats b { display: block; font-family: var(--display); font-size: 26px; color: #fff; line-height: 1; }
.fan { --fan-h: 100%; position: relative; overflow: hidden; height: 100%; }
.fan img { position: absolute; width: auto; border-radius: 10px; box-shadow: 0 22px 40px -14px rgba(0,0,0,.75), 0 2px 6px rgba(0,0,0,.4); transform: translateX(-50%) rotate(var(--rot, 0deg)); transform-origin: 50% 100%; }
/* positions: heights are % of the hero, so slabs are 85% of its height */
.fan .f-front { height: 85%; left: 50%; bottom: -6%; z-index: 4; }
.fan .f-side { height: 78%; top: 2%; z-index: 3; }
.fan .f-l1 { left: 23%; --rot: -6deg; }
.fan .f-r1 { left: 77%; --rot: 6deg; }
.fan .f-card { height: 52%; bottom: 4%; z-index: 1; border-radius: 8px; }
.fan .f-l2 { left: 9%; --rot: -9deg; }
.fan .f-r2 { left: 91%; --rot: 9deg; }

/* category tiles */
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; padding-top: 24px; }
.tile { display: block; aspect-ratio: 1; border-radius: var(--r-card); overflow: hidden; box-shadow: 0 10px 24px -12px rgba(10,13,20,.4), 0 1px 3px rgba(10,13,20,.08); transition: transform .2s; }
.tile:hover { transform: translateY(-2px); }
.tile img { width: 100%; height: 100%; object-fit: cover; }

/* browse rail + grid */
.layout { display: flex; flex-wrap: wrap; gap: 40px; padding: 36px 24px; }
.rail { flex: 1 1 230px; max-width: 260px; background: var(--paper-2); border-radius: 16px; padding: 22px 20px 8px; box-shadow: var(--sh-soft); align-self: start; }
.main { flex: 999 1 560px; min-width: 0; }
.rail h2, .rail legend { margin: 0 0 6px; padding: 0; font: 600 11px/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--on-paper-2); }
.rail ul { margin: 0 0 22px; }
.rail li a { display: flex; flex-direction: column; justify-content: center; min-height: var(--tap); padding: 4px 10px; margin: 0 -10px; border-radius: 10px; color: var(--on-paper); text-decoration: none; font-weight: 500; line-height: 1.25; }
.rail li a span { color: var(--on-paper-2); font-size: 12px; font-weight: 400; margin-top: 2px; }
.rail li a:hover { background: var(--amber-soft); color: var(--on-paper); }
.rail li a[aria-current="page"] { background: var(--amber); color: var(--ink); }
.rail li a[aria-current="page"] span { color: #3d2a00; }
.rail fieldset { border: 0; margin: 0 0 22px; padding: 0; }
.rail label.chk { display: flex; align-items: center; gap: 10px; min-height: var(--tap); padding: 0 10px; margin: 0 -10px; border-radius: 10px; font-size: 14px; cursor: pointer; }
.rail label.chk:hover { background: var(--amber-soft); }
.rail label.chk:has(input:checked) { background: var(--amber); color: var(--ink); }
.rail label.chk input { width: 18px; height: 18px; accent-color: var(--ink); }
.rail label.chk .cnt { margin-left: auto; color: var(--on-paper-2); font-size: 12px; }
.rail label.chk:has(input:checked) .cnt { color: #3d2a00; }
.price-in { display: flex; gap: 8px; }
.price-in input { width: 50%; min-height: var(--tap); border: 1px solid var(--line-2); border-radius: 10px; background: #fff; padding: 0 10px; }
.sech { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.sech h2 { font-size: 34px; }
.sech .sub { color: var(--on-paper-2); font-size: 13px; }
.sech select { min-height: var(--tap); border: 1px solid var(--line-2); border-radius: 10px; background: #fff; padding: 0 10px; margin-left: 6px; }
.filters-btn { display: none; }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.lcard { background: var(--paper-2); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sh-1); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.lcard:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.lcard-link { display: flex; flex-direction: column; flex: 1; color: var(--on-paper); text-decoration: none; }
.lcard-link:hover { color: var(--on-paper); }
/* listing images: fixed 4:5 frame, whole item shown, never cropped */
.frame { aspect-ratio: 4 / 5; padding: 8%; display: flex; align-items: center; justify-content: center; }
.frame-dark { background: #1b2130; }
.frame-light { background: #efe7d5; }
.frame img { width: 100%; height: 100%; object-fit: contain; }
.frame-empty { color: var(--on-ink-2); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.lcard-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.lcard .ttl { font-weight: 600; font-size: 14px; line-height: 1.3; min-height: 36px; }
.lcard .pr { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.lcard .pr b { font-family: var(--display); font-size: 22px; color: var(--on-paper); }
.lcard .pr small { font-size: 11px; color: var(--on-paper-2); }
.lcard-actions { padding: 0 14px 14px; }
.lcard.sold .pr { display: none; }
.sold-badge { align-self: flex-start; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: var(--on-ink); border-radius: 999px; padding: 4px 10px; }
.grid-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.empty { padding: 40px 20px; text-align: center; background: var(--paper-2); border-radius: var(--r-card); box-shadow: var(--sh-soft); }
.demo-note { margin: 0 0 14px; padding: 10px 14px; background: var(--amber-soft); border-radius: 10px; font-size: 13px; }

/* recently sold */
.sold-strip { margin-top: 48px; }
.sold-strip .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* trade-in strip */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; margin-top: 48px; }
.split img { width: 100%; border-radius: 16px; box-shadow: 0 18px 40px -18px rgba(10,13,20,.45), 0 2px 6px rgba(10,13,20,.08); }
.split h2 { font-size: 34px; margin: 0 0 10px; }
.split p { margin: 0 0 16px; color: var(--on-paper-2); font-size: 14px; }

/* standards lines */
.std { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.std .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 32px; padding-bottom: 32px; }
.std h3 { font-size: 20px; margin-bottom: 6px; }
.std p { color: var(--on-paper-2); font-size: 14px; }

/* page heads, crumbs, chips */
.crumb { font-size: 13px; color: var(--on-paper-2); padding-top: 18px; }
.crumb a { color: var(--on-paper-2); text-decoration: none; }
.crumb a:hover { color: var(--on-paper); text-decoration: underline; }
.page-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.page-head h1 { font-size: 52px; }
.page-head p { margin-top: 6px; max-width: 620px; color: var(--on-paper-2); }

/* standards page */
.doc-layout { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 32px; padding-bottom: 56px; }
.toc { flex: 1 1 200px; max-width: 220px; align-self: start; position: sticky; top: 24px; background: var(--paper-2); border-radius: 16px; padding: 14px; box-shadow: var(--sh-soft); }
.toc a { display: flex; align-items: center; min-height: var(--tap); padding: 0 12px; color: var(--on-paper); text-decoration: none; border-radius: 10px; font-size: 14px; }
.toc a:hover { background: var(--amber-soft); color: var(--on-paper); }
.doc { flex: 999 1 560px; min-width: 0; }
.doc h2 { font-size: 32px; margin: 40px 0 10px; scroll-margin-top: 24px; }
.doc h2:first-child { margin-top: 0; }
.doc p { margin: 0 0 12px; max-width: 680px; }
.table-box { overflow-x: auto; background: var(--paper-2); border-radius: var(--r-card); box-shadow: var(--sh-soft); margin: 12px 0 20px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-paper-2); }
td b { font-family: var(--display); font-size: 20px; }

/* trade-in page */
.trade { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; padding-top: 32px; padding-bottom: 48px; }
.trade-frame { flex: 999 1 560px; min-width: 0; background: var(--paper-2); border-radius: 18px; box-shadow: var(--sh-1); overflow: hidden; }
.trade-frame iframe { display: block; width: 100%; height: 1100px; border: 0; }
.trade-side { flex: 1 1 280px; max-width: 360px; }
.steps { counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; background: var(--paper-2); border-radius: var(--r-card); padding: 14px 16px; box-shadow: var(--sh-soft); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--display); font-size: 26px; color: var(--blue-deep); }
.steps b { display: block; margin: 2px 0; }
.faq { border-top: 1px solid var(--line); }
.faq summary { min-height: 48px; display: flex; align-items: center; cursor: pointer; font-weight: 600; }
.faq p { margin: 0 0 14px; color: var(--on-paper-2); font-size: 14px; max-width: 720px; }

/* footer */
.ft { background: var(--ink); color: var(--on-ink-2); font-size: 13px; }
.ft .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
.ft h2 { margin: 0 0 10px; color: var(--on-ink); font: 600 12px/1.4 var(--body); letter-spacing: .12em; text-transform: uppercase; }
.ft a { display: flex; align-items: center; min-height: 32px; color: var(--on-ink-2); text-decoration: none; }
.ft a:hover { color: var(--on-ink); text-decoration: underline; }
.ft .logo-ft { display: inline-block; background: var(--paper-2); border-radius: 12px; padding: 10px 14px; }
.ft .logo-ft img { height: 30px; width: auto; }
.ft .about { margin: 12px 0 0; max-width: 320px; }
.ft .legal { grid-column: 1 / -1; border-top: 1px solid #2b3240; padding-top: 16px; font-size: 11px; color: #9aa2b4; }

/* 404 */
.nf { padding: 80px 24px; text-align: center; }
.nf h1 { font-size: 64px; }
.nf p { margin: 12px auto 24px; max-width: 460px; color: var(--on-paper-2); }

/* filters sheet (phone) */
.sheet-head { display: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto 220px; height: auto; }
  .hero-copy { padding: 32px 28px 8px; }
  .fan { height: 220px; }
  .hero-ret { width: 380px; height: 380px; top: auto; bottom: -120px; transform: none; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid, .sold-strip .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .std .wrap, .ft .wrap, .split { grid-template-columns: 1fr 1fr; }
  .rail:not(.sheet) { display: none; }
  .rail.sheet { position: fixed; inset: auto 0 0 0; max-width: none; max-height: 85vh; overflow: auto; border-radius: 20px 20px 0 0; z-index: 200; transform: translateY(105%); visibility: hidden; transition: transform .25s, visibility .25s; padding-bottom: 24px; box-shadow: 0 -20px 50px -10px rgba(10,13,20,.45); }
  .rail.sheet.open { transform: none; visibility: visible; }
  .sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
  .sheet-head h2 { font: 700 22px/1 var(--display); text-transform: uppercase; letter-spacing: 0; color: var(--ink); }
  .filters-btn { display: inline-flex; }
  .scrim { position: fixed; inset: 0; background: rgba(10,13,20,.45); z-index: 150; }
  .layout { padding-top: 24px; }
  .toc { position: static; max-width: none; }
}
@media (max-width: 560px) {
  .hdr .wrap { gap: 12px; min-height: 0; }
  .logo img { height: 36px; }
  .hnav { width: 100%; justify-content: space-between; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .grid, .sold-strip .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .std .wrap, .ft .wrap, .split { grid-template-columns: 1fr; }
  .page-head h1 { font-size: 40px; }
  .catnav .wrap { flex-wrap: nowrap; overflow-x: auto; }
  .pill { flex: none; }
  .pill-sell { margin-left: 0; }
  .lcard .ttl { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
