/* Prepared Nation — shared site styles */
:root {
  --navy: #0b1723;
  --navy-mid: #163047;
  --navy-soft: #1a2a3a;
  --ink: #1c2630;
  --muted: #5a6570;
  --amber: #c4923c;
  --amber-soft: #e0c07a;
  --amber-deep: #b2804a;
  --cream: #f6f1e8;
  --cream-dark: #ebe4d6;
  --paper: #fffdf8;
  --white: #ffffff;
  --line: rgba(11, 23, 35, 0.12);
  --shadow: 0 10px 28px rgba(11, 23, 35, 0.08);
  --font-sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Palatino, "Palatino Linotype", "Book Antiqua", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --max: 68rem;
  --prose: 42rem;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.0625rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-mid); }
a:hover { color: var(--amber-deep); }
a:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 100;
  text-decoration: none;
  border-radius: 0 0 6px 0;
}
.skip:focus { left: 0.75rem; top: 0.75rem; }

/* Header */
.site-header {
  background: var(--navy);
  color: var(--cream);
  border-bottom: 2px solid var(--amber-deep);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--cream);
}
.brand:hover { color: var(--amber-soft); }
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.site-nav {
  display: flex;
  gap: 0.25rem 1.5rem;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--amber-soft);
  border-bottom-color: var(--amber);
}

/* Hero */
.hero {
  position: relative;
  min-height: 28rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-color: var(--navy);
  background-image: url("../images/hero.jpg");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;
  color: var(--white);
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 23, 35, 0.78) 0%,
    rgba(11, 23, 35, 0.42) 48%,
    rgba(11, 23, 35, 0.28) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 4rem 1.5rem 3.25rem;
  max-width: 46rem;
}
.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-soft);
  font-weight: 600;
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 0.03em;
  margin: 0 0 0.7rem;
  line-height: 1.15;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.tagline {
  margin: 0 auto;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 400;
  color: #f3ead8;
  max-width: 28rem;
}
.tagline::before {
  content: "";
  display: block;
  width: 4rem;
  height: 2px;
  background: var(--amber);
  margin: 0 auto 0.9rem;
}

/* Page sections */
main { flex: 1; }
.section {
  padding: 3.5rem 1.5rem;
}
.section-inner {
  max-width: 58rem;
  margin: 0 auto;
}
.section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 1.1rem;
  letter-spacing: 0.01em;
}
.section p {
  margin: 0 0 1rem;
  color: var(--ink);
  max-width: 44rem;
}
.section p:last-child { margin-bottom: 0; }
.about-section { background: var(--paper); }
.topics-section { background: var(--cream); }
.closing-section {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
}
.closing-section h2 { color: var(--cream); }
.closing-section p {
  margin-left: auto;
  margin-right: auto;
  color: #e8e0d2;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}
.card-icon {
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.85rem;
  color: var(--amber-deep);
}
.card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0 0 0.45rem;
  color: var(--navy);
  font-weight: 600;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: none;
}

/* Inner pages */
.page-hero {
  background: var(--navy);
  color: var(--cream);
  padding: 2.5rem 1.5rem 2.25rem;
  border-bottom: 2px solid var(--amber-deep);
}
.page-hero-inner {
  max-width: var(--prose);
  margin: 0 auto;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin: 0 0 0.4rem;
  font-weight: 600;
}
.page-hero p {
  margin: 0;
  color: var(--amber-soft);
}
.prose {
  max-width: var(--prose);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}
.prose h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy);
  margin: 2rem 0 0.6rem;
  font-weight: 600;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin: 0.3rem 0; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 2px; }

.contact-email {
  display: inline-block;
  margin: 1rem 0 0.25rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--amber);
  padding-bottom: 0.1rem;
}
.contact-email:hover { color: var(--amber-deep); }

/* Footer */
.site-footer {
  background: var(--navy-soft);
  color: #c9c2b4;
  padding: 2rem 1.5rem 1.6rem;
  margin-top: auto;
  border-top: 2px solid var(--amber-deep);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
}
.footer-nav a {
  color: #e8e0d2;
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  color: var(--amber-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.copyright {
  margin: 0;
  font-size: 0.85rem;
  color: #9aa3ad;
}

@media (max-width: 700px) {
  .cards { grid-template-columns: 1fr; }
  .hero {
    min-height: 26rem;
    background-position: left 28%;
  }
  .hero-inner { padding: 3.25rem 1.25rem 2.5rem; }
  .section { padding: 2.5rem 1.25rem; }
  .header-inner { padding: 0.75rem 1.15rem; }
  .brand img { width: 40px; height: 40px; }
  .site-nav { width: 100%; }
}

/* ===== clean-v1: call-to-action button (added) ===== */
.cta-wrap { margin: 1.4rem 0 0; }
.cta-btn {
  display: inline-block;
  max-width: 100%;
  background: var(--amber);
  color: var(--navy);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
  text-decoration: none;
  padding: 0.95rem 1.5rem;
  border-radius: 8px;
  border: 2px solid var(--amber-deep);
  box-shadow: var(--shadow);
}
.cta-btn:hover, .cta-btn:focus-visible { background: var(--amber-soft); color: var(--navy); }
.featured-section .cta-wrap { text-align: center; }
.cta-note { font-size: 0.9rem; color: var(--muted); }
