:root {
  --purple: #32124f;
  --purple-2: #4b1f73;
  --gold: #c8a24a;
  --cream: #fbf7ef;
  --ink: #1f1b24;
  --muted: #6a6270;
  --white: #ffffff;
  --line: rgba(50, 18, 79, 0.14);
  --shadow: 0 18px 45px rgba(31, 27, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.4rem, 5.8vw, 5rem);
  color: var(--white);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  color: var(--purple);
  margin-bottom: 1rem;
}

h3 {
  color: var(--purple);
  font-size: 1.28rem;
}

p {
  margin-top: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(251, 247, 239, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}

.navbar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.9rem 1.4rem;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--purple);
  font-weight: bold;
  text-decoration: none;
  font-size: 1.08rem;
  line-height: 1.1;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: fit-content;
}

.nav-links {
  display: flex;
  gap: 0.7rem 1rem;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--purple);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--purple);
  color: var(--white);
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 5rem 1.25rem;
}

.hero {
  max-width: none;
  min-height: 82vh;
  padding: 7rem max(1.25rem, calc((100vw - 1180px) / 2)) 5rem;
  display: grid;
  grid-template-columns: 1.5fr 0.85fr;
  gap: 2rem;
  align-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(200, 162, 74, 0.22), transparent 28%),
    linear-gradient(135deg, var(--purple), #1b082e 78%);
}

.hero-subtitle {
  max-width: 760px;
  color: rgba(255,255,255,0.88);
  font-size: 1.2rem;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 0.8rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  color: var(--white);
  font-size: 1.8rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--gold);
  color: var(--purple);
}

.btn.secondary {
  background: var(--white);
  color: var(--purple);
}

.btn.ghost {
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
}

.two-column {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem;
  align-items: start;
}

.info-box, .card, .portfolio-card, .contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(31, 27, 36, 0.07);
}

.info-box {
  border-top: 5px solid var(--gold);
}

.grid {
  display: grid;
  gap: 1.25rem;
}

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

.card p, .portfolio-card p, .timeline-item p, .education-list p {
  color: var(--muted);
}

.meta {
  color: var(--gold) !important;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.teaching-philosophy {
  background: var(--white);
  max-width: none;
  padding-left: max(1.25rem, calc((100vw - 1180px) / 2));
  padding-right: max(1.25rem, calc((100vw - 1180px) / 2));
}

.philosophy-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.section-intro {
  max-width: 850px;
  color: var(--muted);
}

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

.portfolio-card {
  position: relative;
  overflow: hidden;
}

.portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--gold);
}

.tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  background: rgba(200, 162, 74, 0.16);
  color: var(--purple);
  border: 1px solid rgba(200, 162, 74, 0.35);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 800;
}

.safeguarding {
  background:
    linear-gradient(135deg, rgba(50, 18, 79, 0.95), rgba(75, 31, 115, 0.95));
  max-width: none;
  color: var(--white);
  padding-left: max(1.25rem, calc((100vw - 1180px) / 2));
  padding-right: max(1.25rem, calc((100vw - 1180px) / 2));
}

.safeguarding h2,
.safeguarding h3 {
  color: var(--white);
}

.safeguarding p {
  color: rgba(255,255,255,0.86);
}

.safeguarding .card {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.18);
}

.timeline {
  display: grid;
  gap: 1rem;
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
}

.timeline-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem;
}

.education-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.education-list > div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.25rem;
}

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.skill-cloud span {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--purple);
  font-weight: 800;
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  box-shadow: 0 8px 20px rgba(31, 27, 36, 0.05);
}

.contact-section {
  text-align: center;
}

.contact-card {
  max-width: 760px;
  margin: 1.5rem auto 0;
  text-align: left;
}

.contact-card a {
  color: var(--purple);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.site-footer {
  background: var(--purple);
  color: rgba(255,255,255,0.82);
  text-align: center;
  padding: 2rem 1rem;
}

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

@media (max-width: 900px) {
  .hero,
  .two-column,
  .philosophy-list,
  .portfolio-grid,
  .education-list,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 5rem;
  }

  .navbar {
    grid-template-columns: 1fr auto;
  }

  .brand {
    white-space: normal;
    max-width: 220px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: var(--white);
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-block;
    justify-self: end;
  }

  h1 {
    font-size: 2.6rem;
  }

  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}


