:root {
  color-scheme: light;
  --paper: #f3efe6;
  --ink: #11171c;
  --muted: #56636d;
  --line: rgba(17, 23, 28, 0.18);
  --blue: #2d7ff9;
  --steel: #cad2d8;
  --sun: #efa66b;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: white;
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 clamp(24px, 4vw, 68px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
}

.brand-mark path,
.brand-mark circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.brand-mark circle {
  fill: currentColor;
  stroke: none;
}

.header-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #60707b;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.header-note i {
  width: 7px;
  height: 7px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  animation: header-pulse 2.4s ease-out infinite;
}

@keyframes header-pulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 127, 249, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(45, 127, 249, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 127, 249, 0); }
}

.landing {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.96fr);
  min-height: calc(100svh - 116px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px clamp(42px, 7vw, 124px) 70px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(35px, 5vw, 64px);
  color: #496176;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border: 2px solid var(--blue);
  border-radius: 50%;
}

.hero-copy h1 {
  max-width: 780px;
  margin: 0 0 28px;
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: clamp(58px, 7.2vw, 115px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.84;
}

.hero-lede {
  max-width: 560px;
  margin: 0 0 42px;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.65;
}

.launch-note {
  display: flex;
  align-items: center;
  gap: 17px;
  max-width: 560px;
}

.launch-rule {
  width: 52px;
  height: 1px;
  background: var(--ink);
}

.launch-note p {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.launch-note small {
  color: #778086;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.launch-note strong {
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.product-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin: 47px 0 0;
  padding: 0;
  color: #70787d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  list-style: none;
  text-transform: uppercase;
}

.product-proof li:not(:last-child)::after {
  content: "•";
  margin: 0 22px;
  color: var(--blue);
}

.hero-art {
  position: relative;
  min-height: 650px;
  background: var(--steel);
  overflow: hidden;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.35), transparent 40%),
    linear-gradient(0deg, rgba(18, 22, 25, 0.13), transparent 45%);
  pointer-events: none;
}

.art-caption {
  position: absolute;
  z-index: 3;
  top: 28px;
  left: 32px;
  margin: 0;
  color: #40505a;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sun-disc {
  position: absolute;
  top: 7%;
  left: 50%;
  width: min(35vw, 440px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 70px rgba(239, 166, 107, 0.28);
  transform: translateX(-50%);
}

.gate-illustration {
  position: absolute;
  z-index: 2;
  right: 50%;
  bottom: -6%;
  width: min(48vw, 780px);
  height: 92%;
  transform: translateX(50%);
}

.gate-illustration .gate-left,
.gate-illustration .gate-right {
  fill: rgba(15, 20, 26, 0.97);
  stroke: #10161b;
  stroke-width: 12;
  stroke-linejoin: miter;
}

.gate-illustration .gate-left path:not(:first-child),
.gate-illustration .gate-right path:not(:first-child) {
  fill: none;
}

.gate-illustration .signal-wave {
  fill: none;
  stroke: #385c7f;
  stroke-width: 14;
  stroke-linecap: round;
}

.gate-illustration .signal-wave-1 {
  stroke-dasharray: 170;
  animation: signal 2.6s ease-in-out infinite;
}

.gate-illustration .signal-wave-2 {
  stroke-dasharray: 100;
  animation: signal 2.6s 240ms ease-in-out infinite;
}

.gate-illustration .signal-dot {
  fill: #10161b;
}

@keyframes signal {
  0%, 15% { stroke-dashoffset: 170; opacity: 0.15; }
  45%, 85% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -170; opacity: 0.15; }
}

.art-stamp {
  position: absolute;
  z-index: 4;
  right: 28px;
  bottom: 27px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid rgba(15, 20, 26, 0.35);
  background: rgba(235, 238, 239, 0.5);
  backdrop-filter: blur(8px);
}

.art-stamp span {
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: 28px;
  line-height: 1;
}

.art-stamp small {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 clamp(24px, 4vw, 68px);
  border-top: 1px solid var(--line);
  color: #788085;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.reveal {
  animation: reveal-up 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.reveal-1 { animation-delay: 40ms; }
.reveal-2 { animation-delay: 110ms; }
.reveal-3 { animation-delay: 190ms; }
.reveal-4 { animation-delay: 280ms; }
.reveal-5 { animation-delay: 360ms; }

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1040px) {
  .landing {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: calc(100svh - 74px);
  }

  .hero-art {
    min-height: 700px;
  }

  .gate-illustration {
    width: min(82vw, 740px);
  }

  .sun-disc {
    width: min(55vw, 440px);
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding: 0 20px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .header-note {
    max-width: 124px;
    justify-content: flex-end;
    font-size: 7px;
    line-height: 1.5;
    text-align: right;
  }

  .hero-copy {
    min-height: calc(100svh - 68px);
    padding: 50px 23px 54px;
  }

  .eyebrow {
    margin-bottom: 38px;
  }

  .hero-copy h1 {
    font-size: clamp(55px, 17.5vw, 78px);
  }

  .hero-lede {
    margin-bottom: 36px;
    font-size: 15px;
  }

  .product-proof {
    flex-direction: column;
    margin-top: 45px;
  }

  .product-proof li::after {
    display: none;
  }

  .hero-art {
    min-height: 560px;
  }

  .gate-illustration {
    width: 115vw;
  }

  .sun-disc {
    width: 64vw;
  }

  .site-footer {
    min-height: 62px;
    padding: 0 20px;
    font-size: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
