/* ------------------------------------------------------------
   The HELM Team — base styles
------------------------------------------------------------ */
:root{
  --navy-950:#0e1826;
  --navy-900:#152238;
  --navy-800:#1c2f4d;
  --navy-700:#2a4066;
  --brass:#b6893f;
  --brass-light:#d7ac66;
  --cream:#faf7f1;
  --paper:#f3efe6;
  --ink:#1c2126;
  --ink-soft:#525a64;
  --line:#e3ddd0;
  --max:1120px;
  --max-narrow:760px;
}

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

html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color:var(--ink);
  background:var(--cream);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

h1, h2, h3{
  font-family:'Playfair Display', Georgia, serif;
  color:var(--navy-900);
  line-height:1.2;
  margin:0 0 0.5em;
  font-weight:700;
}

p{ margin:0 0 1em; color:var(--ink-soft); }
p:last-child{ margin-bottom:0; }

a{ color:inherit; }

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

.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:0 28px;
}

.narrow{ max-width:var(--max-narrow); }

.center{ text-align:center; }

/* ---------------- Header ---------------- */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(250,247,241,0.92);
  backdrop-filter:saturate(150%) blur(6px);
  border-bottom:1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:76px;
}

.site-header .wrap{ padding-left:18px; }

.brand{
  display:flex;
  align-items:center;
  gap:9px;
  text-decoration:none;
  color:var(--navy-900);
}

.brand-mark{
  width:32px;
  height:32px;
  color:var(--brass);
  flex-shrink:0;
}

.brand-word{
  font-family:'Playfair Display', serif;
  font-weight:700;
  font-size:16px;
  letter-spacing:0.05em;
  white-space:nowrap;
}

.site-nav{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:13.5px;
  font-weight:500;
}

.site-nav a{
  text-decoration:none;
  color:var(--ink);
  opacity:0.85;
  white-space:nowrap;
  transition:opacity 0.15s ease;
}
.site-nav a:hover{ opacity:1; color:var(--navy-900); }
.site-nav a:not(:first-child):not(.nav-cta){
  padding-left:6px;
  border-left:1px solid var(--line);
}
.site-nav a.active{
  opacity:1;
  color:var(--navy-900);
  position:relative;
}
.site-nav a.active::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-6px;
  height:2px;
  background:var(--brass);
  border-radius:2px;
}

.nav-cta{
  background:var(--navy-900);
  color:#fff !important;
  padding:8px 16px;
  border-radius:6px;
  opacity:1 !important;
  white-space:nowrap;
  margin-left:7px;
}
.nav-cta:hover{ background:var(--navy-700); }

.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:34px;
  height:34px;
  background:none;
  border:none;
  cursor:pointer;
  padding:0;
}
.nav-toggle span{
  display:block;
  height:2px;
  background:var(--navy-900);
  border-radius:2px;
  transition:transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(1100px 500px at 15% -10%, rgba(182,137,63,0.18), transparent 60%),
    linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color:#fff;
  padding:120px 0 110px;
}

.hero-watermark{
  position:absolute;
  left:-90px;
  bottom:-90px;
  width:520px;
  height:520px;
  color:var(--brass-light);
  opacity:0.22;
  pointer-events:none;
  z-index:0;
}

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

.eyebrow{
  text-transform:uppercase;
  letter-spacing:0.12em;
  font-size:12.5px;
  font-weight:600;
  color:var(--brass-light);
  margin-bottom:18px;
}

.hero h1{
  color:#fff;
  font-size:clamp(40px, 6vw, 62px);
  margin-bottom:20px;
}

.hero-sub{
  color:rgba(255,255,255,0.82);
  font-size:18px;
  max-width:560px;
  margin-bottom:34px;
}

.hero-page{
  padding:76px 0 64px;
}
.hero-page .hero-sub{ margin-bottom:0; }

