:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #5c6864;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #dfe5df;
  --forest: #244136;
  --navy: #071b33;
  --blue: #315b72;
  --gold: #b98946;
  --sage: #dfe8df;
  --shadow: 0 22px 70px rgba(23, 32, 29, 0.12);
  --soft-shadow: 0 12px 34px rgba(7, 27, 51, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 96px;
  padding: 20px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 27, 51, 0.96);
  backdrop-filter: blur(18px);
}

.header-logo {
  display: flex;
  width: clamp(270px, 26vw, 405px);
  height: 72px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.header-logo img {
  display: block;
  width: 100%;
  max-height: 72px;
  object-fit: contain;
}

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

.brand-mark,
.brand-photo {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
}

.brand-photo {
  display: block;
  border: 2px solid rgba(255, 255, 255, 0.72);
  object-fit: cover;
  object-position: center 28%;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: #fff;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  justify-self: end;
  gap: 8px 18px;
  color: #ffd21f;
  font-size: 14px;
  font-weight: 700;
}

nav a,
.text-link,
footer a {
  text-decoration: none;
}

nav a:hover {
  color: #ffe778;
}

.text-link:hover,
footer a:hover {
  color: var(--gold);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: clamp(560px, 72vh, 720px);
  padding: clamp(28px, 4vw, 48px) clamp(20px, 5vw, 72px) clamp(34px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.eyebrow,
.section-label,
.profile-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5.8vw, 68px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.2;
}

.hero-text {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.filter {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button.primary,
.filter.active {
  background: var(--gold);
  color: var(--navy);
}

.button.secondary,
.filter {
  background: rgba(255, 255, 255, 0.7);
  color: var(--gold);
}

.hero-actions .button {
  background: var(--gold);
  color: var(--navy);
}

.button:hover,
.filter:hover {
  transform: translateY(-1px);
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.profile-card,
.metric-grid,
.article-card,
.empty-state,
.book-list article,
.book-card-link,
.credential-grid article,
.contact {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.profile-card {
  display: grid;
  grid-template-columns: auto minmax(0, 520px);
  gap: clamp(22px, 4vw, 34px);
  align-items: center;
  padding: 24px;
  justify-content: center;
  text-align: left;
}

.portrait {
  display: grid;
  width: clamp(112px, 13vw, 150px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  border: 4px solid #fff;
  background: linear-gradient(145deg, var(--navy), var(--blue));
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 800;
}

.portrait-photo {
  display: block;
  object-fit: cover;
  object-position: center 28%;
}

.section-intro {
  color: var(--muted);
  font-size: 14px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.metric-grid div {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.metric-grid div:last-child {
  border-right: 0;
}

.metric-grid strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.metric-grid span,
.article-meta,
.book-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.intro-band,
.section {
  padding: clamp(56px, 7vw, 86px) clamp(20px, 5vw, 72px);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
  background: var(--navy);
  color: #fff;
}

.intro-band p:last-child {
  max-width: 900px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading > div:first-child {
  max-width: 720px;
}

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

.article-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.article-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.article-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.2;
  object-fit: cover;
  background: #dceef8;
}

.article-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  background:
    linear-gradient(135deg, rgba(7, 27, 51, 0.92), rgba(49, 91, 114, 0.88)),
    #071b33;
  color: #fff;
}

.article-placeholder svg {
  width: 42px;
  height: 42px;
  fill: currentColor;
  opacity: 0.9;
}

.article-placeholder span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 220px;
  padding: 32px;
  text-align: center;
}

.empty-state p {
  color: var(--muted);
}

.article-card:hover,
.book-list article:hover,
.book-card-link:hover,
.credential-grid article:hover {
  border-color: rgba(184, 137, 70, 0.44);
  box-shadow: 0 18px 50px rgba(7, 27, 51, 0.13);
  transform: translateY(-2px);
}

.article-card.featured {
  border-color: rgba(49, 91, 114, 0.38);
  background: linear-gradient(145deg, #edf8ff, #dceef8);
}

.article-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 24px 18px;
}

.article-card h3,
.article-card p {
  padding: 0 24px;
}

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

.article-card a {
  margin-top: auto;
  padding: 0 24px 24px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.article-card a::after,
.text-link::after,
footer a::after {
  content: " ->";
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(24px, 5vw, 72px);
}

.book-list,
.credential-grid,
.social-grid {
  display: grid;
  gap: 16px;
}

.book-list article,
.book-card-link,
.credential-grid article {
  padding: 22px;
}

.book-list article,
.book-card-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 18px;
  align-items: start;
  color: inherit;
  text-decoration: none;
}

.book-cover {
  grid-row: span 3;
  width: 72px;
  max-height: 112px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(7, 27, 51, 0.18);
}

.book-list span {
  color: var(--gold);
}

.credentials {
  background: #eef3ef;
}

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

.credential-logo-wrap {
  display: flex;
  min-height: 88px;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.credential-logo {
  display: block;
  width: auto;
  max-width: 150px;
  max-height: 56px;
  object-fit: contain;
}

.cfi-logo {
  max-width: 140px;
  max-height: 46px;
}

.nacva-logo {
  max-width: 210px;
  max-height: 56px;
}

.epi-logo {
  max-width: 150px;
  max-height: 58px;
}

.brainz-wrap {
  display: flex;
  min-height: 88px;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.brainz-logo {
  max-width: 126px;
  max-height: 44px;
}

.award-image {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}

.brainz-award-card {
  display: block;
  text-align: left;
}

.brainz-award-card .award-image {
  flex: 0 0 auto;
}

.brainz-award-card .brainz-logo,
.brainz-award-copy {
  display: block;
}

.brainz-award-copy h3 {
  margin-bottom: 10px;
}

.brainz-award-copy {
  justify-self: auto;
}

.brainz-award-copy .credential-tags {
  justify-content: flex-start;
}

.credential-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.credential-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  background: #e7f1f7;
  color: var(--navy);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 64px);
  margin: clamp(56px, 7vw, 86px) clamp(20px, 5vw, 72px);
  padding: clamp(28px, 5vw, 48px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 243, 239, 0.94)),
    #fff;
}

.contact .button {
  width: fit-content;
}

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

.social-link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  min-height: 58px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 14px;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.social-link:hover {
  border-color: rgba(49, 91, 114, 0.36);
  box-shadow: var(--soft-shadow);
  transform: translateY(-2px);
}

.social-link strong,
.social-link small {
  display: block;
}

.social-link strong {
  font-size: 16px;
  line-height: 1.15;
}

.social-link small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.social-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
}

.social-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.linkedin .social-icon {
  background: #0a66c2;
}

.instagram .social-icon {
  background: linear-gradient(145deg, #f58529, #dd2a7b 48%, #515bd4);
}

.x-twitter .social-icon {
  background: #111;
}

.website .social-icon {
  background: var(--forest);
}

.closing-logo {
  display: flex;
  justify-content: center;
  padding: 12px clamp(20px, 5vw, 72px) 10px;
  background: #fff;
}

.closing-logo img {
  display: block;
  width: min(290px, 52vw);
  height: auto;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer p {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .header-logo {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    width: min(320px, 72vw);
    height: 56px;
  }

  .header-logo img {
    max-height: 56px;
  }

  .hero,
  .intro-band,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .site-header {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px 18px;
    padding: 18px clamp(18px, 5vw, 28px);
  }

  .section-heading,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header .brand {
    min-width: 0;
  }

  .site-header nav {
    justify-self: end;
  }

  .header-logo {
    width: min(300px, 76vw);
    height: 52px;
  }

  .header-logo img {
    max-height: 52px;
  }

  nav {
    justify-content: flex-start;
  }

  .profile-card,
  .metric-grid,
  .article-grid,
  .credential-grid,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .profile-card {
    justify-items: center;
    text-align: center;
  }

  .book-list article {
    grid-template-columns: 1fr;
  }

  .metric-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-grid div:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
  }
}
