/* =========================================================
   Take the Lead, Inc. — Site Styles
   Colors & fonts live in :root below. Change them there and
   the whole site updates.
   ========================================================= */
:root {
  --brand-900: #0a2a4a;
  --brand-800: #0e4f86;
  --brand-700: #155f9c;
  --brand-100: #e4edf6;
  --cream:     #f6f8fb;
  --sand:      #e8eef5;
  --accent:    #c8202f;
  --accent-dk: #a3141f;
  --ink:       #16202b;
  --muted:     #56657a;
  --line:      #dbe3ec;
  --white:     #ffffff;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 42, 74, .10);
  --shadow-lg: 0 24px 60px rgba(10, 42, 74, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dk); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--brand-900); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); letter-spacing: -.015em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.12rem; }
p  { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

.eyebrow {
  font-family: var(--sans); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-dk);
  margin-bottom: .9rem;
}
.eyebrow-light { color: #aac8e6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .9rem 1.6rem; border-radius: 999px;
  background: var(--brand-800); color: var(--white);
  font-weight: 600; font-size: .98rem; text-decoration: none;
  border: 2px solid var(--brand-800);
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--brand-900); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-small { padding: .55rem 1.15rem; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--brand-800); }
.btn-ghost:hover { background: var(--brand-800); color: var(--white); }
.btn-outline { background: transparent; color: var(--brand-800); border-color: var(--brand-800); }
.btn-outline:hover { background: var(--brand-800); color: var(--white); }
.btn-light { background: var(--white); color: var(--brand-900); border-color: var(--white); }
.btn-light:hover { background: var(--sand); color: var(--brand-900); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: var(--white); }

/* ---------- Top bar ---------- */
.topbar { background: var(--brand-900); color: #c6d4e3; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem 0; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; margin-left: 1.4rem; }
.topbar a:hover { color: #aac8e6; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 248, 251, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 66px; width: auto; }
.footer-logo { height: 70px; width: auto; margin-bottom: .8rem; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem;
  position: relative; padding: .3rem 0;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--accent); transition: right .25s ease;
}
.site-nav a:not(.btn):hover::after, .site-nav a.active::after { right: 0; }
.site-nav .btn { color: var(--white); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--brand-900); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(200,32,47,.07), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(21,95,156,.10), transparent 60%),
    var(--cream);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 em { font-style: italic; color: var(--accent); }
.lead { font-size: 1.18rem; color: #2c3a4b; max-width: 36ch; }
.hero-note { color: var(--muted); max-width: 44ch; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin: 1.8rem 0 2.4rem; }
.hero-stats { list-style: none; padding: 1.4rem 0 0; margin: 0; display: flex; gap: 2.6rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-stats strong { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--brand-900); line-height: 1; }
.hero-stats span { font-size: .85rem; color: var(--muted); }

.hero-photo { position: relative; justify-self: center; width: min(440px, 100%); }
.photo-frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: 220px 220px var(--radius) var(--radius);
  overflow: hidden; background: var(--brand-100); box-shadow: var(--shadow-lg);
  border: 8px solid var(--white);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.photo-missing-note { display: none; }
.photo-frame.missing img { display: none; }
.photo-frame.missing .photo-missing-note {
  display: flex; align-items: center; justify-content: center; text-align: center;
  height: 100%; color: var(--brand-700); font-size: .95rem; padding: 2rem; flex-direction: column;
}
.hero-photo::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1;
  border: 2px solid var(--accent); border-radius: 220px 220px var(--radius) var(--radius); opacity: .55;
}
.photo-badge {
  position: absolute; left: -1.5rem; bottom: 2rem;
  background: var(--white); padding: .9rem 1.2rem; border-radius: 12px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; border-left: 4px solid var(--accent);
}
.badge-name { font-family: var(--serif); font-weight: 700; color: var(--brand-900); font-size: 1.1rem; }
.badge-role { font-size: .82rem; color: var(--muted); }

