:root {
  --ink: #0b1115;
  --paper: #f5f3ee;
  --white: #ffffff;
  --mist: #d9e1e5;
  --line: rgba(11, 17, 21, 0.16);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  background: white; color: black; padding: .75rem 1rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem clamp(1.25rem, 4vw, 4rem);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(to bottom, rgba(0,0,0,.58), transparent);
}
.wordmark {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-decoration: none;
}
.wordmark span { font-weight: 400; opacity: .72; }
.site-nav { display: flex; gap: 2rem; }
.site-nav a { text-decoration: none; font-size: .9rem; opacity: .82; }
.site-nav a:hover, .site-nav a:focus-visible { opacity: 1; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  background: #000;
  overflow: hidden;
  color: white;
  padding-top: 5.4rem;
  padding-bottom: 2rem;
}
.hero-video-stage {
  position: relative;
  height: clamp(430px, 67svh, 760px);
  overflow: hidden;
  background: #000;
  isolation: isolate;
}
.hero-video-backdrop,
.hero-video-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-video-backdrop {
  z-index: 0;
  object-fit: cover;
  transform: scale(1.18);
  filter: blur(44px) brightness(.48) saturate(.85);
  opacity: .92;
}
.hero-video-main {
  z-index: 1;
  object-fit: contain;
  background: transparent;
  -webkit-mask-image: radial-gradient(ellipse 83% 78% at 50% 54%, #000 62%, rgba(0,0,0,.92) 72%, rgba(0,0,0,.45) 87%, transparent 100%);
  mask-image: radial-gradient(ellipse 83% 78% at 50% 54%, #000 62%, rgba(0,0,0,.92) 72%, rgba(0,0,0,.45) 87%, transparent 100%);
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.82) 0%, rgba(0,0,0,.15) 24%, transparent 46%),
    linear-gradient(to top, rgba(0,0,0,.94) 0%, rgba(0,0,0,.12) 30%, transparent 58%),
    linear-gradient(to right, rgba(0,0,0,.18), transparent 45%, rgba(0,0,0,.18));
  pointer-events: none;
}
.hero-title {
  position: absolute;
  z-index: 3;
  top: clamp(1.2rem, 3.4vh, 2.5rem);
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  width: 100%;
  padding: 0 1.25rem;
  text-align: center;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.03em;
  text-shadow: 0 3px 28px rgba(0,0,0,.76);
}

.hero-surface {
  position: relative;
  z-index: 3;
  height: clamp(125px, 16vw, 220px);
  margin-top: -1px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 68% 82% at 50% -8%, rgba(181, 214, 255, .22) 0%, rgba(89, 130, 181, .10) 34%, transparent 67%),
    linear-gradient(to bottom, #12171d 0%, #090c10 38%, #030405 100%);
  box-shadow:
    inset 0 1px 0 rgba(226, 241, 255, .20),
    inset 0 22px 46px rgba(177, 210, 247, .07),
    0 -18px 48px rgba(124, 172, 225, .08);
}
.hero-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(227, 240, 255, .11) 50%, transparent 100%) top / 100% 1px no-repeat,
    radial-gradient(ellipse 42% 35% at 50% 0%, rgba(230, 242, 255, .16), transparent 72%);
  pointer-events: none;
}
.hero-surface-grid {
  position: absolute;
  left: -8%;
  right: -8%;
  top: -18%;
  bottom: -50%;
  transform: perspective(520px) rotateX(62deg) scale(1.08);
  transform-origin: 50% 0;
  opacity: .42;
  background-image:
    linear-gradient(rgba(190, 214, 240, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190, 214, 240, .10) 1px, transparent 1px),
    linear-gradient(45deg, transparent 47%, rgba(226, 239, 255, .055) 49%, rgba(226, 239, 255, .055) 51%, transparent 53%),
    linear-gradient(-45deg, transparent 47%, rgba(226, 239, 255, .045) 49%, rgba(226, 239, 255, .045) 51%, transparent 53%);
  background-size: 74px 54px, 74px 54px, 148px 108px, 148px 108px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.95), rgba(0,0,0,.45) 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.95), rgba(0,0,0,.45) 62%, transparent 100%);
}
.hero-surface::after {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 0;
  height: 72%;
  background: radial-gradient(ellipse at 50% 0%, rgba(218, 235, 255, .13), transparent 68%);
  filter: blur(16px);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 4;
  width: min(760px, calc(100% - 2.5rem));
  margin: clamp(1.7rem, 4vh, 3.4rem) 0 0 clamp(1.25rem, 6vw, 6rem);
  padding-bottom: 4.7rem;
}
.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .74rem;
  font-weight: 700;
}
.section h2, .feature h2 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.025em;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin: 1.4rem 0 2rem;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255,255,255,.82);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-light { background: white; color: black; }
.button-dark { background: var(--ink); color: white; }
.hero-actions {
  position: absolute;
  z-index: 5;
  right: clamp(1.25rem, 4vw, 4rem);
  bottom: 2rem;
}
.sound-toggle {
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(0,0,0,.38);
  backdrop-filter: blur(12px);
  color: white;
  padding: .72rem 1rem;
  cursor: pointer;
}
.sound-icon { font-size: .55rem; margin-right: .45rem; }
.scroll-cue {
  position: absolute;
  z-index: 3;
  left: clamp(1.25rem, 6vw, 6rem);
  bottom: 1.5rem;
  text-decoration: none;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  opacity: .72;
}

