/*
Theme Name: Alpha Experiential
Theme URI: https://alphaexperiential.com
Author: Alpha Experiential
Author URI: https://alphaexperiential.com
Description: Custom theme for Alpha Experiential — Experiential Learning. Designed with Intent.
Version: 1.0.0
License: Private
Text Domain: alpha-experiential
*/

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: #f7f5f1;
  color: #1a1a18;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── TOKENS ── */
:root {
  --bg: #f7f5f1;
  --ink: #1a1a18;
  --ink-soft: #3d3d3a;
  --ink-lighter: #9a9a96;
  --red: #c0392b;
  --red-hover: #a93226;
  --rule: #dddbd6;
  --section-gap: 120px;
  --content-width: 780px;
  --wide-width: 1060px;
  --nav-height: 64px;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
}
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 2rem; }
h3 { font-size: 1.1rem; font-family: 'DM Sans', sans-serif; font-weight: 600; margin-bottom: 0.6rem; }
p { font-size: 1.05rem; line-height: 1.9; color: var(--ink-soft); font-weight: 400; }
p + p { margin-top: 1.1em; }

/* ── LAYOUT ── */
.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.container--wide {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 2rem;
}
section { padding: var(--section-gap) 0; }

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-height);
  background: rgba(247,245,241,0.97);
  border-bottom: 1px solid transparent;
  display: flex; align-items: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}
#nav.scrolled {
  border-color: var(--rule);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: var(--wide-width);
  margin: 0 auto; padding: 0 2rem;
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo-wrap {
  display: flex; align-items: center; gap: 0.6rem; text-decoration: none;
}
.nav-logo-img { height: 34px; width: auto; display: block; }
.nav-logo {
  font-family: 'DM Sans', sans-serif; font-weight: 600;
  font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
}
.nav-links {
  display: flex; gap: 2.8rem; list-style: none;
}
.nav-links a {
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.03em;
  color: var(--ink-soft); text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); border-color: var(--red); }

/* hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 1.5px; background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile menu */
#mobile-menu {
  display: none; position: fixed; top: var(--nav-height); left: 0; right: 0;
  background: var(--bg); z-index: 190;
  border-bottom: 1px solid var(--rule);
  padding: 2rem;
  flex-direction: column; gap: 1.6rem;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  font-size: 1rem; font-weight: 500; color: var(--ink-soft);
  text-decoration: none; letter-spacing: 0.03em;
}
#mobile-menu a:hover { color: var(--red); }

/* ── HERO ── */
#hero {
  height: 82vh; min-height: 500px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  margin-top: var(--nav-height);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.6);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.50) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 640px; padding: 0 2rem;
}
.hero-latin {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,0.85);
  margin-bottom: 0.5rem;
}
.hero-tagline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 400; font-style: italic;
  color: rgba(255,255,255,0.8); margin-bottom: 2.2rem;
}
.hero-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400; line-height: 1.2;
  color: #ffffff; margin-bottom: 2.8rem;
}
.cta-link {
  font-size: 0.88rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #ffffff; text-decoration: none;
  border-bottom: 1.5px solid rgba(255,255,255,0.7);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.cta-link:hover { color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.5); }
.cta-link::after { content: ' →'; }

/* ── SHARED SECTION ELEMENTS ── */
.section-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-lighter);
  display: block; margin-bottom: 1.4rem;
}
.lead {
  font-size: 1.15rem; font-style: italic;
  font-family: 'DM Serif Display', serif;
  color: var(--ink); line-height: 1.6;
  margin-bottom: 1.8rem;
}
.rule { border: none; border-top: 1px solid var(--rule); margin: 0; }

/* ── SECTION IMAGES ── */
.section-image-wrap {
  padding: 0 1.5in;
  margin-bottom: 3rem;
  box-sizing: border-box;
}
.section-image-wrap img {
  width: 100%; height: 260px;
  object-fit: cover;
  display: block;
}

/* ── HOW WE WORK ── */
.non-negotiables { margin-top: 3rem; display: flex; flex-direction: column; gap: 1.2rem; }
.nn-item {
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--red);
  background: rgba(0,0,0,0.025);
  display: flex; gap: 1.2rem; align-items: flex-start;
}
.nn-number {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem; font-weight: 400;
  color: var(--red); opacity: 0.35;
  line-height: 1; flex-shrink: 0; margin-top: 0.1rem;
  min-width: 1.4rem;
}
.nn-item h3 { color: var(--ink); font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.closing-lines { margin-top: 3rem; }
.closing-lines p {
  font-family: 'DM Serif Display', serif;
  font-style: italic; font-size: 1rem;
  color: var(--ink-soft); line-height: 2;
}

/* ── WHAT WE DO ── */
.programs { margin-top: 3rem; display: flex; flex-direction: column; gap: 0; }
.program-item {
  padding: 2.2rem 0;
  border-top: 1px solid var(--rule);
}
.program-item:last-child { border-bottom: 1px solid var(--rule); }
.program-item h3 {
  font-size: 1.05rem; font-weight: 600; margin-bottom: 0.6rem; color: var(--ink);
  display: flex; align-items: center; gap: 0.85rem;
}

/* ── LEADERSHIP ── */
.leadership-heading { margin-bottom: 2.5rem; }
.leadership-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 4rem;
  align-items: start;
}
.portrait-placeholder {
  background: #e8e5e0;
  overflow: hidden; position: relative;
  height: 320px; width: 100%;
}
.portrait-placeholder img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block;
}
.leadership-col { display: flex; flex-direction: column; }
.credential-list { display: flex; flex-direction: column; justify-content: space-between; flex: 1; margin-top: 1.2rem; gap: 0; }
.credential-item { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.credential-item:last-child { border-bottom: none; }
.credential-item p { font-size: 0.82rem; font-weight: 500; color: var(--ink); margin: 0; line-height: 1.5; }
.leadership-bio {}
.bio-bullets {
  margin-top: 2rem;
  list-style: none;
  display: flex; flex-direction: column; gap: 0.8rem;
}
.bio-bullets li {
  font-size: 0.95rem; line-height: 1.7;
  color: var(--ink-soft);
  padding-left: 1.4rem;
  position: relative;
}
.bio-bullets li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--red); font-weight: 300;
}

