/* =============================================================
   CamMarston.com — Global Stylesheet
   Brand: Navy #022844 | Professional Speaker & Author
   Last updated: June 2026
   ============================================================= */

/* -------------------------------------------------------------
   1. GOOGLE FONTS IMPORT
   ------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* -------------------------------------------------------------
   2. CSS VARIABLES
   ------------------------------------------------------------- */
:root {
  --navy:       #022844;
  --gold:       #C8A96E;
  --light-gold: #F0E6D0;
  --off-white:  #F8F6F2;
  --white:      #FFFFFF;
  --text-dark:  #1A1A2E;
  --text-mid:   #4A5568;
  --text-light: #718096;
  --border:     #DDD8D0;

  --font-display: 'Jost', 'Helvetica Neue', sans-serif;
  --font-body:    'Jost', 'Helvetica Neue', sans-serif;

  --section-pad:    80px;
  --section-pad-sm: 48px;
  --container:      1200px;
  --container-sm:   800px;
  --transition:     0.2s ease;
}

/* -------------------------------------------------------------
   3. RESET & BASE
   ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

ul, ol { list-style: none; }

/* -------------------------------------------------------------
   4. TYPOGRAPHY
   ------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.625rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }
h5 { font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }

p { margin-bottom: 1.25em; }
p:last-child { margin-bottom: 0; }

.lead { font-size: 1.1875rem; font-weight: 400; line-height: 1.65; color: var(--text-mid); }

.eyebrow {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--gold); margin-bottom: 0.75rem; display: block;
}

blockquote {
  font-style: italic; font-weight: 400;
  font-size: 1.125rem; line-height: 1.65; color: var(--navy);
}

/* -------------------------------------------------------------
   5. LAYOUT UTILITIES
   ------------------------------------------------------------- */
.container    { max-width: var(--container);    margin: 0 auto; padding: 0 24px; }
.container--sm { max-width: var(--container-sm); margin: 0 auto; padding: 0 24px; }

.section    { padding: var(--section-pad) 0; }
.section--sm { padding: var(--section-pad-sm) 0; }

.section--navy { background-color: var(--navy); color: var(--white); }
.section--navy h1, .section--navy h2,
.section--navy h3, .section--navy h4 { color: var(--white); }
.section--navy p, .section--navy .lead { color: rgba(255,255,255,0.85); }

.section--offwhite  { background-color: var(--off-white); }
.section--light-gold { background-color: var(--light-gold); }

.text-center { text-align: center; }
.text-left   { text-align: left; }

.mb-sm { margin-bottom: 1rem; }
.mb-md { margin-bottom: 2rem; }
.mb-lg { margin-bottom: 3rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* -------------------------------------------------------------
   6. BUTTONS
   ------------------------------------------------------------- */
.btn {
  display: inline-block; padding: 14px 32px;
  font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  border-radius: 3px; cursor: pointer; transition: all var(--transition);
  text-decoration: none; border: 2px solid transparent; line-height: 1;
}

.btn--primary  { background-color: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn--primary:hover {
  background-color: #b8943e; border-color: #b8943e; color: var(--navy);
  transform: translateY(-1px); box-shadow: 0 4px 16px rgba(200,169,110,0.4);
}

.btn--secondary { background-color: transparent; color: var(--navy); border-color: var(--navy); }
.btn--secondary:hover { background-color: var(--navy); color: var(--white); transform: translateY(-1px); }

.btn--ghost { background-color: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost:hover { background-color: var(--white); color: var(--navy); }

.btn--sm { padding: 10px 22px; font-size: 0.75rem; }

.btn-group { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* -------------------------------------------------------------
   7. NAVIGATION
   ------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(2,40,68,0.06);
}

.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 24px;
  max-width: var(--container); margin: 0 auto;
}

.nav__logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }

/* Logo images — fixed height, never stretch */
.nav__logo img {
  width: 120px;
  height: auto;
  max-width: 120px;
  display: block;
}
.footer__brand .footer__logo img {
  height: 36px;
  width: auto;
  max-width: 240px;
  margin-bottom: 16px;
}

.nav__links { display: flex; gap: 36px; align-items: center; }
.nav__links a {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--text-mid);
  transition: color var(--transition); white-space: nowrap;
}
.nav__links a:hover, .nav__links a.active { color: var(--navy); }