/* ---------- Notice strip ---------- */
.notice { background: var(--brand-800); color: #eaf1ed; }
.notice-inner { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 1rem 0; text-align: center; flex-wrap: wrap; }
.notice p { margin: 0; }
.notice strong { color: #fff; }
.notice-pill { background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--brand-900); color: #d3deea; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-intro { color: var(--muted); }

/* ---------- Location / class cards ---------- */
.location-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
.location-card {
  background: var(--white); border-radius: var(--radius); padding: 2rem 2rem 1.6rem;
  box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column;
}
.location-head { padding-bottom: 1.1rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.location-head h3 { margin-bottom: .2rem; font-size: 1.5rem; }
.address { font-size: .93rem; color: var(--muted); text-decoration: none; display: inline-flex; gap: .4rem; }
.address::before {
  content: ""; width: 14px; height: 14px; margin-top: .3rem; flex: none; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.address:hover { color: var(--accent-dk); text-decoration: underline; }
.class-item { padding: 1rem 1.1rem; border-radius: 10px; background: var(--cream); margin-bottom: .9rem; border-left: 4px solid var(--brand-700); }
.class-item h4 { margin: .25rem 0 .15rem; }
.class-tag { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dk); }
.class-dates { margin: 0; color: var(--ink); font-weight: 500; }
.register-note { font-size: .9rem; color: var(--muted); margin: auto 0 0; padding-top: .6rem; }

/* ---------- Pack walk ---------- */
.packwalk { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.packwalk-copy .btn { margin-top: .6rem; }
.packwalk-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: .6rem 2rem; }
.pw-row { display: grid; grid-template-columns: 100px 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.pw-row:last-child { border-bottom: 0; }
.pw-label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dk); padding-top: .2rem; }
.pw-value { color: var(--ink); }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.service {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; transition: transform .2s ease, box-shadow .2s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service p { color: var(--muted); font-size: .95rem; margin: 0; }
.service-icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--brand-100);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.service-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--brand-700); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about-main p { color: #d3deea; }
.holden {
  margin-top: 1.8rem; padding: 1.4rem 1.6rem; border-radius: var(--radius);
  background: rgba(255,255,255,.06); border: 1px solid rgba(170,200,230,.35);
}
.holden p { margin: 0; }
.holden strong { color: #aac8e6; }
.holden-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #aac8e6; margin-bottom: .5rem; }
.about-lists { display: grid; gap: 1.4rem; }
.cred-card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 1.8rem; }
.cred-card h3 { color: var(--brand-900); font-size: 1.2rem; margin-bottom: 1rem; }
.check-list, .training-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; font-size: .96rem; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: .05rem; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--brand-100); color: var(--brand-700); font-size: .75rem; font-weight: 700; display: grid; place-items: center;
}
.training-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.training-list li:last-child { border-bottom: 0; }
.training-list strong { font-weight: 600; }
.training-list span { color: var(--muted); white-space: nowrap; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, var(--accent-dk), var(--accent)); color: #fff; padding: 3.2rem 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .3rem; }
.cta p { margin: 0; opacity: .92; }
.cta-actions { display: flex; gap: .9rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-900); color: #b3c3d6; font-size: .93rem; padding-top: 3.2rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-bottom: 2.4rem; }
.footer-head { color: #aac8e6; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .6rem; }
.site-footer a { color: #fff; text-decoration: none; line-height: 2; }
.site-footer a:hover { color: #aac8e6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.2rem 0; font-size: .82rem; }
.footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero-inner, .packwalk, .location-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; width: min(340px, 85%); }
  .photo-badge { left: 50%; transform: translateX(-50%); bottom: -1.4rem; white-space: nowrap; }
  .hero-copy { text-align: center; }
  .lead, .hero-note { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero { padding-top: 2.5rem; }
  .hero-photo { margin-bottom: 2rem; }

  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .site-nav.open { max-height: 420px; }
  .site-nav a:not(.btn) { padding: 1rem 0; width: 100%; text-align: center; border-top: 1px solid var(--line); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin: 1rem 0 1.2rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .topbar-inner { justify-content: center; text-align: center; }
  .topbar a { margin: 0 .7rem; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .location-card { padding: 1.5rem 1.3rem; }
  .pw-row { grid-template-columns: 1fr; gap: .2rem; }
  .training-list li { flex-direction: column; gap: 0; }
  .hero-stats { gap: 1.6rem; }
  .brand-logo { height: 46px; }
}