/* ── ENGAGE ── */
.engage-email {
  display: inline-block; margin-top: 2rem;
  font-size: 1.15rem; font-weight: 500;
  color: var(--ink); text-decoration: none;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.engage-email:hover { color: var(--red); border-color: var(--red); }
.engage-phone {
  font-size: 1rem; font-weight: 500; color: var(--ink);
  text-decoration: none; transition: color 0.2s;
  display: inline-block;
}
.engage-phone:hover { color: var(--red); }
.engage-note {
  margin-top: 1.2rem;
  font-size: 0.88rem; color: var(--ink-lighter); font-style: italic;
}
.engage-contact-group { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1.6rem; }

/* ── FRAMEWORK ── */
.framework-intro {
  max-width: 640px;
  color: var(--ink-soft);
  margin-bottom: 3.5rem;
  font-size: 1rem;
  line-height: 1.85;
}
.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule);
  position: relative;
}
.pillar-card:nth-child(7) { grid-column: 2; }
.pillar-card:nth-child(n+4) { border-top: 1px solid var(--rule); }
.pillar-card:nth-child(3n+2), .pillar-card:nth-child(3n+3) { border-left: 1px solid var(--rule); }
.pillar-card {
  background: var(--bg);
  padding: 2.2rem 2rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  transition: background 0.2s;
}
.pillar-card:hover { background: #f0ede8; }
.pillar-icon { margin-bottom: 0.3rem; }
.pillar-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1rem; font-weight: 400;
  color: var(--ink); line-height: 1.35; margin: 0;
}
.pillar-desc {
  font-size: 0.84rem; color: var(--ink-soft);
  line-height: 1.75; margin: 0; flex: 1;
}
.pillar-focus { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.4rem; }
.pillar-focus span {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: #c0392b;
  border: 1px solid rgba(192,57,43,0.25);
  padding: 0.2rem 0.6rem; border-radius: 2px;
}

/* ── FOOTER ── */
footer { border-top: 1px solid var(--rule); padding: 3rem 0 2.5rem; }
.footer-inner {
  max-width: var(--wide-width);
  margin: 0 auto; padding: 0 2rem;
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 2rem;
}
.footer-logo-img { height: 52px; width: auto; display: block; margin-bottom: 0.8rem; }
.footer-latin {
  font-family: 'DM Serif Display', serif;
  font-style: italic; font-size: 0.88rem;
  color: var(--ink-soft); line-height: 1.6;
}
.footer-latin span { font-style: normal; font-family: 'DM Sans', sans-serif; font-size: 0.82rem; color: #9a9a96; }
.footer-right { text-align: right; }
.footer-right a { display: block; font-size: 0.88rem; color: var(--ink-soft); text-decoration: none; margin-bottom: 0.3rem; }
.footer-right a:hover { color: var(--red); }
.footer-right p { font-size: 0.88rem; color: var(--ink-soft); }
.footer-copy {
  max-width: var(--wide-width); margin: 2.5rem auto 0;
  padding: 1.4rem 2rem 0;
  border-top: 1px solid var(--rule);
  font-size: 0.78rem; color: var(--ink-lighter);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .framework-grid { grid-template-columns: repeat(2, 1fr); }
  /* Reset 3-col rules, apply 2-col borders */
  .pillar-card:nth-child(7) { grid-column: auto; }
  .pillar-card:nth-child(3n+2),
  .pillar-card:nth-child(3n+3) { border-left: none; }
  .pillar-card:nth-child(n+4) { border-top: none; }
  .pillar-card:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .pillar-card:nth-child(2n) { border-left: 1px solid var(--rule); }
}
@media (max-width: 768px) {
  :root { --section-gap: 80px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .leadership-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    display: flex;
    flex-direction: column;
  }
  /* Mobile order: heading first (inside bio), then photo+bullets, then bio text */
  .leadership-col { order: 1; }
  .leadership-bio { order: 2; }  .portrait-placeholder { max-width: 100%; height: 280px; }
  .footer-right { text-align: left; }
  .section-image-wrap { padding: 0 1rem; }
}
@media (max-width: 560px) {
  /* 1-col: reset all nth-child border rules */
  .framework-grid { grid-template-columns: 1fr; }
  .pillar-card:nth-child(n+3) { border-top: none; }
  .pillar-card:nth-child(2n) { border-left: none; }
  .pillar-card:nth-child(n+2) { border-top: 1px solid var(--rule); }
  .pillar-card { padding: 1.6rem 1.2rem; }
}