.section {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 6vw, 6rem);
  max-width: 1440px;
  margin: 0 auto;
}
.section-label {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  font-weight: 700;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.35fr .75fr;
  gap: clamp(2rem, 8vw, 8rem);
  padding-top: clamp(2.5rem, 6vw, 5rem);
}
.intro h2, .statement blockquote, .contact h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5.3rem);
  line-height: 1.02;
}
.intro-copy { font-size: 1.08rem; line-height: 1.75; color: #39434a; }
.intro-copy p:first-child { margin-top: 0; }

.feature-dark { background: var(--ink); color: white; }
.feature-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 4vw, 4rem);
}
.feature h2 {
  margin: 0 0 clamp(3rem, 7vw, 6rem);
  font-size: clamp(2.8rem, 5.5vw, 6rem);
  line-height: .98;
  max-width: 900px;
}
.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.18);
}
.capability-grid article {
  padding: 2rem 1.5rem 0 0;
  border-right: 1px solid rgba(255,255,255,.18);
  min-height: 300px;
}
.capability-grid article + article { padding-left: 1.5rem; }
.capability-grid article:last-child { border-right: 0; }
.capability-grid span { font-size: .75rem; opacity: .5; }
.capability-grid h3 { font-size: 1.2rem; margin: 2.5rem 0 1rem; }
.capability-grid p { color: rgba(255,255,255,.64); line-height: 1.65; }

.statement { text-align: center; }
.statement blockquote { max-width: 1100px; margin: 0 auto; }
.contact {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  border-top: 1px solid var(--line);
}
.contact h2 { max-width: 850px; }
footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem clamp(1.25rem, 6vw, 6rem);
  background: #e8e5de;
  font-size: .82rem;
}
.footer-mark { color: var(--ink); }

