/* ═══════════════════════════════════════════════════════════════════════════
   Paddle House — Design System
   Extracted from the client-approved mockup (Paddle House Memberships.dc.html).
   Typography: EB Garamond (serif, light-weight headings) · Barlow Condensed
               (uppercase tracked labels, nav, buttons)
   Palette:    Cream #F7F4ED · Ink #14181C · Navy #0F2A4A · Gold #A9843F / #D8B472
   Corners are deliberately sharp — no border-radius anywhere.
   Treat this file as the source of truth for the visual system.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Design tokens ─────────────────────────────────────────── */
:root {
  --cream: #F7F4ED;
  --card: #FFFDF8;
  --ink: #14181C;
  --navy: #0F2A4A;
  --gold: #A9843F;
  --gold-light: #D8B472;

  --text: #14181C;
  --text-soft: rgba(20, 24, 28, 0.82);
  --text-muted: rgba(20, 24, 28, 0.72);
  --text-faint: rgba(20, 24, 28, 0.6);
  --text-on-navy: rgba(247, 244, 237, 0.86);
  --text-on-ink: rgba(247, 244, 237, 0.78);
  --text-on-dark-faint: rgba(247, 244, 237, 0.55);

  --line: rgba(15, 42, 74, 0.14);
  --line-mid: rgba(15, 42, 74, 0.2);
  --line-strong: rgba(15, 42, 74, 0.28);
  --line-btn: rgba(15, 42, 74, 0.35);
  --line-gold: rgba(169, 132, 63, 0.55);
  --line-gold-light: rgba(216, 180, 114, 0.4);
  --line-on-dark: rgba(247, 244, 237, 0.12);

  --font-serif: "EB Garamond", Georgia, serif;
  --font-condensed: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;

  --pad-x: 6vw;
  --content-max: 1240px;
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }
::selection { background: var(--navy); color: var(--cream); }

/* ─── A11y ───────────────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: var(--cream);
  padding: 12px 20px; font-family: var(--font-condensed);
  text-transform: uppercase; letter-spacing: 0.14em;
}
.skip-link:focus { left: 0; color: var(--cream); }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* ─── Type system ────────────────────────────────────────────── */
/* Headings are EB Garamond at regular weight — the serif itself carries
   the formality; do not bold them. */
h1, h2, h3 { font-weight: 400; margin: 0; }
h1, .h-hero {
  font-size: clamp(40px, 6.4vw, 78px); line-height: 1.04;
  max-width: 15ch; text-wrap: balance;
}
h2, .h-section {
  font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08;
  max-width: 18ch; text-wrap: balance;
}
.lede {
  font-size: clamp(18px, 2.1vw, 23px); line-height: 1.55;
  max-width: 56ch; color: var(--text-soft); text-wrap: pretty; margin: 0;
}
.body-lg {
  font-size: clamp(17px, 1.9vw, 21px); line-height: 1.6;
  max-width: 52ch; text-wrap: pretty; margin: 0;
}

/* Condensed uppercase labels — the second voice of the system. */
.eyebrow {
  font-family: var(--font-condensed); text-transform: uppercase;
  letter-spacing: 0.3em; font-size: 13px; font-weight: 400; color: var(--gold);
}
.kicker {
  font-family: var(--font-condensed); text-transform: uppercase;
  letter-spacing: 0.2em; font-size: 12px; color: var(--gold);
}
.label {
  font-family: var(--font-condensed); text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 13px;
}
.on-navy .eyebrow, .on-navy .kicker { color: var(--gold-light); }

/* ─── Buttons ────────────────────────────────────────────────── */
/* Square. Barlow Condensed, uppercase, wide tracking. */
.btn {
  display: inline-block; padding: 15px 30px;
  font-family: var(--font-condensed); text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 15px; text-align: center;
  border: 1px solid transparent; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--ink); color: var(--cream); }
.btn-gold { background: var(--gold-light); color: var(--navy); }
.btn-gold:hover { background: var(--cream); color: var(--navy); }
.btn-outline { border-color: var(--line-btn); color: var(--text); }
.btn-outline:hover { border-color: var(--navy); background: rgba(15, 42, 74, 0.05); color: var(--text); }
.btn-outline-light { border-color: rgba(247, 244, 237, 0.35); color: var(--cream); }
.btn-outline-light:hover { border-color: var(--cream); color: var(--cream); }

/* ─── Layout primitives ──────────────────────────────────────── */
.section { padding: clamp(56px, 7vw, 96px) var(--pad-x); }
.section-content { max-width: var(--content-max); }
.on-navy { background: var(--navy); color: var(--cream); }
.on-ink { background: var(--ink); color: var(--cream); }