.btn{
  display:inline-block;
  text-decoration:none;
  font-weight:600;
  font-size:15px;
  padding:14px 30px;
  border-radius:6px;
  transition:transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary{
  background:var(--brass);
  color:var(--navy-950);
}
.btn-primary:hover{
  background:var(--brass-light);
  transform:translateY(-1px);
}

/* ---------------- Sections ---------------- */
.section{
  padding:88px 0;
}
.section.alt{
  background:var(--paper);
}

.kicker{
  text-transform:uppercase;
  letter-spacing:0.12em;
  font-size:12.5px;
  font-weight:600;
  color:var(--brass);
  margin-bottom:14px;
}
.kicker.center{ text-align:center; }

.lede{
  font-family:'Playfair Display', serif;
  font-size:26px;
  color:var(--navy-900);
  line-height:1.45;
  margin-bottom:22px;
}

.belief-statement{
  font-size:clamp(28px, 4vw, 42px);
  max-width:760px;
  margin-left:auto;
  margin-right:auto;
  margin-bottom:30px;
  line-height:1.3;
}

.section h2{
  font-size:clamp(26px, 3.4vw, 34px);
  margin-bottom:22px;
}
.section h2.center{ margin-left:auto; margin-right:auto; }

.section > .wrap > h2.center{
  max-width:640px;
}

/* ---------------- Grid / Cards ---------------- */
.grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
  margin-top:48px;
}

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

.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  padding:30px 26px;
  box-shadow:0 1px 2px rgba(20,20,30,0.03);
}

.card h3{
  font-size:18px;
  margin-bottom:10px;
  color:var(--navy-900);
}

.card p{ font-size:14.5px; margin:0; }

/* Homepage feature cards (What HELM Does) */
.section-lede{
  font-size:17px;
  max-width:640px;
  margin:0 auto;
}
.feature-grid .card{ display:flex; flex-direction:column; }
.feature-grid .card p{ margin-bottom:18px; flex-grow:1; }
.card-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:13.5px;
  font-weight:600;
  color:var(--brass);
  text-decoration:none;
  transition:gap 0.15s ease, color 0.15s ease;
}
.card-link:hover{ gap:9px; color:var(--navy-900); }

/* Why HELM differentiators (on dark background) */
.why-grid{
  margin-top:44px;
  text-align:left;
}
.why-item h3{
  color:#fff;
  font-size:16.5px;
  margin-bottom:8px;
}
.why-item p{
  color:rgba(255,255,255,0.72);
  font-size:14px;
  margin:0;
}

/* Testimonial cards */
.quote-card{ text-align:left; }
.quote-card .quote-mark{
  font-family:'Playfair Display', serif;
  font-size:44px;
  line-height:1;
  color:var(--brass);
  margin:0 0 6px;
}
.quote-card .quote-text{
  font-size:14.5px;
  font-style:italic;
  color:var(--ink-soft);
  margin-bottom:14px;
}
.quote-card .quote-attr{
  font-size:13px;
  font-weight:600;
  color:var(--navy-900);
  margin:0;
}

/* Team cards */
.team-card{ text-align:center; }
.avatar{
  width:64px;
  height:64px;
  border-radius:50%;
  background:linear-gradient(160deg, var(--paper), var(--line));
  border:1px solid var(--line);
  margin:0 auto 16px;
  flex-shrink:0;
  object-fit:cover;
}
.team-title{
  font-size:13px;
  font-weight:600;
  color:var(--brass);
  text-transform:uppercase;
  letter-spacing:0.06em;
  margin-bottom:10px;
}
.team-card p:not(.team-title){ font-size:14px; }

/* Full bio cards (About page) */
.bio-grid{ margin-top:44px; }
.bio-card{
  text-align:left;
  display:flex;
  gap:20px;
  align-items:flex-start;
  padding:32px;
}
.avatar-lg{
  width:168px;
  height:168px;
  margin:0;
}
.bio-card{ gap:28px; }
.bio-copy h3{ margin-bottom:12px; }
.bio-copy .team-title{ margin-bottom:12px; }
.bio-copy p:not(.team-title){ font-size:14.5px; }

.pending{
  font-style:italic;
  opacity:0.55;
}
.team-title.pending{
  color:var(--ink-soft);
  text-transform:none;
  letter-spacing:normal;
  font-weight:500;
}

