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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: #111;
  background-color: #fff;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  border-bottom: 1px solid #e0e0e0;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
}

.site-logo {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-main {
  padding-bottom: 3rem;
}

.site-footer {
  border-top: 1px solid #e0e0e0;
  padding: 1.5rem 0;
  font-size: 0.875rem;
  color: #555;
}

.footer-inner {
  text-align: center;
}

.site-nav {
  display: none;
}

.nav-list {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0 0.4rem;
  border-bottom: 1px solid transparent;
  display: block;
}

.nav-link:hover {
  border-bottom-color: #111;
}

.nav-link--active {
  border-bottom-color: #111;
}

.nav-toggle {
  border: 1px solid #111;
  background: #fff;
  padding: 0.45rem 0.55rem;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 18px;
  height: 1.5px;
  background-color: #111;
}

.site-header.is-open .site-nav {
  display: block;
}

.site-header.is-open .nav-list {
  flex-direction: column;
  padding-top: 0.75rem;
  padding-bottom: 0.5rem;
}

.hero {
  padding: 3rem 0 2.5rem;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 0.25rem;
}

.hero-title {
  font-size: 2.25rem;
  margin-bottom: 0.25rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 1rem;
}

.hero-text {
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-image-wrapper {
  max-width: 220px;
  margin: 0 auto;
}

.hero-image {
  border-radius: 999px;
  border: 2px solid #111;
}

.page-header {
  border-bottom: 1px solid #e0e0e0;
  padding: 2.5rem 0 1.5rem;
  margin-bottom: 1.5rem;
}

.page-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.page-intro {
  max-width: 34rem;
  color: #444;
}

.section {
  padding: 2rem 0;
}

.section + .section {
  border-top: 1px solid #f0f0f0;
}

.section h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #111;
  display: inline-block;
}

.two-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.simple-list {
  list-style: disc;
  padding-left: 1.25rem;
}

.text-link {
  text-decoration: underline;
}

.education-link {
  margin-top: 0.75rem;
}

.entries {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.entry-title {
  font-size: 1.05rem;
  font-weight: 600;
}

.entry-meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.entry-description {
  color: #333;
}

.entry-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: 0.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 1px solid #111;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background-color: transparent;
}

.btn--primary {
  background-color: #111;
  color: #fff;
}

.btn--primary:hover {
  background-color: #000;
}

.btn--ghost:hover {
  background-color: #111;
  color: #fff;
}

.cert-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.cert-card {
  border: none;
  padding: 0;
  min-height: 260px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  text-align: center;
}

.cert-placeholder {
  font-size: 0.9rem;
  color: #666;
}

.cert-embed {
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
  min-height: 260px;
  border: 0;
}

.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-form-embed {
  border: 1px solid #e0e0e0;
  min-height: 360px;
  padding: 1rem;
}

.form-placeholder {
  font-size: 0.9rem;
  color: #666;
}

.contact-aside h2 {
  margin-bottom: 0.5rem;
}

.contact-links a {
  text-decoration: underline;
  color: #111;
}

@media (max-width: 480px) {
  body {
    font-size: 0.95rem;
  }

  .site-logo {
    font-size: 0.85rem;
    letter-spacing: 0.04em;
  }

  .nav-toggle {
    margin-right: 0.1rem;
  }

  .nav-list {
    gap: 0.5rem;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .page-header {
    padding: 2rem 0 1.25rem;
    margin-bottom: 1.25rem;
  }

  .section {
    padding: 1.5rem 0;
  }
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.6rem;
  }
}

@media (min-width: 768px) {
  .site-nav {
    display: block;
  }

  .nav-toggle {
    display: none;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .two-column {
    flex-direction: row;
  }

  .two-column > * {
    flex: 1;
  }

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

  .contact-layout {
    flex-direction: row;
  }

  .contact-form-wrapper {
    flex: 2;
  }

  .contact-aside {
    flex: 1;
  }
}