:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  --background: #0b0c14;
  --surface: rgba(21, 22, 35, 0.76);
  --surface-border: rgba(240, 237, 230, 0.12);
  --text: #f4f1ea;
  --muted: #bbb9c3;
  --accent: #d8a36a;
  --accent-cool: #c9c8ff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  background: var(--background);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 17% 14%, rgba(131, 115, 176, 0.18), transparent 32rem),
    radial-gradient(circle at 78% 82%, rgba(173, 103, 68, 0.13), transparent 30rem),
    linear-gradient(145deg, #0b0c14 0%, #0d0e18 48%, #11121c 100%);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 0.5px, transparent 0.5px);
  background-size: 2.6rem 2.6rem;
  opacity: 0.12;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.site-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  grid-template-rows: 1fr auto;
  align-items: center;
  overflow: hidden;
  padding: clamp(1.5rem, 5vw, 4rem);
}

.announcement {
  position: relative;
  z-index: 2;
  width: min(100%, 42rem);
  margin: auto;
  padding: clamp(2rem, 6vw, 4.5rem);
  border: 1px solid var(--surface-border);
  border-radius: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--surface);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(1.25rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1 {
  max-width: 100%;
  margin: 0;
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  font-size: clamp(4rem, 15vw, 8.5rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.82;
  text-wrap: balance;
}

.status,
.french h2 {
  margin: clamp(2rem, 5vw, 3.25rem) 0 0;
  color: var(--accent-cool);
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 450;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.summary {
  max-width: 31rem;
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.65;
}

.language-divider {
  width: 3rem;
  height: 1px;
  margin: clamp(2.25rem, 6vw, 3.5rem) 0;
  background: var(--surface-border);
}

.french .eyebrow {
  margin-bottom: 0;
}

.french h2 {
  margin-top: 0.85rem;
}

footer {
  position: relative;
  z-index: 2;
  justify-self: center;
  padding-top: clamp(1.5rem, 4vw, 3rem);
}

footer p {
  margin: 0;
  color: rgba(244, 241, 234, 0.52);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.orbital-field {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(94vw, 68rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(-17deg);
  opacity: 0.8;
}

.orbit,
.body {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.orbit {
  border: 1px solid rgba(222, 218, 255, 0.11);
}

.orbit-outer {
  inset: 2%;
}

.orbit-inner {
  inset: 18%;
  border-color: rgba(216, 163, 106, 0.1);
}

.body {
  box-shadow: 0 0 2rem currentColor;
}

.body-primary {
  top: 7%;
  right: 24%;
  width: clamp(0.55rem, 1.2vw, 0.9rem);
  aspect-ratio: 1;
  color: rgba(216, 163, 106, 0.44);
  background: var(--accent);
}

.body-secondary {
  right: 9%;
  bottom: 31%;
  width: clamp(0.35rem, 0.8vw, 0.6rem);
  aspect-ratio: 1;
  color: rgba(201, 200, 255, 0.38);
  background: var(--accent-cool);
}

.site-shell-error {
  grid-template-rows: 1fr;
}

.error-card h1 {
  font-size: clamp(3.2rem, 11vw, 6.5rem);
  line-height: 0.95;
}

.home-link {
  display: inline-flex;
  margin-top: 2rem;
  border-bottom: 1px solid rgba(244, 241, 234, 0.4);
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.8;
  text-decoration: none;
}

.home-link:hover {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.home-link:focus-visible {
  border-radius: 0.2rem;
  outline: 0.2rem solid var(--accent-cool);
  outline-offset: 0.3rem;
}

@media (max-width: 34rem) {
  .site-shell {
    padding: 1rem;
  }

  .announcement {
    padding: 2rem 1.5rem;
  }

  .orbital-field {
    width: 125vw;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .announcement {
    background: #151623;
    backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #e1dfe5;
    --surface-border: rgba(255, 255, 255, 0.42);
  }

  .announcement {
    background: #10111b;
  }
}
