/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* type scale */
  --t-page:  36px;
  --t-cat:   18px;
  --t-sub:   14px;
  --t-intro: 18px;
  --t-body:  15px;
  --t-small: 13px;

  --lh-tight: 1.2;
  --lh-body:  1.7;

  --max: 1180px;
  --pad: clamp(20px, 5vw, 60px);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--t-body);
  font-weight: 300;
  color: var(--text-body, var(--dark));
  background: var(--white);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #f8f8f8;
  height: 166px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 79px var(--pad) 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  overflow: visible;
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  margin: 0 24px;
  flex-shrink: 0;
  position: relative;
  z-index: 1001;
  width: clamp(180px, 18vw, 290px);
  height: clamp(180px, 18vw, 290px);
  top: -70px;
}
.nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nav-logo-text {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cello, #1a4a4a);
  white-space: nowrap;
}
.nav-logo-text span { color: var(--light); font-weight: 300; }

.nav-links {
  display: flex;
  gap: clamp(16px, 2.3vw, 45px);
  list-style: none;
  align-items: flex-start;
}
.nav-links a {
  color: var(--cello, #1a4a4a);
  text-decoration: none;
  font-size: clamp(10px, 1.04vw, 20px);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: color .2s;
  cursor: pointer;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text-primary, #0d9488); opacity: 0.7; }
.nav-links a.active {
  color: var(--cello, #1a4a4a);
  font-weight: 700;
  position: relative;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: calc(166px - 79px - 8px);
  height: 3px;
  background: var(--cello, #0d9488);
}

.nav-right {
  display: flex;
  align-items: center;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 40px);
  margin-left: clamp(16px, 2.3vw, 45px);
}
.nav-social-link {
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}
.nav-social-link:hover { opacity: 0.7; }
.nav-social-link img {
  width: 20px;
  height: 20px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--cello, #0d9488);
  transition: .3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 166px; left: 0; right: 0;
  background: #ffffff;
  z-index: 999;
  padding: 20px var(--pad);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  color: var(--cello, #1a4a4a);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.active { color: var(--cello, #0d9488); font-weight: 800; }

/* ── Hero ── */
.hero {
  position: relative;
  width: 100%;
  min-height: 400px;
  height: calc(700 / 1920 * 100vw);
  max-height: 60vh;
  margin-top: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-top: 0;
  padding-bottom: 6%;
}

.hero-img {
  position: absolute;
  inset: 0;
  background: var(--dark);
  z-index: 0;
}

/* Procedural hero patterns via CSS – unique per page */
.hero-home .hero-img {
  background-image:
    linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.15) 100%),
    url('/images/hero-home.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-home .hero-img::before { display: none; }

.hero-about .hero-img {
  background-color: #1a1a1a;
  background-image:
    linear-gradient(0deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.1) 100%),
    url('/images/hero-about.webp');
  background-position: 40% 25%;
  background-size: cover;
}
.hero-about .hero-img::before { display: none; }

.hero-cra .hero-img {
  background-image:
    linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.1) 100%),
    url('/images/hero-cra.webp');
  background-position: center center;
  background-size: cover;
}
.hero-cra .hero-img::before { display: none; }

.hero-contact .hero-img {
  background-image:
    linear-gradient(0deg, rgba(0, 0, 0, 0.50) 20%, rgba(0, 0, 0, 0.15) 70%),
    url('/images/hero-contact.webp');
  background-position: center 0%;
  background-size: cover;
}
.hero-contact .hero-img::before { display: none; }

.hero-regulatory .hero-img {
  background-image:
    linear-gradient(0deg, rgba(0, 0, 0, 0.50) 20%, rgba(0, 0, 0, 0.15) 70%),
    url('/images/hero-regulatory.webp');
  background-position: 35% 40%;
  background-size: cover;
}
.hero-regulatory .hero-img::before { display: none; }

.hero-pld .hero-img {
  background-image:
    linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.35) 100%),
    url('/images/hero-pld.webp');
  background-position: center 20%;
  background-size: 85%;
}
.hero-pld .hero-img::before { display: none; }

.hero-events .hero-img {
  background-image:
    linear-gradient(0deg, rgba(0, 0, 0, 0.40) 20.9%, rgba(0, 0, 0, 0.00) 69.68%),
    url('/images/hero-events.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-events .hero-img::before { display: none; }

.hero-sponsor .hero-img {
  background-image:
    linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.35) 100%),
    url('/images/hero-sponsor.webp');
  background-position: center center;
  background-size: cover;
}
.hero-sponsor .hero-img::before { display: none; }

