@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/sora-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/sora-latin-700-normal.woff2") format("woff2");
}

:root {
  --bg: #070B14;
  --bg-raise: #0A0F1E;
  --brand: #0D4C8F;
  --brand-hi: #0A61C9;
  --brand-lo: #6D9AC4;
  --ink: #F2F5FA;
  --ink-2: #9AA7BD;
  --line: rgba(255,255,255,0.08);
  --outer-gutter: clamp(1.5rem, 4vw, 7.5rem);
  --grid-gap: clamp(1rem, 1.35vw, 1.75rem);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--bg);
  color-scheme: dark;
}

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--brand-hi);
  outline-offset: 3px;
}

.page-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto 1px minmax(0, 1fr) auto;
  min-height: 100dvh;
  isolation: isolate;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  width: min(calc(100% - (var(--outer-gutter) * 2)), 1680px);
  margin-inline: auto;
}

.site-header {
  min-height: clamp(5rem, 8vh, 6.5rem);
  align-items: center;
}

.brand-slot {
  grid-column: 2 / span 3;
  display: flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: auto;
  height: clamp(28px, 2vw, 32px);
  max-width: min(220px, 100%);
  object-fit: contain;
  object-position: left center;
}

.rule {
  align-items: start;
}

.rule-line {
  grid-column: 2 / 13;
  display: block;
  width: 100%;
  height: 1px;
  background: var(--line);
}

.hero {
  position: relative;
  min-height: 0;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
  grid-column: 2 / span 6;
  align-self: center;
  max-width: 760px;
  padding-block: clamp(2.25rem, 6vh, 5.5rem);
}

.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 15%;
  left: -22%;
  width: 64%;
  height: 70%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    105deg,
    rgba(255,255,255,0) 0%,
    rgba(109,154,196,0.025) 38%,
    rgba(109,154,196,0.11) 50%,
    rgba(109,154,196,0.025) 62%,
    rgba(255,255,255,0) 100%
  );
  filter: blur(28px);
  transform: translate3d(-30%, 0, 0) skewX(-8deg);
  animation: spotlight-sweep 1.45s cubic-bezier(.22,.61,.36,1) 120ms 1 both;
}

@keyframes spotlight-sweep {
  0% {
    opacity: 0;
    transform: translate3d(-35%, 0, 0) skewX(-8deg);
  }
  35% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translate3d(125%, 0, 0) skewX(-8deg);
  }
}

.eyebrow {
  margin: 0 0 clamp(1.25rem, 2.8vh, 2rem);
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.2;
}

h1 {
  max-width: 11ch;
  margin: 0;
  color: var(--ink);
  font-family: "Sora", Arial, Helvetica, sans-serif;
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-wrap: balance;
}

.subline {
  margin: clamp(1.4rem, 2.8vh, 2rem) 0 0;
  color: var(--ink-2);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.55;
}


.notify-form {
  width: min(100%, 650px);
  margin-top: clamp(2.35rem, 5.5vh, 4.75rem);
}

.form-label {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 500;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
}

.form-row input {
  min-width: 0;
  height: 3.2rem;
  border: 1px solid rgba(255,255,255,0.16);
  border-right: 0;
  border-radius: 0.18rem 0 0 0.18rem;
  padding: 0 1rem;
  background: transparent;
  color: var(--ink);
  caret-color: var(--brand-hi);
  transition: border-color 160ms ease, background-color 160ms ease;
}

.form-row input::placeholder {
  color: var(--ink-2);
  opacity: 0.82;
}

.form-row input:hover {
  border-color: rgba(255,255,255,0.28);
}

.form-row input:focus {
  position: relative;
  z-index: 2;
  border-color: var(--brand-hi);
  background: rgba(10,15,30,0.58);
}

.form-row button {
  height: 3.2rem;
  border: 1px solid var(--brand-hi);
  border-radius: 0 0.18rem 0.18rem 0;
  padding: 0 1.35rem;
  background: var(--brand-hi);
  color: #FFFFFF;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.form-row button:hover {
  background: var(--brand);
  border-color: var(--brand-lo);
}

.form-row button:active {
  transform: translateY(1px);
}

.form-row button:disabled {
  cursor: default;
  opacity: 0.68;
}

.consent,
.form-status {
  margin: 0.78rem 0 0;
  color: var(--ink-2);
  font-size: 0.77rem;
  line-height: 1.45;
}

.form-status {
  min-height: 1.15rem;
}

.notify-form.is-success .form-label,
.notify-form.is-success .form-row,
.notify-form.is-success .consent {
  display: none;
}

.notify-form.is-success .form-status {
  margin-top: 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}

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

.hero-visual {
  position: absolute;
  z-index: 1;
  top: 0;
  right: calc(var(--outer-gutter) * -0.25);
  bottom: 0;
  width: min(52vw, 940px);
  overflow: hidden;
  pointer-events: none;
}

