/* ============================================================
   DOLLYE DEALS — Estate Sales
   Vintage / nostalgic, bold-Texan. Rust · Denim · Cream · Gold.
   Type: Alfa Slab One (signage) / Spectral (editorial serif) /
         Space Mono (price-tag + ticket details)
   ============================================================ */

:root {
  /* warm paper neutrals */
  --paper:        oklch(0.955 0.018 78);   /* page bg, warm cream    */
  --paper-2:      oklch(0.925 0.022 76);   /* card / panel cream     */
  --paper-3:      oklch(0.885 0.028 74);   /* deeper cream / inset   */
  --ink:          oklch(0.255 0.018 56);   /* near-black warm ink    */
  --ink-2:        oklch(0.42 0.022 52);    /* muted ink              */
  --line:         oklch(0.255 0.018 56 / 0.18);

  /* bold texan accents (shared chroma family, varied hue) */
  /* brand accents — from the Dollye Deals logo: deep teal + antique gold */
  --rust:         oklch(0.40 0.055 211);   /* primary: brand teal        */
  --rust-deep:    oklch(0.31 0.050 212);   /* deep teal (logo)           */
  --rust-soft:    oklch(0.83 0.035 205);   /* soft teal tint             */
  --denim:        oklch(0.44 0.045 216);   /* secondary: muted teal-slate*/
  --denim-deep:   oklch(0.34 0.045 216);
  --gold:         oklch(0.70 0.095 82);    /* antique gold               */

  --shadow-card: 0 1px 0 rgba(43,38,32,0.04), 0 12px 28px -16px rgba(43,38,32,0.35);
  --shadow-lift: 0 2px 0 rgba(43,38,32,0.05), 0 26px 50px -22px rgba(43,38,32,0.5);

  --ff-display: 'Lora', Georgia, 'Times New Roman', serif;
  --ff-serif:   'Spectral', Georgia, 'Times New Roman', serif;
  --ff-mono:    'Space Mono', ui-monospace, monospace;

  --wrap: 1200px;
  --nav-h: 116px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    /* faint paper grain via layered gradients */
    radial-gradient(circle at 18% 12%, oklch(0.97 0.02 80 / 0.6) 0, transparent 38%),
    radial-gradient(circle at 82% 78%, oklch(0.90 0.03 70 / 0.5) 0, transparent 42%);
  color: var(--ink);
  font-family: var(--ff-serif);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--rust); color: var(--paper); }

h1, h2, h3, h4 { margin: 0; line-height: 1.05; font-weight: 600; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* ---- type helpers ---- */
.display { font-family: var(--ff-display); letter-spacing: -0.01em; font-weight: 600; }
.mono    { font-family: var(--ff-mono); }
.eyebrow {
  font-family: var(--ff-mono);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 700;
}
.eyebrow.denim { color: var(--denim); }

/* ---- section rhythm ---- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head h2 {
  font-family: var(--ff-display);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.0;
  margin-top: 14px;
  letter-spacing: -0.015em;
}
.section-head p.lede {
  margin-top: 20px;
  font-size: clamp(18px, 2vw, 21px);
  color: var(--ink-2);
  max-width: 60ch;
}

/* double-rule divider, vintage auction-bill style */
.rule-double {
  border: 0; height: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-top: 3px;
  opacity: 0.85;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-mono); font-weight: 700;
  font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 15px 26px; border-radius: 2px;
  border: 2px solid var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease, color .15s ease;
}
.btn-primary { background: var(--rust); color: var(--paper); box-shadow: 4px 4px 0 var(--ink); }
.btn-primary:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-primary:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: 4px 4px 0 transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); transform: translate(-2px,-2px); box-shadow: 6px 6px 0 rgba(43,38,32,0.25); }
.btn-sm { padding: 10px 16px; font-size: 12.5px; box-shadow: 3px 3px 0 var(--ink); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn:disabled:hover { transform: none; box-shadow: 4px 4px 0 var(--ink); }

/* ---- vintage badge / stamp ---- */
.stamp {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-weight: 700;
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 7px 12px; border: 1.5px solid currentColor; border-radius: 100px;
  color: var(--denim);
}

/* ---- price tag ---- */
.tag {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-weight: 700; font-size: 14px;
  background: var(--gold); color: var(--ink);
  padding: 7px 14px 7px 22px;
  border: 1.5px solid var(--ink);
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
}
.tag::before { /* punch hole */
  content: ""; position: absolute; left: 9px; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--ink);
}

/* ---- striped image placeholder ---- */
.ph {
  position: relative; overflow: hidden;
  background-color: var(--paper-3);
  background-image: repeating-linear-gradient(
    -45deg,
    oklch(0.255 0.018 56 / 0.06) 0 2px,
    transparent 2px 11px);
  border: 1.5px solid var(--line);
  display: flex; align-items: flex-end;
  color: var(--ink-2);
}
.ph .ph-label {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; background: var(--paper);
  border: 1px solid var(--line); border-left: 0; border-bottom: 0;
  padding: 5px 9px; margin: 0;
}
.ph.tone-rust  { background-color: oklch(0.80 0.05 206); }
.ph.tone-denim { background-color: oklch(0.74 0.045 214); }
.ph.tone-gold  { background-color: oklch(0.84 0.07 80); }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* utility */
.center { text-align: center; }
.flex { display: flex; }
.between { justify-content: space-between; }
.aic { align-items: center; }
.gap-s { gap: 10px; } .gap-m { gap: 18px; } .gap-l { gap: 28px; }
.hide-m { display: initial; }
@media (max-width: 860px){ .hide-m { display: none !important; } }
