:root {
  --bg: #172e4e;
  --bg-2: #0d2038;
  --paper: #f5f7fa;
  --paper-2: #ffffff;
  --text: #13233a;
  --muted: #637083;
  --gold: #b3925a;
  --gold-2: #f4ecd8;
  --line: rgba(23, 46, 78, 0.22);
  --white: #fff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  --radius: 26px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--gold-2);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--gold-2);
  outline-offset: 4px;
}

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

.topbar {
  background: var(--bg);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.mobile-menu {
  display: none;
  position: relative;
  flex: 0 0 auto;
}

.mobile-menu summary {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  color: var(--white);
  cursor: pointer;
  list-style: none;
}

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

.mobile-menu summary:focus-visible {
  outline: 3px solid var(--gold-2);
  outline-offset: 3px;
}

.mobile-menu-icon,
.mobile-menu-icon::before,
.mobile-menu-icon::after {
  width: 20px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
}

.mobile-menu-icon {
  position: relative;
}

.mobile-menu-icon::before,
.mobile-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.mobile-menu-icon::before {
  top: -6px;
}

.mobile-menu-icon::after {
  top: 6px;
}

.mobile-menu[open] .mobile-menu-icon {
  background: transparent;
}

.mobile-menu[open] .mobile-menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-menu[open] .mobile-menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-menu-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 12px);
  left: 0;
  width: min(280px, calc(100vw - 28px));
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: #0d2038;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.32);
}

.mobile-menu-panel a {
  display: block;
  padding: 13px 14px;
  border-radius: 10px;
  color: #edf1f7;
  font-size: 15px;
  font-weight: 700;
}

.mobile-menu-panel a:hover,
.mobile-menu-panel a:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-logo-wrap {
  inline-size: 76px;
  block-size: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.brand-logo {
  inline-size: 100%;
  block-size: 100%;
  max-inline-size: 60px;
  max-block-size: 34px;
  object-fit: contain;
}

.brand > span:last-child {
  min-width: 0;
}

.brand small {
  display: block;
  color: #d5dadf;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 2px;
}

.menu {
  display: flex;
  gap: 24px;
  align-items: center;
  color: #edf1f7;
  font-size: 14px;
}

.menu a {
  opacity: 0.86;
}

.menu a:hover {
  opacity: 1;
  color: var(--gold-2);
}

.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold-2);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
}

.hero {
  background: radial-gradient(circle at 72% 20%, rgba(179, 146, 90, 0.14), transparent 32%), linear-gradient(135deg, var(--bg), var(--bg-2));
  color: var(--white);
  overflow: hidden;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .eyebrow,
.hero h1,
.hero p,
.hero .actions,
.portrait-card {
  animation: fade-up 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero .eyebrow { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.15s; }
.hero p { animation-delay: 0.28s; }
.hero .actions { animation-delay: 0.4s; }
.portrait-card { animation-delay: 0.3s; }

.hero-grid {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 50px;
  padding: 72px 0 92px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-2);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
}

.eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--gold);
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.98;
  margin: 22px 0;
  letter-spacing: 0;
}

.hero p {
  font-size: 20px;
  line-height: 1.75;
  color: #e4e8ee;
  max-width: 680px;
  margin: 0 0 34px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--white);
  color: var(--bg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #d5dadf;
}

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

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}

.portrait-card {
  position: relative;
  margin: 0;
  min-height: 520px;
  aspect-ratio: 0.9;
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.portrait {
  position: absolute;
  inset: 30px 30px 0;
  border-radius: 28px 28px 0 0;
  overflow: hidden;
  background: var(--bg);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
}

.portrait-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(13, 32, 56, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
  padding: 22px;
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--gold-2);
  font-size: 24px;
}

.stat span {
  font-size: 12px;
  color: #d5dadf;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

section {
  padding: 88px 0;
  content-visibility: auto;
  contain-intrinsic-size: 720px;
}

.hero {
  content-visibility: visible;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.kicker {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  margin: 10px 0 0;
}

.section-head p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.link {
  font-weight: 900;
  color: var(--bg);
  border-bottom: 1px solid var(--gold);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--paper-2);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 12px 34px rgba(20, 22, 25, 0.06);
}

.book-cover {
  height: 240px;
  border-radius: 18px;
  background: linear-gradient(145deg, #172e4e, #334864);
  display: flex;
  align-items: end;
  padding: 22px;
  color: white;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}

.book-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.09), transparent 34%);
}

.book-cover strong {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.05;
  z-index: 1;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  margin: 0 0 10px;
}

.card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 18px;
}

.pill {
  display: inline-flex;
  border: 1px solid var(--line);
  color: var(--bg);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}

.dark-band {
  background: var(--bg);
  color: var(--white);
}

.dark-band .section-head p {
  color: #b8c0cd;
}