.scene-field {
  position: absolute;
  top: 6%;
  right: -8%;
  width: 104%;
  height: 88%;
  pointer-events: none;
  opacity: 0.92;
  background:
    radial-gradient(ellipse at 56% 42%, rgba(10,97,201,0.18) 0%, rgba(13,76,143,0.10) 28%, rgba(7,11,20,0) 63%),
    linear-gradient(126deg, rgba(109,154,196,0.025) 0%, rgba(13,76,143,0.05) 46%, rgba(7,11,20,0) 72%);
  background-size: 128% 128%, 100% 100%;
  background-repeat: no-repeat;
  transform-origin: 65% 50%;
}

.fallback-art,
.brand-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.fallback-art {
  top: -6%;
  right: -18%;
  bottom: auto;
  left: auto;
  width: 92%;
  height: 112%;
  max-width: none;
  object-fit: contain;
  object-position: right center;
  opacity: 0.13;
  transform: scale(1.04);
  transform-origin: center right;
  transition: opacity 600ms ease;
}

.brand-canvas {
  display: block;
  opacity: 0;
  transition: opacity 600ms ease;
}

.hero-visual.three-ready .brand-canvas {
  opacity: 1;
}

.hero-visual.three-ready .fallback-art {
  opacity: 0;
}

.site-footer {
  min-height: clamp(3.5rem, 7vh, 5rem);
  align-items: center;
}

.site-footer p {
  grid-column: 2 / 13;
  margin: 0;
  color: var(--ink-2);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.18em;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
}

.footer-separator {
  margin-inline: 0.5rem;
}

@media (min-width: 1024px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .page-shell {
    height: 100dvh;
    min-height: 620px;
  }
}

@media (max-width: 1023px) {
  .grid {
    width: min(calc(100% - 3rem), 920px);
  }

  .brand-slot,
  .rule-line,
  .site-footer p {
    grid-column: 1 / 13;
  }

  .hero {
    align-content: start;
  }

  .hero-copy {
    grid-column: 1 / 9;
    padding-top: clamp(3rem, 7vh, 5rem);
  }

  .hero-visual {
    right: -10vw;
    width: 58vw;
  }
}

@media (max-width: 767px) {
  :root {
    --outer-gutter: 1.25rem;
  }

  .page-shell {
    grid-template-rows: auto 1px auto auto;
  }

  .grid {
    width: calc(100% - 2.5rem);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 1rem;
  }

  .site-header {
    min-height: 4.75rem;
  }

  .brand-slot,
  .rule-line,
  .site-footer p {
    grid-column: 1 / 5;
  }

  .brand-logo {
    height: 28px;
  }

  .hero {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: auto;
    padding-bottom: 0;
  }

  .hero-copy {
    grid-column: 1 / 5;
    max-width: none;
    padding-block: clamp(3.5rem, 10vh, 5.5rem) 2.25rem;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(2.75rem, 14vw, 4.4rem);
  }

 .subline {
    max-width: 29ch;
  }

  .notify-form {
    margin-top: 2.7rem;
  }

  .hero-visual {
    position: relative;
    grid-column: 1 / 5;
    top: auto;
    right: auto;
    bottom: auto;
    width: calc(100% + 1.25rem);
    min-height: 13rem;
    margin-right: -1.25rem;
  }

  .scene-field,
  .brand-canvas {
    display: none;
  }

  .fallback-art {
    top: -8%;
    right: -26%;
    width: 106%;
    height: 116%;
    opacity: 0.10;
    object-position: right center;
  }

  .site-footer {
    min-height: 4.5rem;
    padding-block: 1rem;
  }

  .site-footer p {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 479px) {
  .form-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .form-row input {
    padding-inline: 0.85rem;
  }

  .form-row button {
    padding-inline: 1rem;
  }

  .footer-separator {
    display: none;
  }

  .site-footer p {
    display: grid;
    gap: 0.35rem;
  }
}

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

  .hero-copy::before {
    display: none;
  }

  .brand-canvas {
    display: none;
  }
}

/* v2: restrained launch motion inspired by editorial animated-hero patterns. */
@media (prefers-reduced-motion: no-preference) {
  .eyebrow,
  #hero-title,
  .subline,
  .notify-form {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    animation: hero-reveal 760ms cubic-bezier(.22,.61,.36,1) both;
  }

  .eyebrow { animation-delay: 90ms; }
  #hero-title { animation-delay: 170ms; }
  .subline { animation-delay: 280ms; }
  .notify-form { animation-delay: 390ms; }

  .scene-field {
    animation: field-settle 5.2s cubic-bezier(.16,1,.3,1) 1 both;
  }
}

@keyframes hero-reveal {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes field-settle {
  0% {
    opacity: 0;
    transform: translate3d(7%, -2%, 0) scale(1.05);
    background-position: 62% 44%, 50% 50%;
  }
  32% {
    opacity: 1;
  }
  100% {
    opacity: 0.92;
    transform: translate3d(0, 0, 0) scale(1);
    background-position: 50% 50%, 50% 50%;
  }
}