.nav__cta { margin-left: 16px; }

.nav__hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.nav__hamburger span { display: block; width: 24px; height: 2px; background-color: var(--navy); transition: all var(--transition); }

.nav__mobile {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background-color: var(--white); padding: 32px 24px;
  flex-direction: column; gap: 8px; z-index: 99; overflow-y: auto;
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a {
  font-size: 1rem; font-weight: 600; color: var(--navy);
  padding: 12px 0; border-bottom: 1px solid var(--border);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.nav__mobile .btn { margin-top: 16px; text-align: center; }

/* -------------------------------------------------------------
   8. HERO SECTION
   ------------------------------------------------------------- */
.hero { background-color: var(--navy); color: var(--white); padding: 80px 0; overflow: hidden; }

.hero__inner {
  display: grid; grid-template-columns: 1fr 420px; gap: 64px;
  align-items: center; max-width: var(--container); margin: 0 auto; padding: 0 24px;
}

.hero__content { max-width: 600px; }

.hero__eyebrow {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--gold); margin-bottom: 20px; display: block;
}

.hero__headline {
  font-size: clamp(2.25rem, 5vw, 3.25rem); font-weight: 800;
  line-height: 1.15; letter-spacing: -0.02em; color: var(--white); margin-bottom: 24px;
}

.hero__subheadline {
  font-size: 1.125rem; font-weight: 400; line-height: 1.7;
  color: rgba(255,255,255,0.8); margin-bottom: 36px;
}

.hero__bullets { display: flex; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.hero__bullet {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--gold); display: flex; align-items: center; gap: 8px;
}
.hero__bullet::before { content: '✓'; font-size: 0.75rem; }

.hero__photo { position: relative; }
.hero__photo::before {
  content: ''; position: absolute;
  top: -12px; left: -12px; right: 12px; bottom: 12px;
  border: 2px solid var(--gold); border-radius: 4px; z-index: 0;
}
.hero__photo img {
  position: relative; z-index: 1; width: 100%;
  border-radius: 4px; box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}

/* --- Stacked hero variant (homepage): full-width image + navy band below --- */
.hero--stacked { padding: 0; }

.hero__image {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  display: block;
}

.hero__band {
  padding: 64px 0;
}
.hero--stacked .hero__inner {
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero--stacked .hero__photo::before {
  top: -10px; left: -10px; right: -10px; bottom: 10px;
}

/* -------------------------------------------------------------
   9. LOGO BAR — navy background, white logos
   ------------------------------------------------------------- */
.logo-bar { background-color: var(--navy); padding: 36px 0; }

.logo-bar__label {
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; color: rgba(255,255,255,0.5);
  margin-bottom: 24px; display: block;
}

.logo-bar__logos {
  display: flex; flex-wrap: wrap; gap: 32px 48px;
  align-items: center; justify-content: center;
}

.logo-bar__logos img {
  height: 36px; width: auto; max-width: none;
  opacity: 0.7;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition);
}
.logo-bar__logos img:hover { opacity: 1; }

/* -------------------------------------------------------------
   10. FEATURE CARDS
   ------------------------------------------------------------- */
.feature-card { text-align: center; padding: 32px 24px; }
.feature-card__icon { width: 64px; height: 64px; margin: 0 auto 20px; }
.feature-card__icon img { width: 100%; height: 100%; object-fit: contain; }
.feature-card h3 { margin-bottom: 12px; }

/* -------------------------------------------------------------
   11. ABOUT SPLIT (photo + text)
   ------------------------------------------------------------- */
.about-split          { display: grid; grid-template-columns: 420px 1fr; gap: 64px; align-items: center; }
.about-split--reverse { grid-template-columns: 1fr 420px; }
.about-split__photo img { border-radius: 4px; box-shadow: 0 16px 48px rgba(2,40,68,0.12); }

/* -------------------------------------------------------------
   12. PROCESS STEPS
   ------------------------------------------------------------- */
.process-step { display: flex; gap: 24px; margin-bottom: 40px; }
.process-step:last-child { margin-bottom: 0; }
.process-step__number {
  flex-shrink: 0; width: 56px; height: 56px;
  background-color: var(--gold); color: var(--navy); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 800;
}
.process-step__content h3 { margin-bottom: 8px; }

/* -------------------------------------------------------------
   13. TESTIMONIAL CARDS
   Quote mark rendered in HTML as an in-flow element —
   no ::before pseudo-element so it never overlaps text.
   ------------------------------------------------------------- */
.testimonial-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 0 4px 4px 0;
  padding: 28px 32px;
}

