/* ============================================================
   Annie Harton Kassell — shared stylesheet
   Brand system matched to youaremore.org
   Navy #0F2B4A · Gold #D4A843 · Royal Blue #2B6CB0 · Cream #FAF6EE
   ============================================================ */

:root {
  --navy: #0F2B4A;
  --navy-deep: #0A1E36;
  --gold: #D4A843;
  --gold-light: #E8CD86;
  --royal: #2B6CB0;
  --cream: #FAF6EE;
  --cream-deep: #F2EBDC;
  --white: #FFFFFF;
  --ink: #2A2A2A;
  --ink-soft: #5B5B5B;
  --line: rgba(15, 43, 74, 0.12);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-pill: 999px;
  --shadow-soft: 0 10px 30px rgba(15, 43, 74, 0.08);
  --shadow-lift: 0 18px 45px rgba(15, 43, 74, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }

em, .italic-accent { font-style: italic; color: var(--gold); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.section { padding: 100px 0; }
.section--tight { padding: 64px 0; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: rgba(255,255,255,0.88); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.center { text-align: center; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 640px; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: var(--navy); color: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn--outline { background: transparent; border-color: var(--gold); color: var(--navy); }
.btn--outline:hover { background: var(--gold); color: var(--navy-deep); transform: translateY(-2px); }
.btn--outline-white { background: transparent; border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn--outline-white:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--ghost { background: transparent; color: var(--navy); text-decoration: underline; text-underline-offset: 4px; padding: 8px 0; }

/* ---------- Nav ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.wordmark {
  font-family: var(--serif); font-size: 1.35rem; color: var(--white);
  display: flex; align-items: baseline; gap: 6px;
}
.wordmark .last { color: var(--gold); font-style: italic; }
.wordmark .tag {
  font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.5); margin-left: 10px;
  font-style: normal; display: none;
}
@media (min-width: 640px) { .wordmark .tag { display: inline; } }

.nav-links { display: none; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.03em;
  color: rgba(255,255,255,0.82); text-transform: uppercase;
  position: relative; padding: 6px 0;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a.active { color: var(--gold); }
.nav-cta {
  font-size: 0.78rem !important; padding: 12px 24px; border-radius: var(--radius-pill);
  background: var(--gold); color: var(--navy-deep) !important; text-transform: uppercase;
}
.nav-cta:hover { background: var(--gold-light); color: var(--navy-deep) !important; }

.nav-toggle {
  background: none; border: none; color: var(--white); cursor: pointer;
  display: flex; flex-direction: column; gap: 5px; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--gold); display: block; transition: 0.25s; }

@media (min-width: 980px) { .nav-links { display: flex; } .nav-toggle { display: none; } }

.mobile-drawer {
  position: fixed; top: 78px; left: 0; right: 0; bottom: 0;
  background: var(--navy); z-index: 998;
  transform: translateX(100%); transition: transform 0.35s ease;
  padding: 32px 28px; overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer a {
  display: block; padding: 16px 0; font-size: 1.1rem;
  color: rgba(255,255,255,0.9); border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--serif);
}
.mobile-drawer .btn { margin-top: 24px; width: 100%; }
@media (min-width: 980px) { .mobile-drawer { display: none; } }

/* ---------- Hero ---------- */
.hero {
  padding: 168px 0 100px;
  background:
    radial-gradient(circle at 15% 20%, rgba(212,168,67,0.10), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(43,108,176,0.10), transparent 40%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-inner { max-width: 1180px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center;
}
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 60px; } }

.hero h1 { color: var(--white); }
.hero .eyebrow { color: var(--gold-light); }
.hero p.lede { color: rgba(255,255,255,0.78); font-size: 1.2rem; max-width: 560px; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }

.hero-photo {
  width: 100%; aspect-ratio: 4/5; border-radius: 18px; overflow: hidden;
  position: relative; box-shadow: var(--shadow-lift);
  border: 1px solid rgba(212,168,67,0.35);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-fallback {
  width: 100%; height: 100%;
  background: linear-gradient(155deg, var(--gold) 0%, var(--gold-light) 45%, var(--cream) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; color: var(--navy);
  font-size: 1.1rem; text-align: center; padding: 20px;
}

/* ---------- Thread motif (signature element) ---------- */
.thread-wrap { position: relative; margin-top: 56px; }
.thread-line {
  position: absolute; top: 34px; left: 6%; right: 6%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 12%, var(--gold) 88%, transparent);
  opacity: 0.5;
}
@media (max-width: 780px) { .thread-line { display: none; } }

/* ---------- CTA Cards ---------- */
.cta-grid {
  display: grid; grid-template-columns: 1fr; gap: 22px; position: relative; z-index: 2;
}
@media (min-width: 640px) { .cta-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .cta-grid { grid-template-columns: repeat(4, 1fr); } }

.cta-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,168,67,0.28);
  border-radius: 16px;
  padding: 34px 26px;
  display: flex; flex-direction: column; gap: 14px;
  min-width: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}
.cta-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
.cta-dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 5px rgba(212,168,67,0.15);
}
.cta-card h3 { color: var(--white); font-size: 1.3rem; }
.cta-card p { color: rgba(255,255,255,0.68); font-size: 0.92rem; flex-grow: 1; }
.cta-card .btn { margin-top: 6px; align-self: stretch; white-space: normal; text-align: center; }

/* ---------- Generic cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 860px) { .grid-2 { grid-template-columns: 1fr 1fr; align-items: center; } }

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.duo { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 700px) { .duo { grid-template-columns: 1fr 1fr; } }
.duo-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 26px;
}
.duo-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.duo-card .sub { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--royal); margin-bottom: 10px; }
.duo-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Pills ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  font-size: 0.78rem; font-weight: 600; padding: 9px 18px; border-radius: var(--radius-pill);
  background: var(--cream-deep); border: 1px solid var(--line); color: var(--navy);
}
.pill--gold { background: rgba(212,168,67,0.12); border-color: rgba(212,168,67,0.4); color: var(--navy); }

/* ---------- Timeline ---------- */
.timeline { display: flex; flex-direction: column; gap: 0; border-left: 2px solid var(--line); margin-left: 10px; }
.timeline-item { position: relative; padding: 0 0 40px 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -7px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px var(--cream);
}
.timeline-item .role { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--royal); margin-bottom: 4px; }
.timeline-item h4 { margin-bottom: 8px; }
.timeline-item p { color: var(--ink-soft); }

/* ---------- Book / Media feature ---------- */
.feature-media {
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
}
@media (min-width: 860px) { .feature-media { grid-template-columns: 0.8fr 1.2fr; } }
@media (min-width: 860px) { .feature-media--text-first { grid-template-columns: 1.2fr 0.8fr; } }
.book-cover {
  aspect-ratio: 2/3; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-lift);
  border: 1px solid var(--line); max-width: 320px; margin: 0 auto;
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-cover .photo-fallback { background: linear-gradient(155deg, var(--navy) 0%, var(--royal) 100%); color: var(--gold-light); }

/* ---------- Quote block ---------- */
.quote-block {
  border-left: 3px solid var(--gold);
  padding-left: 26px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--navy);
  margin: 40px 0;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.65); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 50px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-grid h5 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-grid a, .footer-grid p { font-size: 0.9rem; color: rgba(255,255,255,0.62); display: block; margin-bottom: 10px; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-wordmark { font-family: var(--serif); font-size: 1.4rem; color: var(--white); margin-bottom: 14px; }
.footer-wordmark em { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 26px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 0.8rem;
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Focus states ---------- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px;
}

/* ---------- Misc ---------- */
.divider-gold { width: 70px; height: 2px; background: var(--gold); margin: 0 auto 28px; }
.divider-gold--left { margin: 0 0 28px; }
.stat-row { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 20px; }
.stat { }
.stat .num { font-family: var(--serif); font-size: 2.2rem; color: var(--gold); font-style: italic; }
.stat .label { font-size: 0.8rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; }
