/* ============================================================
   Weekly — shared site styles
   Everything in this file appears on EVERY page.
   Page-specific styles live in src/_includes/css/pages/<page>.css
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand palette — single source of truth.
     --parchment and --cream are the same colour; both names exist
     because different pages historically used different names. */
  --parchment:    #FAF3EA;
  --cream:        #FAF3EA;
  --dark:         #1E1000;
  --copper:       #B07040;
  --copper-light: #D4956A;
  --copper-hover: #965E30;
  --copper-pale:  #FFF3E6;
  --surface:      #FFF8EF;
  --trust-bg:     #F2E4CF;
  --green:        #2C4A3E;
  --text:         #2A1800;
  --heading:      #1E1000;
  --body-text:    rgba(42,24,0,0.62);
  --text-muted:   rgba(42,24,0,0.55);
  --border:       rgba(42,24,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--parchment);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

section { position: relative; z-index: 2; }

/* ── Background blobs ── */
.blob1, .blob2 { position: fixed; border-radius: 50%; pointer-events: none; z-index: 0; }
.blob1 { width: 600px; height: 600px; top: -160px; right: -180px; background: radial-gradient(circle at 40% 40%, rgba(176,112,64,0.09) 0%, transparent 70%); }
.blob2 { width: 500px; height: 500px; bottom: -140px; left: -160px; background: radial-gradient(circle at 60% 60%, rgba(176,112,64,0.07) 0%, transparent 70%); }

/* ── Announcement bar (funnel pages, optional) ── */
.top-bar {
  background: var(--dark); color: var(--parchment);
  text-align: center; padding: 10px 20px;
  font-family: "Lora", Georgia, serif; font-style: italic;
  font-size: 13px; letter-spacing: 0.02em;
  color: rgba(250,243,234,0.75);
  position: relative; z-index: 4;
}
.top-bar strong { color: #D4A06A; font-weight: 600; font-style: normal; }
.top-bar a { color: var(--copper-light); text-decoration: underline; }

/* ── NAV ── */
.wk-nav {
  padding: 18px 64px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,243,234,0.95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.wk-logo-block { display: flex; flex-direction: column; gap: 3px; text-decoration: none; }
.wk-logo {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px; font-weight: 400; letter-spacing: 0.05em;
  color: var(--dark); text-decoration: none; line-height: 1;
}
.wk-logo-sub {
  font-family: "Lora", Georgia, serif; font-style: italic;
  font-size: 11px; color: rgba(42,24,0,0.35);
}
.wk-nav-links { display: flex; align-items: center; gap: 32px; }
.wk-nav-link {
  font-size: 13px; color: var(--text-muted);
  text-decoration: none; transition: color 0.2s;
}
.wk-nav-link:hover, .wk-nav-link.active { color: var(--dark); }

.wk-nav-tag {
  font-family: "Lora", Georgia, serif; font-style: italic;
  font-size: 12px; color: rgba(42,24,0,0.4);
}

.wk-nav-cta {
  padding: 10px 22px; border-radius: 100px;
  background: var(--copper); color: #FFF8EF;
  font-size: 13px; font-weight: 600; text-decoration: none;
  letter-spacing: 0.02em; white-space: nowrap;
  transition: background 0.2s;
}
.wk-nav-cta:hover { background: var(--copper-hover); }

/* Hamburger — hidden on desktop */
.wk-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.wk-hamburger span {
  width: 22px; height: 2px; background: var(--dark);
  border-radius: 2px; display: block;
}

/* Mobile fullscreen menu */
.wk-mobile-menu {
  display: none; position: fixed; inset: 0;
  background: rgba(250,243,234,0.98);
  z-index: 200; flex-direction: column;
  align-items: center; justify-content: center; gap: 36px;
}
.wk-mobile-menu.open { display: flex; }
.wk-mobile-menu a {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px; color: var(--dark); text-decoration: none;
}
.wk-mobile-menu a.wk-nav-tag {
  font-family: "Lora", Georgia, serif; font-style: italic;
  font-size: 12px; color: rgba(42,24,0,0.4);
}

.wk-nav-cta {
  font-family: -apple-system, sans-serif; font-size: 16px;
  color: #FFF8EF; padding: 16px 40px;
}
.wk-mobile-close {
  position: absolute; top: 20px; right: 24px;
  font-size: 30px; cursor: pointer;
  color: var(--text-muted); background: none; border: none; line-height: 1;
}

/* ── FOOTER ── */
.wk-footer { background: #1E1000; position: relative; z-index: 2; }
.wk-footer-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 64px 64px 40px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px;
}
.wk-footer-logo {
  font-family: "Playfair Display", serif;
  font-size: 26px; color: var(--cream); letter-spacing: 0.05em; margin-bottom: 4px;
}
.wk-footer-tagline {
  font-family: "Lora", Georgia, serif; font-style: italic;
  font-size: 12px; color: rgba(250,243,234,0.35); margin-bottom: 16px;
}
.wk-footer-about {
  font-size: 13px; color: rgba(250,243,234,0.45);
  line-height: 1.75; max-width: 300px;
}
.wk-footer-col { display: flex; flex-direction: column; gap: 10px; }
.wk-footer-col-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 11px; font-weight: 500; color: rgba(250,243,234,0.45);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: default;
}
.wk-fc-arrow {
  display: none; font-size: 18px; font-weight: 300;
  color: rgba(250,243,234,0.35); transition: transform 0.25s;
}
.wk-footer-col-links { display: flex; flex-direction: column; gap: 10px; }
.wk-footer-col a {
  font-size: 13px; color: rgba(250,243,234,0.55);
  text-decoration: none; transition: color 0.2s;
}
.wk-footer-col a:hover { color: var(--copper-light); }
.wk-footer-bottom {
  border-top: 1px solid rgba(250,243,234,0.08);
  padding: 20px 64px; display: flex; justify-content: space-between;
  font-size: 12px; color: rgba(250,243,234,0.25);
}

/* ── Accessibility ── */
.wk-skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--dark); color: var(--cream);
  padding: 12px 20px; z-index: 999; text-decoration: none;
}
.wk-skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .wk-nav { padding: 14px 16px; }
  .wk-logo { font-size: 20px; }
  .wk-logo-sub, .wk-nav-links { display: none !important; }
  .wk-hamburger { display: flex !important; }

  .wk-footer-inner { grid-template-columns: 1fr; gap: 0; padding: 32px 20px 8px; }
  .wk-footer-brand { padding-bottom: 24px; border-bottom: 1px solid rgba(250,243,234,0.08); }
  .wk-footer-col { border-bottom: 1px solid rgba(250,243,234,0.08); }
  .wk-footer-col-title { cursor: pointer; padding: 16px 0; margin-bottom: 0; }
  .wk-fc-arrow { display: block; }
  .wk-footer-col-links { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; gap: 0; }
  .wk-footer-col-links a { padding: 7px 0; display: block; }
  .wk-footer-col.open .wk-footer-col-links { max-height: 260px; }
  .wk-footer-col.open .wk-fc-arrow { transform: rotate(45deg); }
  .wk-footer-bottom { padding: 16px 20px; flex-direction: column; gap: 4px; text-align: center; }
}
