:root {
  --navy: #071832;
  --navy-2: #0d2548;
  --navy-3: #12345f;
  --gold: #d6a73a;
  --gold-dark: #b9871f;
  --cream: #f8f4ec;
  --paper: #fffdf8;
  --ink: #132238;
  --muted: #5b6573;
  --line: #e8dfd0;
  --shadow: 0 22px 60px rgba(7, 24, 50, 0.12);
  --radius: 22px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 14px clamp(18px, 4vw, 64px);
  color: white;
  background: rgba(7, 24, 50, 0.96);
  border-bottom: 1px solid rgba(214, 167, 58, 0.25);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
}

.brand-icon {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(214, 167, 58, 0.42);
  border-radius: 12px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  color: #dfd6c7;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.9rem;
  font-weight: 700;
}

.primary-nav a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  transition: color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: white;
  border-radius: 999px;
}

.section {
  padding: clamp(52px, 7vh, 84px) clamp(20px, 5vw, 72px);
}

.section:not(.hero) {
  min-height: calc(100svh - var(--header-height));
}

.section:not(.hero):not(#micro-credentials):not(#about) {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-light {
  background:
    radial-gradient(circle at top left, rgba(214, 167, 58, 0.12), transparent 34rem),
    var(--cream);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.78fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  padding-top: clamp(40px, 6vh, 72px);
  padding-bottom: clamp(56px, 7vh, 88px);
  color: white;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(7, 24, 50, 0.96), rgba(7, 24, 50, 0.82) 48%, rgba(7, 24, 50, 0.74)),
    radial-gradient(circle at 86% 30%, rgba(214, 167, 58, 0.22), transparent 22rem),
    linear-gradient(135deg, var(--navy), var(--navy-3));
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
}

.hero-content,
.hero-card,
.feature-strip {
  position: relative;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, 6vw, 5.9rem);
}

h2 {
  color: var(--navy);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

h3 {
  color: var(--navy);
  font-size: 1.25rem;
}

.hero h1 {
  color: white;
}

.hero-lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.hero-card,
.feature-strip,
.content-grid,
.comparison-grid,
.profession-grid,
.leader-grid {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold);
  box-shadow: 0 16px 34px rgba(214, 167, 58, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #e7bc55;
}

.button-secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.35);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-card {
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 32px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
}

.credential-badge {
  display: grid;
  width: min(100%, 260px);
  aspect-ratio: 1;
  place-content: center;
  gap: 10px;
  margin: 0 auto 28px;
  padding: 28px 34px 44px;
  text-align: center;
  border: 3px solid var(--gold);
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
  background: linear-gradient(145deg, rgba(7, 24, 50, 0.96), rgba(18, 52, 95, 0.92));
}

.credential-badge span {
  color: white;
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  font-weight: 800;
  line-height: 1;
}

.credential-badge strong {
  color: var(--gold);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
}

.hero-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.feature-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  color: var(--ink);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-strip article,
.info-card,
.muted-card,
.accent-card,
.profession-grid article,
.leader-card,
.definition-card {
  background: rgba(255, 253, 248, 0.98);
}

.feature-strip article {
  padding: 24px;
}

.icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.feature-strip h3 {
  font-size: 1rem;
}

.feature-strip p,
.info-card p,
.definition-card p,
.section-heading p,
.leader-card p,
.wide-note,
.contact-panel p {
  color: var(--muted);
}

.section-heading {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  margin: 18px auto 0;
  font-size: 1.08rem;
}

.definition-card {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  max-width: 1120px;
  margin: 42px auto 0;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.definition-card h3 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.check-list,
.info-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li,
.info-card li {
  position: relative;
  padding-left: 30px;
  margin: 12px 0;
}

.check-list li::before,
.info-card li::before {
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 20px;
  height: 20px;
  content: "";
  border-radius: 50%;
  background: var(--gold);
  box-shadow: inset 0 0 0 6px #f5e6bd;
}

.comparison-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 30px);
  margin: 42px auto 18px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.comparison-heading strong {
  display: inline-grid;
  min-width: 48px;
  min-height: 48px;
  place-items: center;
  color: white;
  font-size: 0.82rem;
  background: var(--gold-dark);
  border-radius: 999px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.98) 0 50%, transparent 50%),
    linear-gradient(160deg, var(--navy-2), var(--navy-3));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.comparison-cell {
  display: flex;
  align-items: center;
  min-height: 72px;
  margin: 0;
  padding: 16px clamp(24px, 4vw, 42px);
}

