:root {
  --navy: #071f45;
  --navy-deep: #04152f;
  --blue: #008fbd;
  --blue-soft: #42bce5;
  --yellow: #d9ec3a;
  --cream: #f5f0df;
  --white: #fbfcff;
  --line: rgba(235, 243, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--navy-deep);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 75% 28%, rgba(0, 143, 189, 0.2), transparent 34%),
    linear-gradient(145deg, var(--navy) 0%, var(--navy-deep) 82%);
  color: var(--white);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: var(--navy-deep);
  background: var(--yellow);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.08;
  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='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.ambient {
  position: fixed;
  z-index: 0;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.12;
}

.ambient-one {
  top: -14rem;
  left: -10rem;
  background: #376fca;
}

.ambient-two {
  right: -17rem;
  bottom: 10rem;
  background: var(--yellow);
  opacity: 0.045;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 28px clamp(24px, 5vw, 78px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--white);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--blue);
  box-shadow: 0 8px 25px rgba(0, 143, 189, 0.2);
}

.brand-mark span {
  position: absolute;
  display: block;
  width: 5px;
  border-radius: 10px;
  background: var(--yellow);
  transform: rotate(-18deg);
}

.brand-mark span:nth-child(1) { height: 10px; left: 10px; }
.brand-mark span:nth-child(2) { height: 18px; }
.brand-mark span:nth-child(3) { height: 12px; right: 10px; }

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-name {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1;
}

.brand-name b {
  color: var(--yellow);
  font-weight: 750;
}

.brand-place {
  color: var(--blue-soft);
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.015em;
}

.status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status-short { display: none; }

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 0 rgba(217, 236, 58, 0.5);
  animation: status-pulse 2.4s infinite;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  min-height: 100svh;
  padding: 120px clamp(24px, 5vw, 78px) 84px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 710px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  color: var(--yellow);
  font-size: clamp(0.68rem, 0.8vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: block;
  width: 42px;
  height: 1px;
  content: "";
  background: var(--yellow);
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3.15rem, 6.65vw, 7.4rem);
  font-weight: 600;
  letter-spacing: -0.067em;
  line-height: 0.91;
}

h1 em {
  color: var(--yellow);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.yellow-dot {
  color: var(--yellow);
}

.intro {
  max-width: 535px;
  margin: 34px 0 0 52px;
  color: rgba(246, 249, 255, 0.71);
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  font-weight: 400;
  line-height: 1.65;
}

.intro strong {
  color: var(--white);
  font-weight: 600;
}

.actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 38px 0 0 52px;
}

.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 53px;
  padding: 0 22px 0 25px;
  border: 1px solid var(--yellow);
  border-radius: 999px;
  color: var(--navy-deep);
  background: var(--yellow);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(217, 236, 58, 0.13);
  transition: color 220ms ease, background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.share-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.share-button:hover {
  color: var(--yellow);
  background: transparent;
  transform: translateY(-2px);
  box-shadow: 0 11px 38px rgba(217, 236, 58, 0.2);
}

.share-button:focus-visible {
  outline: 3px solid rgba(217, 236, 58, 0.35);
  outline-offset: 4px;
}

