:root {
  color-scheme: dark;
  --bg: #070707;
  --bg-soft: #101112;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f3f0ea;
  --muted: #b8b3aa;
  --quiet: #77736d;
  --bone: #d6cdbc;
  --graphite: #2b2b2a;
  --max: 1160px;
  --side: 32px;
  --radius: 8px;
  --font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-family: var(--font-main);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  min-height: 100%;
  background: #050505;
}

body {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  margin: 0;
  background:
    radial-gradient(circle at 18% 16%, rgba(214, 205, 188, 0.1), transparent 28rem),
    radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.08), transparent 30rem),
    linear-gradient(180deg, #070707 0%, #0b0b0b 44%, #060606 100%);
  color: var(--text);
  font-family: var(--font-main);
  overflow-x: hidden;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
}

body::before {
  z-index: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 82%);
  opacity: 0.14;
}

body::after {
  z-index: 0;
  background:
    repeating-radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 6px);
  background-size: 180px 180px, 240px 240px;
  mix-blend-mode: soft-light;
  opacity: 0.075;
  animation: grainDrift 18s steps(8) infinite;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: rgba(214, 205, 188, 0.32);
  color: #fffaf1;
}

.js body {
  opacity: 0;
  transition: opacity 1250ms ease;
}

.js.is-loaded body {
  opacity: 1;
}

.ambient-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.24), rgba(7, 7, 7, 0.92)),
    linear-gradient(90deg, rgba(7, 7, 7, 0.22), rgba(7, 7, 7, 0.78)),
    url("assets/stealth-vision-records-premium-bg.webp") center top / cover no-repeat;
  filter: contrast(1.04) brightness(0.9);
  opacity: 0.92;
}

.ambient-backdrop::after {
  position: absolute;
  inset: -20%;
  content: "";
  background:
    radial-gradient(circle at 24% 68%, rgba(214, 205, 188, 0.08), transparent 24rem),
    radial-gradient(circle at 76% 42%, rgba(255, 255, 255, 0.07), transparent 26rem),
    linear-gradient(112deg, transparent 0%, rgba(255, 255, 255, 0.035) 45%, transparent 64%);
  opacity: 0.72;
  animation: lightLeak 16s ease-in-out infinite alternate;
}

.signal-noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.36;
  pointer-events: none;
  mix-blend-mode: screen;
}

.site-header,
main,
.site-footer {
  position: relative;
}

main,
.site-footer {
  z-index: 2;
}

.site-header {
  --header-offset-x: 0px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 64px, var(--max));
  height: 76px;
  margin: 0 auto;
  color: rgba(243, 240, 234, 0.9);
  transform: translateX(var(--header-offset-x));
}

.js .site-header {
  opacity: 0;
  transform: translateX(var(--header-offset-x)) translateY(6px);
  transition:
    opacity 1100ms ease 80ms,
    transform 1400ms cubic-bezier(0.19, 1, 0.22, 1) 80ms;
}

.js.is-loaded .site-header {
  opacity: 1;
  transform: translateX(var(--header-offset-x)) translateY(0);
}

.site-header::before {
  position: fixed;
  inset: 0 0 auto;
  z-index: -1;
  height: 92px;
  content: "";
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.88), rgba(7, 7, 7, 0));
  pointer-events: none;
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: clamp(4px, 0.45vw, 7px);
  font-size: 0.78rem;
  font-weight: 700;
}

.brand-logo {
  display: block;
  width: clamp(30px, 3vw, 36px);
  height: auto;
  aspect-ratio: 84 / 68;
  flex: 0 0 auto;
}

.site-nav {
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.38);
  backdrop-filter: blur(18px);
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(243, 240, 234, 0.72);
  font-size: 0.8rem;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.section-shell {
  width: min(100% - 64px, var(--max));
  margin: 0 auto;
}

.hero {
  display: flex;
  align-items: center;
  min-height: 84svh;
  padding-top: 142px;
  padding-bottom: 72px;
}

.hero-copy {
  max-width: 900px;
}

