:root {
  color-scheme: dark;
  font-family: "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --red-900: #76050a;
  --red-800: #93070e;
  --red-700: #b20b14;
  --red-600: #d21420;
  --white: #fffaf8;
  --white-muted: rgba(255, 250, 248, 0.72);
  --hairline: rgba(255, 250, 248, 0.24);
  --page-pad: clamp(1.25rem, 4.8vw, 5rem);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--red-800);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 18%, rgba(248, 50, 45, 0.24), transparent 28rem),
    radial-gradient(circle at 12% 86%, rgba(213, 25, 28, 0.4), transparent 42rem),
    linear-gradient(128deg, #bc111a 0%, #a30710 44%, #7a050a 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.23'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

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

.ambient {
  position: fixed;
  inset: -20%;
  z-index: -2;
  pointer-events: none;
  background: conic-gradient(from 210deg at 70% 45%, transparent 0deg, rgba(255, 71, 66, 0.12) 64deg, transparent 136deg);
  animation: ambient-shift 18s ease-in-out infinite alternate;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 6.75rem;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid var(--hairline);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.language-switch > span {
  width: 1.5rem;
  height: 1px;
  background: var(--hairline);
}

.language-button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  color: rgba(255, 250, 248, 0.48);
  background: transparent;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: color 180ms ease;
}

.language-button:hover,
.language-button:focus-visible,
.language-button.is-active {
  color: var(--white);
}

.language-button:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

main {
  border-bottom: 1px solid var(--hairline);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(21rem, 0.95fr);
  align-items: center;
  min-height: clamp(37rem, calc(100svh - 6.75rem), 54rem);
  padding: clamp(3rem, 5vw, 5.5rem) var(--page-pad);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 54rem;
}

.eyebrow,
.section-index {
  margin: 0 0 1.5rem;
  color: var(--white-muted);
  font-size: clamp(0.76rem, 1.2vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(4.4rem, 10vw, 10.2rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.78;
  text-transform: uppercase;
}

h1 span {
  display: block;
}

h1 .outline {
  margin-left: 0.68em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 250, 248, 0.9);
  text-stroke: 1.5px rgba(255, 250, 248, 0.9);
}

.intro {
  max-width: 30rem;
  margin: 2.5rem 0 0;
  color: var(--white-muted);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.6;
}

.globe-stage {
  position: absolute;
  top: 50%;
  right: max(-9rem, -7vw);
  width: min(57vw, 52rem);
  aspect-ratio: 1;
  transform: translateY(-50%);
}

.globe-canvas,
.globe-canvas canvas {
  width: 100%;
  height: 100%;
}

.globe-canvas canvas {
  display: block;
  filter: saturate(0.76) contrast(1.08) drop-shadow(0 2.2rem 4rem rgba(45, 0, 6, 0.42));
}

.globe-shadow {
  position: absolute;
  right: 11%;
  bottom: 1.5%;
  left: 12%;
  height: 9%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(50, 0, 4, 0.28);
  filter: blur(1.5rem);
}

.globe-label {
  position: absolute;
  right: 17%;
  bottom: 10%;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
}

.notify {
  display: grid;
  grid-template-columns: minmax(16rem, 0.82fr) minmax(25rem, 1.18fr);
  gap: clamp(3rem, 8vw, 9rem);
  padding: clamp(4rem, 7vw, 7rem) var(--page-pad);
  border-top: 1px solid var(--hairline);
  background: rgba(74, 0, 5, 0.13);
}

.notify h2 {
  max-width: 30rem;
  margin: 0;
  font-size: clamp(2rem, 3.3vw, 3.55rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.notify-form {
  align-self: end;
}

.field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border-bottom: 1px solid rgba(255, 250, 248, 0.66);
}

.field-row input {
  min-width: 0;
  height: 4.4rem;
  padding: 0 1rem 0 0;
  border: 0;
  color: var(--white);
  background: transparent;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.field-row input::placeholder {
  color: rgba(255, 250, 248, 0.54);
}

.field-row input:focus {
  outline: 0;
}

.field-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  min-height: 3.25rem;
  margin: 0.55rem 0;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 999px;
  color: var(--red-900);
  background: var(--white);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
}

.field-row button:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

.field-row button svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.25rem;
  color: var(--white-muted);
  cursor: pointer;
  font-size: 0.91rem;
  line-height: 1.45;
}

.consent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkmark {
  display: grid;
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.08rem;
  place-items: center;
  border: 1px solid rgba(255, 250, 248, 0.68);
}

.consent input:checked + .checkmark::after {
  width: 0.45rem;
  height: 0.45rem;
  content: "";
  background: var(--white);
}

.consent input:focus-visible + .checkmark {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.form-message,
.privacy-note {
  min-height: 1.1rem;
  margin: 0.85rem 0 0;
  color: var(--white-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.form-message:empty {
  display: none;
}

.form-message.is-error {
  color: #fff1a8;
}

.privacy-note {
  opacity: 0.72;
}

.site-footer {
  padding: 2.25rem var(--page-pad) 2rem;
  background: rgba(83, 0, 6, 0.22);
}

.social-links,
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.social-links {
  gap: 1.75rem;
}

.social-links a,
.footer-meta a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.social-links a {
  position: relative;
}

.social-links a::after {
  position: absolute;
  right: 0;
  bottom: 0.45rem;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.social-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-meta {
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 1.45rem;
  padding-top: 1.45rem;
  border-top: 1px solid var(--hairline);
  color: rgba(255, 250, 248, 0.55);
}

.footer-meta p,
.footer-meta a {
  margin: 0;
  color: inherit;
  font-size: 0.76rem;
  font-weight: 500;
}

.earth-credit {
  opacity: 0.76;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes ambient-shift {
  from { transform: translate3d(-2%, 0, 0) rotate(-2deg); }
  to { transform: translate3d(2%, -1%, 0) rotate(2deg); }
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 48rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .hero-copy {
    align-self: start;
  }

  h1 {
    font-size: clamp(4.2rem, 15vw, 7.4rem);
  }

  .globe-stage {
    top: auto;
    right: -9rem;
    bottom: -5rem;
    width: min(76vw, 40rem);
    transform: none;
  }

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

@media (max-width: 620px) {
  .site-header {
    height: 5.5rem;
  }

  .wordmark {
    font-size: 0.82rem;
  }

  .language-switch {
    gap: 0.35rem;
  }

  .language-switch > span {
    width: 0.75rem;
  }

  .hero {
    min-height: 43rem;
    padding-top: 4rem;
  }

  h1 {
    font-size: clamp(3.8rem, 20vw, 6.1rem);
    line-height: 0.82;
  }

  h1 .outline {
    margin-left: 0;
  }

  .intro {
    max-width: 19rem;
    margin-top: 1.8rem;
  }

  .globe-stage {
    right: -9rem;
    bottom: -1.5rem;
    width: 31rem;
    opacity: 0.74;
  }

  .notify {
    gap: 2.5rem;
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  .field-row {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .field-row input {
    border-bottom: 1px solid rgba(255, 250, 248, 0.66);
  }

  .field-row button {
    width: 100%;
    margin-top: 1rem;
  }

  .social-links {
    gap: 0.3rem 1.25rem;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