.microcopy {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.signal-scene {
  position: relative;
  align-self: stretch;
  min-height: 650px;
  margin-right: max(-8vw, -125px);
  transform-style: preserve-3d;
}

.sun {
  position: absolute;
  top: 11%;
  right: 16%;
  width: clamp(110px, 12vw, 180px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 80px rgba(217, 236, 58, 0.19);
  animation: float 7s ease-in-out infinite;
}

.landscape {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: min(66vw, 840px);
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 -25px 55px rgba(2, 14, 33, 0.18));
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.far-mountain,
.near-mountain,
.ridge-line,
.landmarks,
.lake,
.lake-lines,
.contours {
  transform-origin: center bottom;
  transition: transform 800ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.near-mountain { fill: #092550; }
.ridge-line { stroke: rgba(123, 170, 228, 0.48); stroke-width: 1.5; }
.landmarks { color: var(--yellow); opacity: 0.96; }
.landmark-fill { fill: currentColor; stroke: currentColor; stroke-linejoin: round; stroke-width: 1.5; }
.landmark-detail { fill: #082750; stroke: none; }
.lake-lines { stroke: rgba(108, 160, 225, 0.34); stroke-width: 1.4; }

.signal {
  position: absolute;
  top: var(--y);
  left: var(--x);
  z-index: 4;
  width: 1px;
  height: 1px;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.signal-core,
.pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.signal-core {
  z-index: 3;
  width: 13px;
  height: 13px;
  background: var(--yellow);
  border: 3px solid var(--navy-deep);
  box-shadow: 0 0 22px 5px rgba(217, 236, 58, 0.42);
}

.pulse {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(217, 236, 58, 0.8);
  animation: signal-pulse 4.2s cubic-bezier(0.2, 0.5, 0.3, 1) infinite;
}

.pulse-two { animation-delay: 1.4s; }
.pulse-three { animation-delay: 2.8s; }

.location-label {
  position: absolute;
  top: calc(61% - 14px);
  left: calc(56% + 26px);
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 9px;
  width: max-content;
  padding: 10px 13px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  background: rgba(5, 24, 53, 0.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 32px rgba(1, 12, 29, 0.22);
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.location-label > span {
  grid-row: 1 / 3;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-width: 30px;
  border-radius: 5px;
  color: var(--navy-deep);
  background: var(--yellow);
  font-size: 0.65rem;
  font-weight: 800;
}

.location-label strong {
  color: var(--white);
  font-size: 0.69rem;
  letter-spacing: 0.04em;
}

.location-label small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  right: clamp(24px, 5vw, 78px);
  bottom: 28px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-cue span {
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--yellow) 0 50%, rgba(255, 255, 255, 0.15) 50% 100%);
  background-size: 100% 200%;
  animation: scroll-line 2s ease-in-out infinite;
}

.manifesto {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 65vh;
  padding: 110px 24px 150px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--yellow);
  color: var(--navy-deep);
  text-align: center;
}

.manifesto::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.16;
  background:
    radial-gradient(circle at 12% 18%, transparent 0 7%, var(--navy) 7.1% 7.25%, transparent 7.35%),
    radial-gradient(circle at 88% 78%, transparent 0 13%, var(--navy) 13.1% 13.2%, transparent 13.3%);
}

.manifesto-kicker {
  position: relative;
  margin: 0 0 26px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.manifesto-text {
  position: relative;
  max-width: 1000px;
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 7.8rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.97;
}

.manifesto-text span {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
}

.ticker {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  overflow: hidden;
  border-top: 1px solid rgba(4, 21, 47, 0.22);
  border-bottom: 1px solid rgba(4, 21, 47, 0.22);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  padding: 13px 0;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: ticker 24s linear infinite;
}

.ticker-track b { font-size: 1rem; }

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(24px, 5vw, 78px);
  color: rgba(255, 255, 255, 0.45);
  background: var(--navy-deep);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  padding: 14px 18px;
  border: 1px solid rgba(217, 236, 58, 0.35);
  border-radius: 8px;
  color: var(--white);
  background: rgba(4, 21, 47, 0.92);
  font-size: 0.78rem;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: reveal 850ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-delay-1 { animation-delay: 120ms; }
.reveal-delay-2 { animation-delay: 260ms; }
.reveal-delay-3 { animation-delay: 410ms; }

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

@keyframes signal-pulse {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.15); }
  12% { opacity: 0.9; }
  78%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(9); }
}

@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217, 236, 58, 0.45); }
  50% { box-shadow: 0 0 0 7px rgba(217, 236, 58, 0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes scroll-line {
  0% { background-position: 0 100%; }
  100% { background-position: 0 -100%; }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
    align-content: center;
    min-height: 920px;
    padding-top: 135px;
  }

  .hero-copy { max-width: 780px; }
  h1 { font-size: clamp(4rem, 9.5vw, 6.9rem); }
  .signal-scene { position: absolute; inset: auto -3% 0 37%; min-height: 74%; opacity: 0.78; }
  .hero-copy { padding-bottom: 230px; }
  .sun { top: 20%; right: 22%; }
  .location-label { display: none; }
  .signal { top: 66%; left: 57%; }
  .scroll-cue { display: none; }
}

@media (max-width: 700px) {
  .site-header { padding: 22px 20px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 0.84rem; }
  .brand-place { font-size: 0.56rem; }
  .status-long { display: none; }
  .status-short { display: inline; }
    .status-dot { margin-right: 8px; }

  .hero {
    min-height: 850px;
    padding: 118px 20px 45px;
    align-content: start;
  }

  .hero-copy { padding-bottom: 260px; }
  .eyebrow { margin-bottom: 18px; font-size: 0.6rem; }
  .eyebrow::before { width: 25px; }
  h1 { font-size: clamp(3.35rem, 15vw, 5.2rem); line-height: 0.92; }
  .intro { max-width: 420px; margin: 26px 0 0; font-size: 0.96rem; line-height: 1.55; }
  .actions { align-items: flex-start; flex-direction: column; gap: 6px; margin: 28px 0 0; }
  .share-button { min-height: 50px; }
  .microcopy { margin-left: 11px; }

  .signal-scene {
    inset: auto -22% -2% 3%;
    min-height: 52%;
    opacity: 0.92;
  }

  .landscape { width: 120vw; }
  .sun { top: 22%; right: 12%; width: 96px; }
  .signal { top: 62%; left: 55%; }

  .manifesto { min-height: 58vh; padding: 80px 22px 120px; }
  .site-footer { gap: 12px; padding: 24px 20px; }
  .site-footer span:nth-child(2) { display: none; }
  .toast { right: 16px; bottom: 16px; left: 16px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Écho Local additions: the "tell me when it launches" form, the doors. */
.actions {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.notify-form {
  display: grid;
  gap: 10px;
  width: min(100%, 460px);
}

.notify-label {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.notify-row {
  display: flex;
  gap: 8px;
}

.notify-row input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 53px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-size: 0.95rem;
}

.notify-row input[type="email"]::placeholder { color: rgba(255, 255, 255, 0.4); }

.notify-row input[type="email"]:focus-visible {
  outline: 3px solid rgba(217, 236, 58, 0.35);
  outline-offset: 2px;
  border-color: var(--yellow);
}

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }

.yellow-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 53px;
  padding: 0 22px;
  border: 1px solid var(--yellow);
  border-radius: 999px;
  color: var(--navy-deep);
  background: var(--yellow);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(217, 236, 58, 0.13);
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.yellow-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.yellow-button:hover { color: var(--yellow); background: transparent; transform: translateY(-2px); }
.yellow-button:focus-visible { outline: 3px solid rgba(217, 236, 58, 0.35); outline-offset: 4px; }

.notify-error { margin: 0; color: #ffb4b4; font-size: 0.78rem; }

.notify-sent {
  margin: 0;
  padding: 14px 20px;
  border: 1px solid rgba(217, 236, 58, 0.5);
  border-radius: 14px;
  color: var(--white);
  background: rgba(217, 236, 58, 0.1);
  font-size: 0.9rem;
}

.microcopy { margin: 0; line-height: 1.5; }

.site-footer { flex-wrap: wrap; gap: 14px 28px; }

.doors { display: flex; flex-wrap: wrap; gap: 8px 22px; }

.doors a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 236, 58, 0.45);
  padding-bottom: 2px;
  transition: color 200ms ease, border-color 200ms ease;
}

.doors a:hover { color: var(--yellow); border-color: var(--yellow); }

@media (max-width: 700px) {
  .notify-row { flex-direction: column; }
  .yellow-button { width: 100%; }
  .microcopy { margin-left: 0; }
  .site-footer span:nth-child(2) { display: inline; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}
