/* ==========================================================================
   Jim Buchta Leadership Academy
   Palette sampled directly from the brand logo: deep navy ink + warm gold
   on a cream/white ground. --accent (gold) is safe on buttons/icons/borders;
   --accent-2 (deep gold) is the AA-safe variant for small text on light bg.
   .band-navy is a scoped "dark section" (footer, stat band) that swaps the
   text/line variables to their light-on-navy equivalents.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f5efe3;   /* warm cream, alternating sections */
  --bg-card: #ffffff;
  --line: #e6ded0;

  --text: #16233a;       /* headings + lede copy */
  --text-muted: #5b6472; /* body copy */

  --accent: #ba904f;        /* gold — buttons, icons, borders, decorative fills */
  --accent-2: #8a6a35;      /* deep gold — small text/labels on light backgrounds */
  --accent-contrast: #16233a; /* text color placed on top of gold surfaces */

  --navy: #0a1b2f;
  --cream: #faf7f2;

  --radius: 14px;
  --maxw: 1160px;

  --font: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-muted);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  overflow-wrap: break-word;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}

h1, h2, h3, h4 {
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 18px;
  text-transform: uppercase;
  color: var(--text);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.3rem; text-transform: none; letter-spacing: -0.01em; }

p { margin: 0 0 16px; color: var(--text-muted); }
p.lede { color: var(--text); font-size: 1.15rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
  box-shadow: 0 8px 22px rgba(186, 144, 79, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(186, 144, 79, 0.45); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}

.brand-badge {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-icon { width: 24px; height: 24px; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a.btn.active { color: var(--accent-contrast); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 34px 24px;
    gap: 26px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    border-top: 1px solid var(--line);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 80px 0 110px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 10%, rgba(186, 144, 79, 0.16), transparent 55%),
    radial-gradient(circle at 8% 95%, rgba(186, 144, 79, 0.10), transparent 45%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.hero-inner { position: relative; z-index: 1; max-width: 760px; }

.hero.hero-dark {
  background: var(--navy);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.hero h1 { margin-bottom: 24px; }
.hero h1 em {
  font-style: normal;
  color: var(--accent-2);
}

.hero-cta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 34px; }

.hero-photo-slot {
  position: absolute;
  right: 24px;
  top: 50px;
  width: 320px;
  height: 380px;
  border-radius: var(--radius);
  border: 2px dashed var(--line);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 20px;
}

.hero-photo-slot.logo-frame {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 40px rgba(10, 27, 47, 0.1);
  padding: 36px;
}
.hero-photo-slot.logo-frame img { width: 100%; height: auto; }

.hero-photo-slot.photo-frame {
  height: auto;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 40px rgba(10, 27, 47, 0.1);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-photo-slot.photo-frame img {
  width: 100%;
  height: 380px;
  flex: none;
  object-fit: cover;
}

.hero-photo-caption {
  flex: none;
  padding: 12px 16px;
  text-align: center;
  border-top: 1px solid var(--line);
  background: #fff;
}
.hero-photo-caption strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
}
.hero-photo-caption span {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.video-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(10, 27, 47, 0.1);
  aspect-ratio: 9 / 16;
  background: #000;
}
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: relative;
  min-height: 600px;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 40px;
}

.hero-video-row {
  position: absolute;
  inset: 40px;
  z-index: 0;
  display: flex;
  gap: 20px;
}
.hero-video-row .video-frame { flex: 1; aspect-ratio: auto; }

@media (max-width: 980px) {
  .hero-photo-slot,
  .hero-photo-slot.photo-frame,
  .hero-photo-slot.logo-frame {
    display: none;
  }
}
@media (max-width: 640px) {
  .hero-video-row { display: none; }
  .hero-overlay { min-height: 0; padding: 24px; }
}

.hero-overlay .hero-inner .eyebrow,
.hero-overlay .hero-inner h1,
.hero-overlay .hero-inner .lede {
  color: #fff;
  -webkit-text-stroke: 1px var(--navy);
  text-shadow:
    -1px -1px 0 var(--navy),
    1px -1px 0 var(--navy),
    -1px 1px 0 var(--navy),
    1px 1px 0 var(--navy);
}
.hero-overlay .hero-inner h1 em { color: #fff; }

/* ---------- Sections ---------- */

section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Dark navy band (footer, stat bar) ---------- */

.band-navy {
  background: var(--navy);
  --text: var(--cream);
  --text-muted: #b7c0cf;
  --accent-2: #d8b273;
  --line: rgba(255, 255, 255, 0.14);
  --bg-card: #14263d;
  color: var(--text);
}

/* ---------- Stats bar ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 60px 0;
}
.stat-num {
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--accent-2);
  letter-spacing: -0.02em;
}
.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 6px;
}

@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Cards / Grid ---------- */

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

@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 16px 32px rgba(10, 27, 47, 0.08); }

.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(186, 144, 79, 0.14);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.card-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.card-meta strong { color: var(--text); }

/* ---------- Timeline ---------- */

.timeline {
  border-left: 2px solid var(--line);
  margin-left: 8px;
  padding-left: 34px;
}
.timeline-item { position: relative; padding-bottom: 42px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(186, 144, 79, 0.18);
}
.timeline-date {
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 6px;
}
.timeline-item h3 { margin-bottom: 6px; }
.timeline-item p { margin-bottom: 4px; }

/* ---------- Vision quote block ---------- */

.quote-block {
  border-left: 4px solid var(--accent);
  padding: 6px 0 6px 28px;
  margin: 40px 0;
}
.quote-block p {
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

/* ---------- Testimonial cards ---------- */

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
}
.placeholder-flag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent-2);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.stars { color: var(--accent-2); letter-spacing: 3px; margin-bottom: 12px; font-size: 1.1rem; }
.testimonial-name { font-weight: 800; color: var(--text); margin-top: 14px; }
.testimonial-role { font-size: 0.85rem; color: var(--text-muted); }

.proof-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.proof-list li {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 20px 24px;
  color: var(--text);
}

/* ---------- Contact / Form ---------- */

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
}
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; }
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.contact-info-item > div:last-child {
  min-width: 0;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 10px;
  background: rgba(186, 144, 79, 0.16);
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}
.contact-info-item h4 { margin: 0 0 4px; text-transform: none; font-size: 1rem; color: var(--text); }
.contact-info-item p { margin: 0; }

form.booking { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

input, select, textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
}
textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 54px 0 30px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand-name {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
  color: var(--text);
}
.footer-brand-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-top: 2px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent-2); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Utility ---------- */

.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.divider {
  height: 1px;
  background: var(--line);
  margin: 60px 0;
}