.eyebrow,
.section-label,
.signal-text,
.card-index {
  margin: 0;
  color: var(--quiet);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-title {
  margin: 22px 0 30px;
  font-size: clamp(4.8rem, 7.1vw, 6.6rem);
  font-weight: 760;
  line-height: 1.1;
  overflow: visible;
  text-wrap: balance;
}

.title-line {
  display: block;
  opacity: 0;
  overflow: visible;
  line-height: 1.1;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
  transform: translateY(0.18em);
  filter: blur(3px);
}

.title-word {
  display: inline;
  line-height: inherit;
}

.is-loaded .title-line {
  animation: titleReveal 1250ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.title-line:nth-child(2) {
  animation-delay: 160ms;
}

.title-line:nth-child(3) {
  animation-delay: 320ms;
}

.hero-subtitle {
  max-width: 690px;
  margin: 0;
  color: rgba(243, 240, 234, 0.74);
  font-size: 1.28rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: rgba(243, 240, 234, 0.92);
  color: #090909;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #fffaf2;
  border-color: rgba(255, 255, 255, 0.36);
}

.button-secondary {
  background: rgba(214, 205, 188, 0.11);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(214, 205, 188, 0.17);
  border-color: rgba(243, 240, 234, 0.28);
}

.vision-section,
.focus-section,
.founder-section,
.contact-section {
  padding: 92px 0;
  border-top: 1px solid var(--line-soft);
}

.section-heading {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  margin-bottom: 34px;
}

.section-heading h2,
.founder-panel h2,
.contact-copy h2 {
  margin: 0;
  color: rgba(243, 240, 234, 0.95);
  font-size: 2.4rem;
  font-weight: 720;
  line-height: 1;
}

.large-copy {
  max-width: 880px;
  margin: 0 0 0 auto;
  color: rgba(243, 240, 234, 0.78);
  font-size: 1.55rem;
  line-height: 1.45;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.focus-card {
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.064), rgba(255, 255, 255, 0.028)),
    rgba(8, 8, 8, 0.48);
  backdrop-filter: blur(18px);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.focus-card:hover {
  transform: translateY(-5px);
  border-color: rgba(243, 240, 234, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.084), rgba(255, 255, 255, 0.032)),
    rgba(10, 10, 10, 0.62);
}

.focus-card h3 {
  margin: 78px 0 16px;
  color: rgba(243, 240, 234, 0.94);
  font-size: 1.15rem;
  font-weight: 720;
}

.focus-card p,
.founder-panel p {
  margin: 0;
  color: rgba(243, 240, 234, 0.66);
  font-size: 0.98rem;
  line-height: 1.65;
}

.founder-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 56px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 0%, rgba(214, 205, 188, 0.09), transparent 22rem),
    radial-gradient(circle at 100% 78%, rgba(255, 255, 255, 0.06), transparent 24rem),
    rgba(255, 255, 255, 0.038);
}

.founder-panel h2 {
  margin-top: 14px;
}

.contact-section {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 86px;
}

.contact-copy h2 {
  margin-top: 12px;
  margin-bottom: 20px;
  font-size: 3.35rem;
}

.email-link {
  color: rgba(243, 240, 234, 0.82);
  font-size: 1.15rem;
  transition: color 180ms ease;
}

.email-link:hover,
.email-link:focus-visible {
  color: #fffaf2;
}

.site-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 292px;
  margin: 0;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, #070707 0%, #050505 46%, #050505 100%),
    #050505;
  color: var(--quiet);
  font-size: 0.82rem;
  isolation: isolate;
}

.site-footer::before {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(243, 240, 234, 0.28), transparent);
  pointer-events: none;
}

.site-footer::after {
  position: absolute;
  inset: auto 0 -1px;
  z-index: 1;
  height: 2px;
  content: "";
  background: #050505;
  pointer-events: none;
}

.footer-signal {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(214, 205, 188, 0.035), transparent 24%, transparent 78%, rgba(255, 255, 255, 0.035)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 86px);
}

.outro-signal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.88;
}

.outro-rails {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.outro-rails span {
  position: absolute;
  top: 24px;
  bottom: 38px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(243, 240, 234, 0.24), transparent);
  opacity: 0.24;
  transform: skewX(-18deg);
  animation: railPulse 7s ease-in-out infinite;
}

.outro-rails span:nth-child(1) {
  left: 18%;
}