.hero-shop .hero-img {
  background-image:
    linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.1) 100%),
    url('/images/hero-shop.webp');
  background-position: center calc(50% + 110px);
  background-size: cover;
}
.hero-shop .hero-img::before { display: none; }

.hero-blog .hero-img {
  background-image:
    linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.1) 100%),
    url('/images/hero-blog.webp');
  background-position: center center;
  background-size: cover;
}
.hero-blog .hero-img::before { display: none; }

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 0 var(--pad);
  max-width: var(--max, 1180px);
  width: 100%;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: clamp(24px, 2.5vw, 42px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-content .hero-sub {
  font-size: clamp(14px, 1.2vw, 20px);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 24px;
}

.hero-cta {
  display: inline-flex;
  height: 64px;
  padding: 25px 32px;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: 2px solid #FFFFFF;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  border: 2px solid var(--accent, #e8943a);
  box-sizing: border-box;
}
.hero-cta:hover { opacity: 0.9; }
.hero-cta + .hero-cta {
  margin-left: 24px;
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}
.hero-cta + .hero-cta:hover { background: rgba(255,255,255,0.1); border-color: #ffffff; color: #ffffff; }

/* ── Layout ── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

section { padding: 64px 0; }
section + section { border-top: none; }

/* ── Video placeholder ── */
.video-block {
  margin: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}

.video-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 20px;
}

.video-placeholder {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  gap: 16px;
  cursor: pointer;
  transition: background .2s;
  position: relative;
  overflow: hidden;
}
.video-placeholder:hover { background: var(--mid); }

.video-play {
  width: 64px; height: 64px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-play::after {
  content: '';
  width: 0; height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid #2d2d2d;
  margin-left: 4px;
}
.video-caption {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  text-align: center;
  max-width: 340px;
  line-height: 1.6;
}

/* ── Typography helpers ── */
.section-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent, var(--grey));
  margin-bottom: 12px;
}

h2 {
  font-size: var(--t-cat);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: var(--lh-tight);
  color: var(--text-primary, var(--black));
  margin-bottom: 20px;
}

h3 {
  font-size: var(--t-sub);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-primary, var(--black));
  margin-bottom: 10px;
  margin-top: 32px;
}
h3:first-child { margin-top: 0; }

.intro-text {
  font-size: var(--t-intro);
  font-weight: 300;
  line-height: 1.6;
  color: var(--mid);
  margin-bottom: 32px;
  max-width: 720px;
}

p { margin-bottom: 16px; color: var(--mid); }
p:last-child { margin-bottom: 0; }

/* Don't bleed page styles into third-party chat widget */
[id^="resolve247"] p,
[class*="resolve247"] p {
  color: revert;
  margin-bottom: revert;
}

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.card {
  border: 1px solid var(--border);
  padding: 32px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 6px;
  transition: border-color .2s, box-shadow .2s;
  box-shadow: 0 2px 12px rgba(102, 51, 153, 0.08);
}
.card:hover { border-color: var(--accent, var(--dark)); box-shadow: 0 4px 24px rgba(102, 51, 153, 0.12); }

.card h3 { margin-top: 0; }
.card p { flex: 1; font-size: 14px; }

.btn {
  display: inline-block;
  margin-top: 24px;
  padding: 10px 22px;
  border: 1px solid var(--accent, var(--dark));
  color: var(--accent, var(--dark));
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
  align-self: flex-start;
  border-radius: 6px;
}
.btn:hover { background: var(--accent, var(--dark)); color: var(--text-light, var(--white)); border-color: var(--accent, var(--dark)); }
.btn-primary {
  background: var(--accent, var(--dark));
  color: var(--text-light, var(--white));
  border-color: var(--accent, var(--dark));
}
.btn-primary:hover { background: var(--accent-hover, var(--black)); border-color: var(--accent-hover, var(--black)); }

/* ── Two-col layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ── Timeline ── */
.timeline { margin-top: 32px; }
.timeline-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.timeline-item:first-child { padding-top: 0; }
.timeline-date {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent, var(--black));
  white-space: nowrap;
  min-width: 160px;
  padding-top: 2px;
}
.timeline-content h3 { margin-top: 0; font-size: 13px; }
.timeline-content p { font-size: 14px; margin-bottom: 0; }

