@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --ink: #0a1020;
  --night: #070d18;
  --night-soft: #0d1628;
  --paper: #f3f0e9;
  --paper-bright: #faf8f3;
  --line-light: rgba(255,255,255,.13);
  --line-dark: rgba(10,16,32,.14);
  --text-soft: #b9c5d9;
  --blue: #3e70ff;
  --purple: #8855ff;
  --orange: #ff7039;
  --green: #22b78d;
  --yellow: #ffc83d;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", Arial, sans-serif;
  color: #f6f7fb;
  background: var(--night);
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 86px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7,13,24,.72);
  border-bottom: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

.brand-mark i:nth-child(1) { background: var(--blue); }
.brand-mark i:nth-child(2) { background: var(--orange); }
.brand-mark i:nth-child(3) { background: var(--green); }
.brand-mark i:nth-child(4) { background: var(--purple); }

.site-nav {
  display: flex;
  gap: 34px;
}

.site-nav a {
  color: #d8dfec;
  text-decoration: none;
  font-size: .95rem;
}

.site-nav a:hover {
  color: #fff;
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: 100vh;
  padding: 150px 7vw 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .75fr);
  align-items: center;
  gap: 7vw;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    var(--night);
  background-size: 64px 64px;
}

.hero-content,
.hero-visual {
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  color: #9eb1d0;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .72rem;
  margin-bottom: 28px;
}

.eyebrow.dark {
  color: #5e6571;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(4.5rem, 9.4vw, 9.3rem);
  line-height: .86;
  letter-spacing: -.075em;
  font-weight: 500;
}

.hero-intro {
  max-width: 690px;
  margin-top: 38px;
  color: var(--text-soft);
  font-size: clamp(1.12rem, 1.7vw, 1.45rem);
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  gap: 14px;
  margin-top: 32px;
  padding-bottom: 7px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.35);
}

.text-link:hover {
  border-color: white;
}

.hero-light {
  position: absolute;
  border-radius: 999px;
  filter: blur(110px);
  pointer-events: none;
}

.hero-light-blue {
  width: 580px;
  height: 580px;
  right: -180px;
  top: 30px;
  background: rgba(38,103,255,.46);
}

.hero-light-purple {
  width: 400px;
  height: 400px;
  left: 48%;
  bottom: -190px;
  background: rgba(126,68,255,.34);
}

.hero-light-orange {
  width: 180px;
  height: 180px;
  left: 42%;
  top: 25%;
  background: rgba(255,102,44,.18);
  filter: blur(75px);
}

.glass-panel {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: .86;
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 4px;
  background:
    radial-gradient(circle at 70% 25%, rgba(255,255,255,.11), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.015));
  box-shadow: inset 0 1px rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
}

.visual-label,
.visual-data {
  position: absolute;
  font-family: "IBM Plex Mono", monospace;
  font-size: .68rem;
  letter-spacing: .15em;
  color: #bdcbe3;
}

.visual-label {
  top: 25px;
  left: 28px;
}

.wave {
  position: absolute;
  left: 9%;
  right: 9%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
}

.wave::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  top: -5px;
  border-radius: 50%;
  animation: signal 6s linear infinite;
}

.wave-one { top: 34%; }
.wave-two { top: 51%; }
.wave-three { top: 68%; }

.wave-one::after {
  background: var(--blue);
  box-shadow: 0 0 24px var(--blue);
}
.wave-two::after {
  background: var(--green);
  box-shadow: 0 0 24px var(--green);
  animation-delay: -2s;
}
.wave-three::after {
  background: var(--orange);
  box-shadow: 0 0 24px var(--orange);
  animation-delay: -4s;
}

.visual-orbit {
  position: absolute;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
}

.orbit-one {
  width: 280px;
  height: 280px;
  right: -80px;
  top: 90px;
}

.orbit-two {
  width: 190px;
  height: 190px;
  left: -60px;
  bottom: 50px;
}

.visual-core {
  position: absolute;
  width: 92px;
  height: 92px;
  right: 22%;
  bottom: 19%;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--purple), var(--blue));
  box-shadow: 0 0 65px rgba(106,77,255,.45);
}

.data-one { right: 28px; top: 82px; }
.data-two { left: 28px; bottom: 90px; }
.data-three { right: 26px; bottom: 24px; }

.signal-track {
  position: absolute;
  z-index: 3;
  left: 7vw;
  right: 7vw;
  bottom: 38px;
  height: 1px;
  background: rgba(255,255,255,.2);
}