@media (max-width: 900px) {
  .hero-copy { margin-top: 2rem; }
  .intro-grid { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .capability-grid article { border-bottom: 1px solid rgba(255,255,255,.18); }
  .capability-grid article:nth-child(2) { border-right: 0; }
  .contact { align-items: flex-start; flex-direction: column; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header { align-items: flex-start; }
  .menu-toggle {
    display: block;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(0,0,0,.25);
    color: white;
    border-radius: 999px;
    padding: .55rem .8rem;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 4.6rem;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    gap: 0;
    padding: .75rem;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(3,5,7,.94);
    backdrop-filter: blur(18px);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .9rem; }
  .hero { min-height: 100svh; padding-top: 5rem; padding-bottom: 1.5rem; }
  .hero-video-stage { height: clamp(390px, 57svh, 570px); }
  .hero-video-backdrop { filter: blur(34px) brightness(.46) saturate(.82); transform: scale(1.22); }
  .hero-video-main {
    -webkit-mask-image: radial-gradient(ellipse 92% 78% at 50% 55%, #000 58%, rgba(0,0,0,.9) 73%, rgba(0,0,0,.38) 89%, transparent 100%);
    mask-image: radial-gradient(ellipse 92% 78% at 50% 55%, #000 58%, rgba(0,0,0,.9) 73%, rgba(0,0,0,.38) 89%, transparent 100%);
  }
  .hero-title { top: 1.5rem; font-size: clamp(2.7rem, 14vw, 4.6rem); }
  .hero-surface { height: 132px; }
  .hero-surface-grid { background-size: 50px 38px, 50px 38px, 100px 76px, 100px 76px; opacity: .36; }
  .hero-copy { position: relative; bottom: auto; margin: 2.25rem 1.25rem 0; width: auto; padding-bottom: 6.5rem; }
  .hero-copy > p:not(.eyebrow) { font-size: .98rem; margin: 1rem 0 1.5rem; }
  .hero-actions { right: 1rem; bottom: 1rem; }
  .scroll-cue { display: none; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid article,
  .capability-grid article:nth-child(2) { border-right: 0; }
  .capability-grid article + article { padding-left: 0; }
  .capability-grid article { min-height: 230px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Hero polish — restrained reflective platform */
.hero-video-stage::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 18%;
  background: linear-gradient(to bottom, transparent, rgba(2, 4, 7, .54) 58%, #080c11 100%);
  pointer-events: none;
}

.hero-surface {
  height: clamp(68px, 7.5vw, 102px);
  margin-top: -10px;
  background:
    radial-gradient(ellipse 52% 92% at 50% -18%, rgba(218, 235, 255, .22) 0%, rgba(117, 163, 214, .10) 38%, transparent 72%),
    linear-gradient(to bottom, #0d1218 0%, #070a0e 48%, #010203 100%);
  box-shadow:
    inset 0 1px 0 rgba(234, 244, 255, .18),
    inset 0 16px 34px rgba(177, 210, 247, .055),
    0 -12px 38px rgba(124, 172, 225, .075);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
}
.hero-surface::before {
  background:
    linear-gradient(90deg, transparent 4%, rgba(233, 244, 255, .14) 50%, transparent 96%) top / 100% 1px no-repeat,
    radial-gradient(ellipse 40% 58% at 50% 0%, rgba(230, 242, 255, .14), transparent 72%);
  animation: platform-shimmer 8s ease-in-out infinite;
}
.hero-surface::after {
  left: 18%;
  right: 18%;
  height: 92%;
  background: radial-gradient(ellipse at 50% 0%, rgba(218, 235, 255, .15), transparent 69%);
  filter: blur(13px);
  animation: platform-breathe 7s ease-in-out infinite;
}
.hero-surface-grid {
  left: -4%;
  right: -4%;
  top: -40%;
  bottom: -115%;
  transform: perspective(620px) rotateX(68deg) scale(1.04);
  opacity: .25;
  background-size: 82px 48px, 82px 48px, 164px 96px, 164px 96px;
  animation: platform-drift 16s ease-in-out infinite alternate;
}
.hero-surface-glow {
  position: absolute;
  z-index: 1;
  left: 16%;
  right: 16%;
  top: -24px;
  height: 58px;
  background: radial-gradient(ellipse at center, rgba(204, 229, 255, .17), rgba(93, 145, 203, .055) 46%, transparent 74%);
  filter: blur(12px);
  animation: platform-breathe 6s ease-in-out infinite;
}
.hero-surface-sweep {
  position: absolute;
  z-index: 2;
  top: -10%;
  bottom: 8%;
  width: 34%;
  left: -42%;
  transform: skewX(-24deg);
  background: linear-gradient(90deg, transparent, rgba(226, 240, 255, .075), transparent);
  filter: blur(5px);
  animation: platform-sweep 10s ease-in-out infinite;
}

.hero-copy {
  margin-top: clamp(.45rem, 1.2vh, .9rem);
  padding-bottom: 4.1rem;
}
.hero-copy > p:not(.eyebrow) {
  margin: 1.15rem 0 1.55rem;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: .9rem;
  flex-wrap: wrap;
}
.hero-actions { display: none; }
.sound-toggle {
  min-height: 52px;
  padding: .72rem 1.05rem;
  background: rgba(7, 10, 14, .54);
  border-color: rgba(255,255,255,.24);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.sound-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.48);
  background: rgba(16, 21, 28, .68);
}

@keyframes platform-sweep {
  0%, 14% { left: -42%; opacity: 0; }
  24% { opacity: .72; }
  58% { opacity: .34; }
  72%, 100% { left: 112%; opacity: 0; }
}
@keyframes platform-drift {
  from { transform: perspective(620px) rotateX(68deg) translate3d(-.7%, 0, 0) scale(1.04); }
  to { transform: perspective(620px) rotateX(67deg) translate3d(.7%, 2px, 0) scale(1.055); }
}
@keyframes platform-breathe {
  0%, 100% { opacity: .62; transform: scaleX(.96); }
  50% { opacity: 1; transform: scaleX(1.04); }
}
@keyframes platform-shimmer {
  0%, 100% { opacity: .62; }
  50% { opacity: 1; }
}

@media (max-width: 680px) {
  .hero-video-stage { height: clamp(390px, 56svh, 560px); }
  .hero-surface { height: 68px; margin-top: -7px; }
  .hero-surface-grid {
    top: -48%;
    bottom: -132%;
    opacity: .22;
    background-size: 54px 34px, 54px 34px, 108px 68px, 108px 68px;
  }
  .hero-copy {
    margin: .35rem 1.25rem 0;
    padding-bottom: 5.5rem;
  }
  .hero-copy > p:not(.eyebrow) { margin: .95rem 0 1.3rem; }
  .hero-cta-row { gap: .7rem; }
  .sound-toggle { min-height: 48px; }
}
