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

/* ─── Design Tokens ─── */
:root {
  --navy:        #1B2A4A;
  --navy-light:  #243660;
  --rust:        #C05A2E;
  --rust-light:  #D4714A;
  --gold:        #C9A84C;
  --gold-light:  #DEC06E;
  --cream:       #FAF5E9;
  --cream-dark:  #F2ECD8;
  --tan:         #E8DFC4;
  --white:       #FFFFFF;
  --text-dark:   #1A1A1A;
  --text-mid:    #4A4A4A;
  --text-light:  #777777;

  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;

  --shadow-sm:   0 2px 8px rgba(27,42,74,0.08);
  --shadow-md:   0 4px 20px rgba(27,42,74,0.12);
  --shadow-lg:   0 8px 36px rgba(27,42,74,0.16);

  --max-w:       1120px;
  --max-w-narrow:680px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Typography ─── */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.45rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { color: var(--text-mid); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ─── Layout ─── */
.container       { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container-narrow{ max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 24px; }
.section         { padding: 72px 0; }
.section-cream   { background: var(--cream); }
.section-navy    { background: var(--navy); }
.section-tan     { background: var(--tan); }
.text-center     { text-align: center; }
.mt-16           { margin-top: 16px; }
.mt-32           { margin-top: 32px; }

/* ─── Affiliate Banner ─── */
.affiliate-banner {
  background: var(--navy);
  color: rgba(255,255,255,0.82);
  font-size: 0.78rem;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.01em;
}
.affiliate-banner a { color: var(--gold-light); text-decoration: underline; }

/* ─── Nav ─── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--tan);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.logo-text span { color: var(--rust); }
.logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links li a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-links li a:hover { color: var(--navy); background: var(--cream); }
.nav-cta {
  background: var(--rust) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  padding: 7px 16px !important;
}
.nav-cta:hover { background: var(--rust-light) !important; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--navy);
  margin-left: auto;
  padding: 4px 8px;
}

/* ─── Hero ─── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #2D4A7A 100%);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}
.hero-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero h1 {
  color: var(--white);
  max-width: 740px;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stat-row {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
}

/* ─── Post Hero (interior pages) ─── */
.post-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 56px 0 52px;
}
.post-hero .container { position: relative; }
.hero-eyebrow a { color: var(--gold); opacity: 0.8; }
.hero-eyebrow a:hover { opacity: 1; }
.post-hero h1 { color: var(--white); margin-bottom: 12px; }
.post-meta {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--rust);
  color: var(--white);
}
.btn-primary:hover { background: var(--rust-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.35);
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ─── Section Header ─── */
.section-header { margin-bottom: 44px; }
.section-header.center { text-align: center; }
.section-label {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 10px;
}
.section-title { margin-bottom: 12px; }
.section-sub { color: var(--text-light); max-width: 560px; font-size: 1rem; }
.section-header.center .section-sub { margin: 0 auto; }
.divider-line {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 14px;
}
.section-header.center .divider-line { margin: 14px auto 0; }

/* ─── Cards ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--tan);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-body { padding: 28px; }
.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 10px;
}

/* Feature Cards */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--tan);
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 16px;
}
.feature-card h3 { margin-bottom: 10px; color: var(--navy); }
.feature-card p { font-size: 0.93rem; color: var(--text-mid); }

/* Resource Cards */
.resource-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--tan);
  text-align: center;
}
.resource-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 14px;
}
.resource-card h4 { margin-bottom: 8px; color: var(--navy); }
.resource-card p { font-size: 0.88rem; color: var(--text-mid); }

/* ─── Product Cards ─── */
.gear-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 48px; }
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--tan);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-img {
  background: linear-gradient(135deg, var(--cream), var(--tan));
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
}
.product-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-name { font-weight: 700; color: var(--navy); margin-bottom: 8px; font-size: 0.97rem; font-family: 'Playfair Display', serif; }
.product-desc { font-size: 0.84rem; color: var(--text-mid); margin-bottom: 16px; flex: 1; line-height: 1.55; }
.amazon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: var(--navy);
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
  align-self: flex-start;
}
.amazon-btn:hover { background: var(--gold-light); }
.gear-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  color: var(--navy);
  margin: 48px 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--tan);
}
.gear-section-title:first-child { margin-top: 0; }