.testimonial-card blockquote {
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.testimonial-card .attribution {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
}

/* Testimonial cards on navy backgrounds */
.section--navy .testimonial-card {
  background-color: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
  border-left-color: var(--gold);
}
.section--navy .testimonial-card blockquote { color: rgba(255,255,255,0.9); }
.section--navy .testimonial-card .attribution { color: var(--gold); }

/* -------------------------------------------------------------
   14. BOOK CARDS
   ------------------------------------------------------------- */
.book-card { display: flex; flex-direction: column; }
.book-card__cover {
  margin-bottom: 20px; border-radius: 3px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(2,40,68,0.15);
  transition: transform var(--transition), box-shadow var(--transition);
}
.book-card__cover:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(2,40,68,0.2); }
.book-card__cover img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.book-card h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.book-card p  { font-size: 0.9375rem; color: var(--text-mid); flex-grow: 1; margin-bottom: 16px; }

/* -------------------------------------------------------------
   15. VIDEO CARDS
   ------------------------------------------------------------- */
.video-card__embed {
  position: relative; padding-bottom: 56.25%; height: 0;
  overflow: hidden; border-radius: 4px; margin-bottom: 16px;
  background-color: var(--navy);
}
.video-card__embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* -------------------------------------------------------------
   16. TOPIC CARDS
   ------------------------------------------------------------- */