/* ─── Diamond lists ──────────────────────────────────────────── */
.diamond-list { display: grid; gap: 13px; }
.diamond-list li {
  display: grid; grid-template-columns: 12px 1fr; gap: 12px;
  align-items: baseline; font-size: 18px; line-height: 1.45; list-style: none;
}
.diamond-list li::before { content: "◆"; color: var(--gold); }
.diamond-list-lg { gap: 15px; }
.diamond-list-lg li { grid-template-columns: 14px 1fr; gap: 14px; font-size: 19px; }
.on-navy .diamond-list li::before { color: var(--gold-light); }
.diamond-list, .diamond-list ul { margin: 0; padding: 0; }

/* ─── Header ─────────────────────────────────────────────────── */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; padding: 22px var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.site-brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand-mark {
  width: 26px; height: 26px; border: 1.5px solid var(--navy);
  transform: rotate(45deg); flex: none;
}
.brand-wordmark {
  font-family: var(--font-condensed); font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; font-size: 15px;
  color: var(--navy);
}
.site-brand img { height: 34px; width: auto; }
.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 28px;
}
.site-nav a {
  font-family: var(--font-condensed); text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 13px; color: rgba(20, 24, 28, 0.75);
}
.site-nav a:hover { color: var(--gold); }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero { padding: clamp(56px, 8vw, 110px) var(--pad-x) clamp(40px, 6vw, 72px); max-width: 1180px; }
.hero .eyebrow { display: block; margin-bottom: 26px; }
.hero h1 { margin-bottom: 26px; }
.hero .lede { margin-bottom: 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ─── Pillars strip ──────────────────────────────────────────── */
.pillars { padding: 0 var(--pad-x) clamp(48px, 6vw, 80px); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.pillar { border-top: 1px solid var(--line-strong); padding-top: 20px; }
.pillar .kicker { display: block; margin-bottom: 10px; }
.pillar p { font-size: 19px; line-height: 1.45; color: rgba(20, 24, 28, 0.85); margin: 0; }

/* ─── Founding Rate Lock (navy) ──────────────────────────────── */
.founding { padding: clamp(52px, 7vw, 92px) var(--pad-x); }
.founding-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(32px, 5vw, 72px); align-items: start; max-width: var(--content-max);
}
.founding .eyebrow { display: block; margin-bottom: 22px; }
.founding h2 { font-size: clamp(34px, 4.6vw, 56px); max-width: 16ch; margin-bottom: 22px; }
.founding .body-lg { color: var(--text-on-navy); }
.founding .body-lg + .body-lg { margin-top: 20px; }
.founding .cta-row { margin-top: 32px; }
.founding-remaining {
  font-family: var(--font-condensed); text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 13px; color: rgba(247, 244, 237, 0.6);
}
.privileges { border: 1px solid var(--line-gold-light); padding: clamp(26px, 3vw, 38px); }
.privileges .kicker { display: block; margin-bottom: 22px; }

/* ─── Tier cards ─────────────────────────────────────────────── */
.tiers { padding: clamp(56px, 7vw, 96px) var(--pad-x) clamp(32px, 4vw, 52px); }
.tiers-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 28px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 48px);
}
.tiers-head .eyebrow { display: block; margin-bottom: 18px; }
.tiers-note {
  font-size: 18px; line-height: 1.5; max-width: 42ch;
  color: rgba(20, 24, 28, 0.7); text-wrap: pretty;
}
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: clamp(18px, 2vw, 26px); align-items: stretch;
}
.tier-card {
  border: 1px solid var(--line-mid); padding: clamp(26px, 3vw, 36px);
  display: flex; flex-direction: column; background: var(--card); position: relative;
}
.tier-card.featured { border: 1.5px solid var(--navy); }
.tier-flag {
  position: absolute; top: -1px; right: -1px;
  background: var(--navy); color: var(--cream);
  font-family: var(--font-condensed); text-transform: uppercase;
  letter-spacing: 0.18em; font-size: 12px; padding: 7px 14px;
}
.tier-name {
  font-family: var(--font-condensed); text-transform: uppercase;
  letter-spacing: 0.24em; font-size: 14px; color: var(--navy); margin-bottom: 16px;
}
.tier-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.tier-price .amount { font-size: clamp(42px, 5vw, 56px); line-height: 1; }
.tier-price .per {
  font-family: var(--font-condensed); text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 14px; color: var(--text-faint);
}
.tier-founder {
  font-family: var(--font-condensed); text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 13px; color: var(--gold); margin-bottom: 16px;
}
.tier-blurb { font-size: 19px; line-height: 1.5; color: var(--text-muted); margin: 0 0 26px; }
.tier-divider { height: 1px; background: rgba(15, 42, 74, 0.16); border: 0; margin: 0 0 24px; }
.tier-card .diamond-list { margin-bottom: 32px; }
.tier-card .btn { margin-top: auto; display: block; padding: 14px 24px; }

