/* ---------- Tokens ---------- */
:root {
  --color-bg: #fff8f0;
  --color-surface: #ffffff;
  --color-text: #2b2420;
  --color-muted: #6b5f54;
  --color-border: #eadfd0;
  --color-primary: #e8622c;
  --color-primary-dark: #c94e1e;
  --color-secondary: #1f6f5c;
  --color-secondary-dark: #16513f;
  --font-heading: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 16px;
  --wrap: 1080px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--color-secondary); text-decoration-thickness: 2px; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 0.5em;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.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-link {
  position: absolute; left: -999px; top: 0; background: var(--color-primary);
  color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-dark); }
.btn--secondary { background: var(--color-surface); color: var(--color-secondary); border: 2px solid var(--color-secondary); }
.btn--secondary:hover { background: var(--color-secondary); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.site-header__logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-header__mark { font-size: 1.4rem; }
.site-header__nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.site-header__nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
}
.site-header__nav a:hover,
.site-header__nav a[aria-current="page"] { color: var(--color-primary); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  position: relative;
}
.nav-toggle__bar::before { content: ""; position: absolute; top: -7px; }
.nav-toggle__bar::after { content: ""; position: absolute; top: 7px; }

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-header__nav ul {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
  }
  .site-header__nav ul.is-open { display: flex; }
  .site-header__nav ul li { border-top: 1px solid var(--color-border); }
  .site-header__nav ul a { display: block; padding: 14px 20px; }
  .site-header__nav { position: relative; width: 100%; }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; }
.hero__inner { text-align: center; max-width: 760px; }
.hero__eyebrow {
  font-family: var(--font-heading);
  color: var(--color-secondary);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}
.hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
.hero__actions {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Hub cards ---------- */
.hubs { padding: 24px 0 56px; }
.hubs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 720px) { .hubs__grid { grid-template-columns: 1fr; } }
.hub-card {
  display: block;
  padding: 32px;
  border-radius: var(--radius);
  text-decoration: none;
  color: #fff;
}
.hub-card h2 { color: #fff; font-size: 1.4rem; }
.hub-card p { opacity: 0.92; }
.hub-card--play { background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)); }
.hub-card--picks { background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark)); }
.hub-card__cta { display: inline-block; margin-top: 12px; font-weight: 600; }

/* ---------- Post grid / cards ---------- */
.latest { padding: 24px 0 64px; }
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-card {
  display: block;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: var(--color-text);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.post-card:hover { box-shadow: 0 8px 24px rgba(43,36,32,0.08); transform: translateY(-2px); }
.post-card h2, .post-card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.post-card p { color: var(--color-muted); font-size: 0.95rem; }
.post-card__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 8px;
}
.post-card__cta { font-weight: 600; color: var(--color-secondary); }

/* ---------- About teaser ---------- */
.about-teaser { padding: 40px 0 72px; }
.about-teaser__inner {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* ---------- Page / prose ---------- */
.page { padding: 56px 0 72px; max-width: 760px; }
.page__header { margin-bottom: 32px; }
.page__subtitle { color: var(--color-muted); font-size: 1.1rem; }
.prose h2 { margin-top: 1.8em; }
.prose p { margin: 0 0 1.2em; }

/* ---------- Post ---------- */
.post { padding: 56px 0 72px; max-width: 720px; }
.post__category a { text-transform: uppercase; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; }
.post__header h1 { margin-top: 8px; font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
.post__meta { color: var(--color-muted); font-size: 0.95rem; }
.post .prose p { margin: 0 0 1.3em; font-size: 1.05rem; }
.post .prose h2 { margin-top: 1.6em; font-size: 1.3rem; }
.post__footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}
.disclosure {
  background: #fdf1e6;
  border: 1px solid #f2ddc2;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--color-secondary-dark); color: #fdf6ee; margin-top: 40px; }
.site-footer__inner { padding: 56px 0 32px; }
.site-footer__signup {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}
.site-footer__signup h2 { color: #fff; }
.signup-form {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.signup-form input[type="email"] {
  padding: 12px 16px;
  border-radius: 999px;
  border: none;
  min-width: 240px;
  font-family: var(--font-body);
}
.signup-form button {
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
}
.signup-form button:hover { background: var(--color-primary-dark); }
.site-footer__links {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 32px;
}
.site-footer__links p { color: #d9cfc2; max-width: 420px; }
.site-footer__links ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer__links a { color: #fdf6ee; }
.site-footer__copyright { text-align: center; color: #cabfae; font-size: 0.85rem; margin-top: 32px; }
