/* Pro Star Authentics — black, white and the gold from the logo. */
:root {
  --ink: #0c0c0d;
  --ink-2: #1b1b1e;
  --ink-3: #2a2a2f;
  --paper: #f6f4ef;
  --card: #ffffff;
  --line: #e3dfd6;
  --line-dark: #34343a;
  --text: #16161a;
  --muted: #5d5a55;
  --muted-dark: #a9a59d;
  --gold: #d6ac45;        /* on dark */
  --gold-bright: #f0d868;
  --gold-deep: #8a6514;   /* gold text on light: 5.3:1 on white */
  --sale: #a4231b;
  --ok: #1f6b3a;
  --radius: 10px;
  --wrap: 1240px;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 6px 18px rgba(0,0,0,.06);
  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; font-family: var(--font); font-size: 16px; line-height: 1.55;
  color: var(--text); background: var(--paper);
  overflow-wrap: normal; word-break: normal; hyphens: manual;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* Headings use the wide cut of Archivo, echoing the logo's PRO STAR lettering. */
h1, h2, h3, .display { font-stretch: 118%; font-weight: 800; letter-spacing: -.01em; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(30px, 5.4vw, 56px); }
h2 { font-size: clamp(22px, 3.2vw, 32px); }
h3 { font-size: 18px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 10px; }
.dark .eyebrow { color: var(--gold); }
.lede { font-size: 18px; color: var(--muted); max-width: 60ch; margin: 14px 0 0; }
.dark .lede { color: var(--muted-dark); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; line-height: 1.1;
  transition: background .15s, color .15s, border-color .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-bright); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line:hover { background: rgba(0,0,0,.05); }
.dark .btn-line:hover { background: rgba(255,255,255,.08); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link { color: var(--gold-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; background: none; border: 0; padding: 0; }
.dark .link { color: var(--gold); }

/* ---------- header ---------- */
.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #000; }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: block; flex: 0 0 auto; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-weight: 600; padding: 10px 14px; border-radius: 999px; color: #e9e6df; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: var(--ink-3); }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 800; text-decoration: none; white-space: nowrap; }
.cart-btn:hover { background: var(--gold-bright); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--ink); color: var(--gold); font-size: 13px; display: inline-grid; place-items: center; }
.menu-btn { display: none; background: none; border: 0; color: #fff; padding: 10px; margin-left: auto; }
.menu-btn svg { width: 26px; height: 26px; }
@media (max-width: 760px) {
  .site-header .wrap { min-height: 64px; gap: 10px; }
  .brand img { height: 44px; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; border-bottom: 1px solid var(--line-dark); gap: 2px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 18px; }
  .cart-btn .cart-word { display: none; }
  .cart-btn { padding: 8px 12px; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #d8d4cc; margin-top: 72px; padding: 56px 0 28px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-brand img { height: 84px; width: auto; margin-bottom: 14px; }
.foot-brand p { margin: 0; color: var(--muted-dark); max-width: 34ch; }
.site-footer .owner-link { color: var(--muted-dark); text-decoration: underline; text-underline-offset: 3px; padding: 10px 0; }
.site-footer .owner-link:hover { color: #fff; }
.foot-base { border-top: 1px solid var(--line-dark); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted-dark); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.dark { background: var(--ink); color: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px 24px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { margin: 8px 0 0; color: var(--muted); }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: #000 url('/img/hero.jpg') center / cover no-repeat; overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.6) 55%, rgba(0,0,0,.35) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 88px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lede { color: #d9d5cc; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-logo { justify-self: center; width: min(380px, 100%); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 32px; font-size: 15px; color: #d9d5cc; }
.trust-row strong { color: var(--gold); font-weight: 800; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; gap: 8px; }
  .hero-logo { display: none; }
}

/* ---------- item card (every card identical in size) ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 18px; }
@media (max-width: 560px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: box-shadow .15s, border-color .15s; }
.card:hover { box-shadow: var(--shadow); border-color: #d2ccbf; }
.card-img { position: relative; aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.card-body { padding: 12px 14px 14px; display: grid; gap: 6px; }
.card-title { font-size: 15px; line-height: 1.3; height: 3.9em; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 26px; }
.price { font-weight: 800; font-size: 18px; white-space: nowrap; }
.price s { color: var(--muted); font-weight: 500; font-size: .8em; margin-left: 6px; }
.price .now { color: var(--sale); }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; background: var(--ink); color: var(--gold); }
.badge-soft { background: #efe9dc; color: #4a3a12; }
.flag { position: absolute; top: 10px; left: 10px; z-index: 1; }
.flag .badge { background: var(--gold); color: var(--ink); }
.flag .badge.sold { background: var(--ink); color: #fff; }
.card.is-sold .card-img img { opacity: .45; }
.card-sub { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) {
  .card-body { padding: 10px 10px 12px; }
  .card-title { font-size: 14px; }
  .price { font-size: 16px; }
  .card-meta .badge { display: none; }
}

/* ---------- tiles (shop by sport) ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; justify-content: space-between; min-height: 112px; padding: 18px; border-radius: var(--radius); background: var(--ink-2); color: #fff; text-decoration: none; border: 1px solid var(--line-dark); transition: border-color .15s, background .15s; }
.tile:hover { border-color: var(--gold); background: var(--ink-3); }
.tile strong { font-stretch: 112%; font-size: 19px; font-weight: 800; }
.tile span { color: var(--gold); font-weight: 600; font-size: 14px; }

/* ---------- authenticators strip ---------- */
.auth-list { display: flex; flex-wrap: wrap; gap: 10px; }
.auth-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); text-decoration: none; font-weight: 700; white-space: nowrap; }
.auth-chip span { color: var(--muted); font-weight: 500; }
.auth-chip:hover { border-color: var(--gold-deep); }

/* ---------- quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { margin: 0; padding: 24px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-dark); }
.quote p { margin: 0 0 14px; font-size: 17px; color: #eeeae2; }
.quote footer { color: var(--gold); font-weight: 700; font-size: 14px; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; }
.field label, .label { font-weight: 700; font-size: 14px; }
.input, select.input, textarea.input {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 8px; border: 1px solid #cfc9bd; background: #fff; font-size: 16px;
}
textarea.input { min-height: 120px; resize: vertical; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(214,172,69,.45); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; }
.note { font-size: 14px; color: var(--muted); }
.error { color: var(--sale); font-weight: 600; }
.okmsg { color: var(--ok); font-weight: 700; }

.signup { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
.signup .input { flex: 1 1 220px; }

.cta-panel { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
@media (max-width: 640px) { .cta-panel { grid-template-columns: minmax(0, 1fr); } .cta-panel .btn { justify-self: start; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.dark .panel { background: var(--ink-2); border-color: var(--line-dark); }

.empty { padding: 48px 16px; text-align: center; color: var(--muted); }
.skeleton { background: linear-gradient(90deg, #eee9df 0%, #f7f3ea 50%, #eee9df 100%); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }

.demo-bar { background: var(--gold); color: var(--ink); font-size: 14px; font-weight: 600; text-align: center; padding: 8px 16px; }
.demo-bar a { font-weight: 800; }

/* prose */
.prose { max-width: 70ch; }
.prose p { margin: 0 0 14px; }
.prose h2 { margin: 36px 0 12px; font-size: 22px; }