.publication-section .publication-layout {
  align-items: stretch;
}

.publication-link a {
  color: var(--purple);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid rgba(200, 162, 74, 0.45);
  padding-bottom: 0.1rem;
}

.publication-link a:hover {
  color: var(--gold);
}



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

.leadership-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(31, 27, 36, 0.07);
  position: relative;
  overflow: hidden;
}

.leadership-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--purple);
}

.leadership-card p {
  color: var(--muted);
}

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



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

.cert-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(31, 27, 36, 0.07);
}

.cert-card h3 {
  font-size: 1.15rem;
}

.cert-card p {
  color: var(--muted);
}

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

@media (max-width: 700px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }
}



.credential-group {
  margin-top: 2.5rem;
}

.credential-group h3 {
  border-left: 5px solid var(--gold);
  padding-left: 0.8rem;
  margin-bottom: 1rem;
}

.cert-card h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--purple);
  font-size: 1.08rem;
  margin: 0 0 0.6rem;
  line-height: 1.2;
}

.cert-card a {
  display: inline-block;
  color: var(--purple);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid rgba(200, 162, 74, 0.45);
  padding-bottom: 0.08rem;
  margin-top: 0.4rem;
}

.cert-card a:hover {
  color: var(--gold);
}

.evidence-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(31, 27, 36, 0.07);
}



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

.featured-card,
.training-card,
.mini-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(31, 27, 36, 0.07);
}

.featured-card {
  position: relative;
  overflow: hidden;
}

.featured-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--gold);
}

.featured-card p,
.training-card p,
.mini-card p {
  color: var(--muted);
}

.featured-card a,
.training-card a {
  display: inline-block;
  color: var(--purple);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid rgba(200, 162, 74, 0.45);
  padding-bottom: 0.08rem;
  margin-top: 0.4rem;
}

.featured-card a:hover,
.training-card a:hover {
  color: var(--gold);
}

.training-category {
  margin-top: 2.5rem;
}

.training-category > h3 {
  border-left: 5px solid var(--gold);
  padding-left: 0.8rem;
  margin-bottom: 1rem;
}

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

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

.training-card h4,
.mini-card h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--purple);
  font-size: 1.12rem;
  margin: 0 0 0.6rem;
  line-height: 1.2;
}

@media (max-width: 1100px) {
  .featured-grid,
  .training-strength-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

@media (max-width: 700px) {
  .featured-grid,
  .training-strength-grid {
    grid-template-columns: 1fr;
  }
}



.inline-download {
  display: inline-block;
  color: var(--purple);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid rgba(200, 162, 74, 0.45);
  padding-bottom: 0.08rem;
}

.inline-download:hover {
  color: var(--gold);
}



/* v9 header refinement */
.site-header {
  overflow: visible;
}

.brand {
  letter-spacing: 0.01em;
}

.nav-links {
  row-gap: 0.55rem;
}

.nav-links a {
  padding: 0.1rem 0;
}

/* Switch to compact menu earlier so the header never feels crowded */
@media (max-width: 1320px) {
  .navbar {
    grid-template-columns: 1fr auto;
  }

  .brand {
    white-space: nowrap;
    max-width: none;
    font-size: 1.1rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: var(--white);
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    z-index: 100;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-block;
    justify-self: end;
  }
}

/* Keep the smaller-screen behavior clean too */
@media (max-width: 900px) {
  .navbar {
    grid-template-columns: 1fr auto;
  }

  .brand {
    white-space: normal;
    max-width: 220px;
  }
}


/* v11 cleaner header: fewer visible links, one-line desktop nav */
@media (min-width: 1051px) {
  .navbar {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 2rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  .brand {
    white-space: nowrap;
    font-size: 1.08rem;
    max-width: none;
  }

  .nav-links {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 1.15rem;
    background: transparent;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .nav-links a {
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .menu-toggle {
    display: none !important;
  }
}

@media (max-width: 1050px) {
  .navbar {
    grid-template-columns: 1fr auto;
  }

  .brand {
    white-space: normal;
    max-width: 260px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: var(--white);
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    z-index: 100;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-block;
    justify-self: end;
  }
}
