/* Tennessee Sportsbook Promos — Organic Biophilic Theme */
/* Fonts: Calistoga (headlines) + Inter (body) */

@import url('https://fonts.googleapis.com/css2?family=Calistoga:ital@0;1&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============================================
   CUSTOM PROPERTIES
   ============================================ */
:root {
  --primary: #56228b;
  --primary-light: #7a3dbb;
  --primary-dark: #3a1760;
  --secondary: #8b4513;
  --secondary-light: #b5601e;
  --secondary-dark: #5c2d0a;
  --ink: #1f1726;
  --ink-soft: #3d2e4a;
  --ink-muted: #6b5c78;
  --surface: #faf8fc;
  --surface-warm: #f5f0eb;
  --surface-card: #f0eaf7;
  --surface-earth: #ede5d8;
  --border: #ddd5e8;
  --border-warm: #d4c4b0;
  --white: #ffffff;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-soft: 0 4px 20px rgba(86, 34, 139, 0.10);
  --shadow-card: 0 2px 12px rgba(31, 23, 38, 0.08);
  --shadow-hover: 0 8px 32px rgba(86, 34, 139, 0.18);
  --font-head: 'Calistoga', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.25rem;
  --line-base: 1.65;
  --line-head: 1.15;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --max-content: 760px;
  --max-wide: 1200px;
  --sidebar-w: 240px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--line-base);
  color: var(--ink);
  background-color: var(--surface);
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }

a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--primary-light); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: var(--line-head);
  color: var(--ink);
  font-weight: 400;
}

h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); }
h2 { font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }

p { margin-bottom: var(--space-4); }
ul, ol { padding-left: var(--space-6); margin-bottom: var(--space-4); }
li { margin-bottom: var(--space-2); }

strong { font-weight: 600; }
em { font-style: italic; }

/* ============================================
   ANNOUNCE BAR
   ============================================ */
.announce-bar {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--ink) 100%);
  color: var(--white);
  text-align: center;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 100;
}

.announce-bar p { margin: 0; }
.announce-bar strong { color: #c9a8f0; }

/* ============================================
   SITE HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(31, 23, 38, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(86, 34, 139, 0.3);
  box-shadow: 0 2px 20px rgba(31, 23, 38, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: var(--space-3) var(--space-6);
  height: 64px;
}

.nav-left {
  display: flex;
  align-items: center;
  min-width: 44px;
}

.brand-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-head);
  font-size: var(--text-lg);
  white-space: nowrap;
}

.brand-link:hover { color: #c9a8f0; }

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

/* Header CTAs */
.header-ctas {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
  cursor: pointer;
}

.cta-signup {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}

.cta-signup:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(86, 34, 139, 0.4);
  transform: translateY(-1px);
}

.cta-login {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
}

.cta-login:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-1px);
}

/* Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}

.menu-toggle:hover { background: rgba(255,255,255,0.1); }

.burger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] .burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle[aria-expanded="true"] .burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Primary Nav */
.primary-nav {
  background: rgba(31, 23, 38, 0.98);
  border-top: 1px solid rgba(86, 34, 139, 0.2);
  overflow: hidden;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.nav-list dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  padding: var(--space-3) var(--space-3) var(--space-3) 0;
  font-weight: 600;
  white-space: nowrap;
}

.nav-list dd { margin: 0; }

.nav-list dd a {
  display: block;
  padding: var(--space-3) var(--space-4);
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-list dd a:hover {
  color: var(--white);
  background: rgba(86, 34, 139, 0.25);
}

/* ============================================
   HERO SECTION (home only)
   ============================================ */
.hero-section {
  background: linear-gradient(135deg, var(--ink) 0%, var(--primary-dark) 50%, #2d1840 100%);
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-16) var(--space-6);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(86,34,139,0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139,69,19,0.15) 0%, transparent 40%);
  pointer-events: none;
}

/* Dot-matrix texture overlay */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy { text-align: left; }

.hero-eyebrow {
  background: rgba(86,34,139,0.4);
  color: #c9a8f0;
  border: 1px solid rgba(201,168,240,0.3);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: var(--space-4);
}

.hero-copy h1 {
  color: var(--white);
  margin-bottom: var(--space-5);
  text-shadow: 0 2px 12px rgba(31,23,38,0.4);
}

.hero-lead {
  color: rgba(255,255,255,0.78);
  font-size: var(--text-lg);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 520px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: var(--space-3) var(--space-8);
  background: var(--secondary);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: var(--text-base);
  letter-spacing: 0.02em;
  transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
  box-shadow: 0 4px 20px rgba(139, 69, 19, 0.4);
}