@media (max-width: 560px){
  .bio-card{ flex-direction:column; align-items:center; text-align:center; }
  .avatar-lg{ width:140px; height:140px; }
}

/* ---------------- Team Credibility Stats ---------------- */
.credibility{
  background:linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color:#fff;
  padding:96px 0;
  text-align:center;
}
.credibility-number{
  font-family:'Playfair Display', serif;
  font-weight:700;
  font-size:clamp(72px, 11vw, 128px);
  line-height:1;
  color:var(--brass-light);
}
.credibility-label{
  text-transform:uppercase;
  letter-spacing:0.2em;
  font-size:15px;
  font-weight:600;
  color:#fff;
  margin-top:8px;
}
.credibility-sub{
  color:rgba(255,255,255,0.72);
  font-size:16.5px;
  margin:16px auto 0;
  max-width:440px;
}
.credibility-divider{
  width:56px;
  height:2px;
  background:var(--brass);
  margin:44px auto;
  border:none;
}
.credibility-rows{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.credibility-row{
  font-size:14.5px;
  letter-spacing:0.05em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.88);
  font-weight:500;
}
.credibility-row .dot{
  color:var(--brass-light);
  margin:0 12px;
  font-weight:700;
}
@media(max-width:560px){
  .credibility{ padding:72px 0; }
  .credibility-row{ font-size:12.5px; letter-spacing:0.03em; }
  .credibility-row .dot{ margin:0 7px; }
  .credibility-divider{ margin:34px auto; }
}

/* ---------------- Split Photo / Copy ---------------- */
.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:center;
}
.split-media img{
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
  border-radius:12px;
  box-shadow:0 8px 24px rgba(20,20,30,0.12);
}
.split-copy h2{ margin-bottom:20px; }
.split-copy p{ font-size:16px; }
.split.reverse .split-media{ order:2; }
.split.reverse .split-copy{ order:1; }

@media(max-width:860px){
  .split{ grid-template-columns:1fr; gap:32px; }
  .split.reverse .split-media{ order:1; }
  .split.reverse .split-copy{ order:2; }
  .split-media img{ aspect-ratio:16/10; }
}