.outro-rails span:nth-child(2) {
  left: 43%;
  animation-delay: -1.4s;
}

.outro-rails span:nth-child(3) {
  left: 69%;
  animation-delay: -3.1s;
}

.outro-rails span:nth-child(4) {
  left: 84%;
  animation-delay: -5.2s;
}

.footer-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 64px, var(--max));
  margin: 0 auto;
  padding: 218px 0 42px;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(2px);
  transition:
    opacity 1000ms ease,
    transform 1300ms cubic-bezier(0.19, 1, 0.22, 1),
    filter 1300ms cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.is-visible,
.no-js .reveal {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.js:not(.is-loaded) .hero .reveal.is-visible {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(2px);
}

.no-js .title-line {
  opacity: 1;
  transform: none;
  filter: none;
}

.hero .eyebrow.reveal {
  transition-delay: 180ms;
}

.hero .hero-subtitle.reveal {
  transition-delay: 500ms;
}

.hero .hero-actions.reveal {
  transition-delay: 620ms;
}

@keyframes titleReveal {
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes lightLeak {
  from {
    transform: translate3d(-1.5%, -1%, 0) rotate(0deg);
  }
  to {
    transform: translate3d(1.5%, 1%, 0) rotate(1deg);
  }
}

@keyframes grainDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  25% {
    transform: translate3d(-1.5%, 1%, 0);
  }
  50% {
    transform: translate3d(1%, -1.5%, 0);
  }
  75% {
    transform: translate3d(-1%, -0.5%, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes railPulse {
  0%,
  100% {
    opacity: 0.16;
    transform: skewX(-18deg) translateX(0);
  }
  45% {
    opacity: 0.42;
    transform: skewX(-18deg) translateX(8px);
  }
}

@media (max-width: 1020px) {
  .hero-title {
    font-size: 5rem;
  }

  .focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .focus-card {
    min-height: 230px;
  }
}

@media (max-width: 760px) {
  :root {
    --side: 20px;
  }

  .site-header,
  .section-shell,
  .footer-inner {
    width: min(100% - 40px, var(--max));
  }

  .site-header {
    --header-offset-x: 0px;
    top: 0;
    height: 70px;
  }

  .brand {
    gap: 5px;
    font-size: 0.72rem;
  }

  .brand-logo {
    width: clamp(27px, 8vw, 32px);
  }

  .site-nav {
    gap: 0;
  }

  .site-nav a {
    padding: 8px 9px;
    font-size: 0.74rem;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 64px;
  }

  .hero-title {
    margin: 18px 0 22px;
    font-size: 3.45rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1.06rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
  }

  .button {
    width: 100%;
  }

  .vision-section,
  .focus-section,
  .founder-section,
  .contact-section {
    padding: 68px 0;
  }

  .section-heading,
  .founder-panel,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-heading h2,
  .founder-panel h2 {
    font-size: 2rem;
  }

  .large-copy {
    margin-left: 0;
    font-size: 1.22rem;
  }

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

  .focus-card {
    min-height: 210px;
  }

  .founder-panel {
    padding: 26px;
  }

  .contact-section {
    display: grid;
    align-items: start;
    padding-bottom: 62px;
  }

  .contact-copy h2 {
    font-size: 2.35rem;
  }

  .site-footer {
    padding-bottom: 0;
  }

  .footer-inner {
    flex-direction: column;
    padding-bottom: 32px;
  }

  .site-footer {
    min-height: 254px;
  }

  .footer-inner {
    padding-top: 184px;
  }
}

@media (max-width: 430px) {
  .site-header,
  .section-shell,
  .footer-inner {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    height: auto;
    padding-top: 16px;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .site-nav a {
    flex: 1;
    text-align: center;
  }

  .hero {
    padding-top: 132px;
  }

  .hero-title {
    font-size: 2.9rem;
  }

  .focus-card h3 {
    margin-top: 62px;
  }

  .site-footer {
    min-height: 232px;
  }

  .footer-inner {
    padding-top: 162px;
  }
}

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

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

  .reveal,
  .title-line {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .js body {
    opacity: 1;
  }

  .signal-noise,
  .outro-signal,
  .outro-rails span {
    display: none;
  }
}