.btn-primary:hover {
  background: var(--secondary-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139, 69, 19, 0.5);
}

/* Hero media */
.hero-media {
  position: relative;
  height: 380px;
}

.hero-blob {
  position: absolute;
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  opacity: 0.18;
}

.hero-blob-1 {
  width: 300px;
  height: 280px;
  background: var(--primary);
  top: 0; right: 20px;
  animation: blobFloat 8s ease-in-out infinite;
}

.hero-blob-2 {
  width: 200px;
  height: 220px;
  background: var(--secondary);
  bottom: 20px; left: 10px;
  animation: blobFloat 11s ease-in-out infinite reverse;
}

@keyframes blobFloat {
  0%, 100% { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; transform: translateY(0); }
  50% { border-radius: 40% 60% 30% 70% / 60% 40% 55% 45%; transform: translateY(-12px); }
}

.hero-img-wrap {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.hero-img-1 {
  top: 0; right: 0;
  width: 68%;
  height: auto;
  z-index: 2;
}

.hero-img-2 {
  bottom: 0; left: 0;
  width: 52%;
  height: auto;
  z-index: 3;
  border: 3px solid var(--surface);
}

/* ============================================
   CONTENT WITH ASIDE LAYOUT
   ============================================ */
.content-with-aside {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  gap: var(--space-10);
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: var(--space-10) var(--space-6);
  align-items: start;
}

/* ============================================
   SIDEBAR (left)
   ============================================ */
.sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-inner {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.sidebar-heading {
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
  color: var(--ink);
}

.sidebar-subheading {
  font-size: var(--text-base);
  margin: var(--space-5) 0 var(--space-3);
  color: var(--ink-soft);
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4);
}

.sidebar-list li { margin-bottom: 0; border-bottom: 1px solid var(--border); }
.sidebar-list li:last-child { border-bottom: none; }

.sidebar-list a {
  display: flex;
  align-items: center;
  padding: var(--space-3) 0;
  min-height: 44px;
  color: var(--primary);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color 0.15s, padding-left 0.15s;
}

.sidebar-list a:hover {
  color: var(--primary-light);
  padding-left: var(--space-2);
}

.sidebar-rankings { margin-top: var(--space-5); }

.sidebar-cta-block { margin-top: var(--space-6); }

/* Rank sidebar */
.rank-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4);
  counter-reset: none;
}

.rank-sidebar-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
}

.rank-sidebar-list li:last-child { border-bottom: none; }

.rank-pos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.rank-name {
  font-weight: 500;
  color: var(--ink);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content { min-width: 0; }

.page-content { max-width: var(--max-content); }

/* ============================================
   PAGE HEADER SECTION (inner pages)
   ============================================ */
.page-header-section {
  background: linear-gradient(135deg, var(--ink) 0%, var(--primary-dark) 100%);
  padding: var(--space-12) var(--space-6) var(--space-10);
  position: relative;
  overflow: hidden;
}

.page-header-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.page-header-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 0 var(--space-6);
}

.page-header-inner h1 {
  color: var(--white);
  margin-top: var(--space-3);
  margin-bottom: var(--space-4);
}

/* ============================================
   EYEBROW
   ============================================ */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary-light);
  margin-bottom: var(--space-2);
}

.page-header-section .eyebrow,
.hero-section .eyebrow {
  color: #c9a8f0;
}

/* ============================================
   BYLINE
   ============================================ */
.byline {
  color: rgba(255,255,255,0.65);
  font-size: var(--text-sm);
  margin-bottom: 0;
}

.byline .author-name { font-weight: 600; color: rgba(255,255,255,0.88); }

/* ============================================
   PROSE CONTENT
   ============================================ */
.prose h2 {
  font-size: clamp(var(--text-xl), 3vw, var(--text-3xl));
  margin: var(--space-10) 0 var(--space-4);
  color: var(--ink);
  position: relative;
  padding-bottom: var(--space-3);
}

.prose h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: var(--radius-pill);
}

.prose h3 {
  font-size: clamp(var(--text-lg), 2vw, var(--text-2xl));
  margin: var(--space-8) 0 var(--space-3);
  color: var(--ink-soft);
}

.prose a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s;
}

.prose a:hover { color: var(--primary-light); }

.prose ul li { position: relative; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-6) 0;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.prose table th {
  background: var(--primary);
  color: var(--white);
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-weight: 600;
  font-size: var(--text-sm);
}