/* ─── Blog Cards ─── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--tan);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-card-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 24px;
  flex-shrink: 0;
}
.blog-card-header h3 { color: var(--white); font-size: 1.05rem; margin-top: 8px; }
.post-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card-body p { font-size: 0.9rem; color: var(--text-mid); margin-bottom: 16px; flex: 1; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-light);
  flex-wrap: wrap;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--rust);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 14px;
  transition: gap 0.2s;
}
.card-link:hover { gap: 8px; }
.card-link::after { content: '→'; }

/* ─── Badges ─── */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
}
.badge-rust { background: rgba(192,90,46,0.12); color: var(--rust); }
.badge-gold { background: rgba(201,168,76,0.18); color: #8B6914; }
.badge-navy { background: rgba(27,42,74,0.1); color: var(--navy); }

/* ─── Post Content ─── */
.post-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 72px;
}
.post-lead {
  font-size: 1.15rem;
  color: var(--text-mid);
  line-height: 1.7;
  border-left: 4px solid var(--gold);
  padding-left: 20px;
  margin-bottom: 36px;
  font-style: italic;
}
.post-content h2 {
  margin-top: 44px;
  margin-bottom: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--tan);
}
.post-content h3 { margin-top: 28px; margin-bottom: 12px; }
.post-content ul, .post-content ol {
  padding-left: 22px;
  margin-bottom: 20px;
  list-style: disc;
}
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: 8px; color: var(--text-mid); font-size: 0.97rem; }
.post-content strong { color: var(--navy); }
.post-content p { font-size: 0.97rem; line-height: 1.75; }

/* ─── Tutoring Booking Card ─── */
.booking-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-xl);
  padding: 44px;
  color: var(--white);
  text-align: center;
  margin-bottom: 48px;
}
.booking-card h2 { color: var(--white); margin-bottom: 12px; }
.booking-card p { color: rgba(255,255,255,0.75); max-width: 480px; margin: 0 auto 28px; }
.booking-price {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
  line-height: 1;
}
.booking-price-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
  display: block;
}

/* ─── Recipe Cards ─── */
.recipe-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.recipe-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--tan);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.recipe-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.recipe-img {
  background: linear-gradient(135deg, var(--tan), #D4C890);
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.recipe-body { padding: 24px; }
.recipe-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
  display: block;
  margin-bottom: 8px;
}
.recipe-body h3 { margin-bottom: 10px; }
.recipe-body p { font-size: 0.88rem; color: var(--text-mid); margin-bottom: 16px; }
.recipe-meta {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ─── Newsletter ─── */
.newsletter-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 72px 0;
  text-align: center;
}
.newsletter-section h2 { color: var(--white); margin-bottom: 12px; }
.newsletter-section p { color: rgba(255,255,255,0.7); margin-bottom: 32px; }
.email-form {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.email-form input {
  flex: 1;
  min-width: 220px;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.email-form input::placeholder { color: rgba(255,255,255,0.45); }
.email-form input:focus { border-color: var(--gold); }
.email-form button {
  background: var(--rust);
  color: var(--white);
  border: none;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}
.email-form button:hover { background: var(--rust-light); }
.form-note { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-top: 12px; }
.form-success { display: none; color: var(--gold-light); font-size: 1rem; margin-top: 16px; }

/* ─── Footer ─── */
.site-footer {
  background: var(--navy);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.88rem; margin-top: 12px; max-width: 260px; }
.footer-col h5 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.55); font-size: 0.87rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { color: rgba(255,255,255,0.38); font-size: 0.78rem; margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold); }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.2s;
  text-decoration: none;
}
.social-link:hover { background: rgba(255,255,255,0.15); }

/* ─── Disclaimer Page ─── */
.disclaimer-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}
.disclaimer-content h2 { font-size: 1.3rem; margin-top: 40px; margin-bottom: 12px; padding-top: 28px; border-top: 1px solid var(--tan); color: var(--navy); }
.disclaimer-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.disclaimer-content ul { padding-left: 22px; list-style: disc; margin-bottom: 16px; }
.disclaimer-content li { margin-bottom: 8px; color: var(--text-mid); }

/* ─── Mission Banner ─── */
.mission-banner {
  background: linear-gradient(135deg, var(--rust), #A84C25);
  padding: 44px;
  border-radius: var(--radius-xl);
  text-align: center;
  color: var(--white);
}
.mission-banner h2 { color: var(--white); margin-bottom: 10px; }
.mission-banner p { color: rgba(255,255,255,0.8); max-width: 520px; margin: 0 auto; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gear-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stat-row { gap: 24px; }
  .recipe-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--tan); padding: 16px; gap: 4px; box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 10px 16px; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gear-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stat-row { gap: 16px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .booking-card { padding: 28px 20px; }
  .email-form { flex-direction: column; }
  .email-form input, .email-form button { width: 100%; }
}