.dark-band .kicker {
  color: #d5dadf;
}

.article-list {
  display: grid;
  gap: 14px;
}

.article {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 22px;
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 20px;
}

.article time {
  color: var(--gold-2);
  font-weight: 900;
}

.article h3 {
  margin: 0;
  font-size: 20px;
}

.article p {
  margin: 7px 0 0;
  color: #bcc5d2;
  line-height: 1.55;
}

.article a {
  color: var(--gold-2);
  font-weight: 900;
}

.events {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.event-feature {
  min-height: 430px;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(23, 46, 78, 0.08), rgba(139, 150, 166, 0.18)),
    linear-gradient(135deg, #d5dadf, #f8fbff 42%, #172e4e 42%, #334864);
  padding: 30px;
  display: flex;
  align-items: end;
  box-shadow: var(--shadow);
}

.event-copy {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 20px;
  padding: 24px;
}

.event-copy h3 {
  font-family: var(--font-display);
  font-size: 31px;
  margin: 0 0 10px;
}

.event-mini {
  display: grid;
  gap: 16px;
}

.mini {
  background: var(--paper-2);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 22px;
  padding: 22px;
}

.mini b {
  display: block;
  margin-bottom: 8px;
}

.mini span {
  color: var(--muted);
  line-height: 1.55;
}

.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 46px;
  align-items: start;
}

.quote {
  background: var(--bg);
  color: white;
  border-radius: var(--radius);
  padding: 34px;
  position: sticky;
  top: 104px;
}

.quote p {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 20px;
}

.bio h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  margin: 10px 0 22px;
}

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

.credentials p {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-2);
  line-height: 1.4;
}

.credentials strong,
.credentials span {
  display: block;
}

.credentials strong {
  margin-bottom: 5px;
  color: var(--bg);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.credentials span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.bio p {
  font-size: 18px;
  line-height: 1.85;
  color: #525b68;
}

.timeline {
  border-left: 1px solid var(--line);
  padding-left: 24px;
  margin-top: 26px;
}

.timeline div {
  margin-bottom: 22px;
}

.timeline b {
  display: block;
  color: var(--bg);
  margin-bottom: 4px;
}

footer {
  background: #07182b;
  color: #d6dce6;
  padding: 64px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 46px;
}

.footer-grid h4 {
  color: var(--white);
  margin: 0 0 14px;
}

.footer-grid p,
.footer-grid a,
.footer-grid address {
  display: block;
  color: #aeb7c7;
  line-height: 1.8;
  margin: 0 0 6px;
  overflow-wrap: anywhere;
}

.footer-grid address {
  font-style: normal;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  color: #7f8999;
  font-size: 13px;
}

@media (max-width: 900px) {
  .menu {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero-grid,
  .events,
  .about,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about {
    gap: 36px;
  }

  .quote {
    position: static;
    top: auto;
  }

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

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

  .portrait-card {
    min-height: 0;
    aspect-ratio: auto;
    padding: 24px 24px 0;
  }

  .portrait {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    border-radius: 24px 24px 0 0;
  }

  .portrait-logo {
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: contain;
    object-position: center top;
  }

  .stats {
    position: static;
    margin-inline: -24px;
  }

  .section-head {
    display: block;
  }

  .hero-grid {
    padding-top: 46px;
  }

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

  .stat {
    padding: 16px 8px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .nav {
    height: auto;
    min-height: 70px;
    padding: 12px 0;
    justify-content: flex-start;
    gap: 10px;
  }

  .brand {
    gap: 10px;
    flex: 1;
    font-size: 12px;
  }

  .brand-logo-wrap {
    inline-size: 46px;
    block-size: 38px;
    flex: 0 0 auto;
    padding: 5px;
  }

  .brand-logo {
    max-inline-size: 34px;
    max-block-size: 28px;
  }

  .portrait-card {
    width: min(100%, 310px);
    margin-inline: auto;
    padding: 10px 10px 0;
    border-radius: 22px;
  }

  .portrait {
    border-radius: 16px 16px 0 0;
  }

  .portrait-logo {
    max-height: none;
  }

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

  .stats {
    margin-inline: -10px;
  }

  .stat {
    min-width: 0;
    padding: 12px 4px;
  }

  .stat strong {
    font-size: 18px;
  }

  .stat span {
    font-size: 9px;
    letter-spacing: 0.04em;
    overflow-wrap: anywhere;
  }

  h1 {
    font-size: 44px;
  }

  .hero p {
    font-size: 17px;
    line-height: 1.65;
  }

  .btn {
    width: 100%;
  }

  .quote {
    position: static;
    z-index: auto;
    padding: 26px 22px;
  }

  .quote p {
    font-size: 24px;
    overflow-wrap: anywhere;
  }

  .quote .pill {
    max-width: 100%;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