.signal-pulse {
  position: absolute;
  top: -4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 18px var(--yellow);
  animation: signal 10s linear infinite;
}

@keyframes signal {
  from { left: 0; }
  to { left: calc(100% - 12px); }
}

.section-light {
  color: var(--ink);
  background: var(--paper);
}

.intro-section {
  padding: 140px 7vw;
  display: grid;
  grid-template-columns: .34fr 1.4fr;
  gap: 8vw;
}

.section-number {
  font-family: "IBM Plex Mono", monospace;
  font-size: 6rem;
  color: rgba(10,16,32,.12);
}

.intro-copy {
  max-width: 920px;
}

.intro-copy h2,
.section-heading h2,
.about h2,
.contact h2 {
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 500;
}

.intro-copy > p:last-child {
  max-width: 800px;
  margin-top: 34px;
  font-size: 1.35rem;
  line-height: 1.7;
  color: #424854;
}

.section-dark {
  background: var(--night-soft);
}

.expertise {
  padding: 140px 7vw;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr .75fr;
  gap: 9vw;
  align-items: end;
  margin-bottom: 90px;
}

.section-heading > p {
  color: var(--text-soft);
  font-size: 1.15rem;
  line-height: 1.7;
}

.expertise-list {
  border-top: 1px solid var(--line-light);
}

.expertise-item {
  display: grid;
  grid-template-columns: .18fr .8fr 1fr;
  gap: 4vw;
  padding: 42px 0;
  border-bottom: 1px solid var(--line-light);
  transition: padding .25s ease, background .25s ease;
}

.expertise-item:hover {
  padding-left: 18px;
  padding-right: 18px;
  background: rgba(255,255,255,.025);
}

.expertise-index {
  font-family: "IBM Plex Mono", monospace;
  color: #8fa2c2;
}

.expertise-item h3 {
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  letter-spacing: -.045em;
  font-weight: 500;
}

.expertise-item p {
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 600px;
}

.application-feature {
  min-height: 820px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  color: var(--ink);
  background: var(--paper-bright);
}

.application-copy {
  padding: 140px 7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.application-copy h2 {
  font-size: clamp(3.7rem, 7vw, 7rem);
  line-height: .93;
  letter-spacing: -.07em;
  font-weight: 500;
}

.application-lead {
  margin-top: 38px;
  font-size: 1.35rem !important;
  color: #252b36 !important;
}

.application-copy p:not(.eyebrow) {
  max-width: 670px;
  margin-top: 26px;
  color: #59606b;
  line-height: 1.75;
  font-size: 1.05rem;
}

.application-visual {
  min-height: 700px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 36%, rgba(62,112,255,.28), transparent 25%),
    radial-gradient(circle at 30% 72%, rgba(136,85,255,.24), transparent 28%),
    linear-gradient(145deg, #0a1120, #101b30);
}

.tower {
  position: absolute;
  left: 47%;
  bottom: 14%;
  width: 170px;
  height: 430px;
}

.tower-top,
.tower-leg,
.tower-cross,
.power-line,
.drop-line {
  position: absolute;
  display: block;
  background: rgba(238,244,255,.84);
}

.tower-top {
  width: 4px;
  height: 100%;
  left: calc(50% - 2px);
}

.tower-leg {
  width: 4px;
  height: 300px;
  bottom: 0;
  transform-origin: bottom;
}

.tower-leg.left {
  left: 49%;
  transform: rotate(20deg);
}

.tower-leg.right {
  right: 49%;
  transform: rotate(-20deg);
}

.tower-cross {
  left: 8%;
  width: 84%;
  height: 4px;
}

.cross-one { top: 28%; }
.cross-two { top: 52%; width: 62%; left: 19%; }

.power-line {
  height: 2px;
  width: 43%;
  top: 30%;
}

.line-a { left: 0; }
.line-b { right: 0; }

.break-point {
  position: absolute;
  left: calc(50% - 8px);
  top: calc(30% - 7px);
  width: 16px;
  height: 16px;
  border: 3px solid var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 28px var(--orange);
}

.drop-line {
  width: 3px;
  height: 290px;
  left: 50%;
  top: 31%;
  transform: rotate(15deg);
  transform-origin: top;
  background: linear-gradient(var(--orange), rgba(255,112,57,.05));
}

.cut-pulse {
  position: absolute;
  left: calc(50% - 45px);
  top: calc(30% - 45px);
  width: 90px;
  height: 90px;
  border: 1px solid rgba(255,112,57,.7);
  border-radius: 50%;
  animation: pulse 2.5s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(.3); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.time-code {
  position: absolute;
  left: 8%;
  bottom: 7%;
  font-family: "IBM Plex Mono", monospace;
  color: #b9c8e0;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .72rem;
}

.principles {
  padding: 140px 7vw;
}

.dark-heading > p {
  color: #59606b;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.principle-grid article {
  padding: 50px 36px 60px 0;
}

.principle-grid article + article {
  padding-left: 36px;
  border-left: 1px solid var(--line-dark);
}

.principle-grid span {
  font-family: "IBM Plex Mono", monospace;
  color: #6d7480;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .72rem;
}

.principle-grid h3 {
  margin-top: 50px;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -.04em;
  font-weight: 500;
}

.principle-grid p {
  margin-top: 20px;
  color: #5a606c;
  line-height: 1.7;
}

.about {
  position: relative;
  padding: 150px 7vw;
  overflow: hidden;
}

.about-year {
  position: absolute;
  top: -5vw;
  right: -2vw;
  color: rgba(255,255,255,.035);
  font-size: 30vw;
  line-height: .8;
  letter-spacing: -.1em;
  font-weight: 600;
}

.about-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.about-content > p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 30px;
  color: var(--text-soft);
  font-size: 1.15rem;
  line-height: 1.8;
}

.profile {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 70px;
  padding-top: 35px;
  border-top: 1px solid var(--line-light);
}

.profile > div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.profile-label {
  font-family: "IBM Plex Mono", monospace;
  color: #8699b8;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .68rem;
}

.profile strong {
  font-size: 1.12rem;
  font-weight: 500;
}

.contact {
  position: relative;
  padding: 150px 7vw;
  overflow: hidden;
  background: #111b31;
}

.contact-glow {
  position: absolute;
  width: 650px;
  height: 650px;
  right: -130px;
  top: -250px;
  border-radius: 50%;
  background: rgba(62,112,255,.38);
  filter: blur(130px);
}

.contact > * {
  position: relative;
  z-index: 2;
}

.contact h2 {
  max-width: 900px;
}

.contact > p:not(.eyebrow):not(.placeholder-note) {
  max-width: 650px;
  margin-top: 30px;
  color: var(--text-soft);
  font-size: 1.2rem;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 35px 70px;
  margin-top: 58px;
  font-size: 1.35rem;
}

.contact-details a {
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.4);
}