.prose table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.prose table tr:nth-child(even) td { background: var(--surface-card); }
.prose table tr:last-child td { border-bottom: none; }

.prose blockquote {
  border-left: 4px solid var(--primary);
  background: var(--surface-card);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-6) 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--ink-soft);
}

/* ============================================
   HOME: CHILD CARDS (section > div×n)
   ============================================ */
.child-cards-section {
  padding: var(--space-8) 0 0;
}

.child-cards-section > small {
  display: block;
  margin-bottom: var(--space-2);
}

.child-cards-section > h2 {
  margin-bottom: var(--space-8);
}

/* Direct children are articles — no wrapping article */
.child-cards-section > div.card {
  background: var(--surface-card);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.22s ease, transform 0.18s ease;
}

.child-cards-section > div.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.card-review {
  display: grid;
  grid-template-columns: 220px 1fr;
}

.card-rank {
  padding: var(--space-6);
}

.card-img { overflow: hidden; }
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.card-body { padding: var(--space-5) var(--space-6); }

.card-body .eyebrow { margin-bottom: var(--space-2); }

.card-body h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.card-body h3 a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s;
}

.card-body h3 a:hover { color: var(--primary); }

.card-desc {
  color: var(--ink-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.card-date {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  margin-bottom: var(--space-3);
}

.read-more {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  gap: var(--space-1);
  transition: color 0.15s, gap 0.15s;
}

.read-more::after { content: ' →'; }
.read-more:hover { color: var(--primary-light); gap: var(--space-2); }

/* ============================================
   STAGE BADGE
   ============================================ */
.stage-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-3);
}

.stage-awareness { background: rgba(135,206,235,0.2); color: #87ceeb; border: 1px solid rgba(135,206,235,0.3); }
.stage-consideration { background: rgba(86,34,139,0.25); color: #c9a8f0; border: 1px solid rgba(201,168,240,0.3); }
.stage-decision { background: rgba(139,69,19,0.25); color: #f4a460; border: 1px solid rgba(244,164,96,0.3); }

/* ============================================
   REVIEW HERO IMG
   ============================================ */
.review-hero-img {
  margin-top: var(--space-6);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 760px;
}

/* ============================================
   AUTHOR SECTION (about page)
   ============================================ */
.author-section {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 2px solid var(--border);
}

.author-section > small { margin-bottom: var(--space-2); display: block; }
.author-section > h2 { margin-bottom: var(--space-6); }

.author-card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
}

.author-name {
  font-family: var(--font-head);
  font-size: var(--text-2xl);
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.author-credentials {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: var(--space-4);
  letter-spacing: 0.02em;
}

.author-bio {
  color: var(--ink-soft);
  line-height: 1.75;
  margin: 0;
}

/* ============================================
   FAQ CONTENT
   ============================================ */
.faq-content details {
  background: var(--surface-card);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-content details summary {
  padding: var(--space-4) var(--space-5);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 52px;
  transition: background 0.15s;
}

.faq-content details summary:hover { background: rgba(86,34,139,0.08); }
.faq-content details summary::-webkit-details-marker { display: none; }
.faq-content details summary::after { content: '+'; font-size: 1.3rem; color: var(--primary); font-weight: 300; }
.faq-content details[open] summary::after { content: '−'; }

.faq-content details > *:not(summary) {
  padding: 0 var(--space-5) var(--space-5);
}

/* ============================================
   MAIN WRAPPERS
   ============================================ */
.home-main, .inner-main { width: 100%; }

.home-article, .inner-article { width: 100%; }

.home-body { padding: 0; }

.content-section { background: var(--surface); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.8);
  margin-top: var(--space-16);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-10);
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: var(--space-12) var(--space-6);
}

.footer-brand {
  font-family: var(--font-head);
  font-size: var(--text-xl);
  color: var(--white);
  margin-bottom: var(--space-4);
}

.footer-desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-4);
}

.footer-col address {
  font-style: normal;
  font-size: var(--text-sm);
}

.footer-col address p { margin-bottom: var(--space-2); }

