:root {
  --white: #fbfdff;
  --ink: #102537;
  --muted: #5c6d7b;
  --line: #c7d4dc;
  --cyan: #17b9c0;
  --orange: #ff8a38;
  --yellow: #ffd05b;
  --navy: #06304b;
  --mono: "DM Mono", monospace;
  --sans: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  letter-spacing: 0;
}

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

.page-light {
  position: fixed;
  z-index: -1;
  width: 36vw;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.72;
  filter: blur(70px);
  pointer-events: none;
}

.page-light-a { top: -22vw; right: -12vw; background: #d8f8f0; }
.page-light-b { bottom: 4vw; left: -25vw; background: #fff0cc; }

.site-header,
main,
.site-footer {
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  font-size: 1.08rem;
  font-weight: 800;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 28px;
  height: 28px;
  transform: rotate(45deg);
  overflow: hidden;
  border: 2px solid var(--ink);
}

.brand-mark i { position: absolute; display: block; }
.brand-mark i:nth-child(1) { top: -3px; left: -3px; width: 17px; height: 17px; background: var(--cyan); }
.brand-mark i:nth-child(2) { right: -3px; bottom: -3px; width: 17px; height: 17px; background: var(--orange); }
.brand-mark i:nth-child(3) { top: 9px; left: 9px; width: 7px; height: 7px; background: var(--white); }

nav {
  display: flex;
  gap: 30px;
  font-family: var(--mono);
  font-size: 0.73rem;
  text-transform: uppercase;
}

nav a,
.header-contact,
.site-footer a { transition: color 180ms ease; }

nav a:hover,
.site-footer a:hover { color: var(--cyan); }

.header-contact {
  justify-self: end;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 0.73rem;
  text-transform: uppercase;
}

.header-contact:hover { color: var(--orange); }

.hero {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(44px, 7vw, 108px);
  align-items: center;
  min-height: calc(100vh - 88px);
  padding: 46px 0 80px;
}

.hero-copy { position: relative; z-index: 2; }

.hero-kicker,
.section-label {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.hero h1,
h2,
h3,
blockquote { letter-spacing: 0; }

.hero h1 {
  max-width: 610px;
  margin: 22px 0 24px;
  color: var(--navy);
  font-size: clamp(4.6rem, 8.5vw, 8.3rem);
  font-weight: 800;
  line-height: 0.86;
  text-wrap: balance;
}

.hero-intro {
  max-width: 450px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  text-wrap: pretty;
}

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

.button {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  min-height: 52px;
  padding: 0 22px;
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button-primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 6px 6px 0 var(--orange);
}

.button-primary:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--orange); }
.button-primary span { color: var(--yellow); font-size: 1.3rem; }

.text-link {
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.73rem;
  text-transform: uppercase;
}

.text-link:hover { border-color: var(--cyan); color: var(--cyan); }

.optics-stage {
  position: relative;
  min-height: min(610px, 48vw);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f4fbff;
  isolation: isolate;
  transition: background 400ms ease;
}

.optics-stage::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background-image: linear-gradient(#cfe3ed 1px, transparent 1px), linear-gradient(90deg, #cfe3ed 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: 0.72;
}

.prism,
.orbit,
.light-path { position: absolute; }

.prism {
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
  will-change: transform;
}

.prism-back {
  width: 250px;
  aspect-ratio: 1;
  background: var(--orange);
  clip-path: polygon(50% 0, 100% 74%, 15% 100%);
  transform: translate(-42%, -45%) rotate(24deg);
  opacity: 0.94;
}

.prism-main {
  width: 290px;
  aspect-ratio: 1;
  border: 2px solid var(--navy);
  background: rgba(23, 185, 192, 0.36);
  clip-path: polygon(50% 0, 100% 74%, 15% 100%);
  transform: translate(-54%, -54%) rotate(-16deg);
  transition: transform 500ms cubic-bezier(.2,.9,.25,1), background 500ms ease;
}

.prism-main::before {
  position: absolute;
  inset: 12%;
  content: "";
  border: 2px solid var(--white);
  clip-path: polygon(50% 0, 100% 74%, 15% 100%);
  opacity: 0.88;
}

.prism-edge { position: absolute; display: block; height: 2px; background: var(--navy); transform-origin: left center; }
.edge-one { top: 48%; left: 14%; width: 74%; transform: rotate(42deg); }
.edge-two { top: 50%; left: 13%; width: 66%; transform: rotate(-54deg); }

.prism-core {
  position: absolute;
  top: 49%;
  left: 49%;
  width: 44px;
  height: 44px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: var(--yellow);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 12px rgba(255, 208, 91, 0.28);
}

.orbit {
  top: 50%;
  left: 50%;
  border: 1px solid var(--navy);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
}

.orbit-one { width: 82%; aspect-ratio: 1; opacity: 0.38; }
.orbit-two { width: 62%; aspect-ratio: 1.35; border-color: var(--cyan); opacity: 0.78; }

.light-path {
  height: 12px;
  background: var(--yellow);
  box-shadow: 0 0 18px rgba(255, 208, 91, 0.9);
  transform-origin: left center;
}

.light-path-one { top: 34%; left: -7%; width: 54%; transform: rotate(25deg); }
.light-path-two { right: -13%; bottom: 27%; width: 55%; background: var(--cyan); box-shadow: 0 0 18px rgba(23, 185, 192, 0.8); transform: rotate(-35deg); }

.stage-caption {
  position: absolute;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.64rem;
  line-height: 1.5;
  text-transform: uppercase;
}

.top-caption { top: 20px; left: 20px; }
.right-caption { right: 18px; bottom: 18px; text-align: right; }

.stage-controls {
  position: absolute;
  bottom: 18px;
  left: 18px;
  display: flex;
  gap: 7px;
}

.mode-button {
  min-width: 76px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  color: var(--navy);
  background: rgba(251, 253, 255, 0.78);
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  cursor: pointer;
}

.mode-button:hover,
.mode-button.is-active { border-color: var(--navy); color: var(--white); background: var(--navy); }

.optics-stage.is-scatter { background: #fffaf2; }
.optics-stage.is-scatter .prism-main { background: rgba(255, 138, 56, 0.33); transform: translate(-46%, -50%) rotate(38deg) scale(0.88); }
.optics-stage.is-scatter .prism-back { transform: translate(-57%, -53%) rotate(-44deg) scale(1.1); }
.optics-stage.is-scatter .orbit-one { transform: translate(-50%, -50%) rotate(45deg) scale(1.14, .82); }
.optics-stage.is-scatter .orbit-two { transform: translate(-50%, -50%) rotate(70deg) scale(.72, 1.22); }
.optics-stage.is-scatter .light-path-one { transform: rotate(-8deg) scaleX(1.16); }
.optics-stage.is-scatter .light-path-two { transform: rotate(14deg) scaleX(1.1); }

.statement,
.capabilities,
.contact {
  display: grid;
  grid-template-columns: 0.3fr 1fr;
  gap: clamp(40px, 8vw, 150px);
  padding: 150px 0;
  border-top: 1px solid var(--line);
}

.statement-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, .55fr);
  gap: 46px;
  align-items: end;
}

