:root {
  color-scheme: light;
  --background: #ffffff;
  --panel: #f8faff;
  --line: #dbe3f2;
  --text: #152144;
  --muted: #465476;
  --accent: #f5f16c;
  --accent-ink: #253c84;
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 4px; }
.topbar { border-bottom: 1px solid var(--line); }
.top-inner, .shell, .footer { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: inline-flex; gap: .65rem; align-items: center; font-size: 1.25rem; font-weight: 800; white-space: nowrap; }
.monogram { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; background: var(--accent); color: var(--text); border-radius: .65rem; font-size: .875rem; }
.top-nav { display: flex; flex-wrap: wrap; gap: clamp(.9rem, 3vw, 2rem); color: var(--muted); }
.top-nav a:hover { color: var(--text); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .55rem 1.25rem; border-radius: .65rem; background: var(--accent); color: var(--text); font-weight: 800; }
.button:hover { background: #fff9a8; }
.button-small { min-height: 2.65rem; white-space: nowrap; }
.shell { margin-block: clamp(1.25rem, 4vw, 3rem); }
.hero { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; overflow: hidden; isolation: isolate; border: 1px solid var(--line); border-radius: 1.6rem; background: radial-gradient(ellipse at 84% 20%, #dce5ff 0%, transparent 55%), var(--panel); }
.hero-copy { z-index: 1; padding: clamp(1.75rem, 6vw, 5rem); }
h1 { margin: 0; font-size: clamp(2.7rem, 6.6vw, 5.8rem); line-height: 1.08; letter-spacing: -.055em; }
.hero p { max-width: 30ch; color: var(--muted); margin: 1.2rem 0 1.6rem; line-height: 1.6; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 15rem; }
.orbit { position: absolute; width: 86%; aspect-ratio: 1; border: 1px solid #8e9bd966; border-radius: 50%; }
.orbit-two { width: 70%; }
.orbit-three { width: 54%; }
.plate { position: absolute; width: clamp(7rem, 16vw, 13rem); aspect-ratio: 1.08; border-radius: 22%; transform: rotate(-16deg); }
.plate-blue { background: #8f9dff; border: 1px solid #bac2ff; translate: 22% 18%; }
.plate-accent { display: grid; place-items: center; background: var(--accent); color: var(--text); font-size: clamp(2.8rem, 6vw, 4.75rem); font-weight: 950; letter-spacing: -.09em; box-shadow: .45rem .5rem 0 #344778; }
.sections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.section { scroll-margin-top: 1rem; padding: clamp(1.2rem, 3vw, 1.75rem); border: 1px solid var(--line); border-radius: 1rem; background: var(--panel); }
.section:target { border-color: var(--accent-ink); }
.label { color: var(--accent-ink); font-size: .875rem; font-weight: 700; }
h2 { margin: .35rem 0 .6rem; font-size: 1.55rem; }
.section p { margin: 0; color: var(--muted); line-height: 1.55; }
.topics { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 1.2rem 0 0; list-style: none; }
.topics li { font-size: .875rem; border: 1px solid var(--line); border-radius: 4rem; padding: .32rem .65rem; }
.footer { display: flex; flex-wrap: wrap; gap: .4rem 1rem; justify-content: space-between; border-top: 1px solid var(--line); padding: 1.2rem 0 2rem; }
.footer span { color: var(--muted); font-size: .875rem; }
.skip, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { width: auto; height: auto; top: .5rem; left: .5rem; padding: .45rem; clip-path: none; z-index: 2; background: var(--background); }

@media (max-width: 48rem) {
  .sections { grid-template-columns: 1fr; }
  .top-nav { order: 3; flex-basis: 100%; padding-bottom: .8rem; }
  .top-inner { flex-wrap: wrap; padding-block: .65rem 0; }
}

@media (max-width: 28rem) {
  .top-inner, .shell, .footer { width: calc(100% - 1.5rem); }
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 12rem; overflow: hidden; }
  .orbit { max-width: 18rem; }
  .orbit-two { max-width: 15rem; }
  .orbit-three { max-width: 12rem; }
}

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