/* ============================================================
   Is It Out Yet — shared stylesheet
   Warm editorial / status-board aesthetic.
   Mobile-first. Clone-friendly: every tracker page reuses this.
   ============================================================ */

:root {
  /* palette */
  --paper:      #FBF5E9;   /* warm cream base            */
  --paper-2:    #F3E9D6;   /* card / panel cream         */
  --ink:        #211A15;   /* near-black, warm           */
  --ink-soft:   #5A4F45;   /* muted body text            */
  --ember:      #D6480B;   /* pumpkin / primary accent   */
  --ember-deep: #A8350A;   /* darker pumpkin             */
  --gold:       #C28A1B;   /* secondary accent           */
  --plum:       #2C2230;   /* deep contrast (header)     */
  --out:        #2F7D4F;   /* "OUT NOW" green            */
  --notyet:     #8A7E72;   /* "NOT YET" muted            */
  --line:       #E2D4BC;   /* hairline borders           */

  --maxw: 720px;
  --radius: 14px;
  --shadow: 0 1px 0 rgba(33,26,21,.04), 0 14px 30px -18px rgba(33,26,21,.35);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  /* subtle paper grain via layered gradients, no image asset needed */
  background-image:
    radial-gradient(circle at 18% 12%, rgba(214,72,11,.05), transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(194,138,27,.06), transparent 40%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- type ---------- */
h1, h2, h3, .wordmark, .status__word {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 7vw, 3.2rem); margin: 0 0 .5rem; }
h2 { font-size: clamp(1.45rem, 4.5vw, 1.9rem); margin: 2.6rem 0 .9rem; }
h3 { font-size: 1.2rem; margin: 1.8rem 0 .5rem; }
p  { margin: 0 0 1.05rem; }
a  { color: var(--ember-deep); text-underline-offset: 3px; }
strong { font-weight: 700; }

.lede { font-size: 1.18rem; color: var(--ink-soft); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
main  { padding: 28px 0 64px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--plum);
  color: var(--paper);
  border-bottom: 2px solid var(--ember);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.wordmark {
  color: var(--paper); text-decoration: none; font-size: 1.35rem;
  display: inline-flex; align-items: center; gap: .5rem;
}
.wordmark .dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--ember); box-shadow: 0 0 0 4px rgba(214,72,11,.25);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(214,72,11,0); } }
.nav { display: flex; gap: 1.1rem; font-size: .92rem; font-weight: 600; }
.nav a { color: var(--paper); opacity: .82; text-decoration: none; }
.nav a:hover { opacity: 1; }
@media (max-width: 520px){ .nav { display: none; } }

/* ---------- hero / breadcrumb ---------- */
.breadcrumb { font-size: .82rem; color: var(--ink-soft); margin: 0 0 1.2rem;
  text-transform: uppercase; letter-spacing: .08em; }
.breadcrumb a { color: var(--ink-soft); }

/* ---------- THE STATUS BOARD (signature element) ---------- */
.status {
  background: var(--plum);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
  margin: 8px 0 30px;
}
.status::after { /* warm glow */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(214,72,11,.4), transparent 60%);
  pointer-events: none;
}
.status__q { font-size: .95rem; letter-spacing: .04em; opacity: .8;
  text-transform: uppercase; margin: 0 0 .6rem; position: relative; }
.status__word {
  font-size: clamp(2.6rem, 12vw, 4.2rem); font-weight: 900;
  margin: 0; position: relative; line-height: .95;
}
.status--out  .status__word { color: #6FE3A0; }
.status--no   .status__word { color: var(--paper); }
.status__sub  { position: relative; margin: .7rem 0 0; opacity: .85;
  font-size: 1rem; }
.status__badge {
  display: inline-block; margin-top: 16px; position: relative;
  padding: 6px 14px; border-radius: 999px; font-weight: 700;
  font-size: .82rem; letter-spacing: .05em; text-transform: uppercase;
}
.status--out .status__badge { background: var(--out); color: #fff; }
.status--no  .status__badge { background: var(--ember); color: #fff; }

/* countdown */
.countdown { display: flex; justify-content: center; gap: 14px; margin: 18px 0 2px;
  position: relative; }
.countdown div { min-width: 58px; }
.countdown b { display: block; font-family: "Fraunces", serif; font-size: 1.8rem;
  font-weight: 900; line-height: 1; }
.countdown span { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em;
  opacity: .75; }

/* ---------- buy / CTA cards ---------- */
.buy {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  margin: 22px 0;
}
.buy h3 { margin-top: 0; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--ember); color: #fff; text-decoration: none;
  font-weight: 700; padding: 13px 22px; border-radius: 10px;
  box-shadow: 0 8px 18px -8px rgba(168,53,10,.7);
  transition: transform .12s ease, background .12s ease;
}
.btn:hover { background: var(--ember-deep); transform: translateY(-1px); color:#fff; }
.btn--ghost { background: transparent; color: var(--ember-deep);
  border: 1.5px solid var(--ember); box-shadow: none; }
.fineprint { font-size: .8rem; color: var(--ink-soft); margin: 12px 0 0; }

/* ---------- history table ---------- */
.table-wrap { overflow-x: auto; margin: 1rem 0 1.4rem; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { font-family: "Hanken Grotesk", sans-serif; font-weight: 700;
  text-transform: uppercase; font-size: .76rem; letter-spacing: .06em;
  color: var(--ink-soft); }
tbody tr:hover { background: rgba(214,72,11,.04); }

/* ---------- FAQ ---------- */
details {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 4px 16px; margin: 10px 0; background: var(--paper-2);
}
summary { font-weight: 700; cursor: pointer; padding: 12px 0; list-style: none;
  font-family: "Fraunces", serif; font-size: 1.05rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--ember); font-size: 1.4rem;
  line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 14px; }

/* ---------- tracker grid (homepage) ---------- */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0; }
@media (max-width: 540px){ .grid { grid-template-columns: 1fr; } }
.card {
  display: block; text-decoration: none; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; transition: transform .12s, box-shadow .12s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card .tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em;
  font-weight: 700; color: var(--ember-deep); }
.card .tag.is-out { color: var(--out); }
.card h3 { margin: .4rem 0 .2rem; }
.card p { margin: 0; font-size: .92rem; color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); margin-top: 40px;
  padding: 26px 0 50px; font-size: .85rem; color: var(--ink-soft);
}
.site-footer a { color: var(--ink-soft); }
.endorser { font-family: "Fraunces", serif; font-style: italic; }

/* ---------- misc ---------- */
.muted { color: var(--ink-soft); }
hr { border: none; border-top: 1px solid var(--line); margin: 2rem 0; }
.updated { font-size: .82rem; color: var(--ink-soft); margin: 0 0 1.4rem; }