/* ── Course cards ── */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.course-card {
  border: 1px solid var(--border);
  padding: 28px;
  transition: border-color .2s, box-shadow .2s;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(102, 51, 153, 0.08);
}
.course-card:hover { border-color: var(--accent, var(--dark)); box-shadow: 0 4px 24px rgba(102, 51, 153, 0.12); }
.course-card h3 { margin-top: 0; margin-bottom: 14px; }
.course-meta {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.course-meta span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--grey);
  text-transform: uppercase;
}

/* ── Bio cards ── */
.bio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.bio-card {
  border: 1px solid var(--border);
  overflow: hidden;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(102, 51, 153, 0.08);
}
.bio-photo {
  width: 100%;
  height: 200px;
  background: var(--pale);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  gap: 8px;
}
.bio-photo-circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--light);
  border: 2px solid var(--border);
}
.bio-photo-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}
.bio-body { padding: 28px; }
.bio-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary, var(--black));
  margin-bottom: 4px;
}
.bio-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent, var(--grey));
  margin-bottom: 18px;
}
.bio-body p { font-size: 13.5px; line-height: 1.7; }

/* ── Feature row ── */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  margin-top: 32px;
}
.feature-item {
  padding: 32px;
  border-right: 1px solid var(--border);
}
.feature-item:last-child { border-right: none; }
.feature-item h3 { margin-top: 0; }
.feature-item p { font-size: 14px; }

/* ── Contact cards ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  margin-top: 32px;
}
.contact-card {
  padding: 32px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.contact-card h3 { margin-top: 0; }
.contact-card a {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent, var(--black));
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: border-color .2s, color .2s;
}
.contact-card a:hover { border-color: var(--accent-hover, var(--black)); color: var(--accent-hover, var(--black)); }

/* ── Regulatory outline ── */
.reg-block {
  border-left: 3px solid var(--light);
  padding: 12px 0 12px 24px;
  margin: 20px 0;
}
.reg-block h3 { margin-top: 0; }
.reg-list {
  list-style: none;
  padding: 0;
  margin-top: 12px;
}
.reg-list li {
  font-size: 14px;
  color: var(--mid);
  padding: 8px 0;
  border-bottom: 1px solid var(--pale);
  padding-left: 12px;
  position: relative;
}
.reg-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--light);
}

/* ── Event cards ── */
.event-card {
  border: 1px solid var(--border);
  margin-bottom: 24px;
  transition: border-color .2s, box-shadow .2s;
  overflow: hidden;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(102, 51, 153, 0.08);
}
.event-card:hover { border-color: var(--accent, var(--dark)); box-shadow: 0 4px 24px rgba(102, 51, 153, 0.12); }
.event-card h3 { margin-top: 0; }
.event-card-body { padding: 32px; }
.event-img {
  width: 100%;
  aspect-ratio: 16/7;
  background: var(--pale);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.event-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(0,0,0,0.03) 20px,
    rgba(0,0,0,0.03) 21px
  );
}
.event-img-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
  position: relative;
  z-index: 1;
}
.event-img-caption {
  font-size: 13px;
  color: var(--light);
  position: relative;
  z-index: 1;
}
.event-date {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent, var(--grey));
  margin-bottom: 12px;
}