/* ---------------- Feature / Philosophy ---------------- */
.feature{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.philosophy{
  background:linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color:#fff;
  padding:100px 0;
}
.philosophy .quote{
  font-family:'Playfair Display', serif;
  font-size:clamp(24px, 3.4vw, 32px);
  color:#fff;
  line-height:1.5;
  margin-bottom:26px;
}
.philosophy-sub{
  color:rgba(255,255,255,0.78);
  font-size:16.5px;
  max-width:620px;
  margin:0 auto;
}

/* ---------------- Contact ---------------- */
.contact-sub{
  font-size:17px;
  margin-bottom:30px;
}
.contact h2{ margin-bottom:16px; }

/* ---------------- Contact form ---------------- */
.contact-form{
  max-width:640px;
  margin:0 auto;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:40px;
  box-shadow:0 1px 2px rgba(20,20,30,0.03);
}

.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.form-field{ margin-bottom:20px; }
.form-field:last-of-type{ margin-bottom:0; }

.form-label{
  display:block;
  font-size:13.5px;
  font-weight:600;
  color:var(--navy-900);
  margin-bottom:7px;
}
.form-label .req{ color:var(--brass); font-weight:600; }

.form-control{
  width:100%;
  font-family:inherit;
  font-size:15px;
  color:var(--ink);
  background:var(--cream);
  border:1px solid var(--line);
  border-radius:6px;
  padding:12px 14px;
  transition:border-color 0.15s ease, background 0.15s ease;
}
.form-control:focus{
  outline:none;
  border-color:var(--brass);
  background:#fff;
}

select.form-control{
  appearance:none;
  -webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23525a64'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.293l3.71-4.06a.75.75 0 111.08 1.04l-4.25 4.65a.75.75 0 01-1.08 0L5.21 8.27a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
  background-size:16px;
  padding-right:38px;
}

.form-submit{
  width:100%;
  border:none;
  cursor:pointer;
  margin-top:6px;
}

.form-note{
  font-size:12.5px;
  color:var(--ink-soft);
  opacity:0.75;
  margin-top:18px;
  text-align:center;
}

.form-status{
  display:none;
  text-align:center;
  padding:40px 20px;
}
.form-status.is-visible{ display:block; }
.form-status h3{ margin-bottom:10px; }
.form-status p{ margin:0; }
.form-status.is-error h3{ color:#a33; }

@media (max-width: 560px){
  .contact-form{ padding:28px 24px; }
  .form-row{ grid-template-columns:1fr; }
}

/* ---------------- Next-page pagination ---------------- */
.next-nav{
  border-top:1px solid var(--line);
  padding:56px 0;
  text-align:center;
}
.next-nav.on-dark{
  border-top:1px solid rgba(255,255,255,0.15);
}
.next-link{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  text-decoration:none;
  color:var(--navy-900);
  padding:10px 6px;
}
.next-label{
  text-transform:uppercase;
  letter-spacing:0.14em;
  font-size:11.5px;
  font-weight:600;
  color:var(--brass);
}
.next-title{
  font-family:'Playfair Display', serif;
  font-size:26px;
  font-weight:700;
  transition:transform 0.15s ease, opacity 0.15s ease;
}
.next-link:hover .next-title{ transform:translateX(4px); opacity:0.85; }

.next-nav.on-dark .next-title{ color:#fff; }

/* ---------------- Footer ---------------- */
.site-footer{
  background:var(--navy-950);
  color:rgba(255,255,255,0.65);
  padding:34px 0;
  font-size:13.5px;
}
.footer-inner{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.footer-word{
  font-family:'Playfair Display', serif;
  font-weight:700;
  color:#fff;
  letter-spacing:0.05em;
  font-size:13.5px;
}
.footer-tag{ color:var(--brass-light); }

/* ---------------- Program Pages ---------------- */

/* Dark feature band (Academy: The Experience) */
.experience{
  background:linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color:#fff;
  padding:96px 0;
}
.exp-grid{ margin-top:48px; }
.exp-item h3{
  text-transform:uppercase;
  letter-spacing:0.08em;
  font-size:14.5px;
  font-weight:700;
  color:var(--brass-light);
  margin-bottom:12px;
}
.exp-item p{
  color:rgba(255,255,255,0.72);
  font-size:14.5px;
  margin:0;
}

/* Tag cloud (Academy curriculum, Coaching audiences) */
.tag-cloud{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
  margin-top:40px;
}
.tag-pill{
  display:inline-block;
  padding:10px 22px;
  border:1px solid var(--brass);
  border-radius:30px;
  font-size:13.5px;
  font-weight:600;
  letter-spacing:0.02em;
  color:var(--navy-900);
  background:#fff;
}

/* Process flow (Coaching: How It Works) */
.flow{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:18px;
  margin-top:48px;
}
.flow-step{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  max-width:220px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  padding:22px 24px;
  box-shadow:0 1px 2px rgba(20,20,30,0.03);
}
.flow-step .step-title{
  font-family:'Playfair Display', serif;
  font-weight:700;
  font-size:18px;
  color:var(--navy-900);
  margin-bottom:8px;
}
.flow-step .step-desc{
  font-family:'Inter', sans-serif;
  font-weight:400;
  font-size:13.5px;
  line-height:1.4;
  color:var(--ink-soft);
  min-height:38px;
  display:flex;
  align-items:center;
}
.flow-arrow{
  color:var(--brass);
  font-size:22px;
  font-weight:700;
}
@media(max-width:720px){
  .flow{ flex-direction:column; }
  .flow-arrow{ transform:rotate(90deg); }
}

/* CTA band (Coaching close) */
.cta-band{
  background:linear-gradient(160deg, var(--navy-950), var(--navy-800));
  padding:96px 0;
  text-align:center;
}
.cta-band h2{ color:#fff; }
.cta-band p{ color:rgba(255,255,255,0.78); font-size:16.5px; margin-bottom:28px; }

/* Checklist (Board Training: Common Challenges) */
.challenge-list p{
  font-size:17px;
  color:var(--navy-900);
  font-weight:500;
  padding-left:30px;
  position:relative;
  margin:0;
}
.challenge-list p::before{
  content:"\2713";
  position:absolute;
  left:0;
  top:1px;
  color:var(--brass);
  font-weight:700;
}

/* Focus cards (Board Training: Areas of Focus) */
.focus-card{
  text-align:center;
  padding:40px 24px;
}
.focus-card h3{ margin:0; font-size:17px; }

/* Customization band (Board Training) */
.customization{
  background:linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color:#fff;
  padding:100px 0;
}
.customization h2{ color:#fff; }
.customization p{ color:rgba(255,255,255,0.78); }

/* ---------------- Leadership Framework (compass) ---------------- */
.compass-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  grid-template-areas:
    ".    north  .   "
    "west center east"
    ".    south  .   ";
  gap:36px;
  align-items:center;
  margin-top:56px;
}
.compass-north{ grid-area:north; }
.compass-south{ grid-area:south; }
.compass-west{ grid-area:west; }
.compass-east{ grid-area:east; }
.compass-center{ grid-area:center; display:flex; align-items:center; justify-content:center; }
.compass-wheel{ width:130px; height:130px; color:var(--brass); }
.compass-item{ max-width:280px; margin:0 auto; text-align:center; }
.compass-label{
  text-transform:uppercase;
  letter-spacing:0.08em;
  font-size:13.5px;
  font-weight:700;
  color:var(--brass);
  margin-bottom:10px;
}
.compass-item p:not(.compass-label){ font-size:14px; margin:0; color:var(--ink-soft); }

@media(max-width:860px){
  .compass-grid{
    grid-template-columns:1fr;
    grid-template-areas:
      "center"
      "north"
      "west"
      "east"
      "south";
    gap:40px;
  }
  .compass-wheel{ width:100px; height:100px; }
}

/* Curriculum grouped under the four framework directions (Academy) */
.curriculum-groups{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:44px 56px;
  margin-top:48px;
}
.curriculum-group{ text-align:center; }
.curriculum-group .compass-label{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-bottom:0;
}
.mini-wheel{ width:16px; height:16px; color:var(--brass); flex-shrink:0; }
.curriculum-group .tag-cloud{ margin-top:16px; }
@media(max-width:720px){
  .curriculum-groups{ grid-template-columns:1fr; gap:32px; }
}

/* HELM Leadership Framework tag: reusable visual signal wherever a section ties to the Framework */
.framework-tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 18px 7px 14px;
  border:1px solid var(--brass);
  border-radius:30px;
  text-transform:uppercase;
  letter-spacing:0.08em;
  font-size:12px;
  font-weight:700;
  color:var(--brass);
  background:#fff;
  white-space:nowrap;
}
.framework-tag .mini-wheel{ width:14px; height:14px; flex-shrink:0; }
.framework-tag-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:14px;
  margin-top:20px;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 880px){
  .grid{ grid-template-columns:repeat(2, 1fr); }
}

@media (max-width: 1120px){
  .site-nav{
    position:absolute;
    top:76px;
    left:0;
    right:0;
    background:var(--cream);
    border-bottom:1px solid var(--line);
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding:8px 28px 18px;
    display:none;
  }
  .site-nav.open{ display:flex; }
  .site-nav a{
    width:100%;
    padding:12px 0;
    border-bottom:1px solid var(--line);
    border-left:none;
    padding-left:0;
  }
  .site-nav a:last-child{ border-bottom:none; }
  .nav-cta{
    margin-top:10px;
    margin-left:0;
    text-align:center;
  }
  .nav-toggle{ display:flex; }
}

@media (max-width: 720px){
  .hero{ padding:90px 0 70px; }
  .section{ padding:64px 0; }
  .grid{ grid-template-columns:1fr; }
  .footer-inner{ flex-direction:column; align-items:flex-start; }
}