h2 {
  grid-row: span 2;
  max-width: 650px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(3.3rem, 7.3vw, 7rem);
  font-weight: 800;
  line-height: 0.9;
  text-wrap: balance;
}

.statement-content p,
.contact-main > p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
  text-wrap: pretty;
}

.capability-list {
  display: grid;
  border-top: 2px solid var(--navy);
}

.capability-list article {
  display: grid;
  grid-template-columns: 72px 1fr 42px;
  gap: 24px;
  align-items: center;
  min-height: 154px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.capability-index {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.88rem;
}

.capability-list h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 1;
}

.capability-list p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
  text-wrap: pretty;
}

.capability-marker {
  width: 17px;
  aspect-ratio: 1;
  border: 2px solid var(--navy);
  border-radius: 50%;
  box-shadow: 6px 6px 0 var(--cyan);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.capability-list article:hover .capability-marker { transform: rotate(45deg); box-shadow: 6px 6px 0 var(--orange); }

.principle {
  position: relative;
  min-height: 550px;
  padding: 72px max(32px, calc((100% - 1200px) / 2));
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.principle > *:not(.principle-sun) { position: relative; z-index: 1; }

.principle .section-label { color: rgba(251, 253, 255, 0.64); }

blockquote {
  max-width: 980px;
  margin: 110px 0 0;
  font-size: clamp(3rem, 7.5vw, 7.5rem);
  font-weight: 700;
  line-height: 0.9;
  text-wrap: balance;
}

blockquote em { color: var(--yellow); font-style: normal; }

.principle-sun {
  position: absolute;
  right: -12vw;
  bottom: -17vw;
  width: 50vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 42px rgba(255, 208, 91, 0.18), 0 0 0 86px rgba(23, 185, 192, 0.14);
}

.contact { padding-bottom: 108px; }

.contact-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, .48fr);
  gap: 44px;
  align-items: end;
}

