/* Mail-Block public Coming Soon page.
   Self-contained. No third-party assets or trackers.
   WCAG 2.2 AA: contrast, visible focus, reduced motion, semantic structure. */

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-700-normal.woff2") format("woff2");
}

:root {
  --blue: #004797;
  --blue-dark: #003564;
  --navy: #0a2540;
  --ink: #0e1a2b;
  --muted: #3d4a5c;
  --card: #ffffff;
  --gold: #f4e4b0;
  --font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --radius: 1.5rem;
}

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  hanging-punctuation: first last;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--navy);
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}

/* Skip link: hidden until focused, high-contrast, does not require a mouse. */
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 20;
  padding: 0.65rem 1.1rem;
  background: #ffffff;
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  border-radius: 0.5rem;
  box-shadow: 0 4px 16px rgba(4, 16, 36, 0.25);
  transform: translateY(-150%);
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: none;
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* Atmospheric brand-blue field. Purely decorative. */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 12% -10%, rgba(90, 150, 220, 0.55), transparent 55%),
    radial-gradient(ellipse 70% 60% at 100% 110%, rgba(8, 24, 48, 0.7), transparent 55%),
    linear-gradient(165deg, #0a2540 0%, #004797 48%, #003564 100%);
}

.atmosphere__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  will-change: transform;
  animation: drift 28s ease-in-out infinite alternate;
}

.atmosphere__orb--1 {
  width: 44vw;
  height: 44vw;
  min-width: 18rem;
  min-height: 18rem;
  left: -10vw;
  top: -8vw;
  background: #4d8ed0;
  animation-duration: 26s;
}

.atmosphere__orb--2 {
  width: 38vw;
  height: 38vw;
  min-width: 16rem;
  min-height: 16rem;
  right: -12vw;
  bottom: -10vw;
  background: #061828;
  opacity: 0.65;
  animation-duration: 34s;
  animation-delay: -10s;
}

.atmosphere__orb--3 {
  width: 22vw;
  height: 22vw;
  min-width: 10rem;
  min-height: 10rem;
  left: 42vw;
  top: 36vh;
  background: #2a6bb3;
  opacity: 0.32;
  animation-duration: 22s;
  animation-delay: -4s;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(3.5vw, 2.5vh, 0) scale(1.07); }
}

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: clamp(1.5rem, 5vh, 4rem) 1.25rem 1.25rem;
}

/* Badge and card share one definite, centered column so they cannot drift apart.
   (A 100% width on .panel inside shrink-to-fit main made main stretch full-bleed
   and left-aligned the card, while the shrink-wrapped pill stayed centered.) */
.masthead,
main {
  width: min(40rem, 100%);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  margin: 0 0 1.35rem;
  text-align: center;
  width: 100%;
}

.badge__label {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(10, 37, 64, 0.55);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.4;
}

.panel {
  width: 100%;
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.85rem, 4.8vw, 3.35rem) clamp(1.4rem, 5vw, 3.1rem) clamp(1.85rem, 4.8vw, 3.1rem);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 28px 64px rgba(4, 16, 36, 0.38),
    0 2px 8px rgba(4, 16, 36, 0.22);
  text-align: center;
}

.headline {
  margin: 0 0 1.35rem;
}

.headline img {
  display: block;
  width: min(26.25rem, 100%);
  height: auto;
  margin-inline: auto;
}

.tagline {
  margin: 0 0 1.2rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.4vw, 1.9rem);
  line-height: 1.35;
  color: var(--navy);
  text-wrap: balance;
}

.affiliation {
  margin: 0 auto;
  max-width: 34em;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

.affiliation a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
  border-radius: 2px;
}

.affiliation a:hover {
  color: var(--blue-dark);
}

.affiliation a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.site-footer {
  width: 100%;
  margin-top: auto;
  padding: 1.1rem 1.25rem 1.6rem;
  text-align: center;
  color: #ffffff;
  font-size: 0.875rem;
  line-height: 1.5;
  background: linear-gradient(to top, rgba(6, 18, 36, 0.45), transparent 70%);
}

.site-footer p {
  margin: 0 auto;
  max-width: 42rem;
}

/* Keyboard users on a dark field: gold ring is 7:1+ on brand blue. */
:focus:not(:focus-visible) { outline: none; }

@media (max-width: 30rem) {
  body { font-size: 1.0625rem; }
  .panel { border-radius: 1.15rem; }
  .affiliation { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .atmosphere__orb {
    animation: none;
    will-change: auto;
  }
}

@media (prefers-contrast: more) {
  .badge__label {
    background: var(--navy);
    border-width: 2px;
  }
  .panel {
    box-shadow: none;
    outline: 2px solid #ffffff;
  }
  .affiliation a {
    text-decoration-thickness: 0.12em;
  }
}
