:root {
  --ink: #172033;
  --text: #2f394d;
  --muted: #657084;
  --navy: #0f1420;
  --navy-2: #182134;
  --paper: #fffdf9;
  --cream: #f7f6f2;
  --soft: #eef3f1;
  --gold: #c9973f;
  --gold-dark: #9c6e23;
  --teal: #297373;
  --ruby: #7a2f3a;
  --line: rgba(23, 32, 51, 0.14);
  --line-dark: rgba(255, 255, 255, 0.14);
  --shadow: 0 20px 44px rgba(15, 20, 32, 0.12);
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Newsreader, Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.58;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid var(--line-dark);
}

.site-header__inner {
  width: min(1180px, calc(100% - 48px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-brand {
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a,
.course-menu summary {
  color: rgba(255, 253, 249, 0.78);
  font-size: 0.93rem;
  text-decoration: none;
  cursor: pointer;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a.is-active,
.course-menu summary:hover,
.course-menu summary:focus {
  color: var(--gold);
}

.course-menu {
  position: relative;
}

.course-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.course-menu summary::-webkit-details-marker {
  display: none;
}

.course-menu summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.course-menu__dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 245px;
  padding: 8px;
  background: #101827;
  border: 1px solid rgba(201, 151, 63, 0.34);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.course-menu:not([open]) .course-menu__dropdown {
  display: none;
}

.course-menu__dropdown a {
  display: block;
  padding: 10px 12px;
}

.site-nav .contact-link {
  padding: 10px 16px;
  border-radius: 4px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
}

.site-nav .contact-link:hover,
.site-nav .contact-link:focus {
  background: #d7aa58;
  color: var(--navy);
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 76px 0;
}

.section--tight {
  padding: 48px 0;
}

.section--dark {
  background: var(--navy);
  color: var(--paper);
}

.section--paper {
  background: var(--paper);
}

.hero {
  background:
    linear-gradient(135deg, rgba(41, 115, 115, 0.24), transparent 34%),
    linear-gradient(120deg, var(--navy), var(--navy-2));
  color: var(--paper);
  overflow: hidden;
}

.hero__grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 56px;
  padding: 72px 0;
}

.hero--compact .hero__grid {
  min-height: 360px;
  grid-template-columns: minmax(0, 1fr);
  padding: 70px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
}

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: 3.8rem;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.35rem;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.lead {
  max-width: 760px;
  margin: 0 0 28px;
  color: rgba(255, 253, 249, 0.84);
  font-size: 1.2rem;
}

.section .lead {
  color: var(--text);
}

.section--dark .lead {
  color: rgba(255, 253, 249, 0.86);
}

.hero__actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.button:hover,
.button:focus {
  background: #d8ad5f;
}

.button--ghost {
  background: transparent;
  color: var(--paper);
}

.button--ghost:hover,
.button--ghost:focus {
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
}

.button--quiet {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold-dark);
}

.button--quiet:hover,
.button--quiet:focus {
  background: transparent;
  color: var(--teal);
}

.portrait-wrap {
  position: relative;
  justify-self: end;
  width: min(100%, 380px);
}

.portrait-wrap::before {
  content: "";
  position: absolute;
  inset: 24px -22px -22px 22px;
  background: var(--gold);
}

.portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border: 10px solid rgba(255, 253, 249, 0.9);
  box-shadow: var(--shadow);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: -42px;
  position: relative;
  z-index: 2;
}

.stat,
.card,
.service-card,
.newsletter-card,
.contact-panel,
.timeline-item,
.credential-list,
.teaching-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(15, 20, 32, 0.06);
}

.stat {
  padding: 26px;
}

.stat__number {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.card,
.newsletter-card,
.teaching-card {
  padding: 28px;
}

.card__kicker,
.service-card__number {
  display: block;
  margin-bottom: 12px;
  color: var(--ruby);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.text-block {
  max-width: 830px;
}

.text-block p {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 1.06rem;
}

.text-accent {
  color: var(--gold);
  font-weight: 800;
}

.quote {
  margin: 30px 0 0;
  padding: 28px;
  border-left: 5px solid var(--gold);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.28;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 22px;
}

.timeline-item time {
  color: var(--teal);
  font-weight: 800;
}

.service-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.service-card {
  padding: 34px;
  scroll-margin-top: 96px;
}

.service-card + .service-card {
  margin-top: 28px;
}

.service-card__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.1fr);
  gap: 34px;
}

.included-list,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.included-list li,
.plain-list li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 24px;
}

.included-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.proof {
  margin-top: 22px;
  padding: 18px;
  border-left: 4px solid var(--teal);
  background: var(--soft);
}

.proof strong {
  color: var(--teal);
}

.credential-list {
  margin: 0;
  padding: 26px 28px;
}

.credential-list li {
  margin-bottom: 12px;
}

.credential-list li:last-child {
  margin-bottom: 0;
}

.teaching-meta {
  color: var(--muted);
  font-weight: 700;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);
  gap: 34px;
  align-items: start;
}

.contact-panel {
  padding: 30px;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  padding: 14px 16px;
  border-radius: 6px;
  background: #e7f2ef;
  color: #154f4f;
  font-weight: 700;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 0;
}

.contact-list div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 4px 0 0;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 253, 249, 0.76);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 36px;
  padding: 54px 0;
}

.site-footer h2,
.site-footer h3 {
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.4;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--gold);
}

.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.copyright {
  margin: 0;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 253, 249, 0.58);
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .site-header__inner {
    width: min(100% - 32px, 1180px);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    display: none;
    max-height: calc(100vh - 74px);
    overflow: auto;
    padding: 22px 24px 32px;
    background: var(--navy);
    border-top: 1px solid var(--line-dark);
  }

  .site-nav.is-open {
    display: grid;
    gap: 18px;
  }

  .course-menu__dropdown {
    position: static;
    margin-top: 10px;
    box-shadow: none;
  }

  .hero__grid,
  .grid-3,
  .grid-2,
  .service-card__grid,
  .contact-layout,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    min-height: 0;
    padding: 56px 0;
  }

  h1 {
    font-size: 3rem;
  }

  .portrait-wrap {
    justify-self: start;
    max-width: 320px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .section {
    padding: 54px 0;
  }

  h1 {
    font-size: 2.3rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .service-card,
  .card,
  .newsletter-card,
  .contact-panel,
  .teaching-card {
    padding: 24px;
  }
}