.topic-card {
  background-color: var(--white); border: 1px solid var(--border);
  border-radius: 4px; padding: 32px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.topic-card:hover { box-shadow: 0 8px 32px rgba(2,40,68,0.1); border-color: var(--gold); }
.topic-card h3 { margin-bottom: 12px; }
.topic-card p  { color: var(--text-mid); margin-bottom: 16px; }

/* -------------------------------------------------------------
   17. CTA BANNER
   ------------------------------------------------------------- */
.cta-banner { text-align: center; padding: var(--section-pad) 0; background-color: var(--navy); }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p  { color: rgba(255,255,255,0.8); font-size: 1.0625rem; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* -------------------------------------------------------------
   18. FOOTER
   ------------------------------------------------------------- */
.footer { background-color: var(--navy); color: rgba(255,255,255,0.75); padding: 64px 0 32px; }

.footer__top {
  display: grid; grid-template-columns: 280px 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer__brand .footer__logo { display: block; }
.footer__brand p   { font-size: 0.9375rem; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.footer__brand a   { color: rgba(255,255,255,0.6); }
.footer__brand a:hover { color: var(--gold); }

.footer__col h5 { color: var(--white); margin-bottom: 16px; font-size: 0.6875rem; letter-spacing: 0.15em; }
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul li a { font-size: 0.9375rem; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer__col ul li a:hover { color: var(--gold); }

.footer__social { display: flex; gap: 16px; margin-top: 20px; }
.footer__social a {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.25); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65); font-size: 0.875rem; font-weight: 700;
  transition: all var(--transition);
}
.footer__social a:hover { border-color: var(--gold); color: var(--gold); }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 32px; font-size: 0.75rem; font-weight: 500; color: rgba(255,255,255,0.4);
}

/* -------------------------------------------------------------
   19. CONTACT FORM
   ------------------------------------------------------------- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.75rem; font-weight: 700; color: var(--navy);
  margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.1em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 13px 16px; font-family: var(--font-body);
  font-size: 1rem; font-weight: 400; color: var(--text-dark);
  background-color: var(--white); border: 1.5px solid var(--border);
  border-radius: 3px; transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(2,40,68,0.08);
}
.form-group textarea { min-height: 160px; resize: vertical; }
.form-group .required { color: #C0392B; margin-left: 2px; }
.form-hint { font-size: 0.8125rem; color: var(--text-light); margin-top: 6px; }

/* -------------------------------------------------------------
   20. DIVIDERS
   ------------------------------------------------------------- */
.divider       { border: none; height: 1px; background-color: var(--border); margin: 0; }
.divider--gold { height: 3px; width: 60px; background-color: var(--gold); margin: 0 auto 24px; }

/* -------------------------------------------------------------
   21. FAQ
   ------------------------------------------------------------- */
.faq-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  font-size: 1.0625rem; font-weight: 600; color: var(--navy); cursor: pointer;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  background: none; border: none; width: 100%; text-align: left; padding: 0;
  font-family: var(--font-body);
}
.faq-question::after { content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--gold); flex-shrink: 0; line-height: 1.3; }
.faq-item.is-open .faq-question::after { content: '−'; }
.faq-answer { display: none; padding-top: 16px; color: var(--text-mid); line-height: 1.75; }
.faq-item.is-open .faq-answer { display: block; }

/* -------------------------------------------------------------
   22. PRINT HEADER (testimonials.html)
   Hidden on screen — only shown when printing via print.css.
   aria-hidden on the element also removes it from the
   accessibility tree so the page has one effective H1.
   ------------------------------------------------------------- */
.print-header { display: none; }

/* -------------------------------------------------------------
   23. RESPONSIVE — TABLET (max 1024px)
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__inner, .hero--stacked .hero__inner { grid-template-columns: 1fr 340px; gap: 40px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__brand { grid-column: 1 / -1; }
}

/* -------------------------------------------------------------
   24. RESPONSIVE — MOBILE (max 768px)
   ------------------------------------------------------------- */
@media (max-width: 768px) {
  :root { --section-pad: 56px; --section-pad-sm: 36px; }

  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .hero { padding: 56px 0; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__photo { order: -1; max-width: 300px; margin: 0 auto; }
  .hero__photo::before { top: -8px; left: -8px; right: 8px; bottom: 8px; }

  .hero--stacked { padding: 0; }
  .hero--stacked .hero__image { max-height: 280px; }
  .hero--stacked .hero__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .hero--stacked .hero__content { display: contents; }
  .hero--stacked .hero__heading { order: 1; }
  .hero--stacked .hero__photo { order: 2; max-width: 300px; margin: 0 auto; }
  .hero--stacked .hero__bullets { order: 3; margin-bottom: 0; }
  .hero--stacked .btn-group { order: 4; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .about-split, .about-split--reverse { grid-template-columns: 1fr; }
  .about-split__photo { max-width: 320px; margin: 0 auto; }

  .logo-bar__logos { gap: 24px 32px; }
  .logo-bar__logos img { height: 28px; }

  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

  .btn-group { flex-direction: column; align-items: flex-start; }
  .btn-group .btn { width: 100%; text-align: center; }
}

/* -------------------------------------------------------------
   25. RESPONSIVE — SMALL MOBILE (max 480px)
   ------------------------------------------------------------- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__bullets { flex-direction: column; gap: 12px; }
}