.placeholder-note {
  max-width: 620px;
  margin-top: 45px;
  padding: 18px 20px;
  border: 1px solid rgba(255,200,61,.34);
  color: #e0c981;
  font-family: "IBM Plex Mono", monospace;
  font-size: .72rem;
  line-height: 1.6;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 7vw;
  color: #8492aa;
  background: #070b13;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .86rem;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 140px;
  }

  .hero-visual {
    width: 100%;
  }

  .glass-panel {
    margin: 20px 0 40px;
    max-width: 620px;
    aspect-ratio: 1.2;
  }

  .intro-section,
  .section-heading,
  .application-feature {
    grid-template-columns: 1fr;
  }

  .section-number {
    font-size: 3.5rem;
  }

  .application-visual {
    min-height: 600px;
  }

  .expertise-item {
    grid-template-columns: .2fr 1fr;
  }

  .expertise-item p {
    grid-column: 2;
  }

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

  .principle-grid article,
  .principle-grid article + article {
    padding: 38px 0;
    border-left: 0;
  }

  .principle-grid article + article {
    border-top: 1px solid var(--line-dark);
  }

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

@media (max-width: 700px) {
  .site-header {
    height: 72px;
  }

  .menu-toggle {
    display: block;
    color: white;
    border: 0;
    background: transparent;
    font: inherit;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 15px 5vw 25px;
    background: rgba(7,13,24,.97);
    border-bottom: 1px solid rgba(255,255,255,.1);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
  }

  .hero {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .hero h1 {
    font-size: clamp(4rem, 19vw, 6rem);
  }

  .intro-section,
  .expertise,
  .application-copy,
  .principles,
  .about,
  .contact {
    padding: 100px 6vw;
  }

  .section-heading {
    margin-bottom: 55px;
  }

  .expertise-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .expertise-item p {
    grid-column: auto;
  }

  .application-visual {
    min-height: 500px;
  }

  .contact-details,
  footer {
    flex-direction: column;
  }
}

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

  .signal-pulse,
  .wave::after,
  .cut-pulse {
    animation: none;
  }
}
