/* Printed Models Austin — storefront
   Palette pulled from the eBay store banner: depot navy, resin ivory, studio grey photo wells,
   and a golden-hour signal amber used only for the primary action. */
:root {
  --navy: #1c2d4c;
  --navy-deep: #121e35;
  --ink: #18233a;
  --muted: #5a6477;
  --paper: #fbfbf9;
  --studio: #e7e7e4;
  --ivory: #efe8d8;
  --rule: #d6d8dd;
  --signal: #e09a2d;
  --signal-ink: #1c1405;
  --sale: #b3261e;
  --ok: #2f6b3f;
  --radius: 6px;
  --wrap: 1240px;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--body); }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: .005em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: 68ch; }

/* Announcement + header */
.announce { background: var(--navy-deep); color: #d9dee8; font-size: .85rem; text-align: center; padding: 7px 16px; }
.hdr { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 20; }
.hdr .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { width: 52px; height: 52px; border-radius: 50%; background: #fff; }
.brand b { font: 700 1.55rem/1 var(--display); letter-spacing: .01em; display: block; }
.brand small { font-size: .78rem; color: #b9c3d6; letter-spacing: .02em; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: #e4e8f0; text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current='page'] { color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--signal); }
.hdr form.search { display: flex; }
.hdr form.search input { width: 190px; padding: 8px 12px; border: 1px solid #40557c; border-radius: var(--radius); background: #24395f; color: #fff; font: inherit; font-size: .95rem; }
.hdr form.search input::placeholder { color: #a8b4ca; }
.cart-link { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; text-decoration: none !important; border: 1px solid #4a5f86; padding: 7px 12px; border-radius: var(--radius); }
.cart-link .n { background: var(--signal); color: var(--signal-ink); font-weight: 700; border-radius: 99px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: .8rem; padding: 0 6px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid #4a5f86; color: #fff; padding: 8px 12px; border-radius: var(--radius); font: inherit; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: var(--radius); font: 600 1.02rem/1 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-go { background: var(--signal); color: var(--signal-ink); }
.btn-go:hover { background: #eaa63d; color: var(--signal-ink); }
.btn-line { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .55; cursor: wait; }

/* Hero */
.hero { padding: 56px 0 0; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: end; }
.hero h1 { color: var(--navy); }
.hero .lede { font-size: 1.2rem; color: #364258; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 18px; }
.hero .trust { color: var(--muted); font-size: .95rem; }
.hero-shot { position: relative; background: var(--studio); border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 4 / 3; overflow: hidden; }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; }
.hero-shot figcaption { position: absolute; left: 14px; bottom: 12px; background: rgba(251,251,249,.92); padding: 6px 10px; border-radius: 4px; font-size: .9rem; }
.hero-shot figcaption a { text-decoration: none; font-weight: 600; }

/* The ruler — the site's signature: everything here is measured in millimetres */
.ruler { height: 46px; background:
    repeating-linear-gradient(90deg, var(--navy) 0 1px, transparent 1px 10px) bottom / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, var(--navy) 0 1px, transparent 1px 50px) bottom / 100% 16px no-repeat,
    repeating-linear-gradient(90deg, var(--navy) 0 2px, transparent 2px 100px) bottom / 100% 24px no-repeat,
    var(--ivory);
  border-top: 1px solid #d9cfb8; border-bottom: 3px solid var(--navy); position: relative; overflow: hidden; }
.ruler span { position: absolute; top: 5px; font: 600 .78rem/1 var(--display); color: var(--navy); transform: translateX(4px); }
.ruler em { position: absolute; right: 0; top: 0; padding: 5px 16px 6px 10px; background: var(--ivory); font: italic 500 .8rem/1 var(--body); color: #6c6350; }

/* Category strip — the banner's icon row */
.cats { border-bottom: 1px solid var(--rule); background: #fff; }
.cats ul { list-style: none; margin: 0 auto; padding: 0 20px; max-width: var(--wrap); display: grid; grid-template-columns: repeat(9, 1fr); }
.cats li + li { border-left: 1px solid var(--rule); }
.cats a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 6px; text-decoration: none; color: var(--navy); text-align: center; font: 600 .98rem/1.1 var(--display); letter-spacing: .02em; }
.cats a:hover { background: var(--ivory); }

/* Sections */
.section { padding: 64px 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { margin: 0; color: var(--navy); }
.section-head a { font-weight: 600; }
.alt { background: #fff; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 22px; }
.card { text-decoration: none; display: flex; flex-direction: column; gap: 10px; }
.card .well { background: var(--studio); aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; }
.card .well img { width: 100%; height: 100%; object-fit: cover; }
.card .well .noimg { color: #8c919b; font: 600 1.1rem var(--display); }
.card .t { font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card:hover .t { text-decoration: underline; text-underline-offset: 3px; }
.card .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.card .price { font: 700 1.25rem/1 var(--display); }
.card .pcs { font-size: .85rem; color: var(--muted); }
.was { color: var(--muted); text-decoration: line-through; font-weight: 400; font-size: .9em; margin-left: 6px; }

/* Customer reviews: one big quote across the top and four below; site.js cycles them */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.review { margin: 0; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 16px; transition: opacity .4s; }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { margin: 0; color: var(--ink); line-height: 1.5; }
.review blockquote p::before { content: '\201C'; } .review blockquote p::after { content: '\201D'; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); }
.review figcaption img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; background: var(--studio); flex: none; }
.review figcaption a { color: var(--navy); font-weight: 600; }
.reviews-lead { grid-column: 1 / -1; display: grid; }
.review[hidden] { display: none; }
.review.fading { opacity: 0; }
.review.lead { background: var(--navy); border-color: var(--navy); padding: 32px 36px; }
.review.lead blockquote p { color: #fff; font: 600 1.6rem/1.3 var(--display); }
.review.lead figcaption, .review.lead figcaption a { color: #c9d1de; }

/* How it's made — a real sequence, so it's numbered */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 3px solid var(--navy); }
.steps li { padding: 22px 22px 0 0; counter-increment: s; }
.steps li::before { content: counter(s); display: block; font: 700 2.6rem/1 var(--display); color: var(--signal); margin-bottom: 8px; }
.steps h3 { color: var(--navy); }
.steps p { color: #3e4a60; font-size: .98rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .panel { background: var(--navy); color: #e8ecf3; padding: 36px; border-radius: var(--radius); }
.split .panel h2 { color: #fff; }
.split .panel .btn-line { color: #fff; }
.split .panel .btn-line:hover { background: #fff; color: var(--navy); }

/* Shop listing */
.shop { display: grid; grid-template-columns: 230px 1fr; gap: 40px; padding: 36px 0 70px; }
.side h3 { font-size: 1.1rem; color: var(--muted); margin-top: 0; }
.side ul { list-style: none; padding: 0; margin: 0 0 28px; }
.side li a { display: flex; justify-content: space-between; padding: 7px 10px; text-decoration: none; border-radius: 4px; }
.side li a:hover { background: var(--studio); }
.side li a[aria-current='page'] { background: var(--navy); color: #fff; }
.side li a small { color: inherit; opacity: .7; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.toolbar h1 { font-size: 2.4rem; margin: 0; color: var(--navy); }
.toolbar select { font: inherit; padding: 8px 10px; border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span { padding: 8px 14px; border: 1px solid var(--rule); border-radius: var(--radius); text-decoration: none; background: #fff; }
.pager span { background: var(--navy); color: #fff; border-color: var(--navy); }
.empty { padding: 50px 0; color: var(--muted); }

/* Product page */
.crumbs { font-size: .9rem; color: var(--muted); padding: 22px 0 0; }
.crumbs a { color: var(--muted); }
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; padding: 22px 0 60px; }
.gallery .main { background: var(--studio); border-radius: var(--radius); aspect-ratio: 1; overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 4px; background: var(--studio); width: 84px; height: 84px; cursor: pointer; overflow: hidden; }
.thumbs button[aria-pressed='true'] { border-color: var(--navy); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); color: var(--navy); }
.buy .sku { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.buy .price { font: 700 2.3rem/1 var(--display); margin: 8px 0 18px; }
.qty-row { display: flex; gap: 12px; margin: 18px 0 12px; }
.qty { display: inline-flex; border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; }
.qty button { width: 42px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; }
.qty input { width: 48px; text-align: center; border: 0; font: inherit; }
.made { font-size: .95rem; color: #3e4a60; border-left: 3px solid var(--signal); padding-left: 12px; margin: 18px 0; }
.specs { border-top: 1px solid var(--rule); margin-top: 26px; }
.specs div { display: grid; grid-template-columns: 150px 1fr; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.scalebox { background: var(--ivory); border-radius: var(--radius); padding: 16px 18px; margin-top: 22px; font-size: .95rem; }
.scalebox b { font-family: var(--display); font-size: 1.15rem; color: var(--navy); }
.desc { max-width: 72ch; }
.desc ul { padding-left: 1.2em; }
.added { color: var(--ok); font-weight: 600; min-height: 1.5em; }

/* Cart */
.cart-page { padding: 36px 0 80px; display: grid; grid-template-columns: 1fr 340px; gap: 40px; }
.cart-lines { border-top: 3px solid var(--navy); }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.cart-line .well { background: var(--studio); border-radius: 4px; width: 96px; height: 96px; overflow: hidden; }
.cart-line .well img { width: 100%; height: 100%; object-fit: cover; }
.cart-line .rm { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .9rem; padding: 0; }
.summary { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; align-self: start; position: sticky; top: 96px; }
.summary .row { display: flex; justify-content: space-between; margin-bottom: 10px; }
.summary .total { font: 700 1.5rem var(--display); border-top: 1px solid var(--rule); padding-top: 12px; }
.note { font-size: .88rem; color: var(--muted); }
.note.ok { color: var(--ok); }
.summary .discount { color: var(--ok); font-weight: 600; }
.coupon { border-top: 1px solid var(--rule); padding-top: 12px; margin: 4px 0 6px; }
.coupon-row { display: flex; gap: 8px; margin-top: 4px; }
.coupon-row input { flex: 1; min-width: 0; text-transform: uppercase; padding: 8px 10px; border: 1px solid var(--rule); border-radius: 4px; font: inherit; }
.summary [hidden] { display: none; }
.err { color: var(--sale); font-weight: 600; }

/* Prose pages & blog */
.page { padding: 44px 0 80px; }
.prose { max-width: 70ch; }
.prose h1 { color: var(--navy); }
.prose h2 { color: var(--navy); margin-top: 1.4em; }
.prose img { border-radius: var(--radius); margin: 1.4em 0; }
.prose blockquote { border-left: 3px solid var(--signal); margin: 1.4em 0; padding-left: 16px; color: #3e4a60; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { text-decoration: none; }
.post-card .well { background: var(--studio); aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; }
.post-card .well img { width: 100%; height: 100%; object-fit: cover; }
.post-card time { font-size: .85rem; color: var(--muted); }
.post-card h3 { margin: 4px 0 6px; color: var(--navy); }
.post-card:hover h3 { text-decoration: underline; }

/* Forms */
.form { display: grid; gap: 16px; max-width: 560px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form textarea, .form select { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid #c3c7cf; border-radius: var(--radius); background: #fff; }
.form textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -5000px; }
.flash { background: #e6f1e8; border-left: 4px solid var(--ok); padding: 12px 16px; margin-bottom: 20px; }

/* Footer */
.ftr { background: var(--navy-deep); color: #c3cbd9; padding: 52px 0 30px; margin-top: 0; }
.ftr .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.ftr h4 { font: 600 1.05rem var(--display); color: #fff; margin: 0 0 12px; letter-spacing: .03em; }
.ftr ul { list-style: none; padding: 0; margin: 0; }
.ftr li { margin-bottom: 7px; }
.ftr a { color: #c3cbd9; text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr .fine { border-top: 1px solid #2a3a5a; margin-top: 36px; padding-top: 18px; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .cats ul { grid-template-columns: repeat(5, 1fr); }
  .cats li:nth-child(6) { border-left: 0; }
  .hdr form.search { display: none; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; border-bottom: 1px solid #2c4068; }
  .nav .cart-link { margin-top: 12px; justify-content: center; }
  .hdr .wrap { position: relative; gap: 12px; }
  .brand img { width: 42px; height: 42px; }
  .brand b { font-size: 1.3rem; }
  .brand small { display: none; }
  .hero { padding-top: 30px; }
  .hero .wrap, .split, .pdp, .shop, .cart-page { grid-template-columns: 1fr; gap: 28px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .cats ul { grid-template-columns: repeat(3, 1fr); padding: 0; }
  .cats li { border-bottom: 1px solid var(--rule); }
  .cats li + li { border-left: 0; }
  .cats li:not(:nth-child(3n+1)) { border-left: 1px solid var(--rule); }
  .steps { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .review.lead { padding: 24px 20px; }
  .review.lead blockquote p { font-size: 1.3rem; }
  .posts { grid-template-columns: 1fr; }
  .ftr .cols { grid-template-columns: 1fr 1fr; }
  .side ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .side li a { border: 1px solid var(--rule); padding: 6px 10px; }
  .side li a small { display: none; }
  .summary { position: static; }
  .specs div { grid-template-columns: 120px 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
.summary .ship-to { border: 0; padding: 0; margin: 0 0 12px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.summary .ship-to legend { padding: 0; margin-bottom: 4px; width: 100%; }
.summary .ship-to label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.quote-page { max-width: 640px; }
.quote-page .summary { position: static; margin: 8px 0 20px; }
.quote-page .summary form { margin-top: 16px; }
