:root {
  --bg: #eef4ff;
  --ink: #10203f;
  --ink-soft: #304a74;
  --surface: #ffffff;
  --surface-alt: #f1f7ff;
  --border: #c2d7f7;
  --accent: #0057d8;
  --accent-soft: #dcebff;
  --gold: #0f8a73;
  --shadow: 0 24px 44px rgba(16, 48, 102, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% -10%, rgba(0, 87, 216, 0.17) 0%, transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(15, 138, 115, 0.14) 0%, transparent 44%),
    var(--bg);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.65;
  padding: 2.25rem 1.25rem 3.2rem;
}

.motif-layer {
  display: none !important;
}

.motif {
  position: absolute;
}

.motif-orb {
  border-radius: 999px;
}

.motif-a {
  width: 380px;
  height: 380px;
  top: -190px;
  right: -130px;
  background: radial-gradient(circle, rgba(21, 57, 107, 0.12), transparent 70%);
  animation: driftA 13s ease-in-out infinite;
}

.motif-b {
  width: 320px;
  height: 320px;
  left: -180px;
  bottom: -170px;
  background: radial-gradient(circle, rgba(176, 138, 79, 0.12), transparent 70%);
  animation: driftB 15s ease-in-out infinite;
}

.motif-token {
  border: 1px solid rgba(21, 57, 107, 0.17);
  background: rgba(255, 255, 255, 0.7);
  color: #2c4c78;
  border-radius: 2px;
  padding: 0.2rem 0.48rem;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  backdrop-filter: blur(2px);
}

.motif-c {
  left: 6%;
  top: 24%;
  animation: fadeFloat 7s ease-in-out infinite;
}

.motif-d {
  right: 8%;
  top: 62%;
  animation: fadeFloat 8s ease-in-out infinite;
}

.motif-e {
  left: 4%;
  top: 54%;
  animation: fadeFloat 9s ease-in-out infinite;
}

.site-header,
.panel {
  width: min(1060px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  margin-bottom: 1rem;
}

.site-header.compact {
  margin-bottom: 0.8rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #52607a;
  font-weight: 700;
}

.site-nav {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.15rem;
  padding-bottom: 0.72rem;
  border-bottom: 1px solid var(--border);
}

.site-nav a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.73rem;
  color: #1a3f74;
  font-weight: 700;
}

.site-nav a[aria-disabled="true"] {
  color: #75849f;
  pointer-events: none;
}

h1 {
  margin: 0.85rem 0 0.55rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4.8vw, 4rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: #0b2d63;
}

.home-headshot {
  display: block;
  width: min(360px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 14px 28px rgba(0, 60, 153, 0.18);
  margin-top: 0.5rem;
}

.lead {
  margin: 0;
  max-width: 72ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.95rem;
}

.chip {
  border: 1px solid #cad6e9;
  background: var(--surface-alt);
  color: #24456f;
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.32rem 0.58rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: clamp(1.2rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
}

h2 {
  margin: 0 0 0.45rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  font-weight: 600;
  color: #172d4f;
}

.panel > p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.bullet-nav {
  margin: 0;
  padding-left: 1.7rem;
  display: grid;
  gap: 1.25rem;
}

.home-panel {
  min-height: calc(100vh - 170px);
  display: flex;
  align-items: stretch;
}

.bullet-nav li {
  color: #3a5f99;
}

.bullet-nav a {
  display: block;
  width: 100%;
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(145deg, #fff 0%, var(--surface-alt) 100%);
  box-shadow: 0 10px 20px rgba(0, 87, 216, 0.08);
  color: #18325b;
  text-decoration: none;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2.3vw, 1.95rem);
  line-height: 1.2;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.bullet-nav a:hover,
.bullet-nav a:focus-visible {
  transform: translateX(3px);
  border-color: #75a3ed;
  box-shadow: 0 14px 24px rgba(0, 87, 216, 0.14);
}

.bullet-nav a[aria-disabled="true"] {
  color: #75849f;
  pointer-events: none;
}

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

.nav-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(150deg, #ffffff 0%, #f6f9fd 100%);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: 4px;
  padding: 1rem 1rem 1.05rem;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.nav-card:hover,
.nav-card:focus-visible {
  transform: translateY(-2px);
  border-color: #bfcde3;
  border-left-color: var(--accent);
  box-shadow: 0 12px 26px rgba(16, 32, 59, 0.1);
  outline: none;
}

.card-number {
  display: block;
  color: #6c7d97;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.card-title {
  display: block;
  margin-top: 0.28rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  color: #18325b;
}

.card-copy {
  display: block;
  margin-top: 0.15rem;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.nav-card.is-soon {
  background: #fbfcfe;
  border-style: dashed;
  opacity: 0.92;
  pointer-events: none;
}

.back-link {
  display: inline-block;
  margin-top: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.74rem;
  color: #34537e;
  font-weight: 700;
  text-decoration: none;
}

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

.prose p {
  margin: 0.78rem 0;
  max-width: 82ch;
  color: #344660;
  font-size: 1.01rem;
}

a {
  color: #1c4477;
}

@keyframes driftA {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(14px); }
}

@keyframes driftB {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes fadeFloat {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.52;
  }

  50% {
    transform: translateY(-7px);
    opacity: 0.85;
  }
}

@media (max-width: 820px) {
  body {
    padding-top: 1.6rem;
  }

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

  .site-nav {
    gap: 0.6rem 0.8rem;
  }

  .site-nav a {
    font-size: 0.67rem;
  }

  .motif-token {
    display: none;
  }
}

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