/* ── Speaking topics ── */
.topic-list {
  list-style: none;
  padding: 0;
  margin-top: 16px;
}
.topic-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--mid);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.topic-list li::before {
  content: '';
  display: block;
  width: 4px; height: 4px;
  background: var(--grey);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

/* ── CTA band ── */
.cta-band {
  background: var(--black);
  color: var(--white);
  padding: 64px var(--pad);
  text-align: center;
}
.cta-band h2 { color: var(--white); font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.75); margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .btn { background: var(--accent, rgba(255,255,255,0.1)); border-color: var(--accent, rgba(255,255,255,0.4)); color: var(--text-light, var(--white)); }
.cta-band .btn:hover { background: var(--accent-hover, var(--white)); color: var(--text-light, var(--black)); border-color: var(--accent-hover, var(--white)); }

/* ── Footer ── */
footer {
  background: #1a1a1a;
  color: var(--grey);
  padding: 120px 106px;
  height: 537px;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand {
  display: grid;
  grid-template-columns: 154px auto;
  grid-template-rows: auto auto auto;
  column-gap: 19px;
  row-gap: 0;
  align-content: start;
}
.footer-brand-name {
  grid-column: 2;
  grid-row: 1;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-logo {
  grid-column: 1;
  grid-row: 1 / -1;
  margin-bottom: 0;
  align-self: start;
  margin-top: -8px;
}
.footer-logo img {
  display: block;
  width: 154px;
  height: 170px;
  object-fit: contain;
}
.footer-brand p {
  grid-column: 2;
  grid-row: 2;
  font-size: 18px;
  line-height: 26px;
  color: #FFFFFF !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}
.footer-social {
  grid-column: 2;
  grid-row: 3;
  display: flex;
  gap: 22px;
  margin-top: 16px;
}
.footer-social-link {
  display: flex;
  align-items: center;
  opacity: 1;
  transition: opacity 0.2s;
}
.footer-social-link:hover { opacity: 0.7; }
.footer-social-link img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}
.footer-col h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  font-size: 20px;
  line-height: 38px;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 0;
  cursor: pointer;
  transition: color .2s;
  white-space: nowrap;
}
.footer-col a:hover { color: var(--accent, var(--white)); }
.footer-bottom {
  max-width: var(--max);
  margin: 28px auto 0;
  text-align: center;
  width: 100%;
}
.footer-copy,
.footer-legal {
  font-size: 17px;
  font-weight: 400;
  line-height: 32px;
  color: #FFFFFF !important;
  text-align: center;
  opacity: 0.6;
  display: block;
}
.footer-legal a {
  color: #FFFFFF !important;
  text-decoration: none;
}
.footer-legal a:hover {
  text-decoration: underline;
}

/* ── Divider ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}


/* ── Responsive ── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-right { display: none; }
  .nav-social { display: none; }
  .hamburger {
    display: flex;
    position: absolute;
    right: 16px;
    top: 11px;
  }
  nav {
    background: #FFFFFF;
    border-bottom: none;
    height: 61px;
    padding: 0 var(--pad);
    justify-content: center;
    align-items: center;
  }
  .nav-logo {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    top: 20px;
  }
  .nav-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .mobile-menu {
    top: 61px;
  }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-item { border-right: none; border-bottom: 1px solid var(--border); }
  .feature-item:last-child { border-bottom: none; }
  footer {
    height: auto;
    padding: 48px 24px 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-logo {
    grid-column: auto;
    grid-row: auto;
    margin-top: 0;
    margin-bottom: 12px;
    align-self: center;
  }
  .footer-logo img {
    width: 80px;
    height: 88px;
    margin: 0 auto;
  }
  .footer-brand-name {
    grid-column: auto;
    grid-row: auto;
    font-size: 24px;
  }
  .footer-brand p {
    grid-column: auto;
    grid-row: auto;
    color: #FFFFFF !important;
  }
  .footer-social {
    grid-column: auto;
    grid-row: auto;
    justify-content: center;
  }
  .footer-col {
    text-align: center;
  }
  .footer-col h3 {
    margin-bottom: 16px;
  }
  .footer-col a {
    display: inline;
    font-size: 20px;
    line-height: 38px;
    white-space: normal;
  }
  .footer-col a + a::before {
    content: "  |  ";
  }
  .footer-col a:last-child {
    display: block;
  }
  .footer-col a:last-child::before {
    content: none;
  }
  .footer-bottom {
    text-align: center;
    gap: 0;
    display: block;
  }
  .footer-copy,
  .footer-legal {
    font-size: 14px;
    line-height: 20px;
    display: inline;
  }
  .timeline-date { min-width: 120px; font-size: 11px; }
}

/* Tablet hero — phone aspect-ratios are too tall above 768px */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    max-height: 60vh;
  }
}

@media (max-width: 1280px) and (min-width: 601px) {
  footer {
    height: auto;
    padding: 80px clamp(24px, 5.5vw, 80px) 40px;
  }
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    grid-template-columns: 154px 1fr;
  }
  .footer-col h3 {
    font-size: 20px;
    margin-bottom: 16px;
  }
  .footer-col a {
    font-size: 16px;
    line-height: 32px;
  }
}

@media (max-width: 600px) {
  :root { --pad: 20px; }
  .hero { height: auto; min-height: 280px; max-height: 50vh; padding: 0 32px 28px; }
  .hero-content h1 { font-size: 22px; }
  .card-grid, .bio-grid, .course-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .timeline-item { flex-direction: column; gap: 8px; }
}

/* ── Utility ── */
.text-grey { color: var(--grey); }
.mb-0 { margin-bottom: 0; }
.mt-32 { margin-top: 32px; }
.mt-16 { margin-top: 16px; }

/* ── Accessibility ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 8px 16px;
  background: var(--dark, #2d2d2d);
  color: var(--white, #fff);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
}
.skip-link:focus {
  top: 0;
}

button:where([class*="video-play"]) {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
}

:focus-visible {
  outline: 2px solid var(--accent, #e8943a);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