.contact-main h2 { grid-column: 1 / -1; }

.email-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  grid-column: 1 / -1;
  padding: 16px 0;
  border-bottom: 2px solid var(--navy);
  color: var(--navy);
  font-family: var(--mono);
  font-size: clamp(.72rem, 1.5vw, .92rem);
  overflow-wrap: anywhere;
}

.email-link:hover { color: var(--orange); border-color: var(--orange); }
.email-link span { color: var(--orange); font-size: 1.3rem; }

.social-links {
  grid-column: 2;
  display: grid;
  gap: 10px;
}

.social-links a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .7rem;
  text-transform: uppercase;
}

.social-links a span:last-child { color: var(--muted); text-transform: none; }
.social-links a:hover { color: var(--cyan); }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: .67rem;
  text-transform: uppercase;
}

.site-footer > span:last-child { display: flex; gap: 18px; }

.legal-page {
  width: min(840px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 42px 0 100px;
}

.legal-page .brand { margin-bottom: 110px; }
.legal-page h1 { max-width: 700px; margin: 0 0 32px; color: var(--navy); font-size: clamp(4.5rem, 12vw, 9rem); line-height: .84; }
.legal-page p { max-width: 660px; color: var(--muted); line-height: 1.8; }
.legal-page .back-link { display: inline-flex; margin-top: 36px; padding-bottom: 5px; border-bottom: 1px solid var(--ink); font-family: var(--mono); font-size: .72rem; text-transform: uppercase; }

@media (max-width: 880px) {
  .site-header { grid-template-columns: 1fr auto; padding: 16px 0; }
  nav { grid-column: 1 / -1; justify-content: space-between; order: 3; width: 100%; padding-top: 14px; border-top: 1px solid var(--line); }
  .hero { grid-template-columns: 1fr; padding-top: 72px; }
  .optics-stage { min-height: 580px; max-width: 680px; width: 100%; }
  .statement,
  .capabilities,
  .contact { grid-template-columns: 1fr; gap: 42px; padding: 100px 0; }
  .statement-content,
  .contact-main { grid-template-columns: 1fr; }
  .statement-content h2,
  .contact-main h2 { grid-row: auto; }
  .social-links { grid-column: auto; max-width: 600px; }
}

@media (max-width: 600px) {
  .site-header,
  main,
  .site-footer { width: min(100% - 34px, 1200px); }
  .site-header { min-height: 72px; }
  .header-contact { font-size: .63rem; }
  nav { gap: 8px; }
  nav a { font-size: .62rem; text-align: center; }
  .hero { min-height: auto; padding: 56px 0 72px; gap: 52px; }
  .hero h1 { margin-top: 18px; font-size: clamp(4rem, 20vw, 6.2rem); }
  .hero-intro { font-size: 1rem; }
  .optics-stage { min-height: 420px; }
  .prism-main { width: 220px; }
  .prism-back { width: 190px; }
  .orbit-one { width: 98%; }
  .orbit-two { width: 77%; }
  .statement,
  .capabilities,
  .contact { padding: 82px 0; }
  .capability-list article { grid-template-columns: 26px 1fr; gap: 14px; min-height: 0; }
  .capability-marker { display: none; }
  .principle { min-height: 430px; padding: 55px 17px; }
  blockquote { margin-top: 80px; font-size: clamp(2.8rem, 13vw, 4.8rem); }
  .principle-sun { right: -24vw; bottom: -8vw; width: 72vw; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

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