.footer-col address a {
  color: #c9a8f0;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-col address a:hover { color: var(--white); }

.footer-col-heading {
  font-family: var(--font-head);
  font-size: var(--text-base);
  color: var(--white);
  margin-bottom: var(--space-4);
  letter-spacing: 0.02em;
}

/* Footer nav DL */
.footer-nav-dl dt {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.footer-nav-dl dd { margin: 0; }

.footer-nav-dl dd a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: var(--space-2) 0;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color 0.15s, padding-left 0.15s;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-nav-dl dd:last-child a { border-bottom: none; }
.footer-nav-dl dd a:hover { color: var(--white); padding-left: var(--space-2); }

/* Footer legal links */
.footer-legal-links {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
}

.footer-legal-links li { border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-legal-links li:last-child { border-bottom: none; }

.footer-legal-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: var(--space-2) 0;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color 0.15s;
}

.footer-legal-links a:hover { color: var(--white); }

/* RG Notice */
.rg-notice {
  background: rgba(139,69,19,0.2);
  border: 1px solid rgba(139,69,19,0.4);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.rg-notice p {
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: var(--space-5) var(--space-6);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.copyright {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  margin: 0;
}

.footer-bottom-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: var(--space-6);
}

.footer-bottom-links li { margin: 0; }

.footer-bottom-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s;
}

.footer-bottom-links a:hover { color: var(--white); }

/* ============================================
   MOTION — stagger + hover micro
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 0.5s ease forwards;
  }

  .child-cards-section > div:nth-child(1) { animation-delay: 0.05s; }
  .child-cards-section > div:nth-child(2) { animation-delay: 0.12s; }
  .child-cards-section > div:nth-child(3) { animation-delay: 0.19s; }
  .child-cards-section > div:nth-child(4) { animation-delay: 0.26s; }
  .child-cards-section > div:nth-child(5) { animation-delay: 0.33s; }
  .child-cards-section > div:nth-child(6) { animation-delay: 0.40s; }

  @keyframes fadeSlideUp {
    to { opacity: 1; transform: translateY(0); }
  }

  .sidebar-list a,
  .footer-nav-dl dd a,
  .footer-legal-links a {
    transition: color 0.15s, padding-left 0.15s;
  }

  .prose table tr {
    transition: background 0.15s;
  }
}

/* ============================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-media { display: none; }

  .content-with-aside {
    grid-template-columns: 200px 1fr;
    gap: var(--space-8);
  }

  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .footer-about { grid-column: 1 / -1; }

  .card-review { grid-template-columns: 180px 1fr; }
}

/* ============================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================ */
@media (max-width: 768px) {
  /* Show menu toggle */
  .menu-toggle { display: flex; }

  /* Hide nav by default on mobile */
  .primary-nav {
    display: none;
  }

  .primary-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-4) var(--space-5);
    gap: 0;
  }

  .nav-list dt { padding: var(--space-4) 0 var(--space-2); }

  .nav-list dd a {
    white-space: normal;
    padding: var(--space-3) var(--space-4);
    width: 100%;
    border-radius: var(--radius-sm);
  }

  /* Header stays compact */
  .header-inner { padding: var(--space-2) var(--space-4); height: auto; min-height: 60px; }
  .brand-name { font-size: 0.95rem; }

  /* CTAs compact on mobile */
  .cta { padding: var(--space-2) var(--space-3); font-size: 0.75rem; min-height: 44px; }

  /* Hero */
  .hero-section { min-height: auto; padding: var(--space-10) var(--space-4); }
  .hero-inner { grid-template-columns: 1fr; gap: var(--space-6); }
  .hero-lead { font-size: var(--text-base); }
  .hero-media { display: none; }

  /* Content layout */
  .content-with-aside {
    grid-template-columns: 1fr;
    padding: var(--space-6) var(--space-4);
    gap: var(--space-8);
  }

  /* Move aside below on mobile */
  .sidebar { position: static; order: 2; }
  .main-content { order: 1; }

  /* Page header */
  .page-header-section { padding: var(--space-8) var(--space-4) var(--space-6); }
  .page-header-inner { padding: 0; }

  /* Cards */
  .card-review { grid-template-columns: 1fr; }
  .card-img { height: 180px; }
  .card-img img { height: 100%; object-fit: cover; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; padding: var(--space-8) var(--space-4); gap: var(--space-8); }
  .footer-about { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: var(--space-4); }
  .footer-bottom-links { gap: var(--space-4); }

  /* Author */
  .author-card { flex-direction: column; padding: var(--space-6); }

  /* Announce bar */
  .announce-bar { font-size: 0.72rem; }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ============================================ */
@media (max-width: 480px) {
  :root { --sidebar-w: 100%; }

  .brand-name { font-size: 0.85rem; }

  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }

  .btn-primary { width: 100%; justify-content: center; }

  .prose table { font-size: 0.78rem; }
  .prose table th, .prose table td { padding: var(--space-2) var(--space-3); }
}

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}