/* ─── Founding banner ────────────────────────────────────────── */
.banner-section { padding: 0 var(--pad-x) clamp(56px, 7vw, 96px); }
.banner {
  border: 1px solid var(--line-gold); background: rgba(169, 132, 63, 0.07);
  padding: clamp(24px, 3vw, 34px);
  display: flex; flex-wrap: wrap; gap: 20px 40px;
  align-items: center; justify-content: space-between;
}
.banner p {
  font-size: clamp(18px, 2vw, 22px); line-height: 1.5;
  max-width: 60ch; text-wrap: pretty; margin: 0;
}
.banner .btn { white-space: nowrap; }

/* ─── The Club ───────────────────────────────────────────────── */
.club { border-top: 1px solid var(--line); padding: clamp(52px, 7vw, 92px) var(--pad-x); }
.club-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(32px, 5vw, 72px); align-items: start; max-width: var(--content-max);
}
.club .eyebrow { display: block; margin-bottom: 20px; }
.club h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; margin-bottom: 20px; }
.club .body-lg { color: rgba(20, 24, 28, 0.78); }

/* ─── Photo placeholders (until club photography lands) ──────── */
.ph {
  border: 1px dashed rgba(15, 42, 74, 0.4);
  background: repeating-linear-gradient(135deg, rgba(15, 42, 74, 0.05) 0 10px, transparent 10px 20px);
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 24px;
}
.ph span {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(15, 42, 74, 0.7); line-height: 1.7;
}

/* ─── Join (ink) ─────────────────────────────────────────────── */
.join { padding: clamp(56px, 7vw, 100px) var(--pad-x); }
.join-content { max-width: 900px; }
.join h2 { font-size: clamp(32px, 4.6vw, 58px); max-width: 16ch; margin-bottom: 22px; }
.join .body-lg { color: var(--text-on-ink); margin-bottom: 34px; }

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink); color: var(--text-on-dark-faint);
  padding: 26px var(--pad-x) 44px; border-top: 1px solid var(--line-on-dark);
  font-family: var(--font-condensed); text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 13px;
  display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between;
}

/* ─── Interior page / blog scaffolding ───────────────────────── */
/* The launch site is one page; these keep future pages and posts on-system. */
.page-shell { padding: clamp(48px, 6vw, 80px) var(--pad-x) clamp(64px, 8vw, 110px); max-width: 1180px; }
.page-shell .eyebrow { display: block; margin-bottom: 20px; }
.entry-content { max-width: 720px; }
.entry-content p { font-size: 19px; line-height: 1.7; color: var(--text-soft); }
.entry-content h2, .entry-content h3 { margin: 44px 0 16px; }
.entry-content a { border-bottom: 1px solid var(--gold); }
.entry-content img { border: 1px solid var(--line); }
.post-list { display: grid; gap: 22px; margin-top: 40px; }
.post-card { border: 1px solid var(--line-mid); background: var(--card); padding: 32px; }
.post-card .entry-title { font-size: 28px; max-width: none; }
.post-card .entry-title a { color: var(--text); }
.post-card .entry-title a:hover { color: var(--navy); }
.post-meta {
  font-family: var(--font-condensed); text-transform: uppercase;
  letter-spacing: 0.18em; font-size: 12px; color: var(--gold); margin-bottom: 10px;
}
.post-card .entry-summary { color: var(--text-muted); margin-top: 12px; }
.read-more {
  font-family: var(--font-condensed); text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 14px;
}
.pagination { margin-top: 48px; font-family: var(--font-condensed); letter-spacing: 0.1em; }
.pagination .page-numbers { padding: 8px 12px; color: var(--text-faint); }
.pagination .page-numbers.current { color: var(--text); border-bottom: 2px solid var(--gold); }
.spaced-top { margin-top: 32px; }

/* ─── WordPress core alignment classes ───────────────────────── */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text {
  font-family: var(--font-condensed); text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 12px; color: var(--text-faint); margin-top: 8px;
}
.sticky { /* required by theme check */ }
.bypostauthor { /* required by theme check */ }

/* ─── 404 ────────────────────────────────────────────────────── */
.error-404 { padding: clamp(80px, 10vw, 140px) var(--pad-x) clamp(100px, 12vw, 180px); max-width: 1180px; }
.error-404 h1 { margin: 20px 0 24px; }
.error-404 .lede { margin-bottom: 36px; }
