/* ================================================================
   THE SOVEREIGN APPROACH — Will Bartlett Consulting
   willbartlettconsulting.com — shared design system
   ================================================================ */

:root {
  --navy: #1D3567;       /* primary background */
  --navy-deep: #15264a;  /* slightly darker for cards/accents */
  --blue: #457B9D;       /* mid-tone blue accent */
  --cream: #faf6ec;      /* primary cream — light cards, body text on navy */
  --cream-soft: #f0e9d6; /* slightly warmer cream — buttons, accents */
  --ink: #171717;        /* dark text on cream cards */
  --muted: rgba(250, 246, 236, 0.78);
  --rule: rgba(250, 246, 236, 0.18);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Afacad', system-ui, -apple-system, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--cream);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  font-family: 'Afacad', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--cream);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.125rem); line-height: 1.2; }
h3 { font-size: clamp(1.25rem, 2.6vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
em { font-style: italic; }

a { color: var(--cream); text-decoration: underline; text-decoration-color: rgba(250, 246, 236, 0.4); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--cream); }

/* ========== PAGE WRAPPER (narrow centered column) ========== */
.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ========== HEADER ========== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 28px;
}
.site-logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.site-logo:hover { text-decoration: none; }
.site-logo .logo-mark {
  display: inline-block;
  font-style: italic;
  font-weight: 700;
  margin-right: 4px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  font-family: 'Afacad', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 100px;
  padding: 12px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  transition: background 0.18s ease, transform 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-cream {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}
.btn-cream:hover {
  background: var(--cream-soft);
  color: var(--ink);
  border-color: var(--cream-soft);
}
.btn-outline-cream {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn-outline-cream:hover {
  background: var(--cream);
  color: var(--ink);
}
.btn-large {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* ========== HERO ========== */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px 0 56px;
}
.hero-copy h1 { margin-bottom: 18px; }
.hero-copy p { color: var(--muted); margin-bottom: 22px; }
.hero-image {
  border-radius: 1.5rem;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr; gap: 24px; }
  .hero-image img { aspect-ratio: 16 / 10; }
}

/* ========== ABOUT-WILL CARD (cream block) ========== */
.about-card {
  background: var(--cream);
  color: var(--ink);
  border-radius: 1.5rem;
  padding: 36px 32px;
  margin: 8px 0 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.about-card h1, .about-card h2, .about-card h3, .about-card p { color: var(--ink); }
.about-card p { margin-bottom: 0.9em; line-height: 1.55; }
.about-card .about-text { min-width: 0; }
.about-card .about-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.about-card .about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-caption {
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(23, 23, 23, 0.65);
  margin-top: 8px !important;
}
.about-card .btn { margin-top: 10px; }
.about-card .btn-cream {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}
.about-card .btn-cream:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--cream);
}
@media (max-width: 640px) {
  .about-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 24px;
  }
  .about-card .about-photo { margin: 0 auto; order: -1; }
}

/* ========== REASON BLOCKS ========== */
.reason {
  padding: 56px 0;
}
.reason + .reason {
  border-top: 1px solid var(--rule);
}
.reason-label {
  font-weight: 600;
  font-style: italic;
  color: var(--muted);
  margin: 0 0 8px;
  font-size: 1rem;
}
.reason h2 { margin-bottom: 24px; }
.reason p { margin-bottom: 1em; }
.reason .btn { margin-top: 16px; }

/* ========== TESTIMONIALS GRID ========== */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 28px;
}
.testimonial {
  background: var(--cream);
  color: var(--ink);
  border-radius: 1.25rem;
  padding: 22px 24px;
  font-size: 1rem;
  line-height: 1.5;
}
.testimonial-quote { margin-bottom: 12px; }
.testimonial-attr {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}
.testimonial-attr span {
  display: block;
  font-weight: 400;
  color: rgba(23, 23, 23, 0.65);
  font-size: 0.85rem;
  font-style: italic;
}

/* ========== FINAL CTA / OPT-IN ========== */
.final-cta {
  padding: 56px 0 72px;
  border-top: 1px solid var(--rule);
}
.final-cta h2 { margin-bottom: 18px; }
.final-cta p { color: var(--muted); margin-bottom: 1em; }

/* BerserkerMail form — navy bg, cream borders/text, cream pill submit */
#form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 460px;
}
#form input[type="text"],
#form input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--cream);
  background: transparent;
  color: var(--cream);
  font-family: 'Afacad', sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  outline: none;
}
#form input[type="text"]:focus,
#form input[type="email"]:focus {
  border-color: #ffffff;
  background: rgba(250, 246, 236, 0.06);
}
#form ::placeholder { color: rgba(250, 246, 236, 0.55); }
#form input[style] { display: none; }
#form button[type="submit"] {
  align-self: flex-start;
  padding: 14px 32px;
  background: var(--cream);
  color: var(--ink);
  border: none;
  border-radius: 100px;
  font-family: 'Afacad', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
#form button[type="submit"]:hover {
  background: var(--cream-soft);
  transform: translateY(-1px);
}

/* ========== FOOTER ========== */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 28px 0 36px;
  text-align: center;
  color: rgba(250, 246, 236, 0.55);
  font-size: 0.85rem;
}
.site-footer p { margin: 0; }