.comparison-cell.muted-card,
.comparison-cell.accent-card {
  background: transparent;
}

.comparison-cell:nth-child(n + 3) {
  border-top: 1px solid rgba(19, 34, 56, 0.1);
}

.comparison-cell h3 {
  margin: 8px 0;
}

.comparison-title-short {
  display: none;
}

.accent-card {
  color: white;
  background: linear-gradient(160deg, var(--navy-2), var(--navy-3));
}

.accent-card h3,
.accent-card p {
  color: white;
}

.comparison-cell.accent-card {
  border-color: rgba(255, 255, 255, 0.14);
}

.content-grid {
  display: grid;
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
  gap: 22px;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.profession-grid article,
.leader-card {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-card p:last-child,
.leader-card p:last-child {
  margin-bottom: 0;
}

.info-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--gold-dark);
  font-weight: 800;
  text-decoration: none;
}

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

.profession-grid article {
  text-align: center;
}

.profession-grid h3 {
  min-height: 52px;
  font-size: 1rem;
}

.profession-grid strong {
  display: block;
  margin-top: 18px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
}

.profession-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.wide-note {
  max-width: 980px;
  margin: 34px auto 0;
  padding: 24px 28px;
  text-align: center;
  background: #eef4fa;
  border: 1px solid #d9e6f0;
  border-radius: var(--radius);
}

.callout {
  max-width: 980px;
  margin: 34px auto 0;
  padding: clamp(24px, 4vw, 38px);
  color: white;
  text-align: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.callout h3,
.callout p {
  color: white;
}

.callout p {
  max-width: 720px;
  margin: 14px auto 0;
}

.leader-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
  gap: 24px;
}

.leader-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
}

.portrait {
  width: 88px;
  height: 88px;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #f4e6c4;
  border: 2px solid var(--gold);
  border-radius: 22px;
}

.role {
  margin-top: 6px;
  color: var(--gold-dark);
  font-weight: 800;
}

.contact-section {
  color: white;
  background:
    radial-gradient(circle at 86% 14%, rgba(214, 167, 58, 0.2), transparent 22rem),
    linear-gradient(135deg, var(--navy), #020812);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 78px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

.contact-panel h2 {
  color: white;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  font-style: normal;
}

.contact-details a {
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
  color: var(--ink);
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
}

.form-alert {
  padding: 14px 16px;
  color: #17462c;
  font-weight: 800;
  background: #e8f7ee;
  border: 1px solid #addfc0;
  border-radius: 14px;
}

.form-alert.is-error {
  color: #6c241f;
  background: #fff0ed;
  border-color: #f0b9b0;
}

.contact-form .honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  padding: 14px 16px;
  color: var(--ink);
  font: inherit;
  background: #fbfaf7;
  border: 1px solid #d8dce3;
  border-radius: 14px;
  outline: none;
  box-shadow: inset 0 0 0 0 rgba(214, 167, 58, 0);
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.contact-form input {
  min-height: 54px;
}

.contact-form textarea {
  min-height: 156px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  background: white;
  box-shadow: inset 0 0 0 2px rgba(214, 167, 58, 0.28);
}

.contact-form .button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #020812;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1080px) {
  .hero,
  .definition-card,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .three-up {
    grid-template-columns: 1fr;
  }

  .leader-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-height) 16px auto 16px;
    display: grid;
    gap: 4px;
    padding: 18px;
    background: var(--navy);
    border: 1px solid rgba(214, 167, 58, 0.22);
    border-radius: 18px;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav a {
    padding: 12px;
  }

  .comparison-title-full {
    display: none;
  }

  .comparison-title-short {
    display: inline;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    padding: 12px 16px;
  }

  .brand-icon {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: auto;
  }

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

  .button {
    width: 100%;
  }

  .feature-strip,
  .profession-grid,
  .leader-card {
    grid-template-columns: 1fr;
  }

  .comparison-grid {
    font-size: 0.9rem;
  }

  .comparison-cell {
    min-height: 64px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .profession-grid h3 {
    min-height: 0;
  }

  .leader-card {
    text-align: center;
  }

  .portrait {
    margin: 0 auto;
  }
}
