:root {
  --bg: #ffffff;
  --surface: #f7fbff;
  --surface-strong: #edf6ff;
  --line: #b7d9f3;
  --line-strong: #6db4e4;
  --text: #13202c;
  --text-soft: #496174;
  --text-faint: #6f8798;
  --shadow: 0 18px 48px rgba(109, 180, 228, 0.12);
  --radius-lg: 1.75rem;
  --radius-md: 1rem;
  --radius-sm: 0.75rem;
  --content-width: min(76rem, calc(100vw - clamp(1.25rem, 4vw, 3rem)));
  --font-sans: "Manrope", "Segoe UI", sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.98rem + 0.15vw, 1.08rem);
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(173, 220, 250, 0.28), transparent 28%),
    radial-gradient(circle at left 14%, rgba(173, 220, 250, 0.14), transparent 22%),
    var(--bg);
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.page-shell {
  width: var(--content-width);
  margin: 0 auto;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem 1rem;
  padding: clamp(1rem, 1rem + 0.8vw, 1.75rem) 0;
  border-bottom: 1px solid rgba(183, 217, 243, 0.55);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.brand-mark {
  flex: 0 0 auto;
  width: clamp(3rem, 5vw, 3.75rem);
  aspect-ratio: 1;
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(183, 217, 243, 0.5);
  background: #fff;
  box-shadow: 0 10px 22px rgba(109, 180, 228, 0.12);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.eyebrow,
.section-tag {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-name {
  font-size: clamp(1.15rem, 1rem + 0.55vw, 1.45rem);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  grid-column: 1 / -1;
  min-width: 0;
}

.site-nav a,
.language-switcher button,
.inline-links a,
.source-list a {
  border-radius: 999px;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-nav a {
  padding: 0.6rem 0.9rem;
  color: var(--text-soft);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-current {
  background: var(--surface-strong);
  color: var(--text);
  outline: none;
}

.language-switcher {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-self: end;
}

.language-options {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.language-switcher button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  padding: 0.55rem 0.7rem;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.language-trigger {
  display: none;
}

.language-switcher button:hover,
.language-switcher button:focus-visible,
.language-switcher button[aria-pressed="true"] {
  background: var(--surface-strong);
  border-color: var(--line-strong);
  outline: none;
}

main {
  padding: clamp(2rem, 1rem + 3vw, 4rem) 0 clamp(2.5rem, 1.5rem + 3vw, 4.25rem);
}

.hero,
.section-grid,
.strip,
.faq-section,
.sources-block,
.inner-hero {
  margin-bottom: clamp(1.5rem, 1rem + 2.2vw, 3rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.9fr);
  align-items: center;
  gap: clamp(1.4rem, 2vw, 2.6rem);
  padding: clamp(1rem, 1rem + 1vw, 2rem) 0 0;
}

.hero-copy,
.inner-hero {
  max-width: 46rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  overflow-wrap: break-word;
}

h1,
h2 {
  font-family: var(--font-serif);
  letter-spacing: -0.03em;
}

h1 {
  margin-top: 0.6rem;
  font-size: clamp(2.2rem, 1.7rem + 3vw, 4.8rem);
  max-width: 13ch;
}

h2 {
  margin-top: 0.4rem;
  font-size: clamp(1.45rem, 1.2rem + 1vw, 2.2rem);
}

h3 {
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
}

p {
  margin: 0;
  max-width: 68ch;
  color: var(--text-soft);
  overflow-wrap: break-word;
}

.hero-lead {
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.28rem);
}

.hero-lead.narrow {
  max-width: 54ch;
}

.hero-actions,
.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-actions {
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
}

.button-primary {
  background: linear-gradient(180deg, #1c7fc9, #4ea2dc);
  border-color: #2f8dd3;
  color: #fff;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
}

.button:hover,
.button:focus-visible,
.inline-links a:hover,
.inline-links a:focus-visible,
.source-list a:hover,
.source-list a:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.hero-card,
.content-card,
.faq-card,
.strip,
.sources-block {
  border: 1px solid rgba(183, 217, 243, 0.9);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: clamp(1.1rem, 1rem + 1vw, 1.7rem);
}

.hero-panel {
  position: relative;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -0.75rem -1rem auto;
  width: clamp(6rem, 12vw, 8rem);
  height: clamp(6rem, 12vw, 8rem);
  border-radius: 1.5rem;
  border: 1px solid rgba(109, 180, 228, 0.38);
  background: linear-gradient(135deg, rgba(183, 217, 243, 0.5), rgba(255, 255, 255, 0.1));
  z-index: -1;
  animation: floaty 8s ease-in-out infinite;
}

.hero-logo-wrap {
  width: clamp(8rem, 28vw, 12rem);
  margin-bottom: 1rem;
  padding: clamp(0.55rem, 0.4rem + 0.6vw, 0.9rem);
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #edf6ff);
  border: 1px solid var(--line);
}

.hero-logo {
  aspect-ratio: 1;
  object-fit: contain;
}

.venue-strip {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(183, 217, 243, 0.8);
}

.venue-strip-compact {
  margin-top: 1.1rem;
}

.venue-label {
  color: var(--text-faint);
  font-size: 0.84rem;
  font-weight: 600;
}

.venue-logo {
  width: min(100%, 12.5rem);
  height: auto;
  border-radius: 0.65rem;
  border: 1px solid rgba(183, 217, 243, 0.6);
  background: #fff;
}

.section-grid,
.faq-grid {
  display: grid;
  gap: 1rem;
}

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

.program-overview {
  align-items: start;
}

.content-card,
.faq-card,
.sources-block {
  padding: clamp(1.2rem, 1rem + 1vw, 1.75rem);
}

.highlight-card {
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.96), rgba(255, 255, 255, 0.98));
}

.sentence-stack,
.detail-list,
.source-list,
.faq-grid,
.fact-list {
  margin-top: 1rem;
}

.sentence-stack {
  display: grid;
  gap: 0.85rem;
}

.detail-list,
.source-list {
  padding-left: 1.15rem;
  color: var(--text-soft);
}

.detail-list li,
.source-list li {
  margin-bottom: 0.75rem;
}

.fact-list {
  display: grid;
  gap: 0.8rem;
}

.fact-list div {
  display: grid;
  gap: 0.18rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(183, 217, 243, 0.8);
}

.fact-list div:first-child {
  padding-top: 0;
  border-top: 0;
}

.fact-list dt {
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.fact-list dd {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  overflow-wrap: break-word;
}

.fact-list-compact dd {
  font-weight: 500;
}

.strip {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.1rem, 1rem + 1vw, 1.5rem);
  background: linear-gradient(90deg, rgba(247, 251, 255, 0.92), rgba(255, 255, 255, 0.98));
}

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

.faq-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 251, 255, 0.98));
}

.faq-card p,
.source-list a {
  margin-top: 0.65rem;
}

.inline-links a,
.source-list a {
  color: #165e98;
  text-decoration-color: rgba(22, 94, 152, 0.34);
  text-underline-offset: 0.18em;
}

.site-footer {
  padding: 1.25rem 0 2.4rem;
  border-top: 1px solid rgba(183, 217, 243, 0.55);
}

.footer-copy {
  display: grid;
  gap: 0.3rem;
}

.footer-copy p {
  color: var(--text-faint);
  font-size: 0.92rem;
}

.footer-mark {
  width: clamp(4rem, 8vw, 5.2rem);
  padding: 0.4rem;
  border-radius: 1rem;
  border: 1px solid rgba(183, 217, 243, 0.75);
  background: rgba(255, 255, 255, 0.95);
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: rise 500ms ease forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@media (max-width: 960px) {
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .section-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .site-nav a {
    padding-left: 0;
    padding-right: 0;
  }

  h1 {
    max-width: 16ch;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100vw - 1rem, 100%);
  }

  .site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 0.75rem;
    padding: 0.7rem 0 0.9rem;
  }

  .brand-lockup {
    flex: 1 1 auto;
    gap: 0.7rem;
    align-items: center;
  }

  .brand-copy {
    padding-top: 0;
    min-width: 0;
  }

  .eyebrow {
    display: none;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-mark {
    width: 2.65rem;
    border-radius: 0.75rem;
  }

  .site-nav {
    order: 3;
    width: 100%;
    gap: 0.15rem 0.7rem;
    font-size: 0.9rem;
  }

  .hero-actions .button,
  .inline-links a {
    width: 100%;
  }

  .site-nav a {
    min-height: auto;
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
  }

  .language-switcher {
    order: 4;
    width: 100%;
    flex: 0 0 auto;
    justify-content: flex-start;
  }

  .language-trigger {
    display: none;
  }

  .language-options {
    position: static;
    z-index: auto;
    display: inline-flex;
    flex-wrap: wrap;
    grid-template-columns: none;
    width: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .language-options button {
    min-width: 1.95rem;
    padding: 0.28rem 0.42rem;
    font-size: 0.74rem;
  }

  main {
    padding-top: 1.35rem;
  }

  h1 {
    font-size: clamp(1.6rem, 7.1vw, 2.2rem);
    line-height: 1.02;
    max-width: 9.8ch;
  }

  .hero-lead {
    margin-top: 0.9rem;
  }

  .hero-card,
  .content-card,
  .faq-card,
  .sources-block,
  .strip {
    padding: 1rem;
  }

  .venue-logo {
    width: min(100%, 11rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-panel::before {
    animation: none;
  }

  .site-nav a,
  .language-switcher button,
  .inline-links a,
  .source-list a,
  .button {
    transition: none;
  }
}

:focus-visible {
  outline: 3px solid #1c7fc9;
  outline-offset: 3px;
}
