:root {
  --ink: #082f3f;
  --text: #294255;
  --muted: #6a7d8e;
  --line: #dce8ea;
  --surface: #f4f9f9;
  --surface-strong: #e6f2f0;
  --teal: #14b8a6;
  --teal-dark: #0f766e;
  --blue: #155e75;
  --gold: #c4933e;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(8, 47, 63, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 86% 8%, rgba(20, 184, 166, 0.12), transparent 26rem),
    linear-gradient(180deg, #ffffff, #f8fbfb 46%, #ffffff);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

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

p,
h1,
h2,
h3 {
  margin: 0;
}

.particle-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), #8ee8dd, var(--gold));
  box-shadow: 0 0 18px rgba(20, 184, 166, 0.62);
  transform: scaleX(0);
  transform-origin: left center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(220, 232, 234, 0.85);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ink), var(--teal-dark));
  color: var(--white);
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
}

.nav-links a {
  min-height: 34px;
  padding-top: 6px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal-dark);
  border-color: var(--teal);
}

.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.band {
  background: rgba(244, 249, 249, 0.86);
}

.hero {
  position: relative;
  min-height: 82vh;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-scrim {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 31, 43, 0.88) 0%, rgba(3, 31, 43, 0.68) 38%, rgba(3, 31, 43, 0.16) 72%),
    linear-gradient(180deg, rgba(3, 31, 43, 0.18), rgba(3, 31, 43, 0.28));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(690px, calc(100% - 48px));
  min-height: 82vh;
  margin-left: max(24px, calc((100vw - 1180px) / 2));
  padding: 64px 0 96px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.95;
}

.hero-subtitle {
  margin-top: 18px;
  color: #dff8f4;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 760;
  line-height: 1.16;
}

.hero-copy {
  max-width: 620px;
  margin-top: 24px;
  color: #eaf6f4;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  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.34);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.button.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--ink);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.intro {
  padding: 68px 0;
}

.two-column,
.split-feature,
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
}

h2 {
  font-size: clamp(27px, 3.3vw, 44px);
  line-height: 1.08;
}

h3 {
  font-size: 22px;
  line-height: 1.2;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 86px;
  background:
    linear-gradient(135deg, rgba(8, 47, 63, 0.96), rgba(15, 118, 110, 0.9)),
    radial-gradient(circle at 74% 38%, rgba(196, 147, 62, 0.28), transparent 24rem);
}

.page-hero h1,
.page-hero .page-lead {
  color: var(--white);
}

.page-lead {
  max-width: 720px;
  margin-top: 24px;
  color: #e6f6f4;
  font-size: 19px;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 76px 0;
}

.route-card,
.value-card,
.application-columns article,
.support-grid article {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(8, 47, 63, 0.05);
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.route-card {
  position: relative;
  min-height: 280px;
  padding: 24px;
}

.route-card::before,
.material-item::before,
.application-columns article::before,
.support-grid article::before,
.metric-grid div::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--tilt-glow-x, 50%) var(--tilt-glow-y, 50%), rgba(20, 184, 166, 0.16), transparent 34%);
  opacity: 0;
  pointer-events: none;
  content: "";
}

.route-card::after {
  position: absolute;
  right: -52px;
  bottom: -52px;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 50%;
  content: "";
}

.route-card span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 32px;
  margin-bottom: 32px;
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
}

.route-card p,
.support-grid p,
.sustainability p,
.application-columns p {
  margin-top: 14px;
}

.route-card:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 184, 166, 0.55);
  box-shadow: var(--shadow);
}

.route-card:hover::before,
.material-item:hover::before,
.application-columns article:hover::before,
.support-grid article:hover::before,
.metric-grid div:hover::before {
  opacity: 1;
}

.portfolio,
.applications,
.sustainability,
.partnership {
  padding: 86px 0 96px;
}

.material-list {
  display: grid;
  gap: 18px;
}

.material-item {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  padding: 28px;
  border-left: 8px solid var(--teal);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.material-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
}

.material-item p {
  margin-top: 12px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  background: #e8f5f2;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.application-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.application-columns article {
  min-height: 340px;
  padding: 28px;
}

.application-columns.expanded article {
  min-height: 390px;
}

ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding-left: 20px;
}

li::before {
  position: absolute;
  left: 0;
  top: 0.63em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

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

.metric-grid div {
  position: relative;
  min-height: 146px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  overflow: hidden;
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.metric-grid span {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 700;
}

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

.support-grid article {
  min-height: 270px;
  padding: 24px;
}

.tech-strip {
  padding: 40px 0;
  background: var(--ink);
  color: var(--white);
}

.tech-grid,
.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tech-grid div,
.process-line span {
  min-height: 82px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.tech-grid strong,
.tech-grid span {
  display: block;
}

.tech-grid strong {
  color: #8ee8dd;
  font-size: 24px;
}

.tech-grid span,
.process-line span {
  color: #d9eef0;
  font-weight: 760;
}

.molecule-panel,
.scan-panel,
.orbit-panel,
.lab-panel {
  position: relative;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 42px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.scanner-surface::after {
  position: absolute;
  top: -20%;
  left: -42%;
  width: 34%;
  height: 140%;
  background: linear-gradient(90deg, transparent, rgba(142, 232, 221, 0.28), transparent);
  content: "";
  transform: skewX(-18deg);
}

.molecule-panel span {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 34px rgba(20, 184, 166, 0.9);
}

.molecule-panel span:nth-child(1) { left: 18%; top: 22%; }
.molecule-panel span:nth-child(2) { left: 42%; top: 36%; background: var(--gold); }
.molecule-panel span:nth-child(3) { left: 68%; top: 24%; }
.molecule-panel span:nth-child(4) { left: 32%; top: 70%; }
.molecule-panel span:nth-child(5) { left: 74%; top: 72%; background: #b7f5ec; }

.molecule-panel::before,
.molecule-panel::after {
  position: absolute;
  inset: 22% 18%;
  border: 1px solid rgba(142, 232, 221, 0.42);
  border-radius: 50%;
  content: "";
  transform: rotate(-18deg);
}

.molecule-panel::after {
  inset: 32% 12%;
  transform: rotate(22deg);
}

.scan-panel {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 38px;
}

.scan-panel div,
.lab-panel div {
  border: 1px solid rgba(142, 232, 221, 0.38);
  border-radius: 8px;
  background: rgba(8, 47, 63, 0.28);
  color: var(--white);
  font-size: 24px;
  font-weight: 850;
}

.scan-panel div {
  padding: 22px;
}

.orbit-panel {
  display: grid;
  place-items: center;
}

.orbit-panel::before {
  width: 170px;
  height: 170px;
  border: 2px solid rgba(142, 232, 221, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(142, 232, 221, 0.08), 0 0 0 92px rgba(196, 147, 62, 0.07);
  content: "";
}

.orbit-panel span {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
}

.orbit-panel span:nth-child(1) { transform: translate(110px, -78px); }
.orbit-panel span:nth-child(2) { transform: translate(-130px, 42px); background: var(--teal); }
.orbit-panel span:nth-child(3) { transform: translate(78px, 132px); background: #b7f5ec; }

.lab-panel {
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  gap: 14px;
  padding: 34px;
}

.lab-panel div {
  display: grid;
  gap: 5px;
  padding: 22px;
}

.lab-panel span {
  color: #d9eef0;
  font-size: 14px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(24px, calc((100vw - 1180px) / 2));
  background: var(--ink);
  color: var(--white);
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer span {
  color: #cde3e6;
  font-size: 14px;
}

.site-footer a {
  color: #8ee8dd;
  font-weight: 800;
}

@media (prefers-reduced-motion: no-preference) {
  .route-card,
  .material-item,
  .application-columns article,
  .support-grid article,
  .metric-grid div,
  .tech-grid div,
  .process-line span,
  .nav-links a {
    transition: border-color 160ms ease, color 160ms ease, box-shadow 180ms ease, transform 180ms ease, opacity 420ms ease;
  }

  .interaction-ready .reveal-item {
    opacity: 0;
    transform: translateY(18px) perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transition-delay: var(--reveal-delay, 0ms);
  }

  .interaction-ready .reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0) perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  }

  .molecule-panel span,
  .orbit-panel span {
    animation: floatNode 5s ease-in-out infinite alternate;
  }

  .molecule-panel span:nth-child(2),
  .orbit-panel span:nth-child(2) {
    animation-delay: -1.2s;
  }

  .molecule-panel span:nth-child(4),
  .orbit-panel span:nth-child(3) {
    animation-delay: -2.1s;
  }

  .scanner-surface::after {
    animation: scannerSweep 4.8s ease-in-out infinite;
  }
}

@keyframes floatNode {
  from { margin-top: -8px; }
  to { margin-top: 10px; }
}

@keyframes scannerSweep {
  0% { transform: translateX(0) skewX(-18deg); opacity: 0; }
  24% { opacity: 1; }
  56% { opacity: 1; }
  100% { transform: translateX(460%) skewX(-18deg); opacity: 0; }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    min-height: auto;
    padding: 16px 24px;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    gap: 10px;
  }

  .nav-links a {
    min-height: 36px;
    padding: 7px 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    text-align: center;
  }

  .hero,
  .hero-content {
    min-height: 760px;
  }

  .hero-scrim {
    background: linear-gradient(180deg, rgba(3, 31, 43, 0.86), rgba(3, 31, 43, 0.52));
  }

  .two-column,
  .split-feature,
  .page-hero-grid,
  .route-grid,
  .application-columns,
  .support-grid,
  .tech-grid,
  .process-line {
    grid-template-columns: 1fr;
  }

  .route-card,
  .application-columns article,
  .support-grid article {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .section-inner {
    width: min(100% - 32px, 1180px);
  }

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

  .hero,
  .hero-content {
    min-height: 710px;
  }

  .hero-content {
    width: min(100% - 32px, 690px);
    margin-left: 16px;
    padding: 56px 0 72px;
  }

  .hero-copy,
  .page-lead {
    font-size: 17px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .page-hero {
    padding: 70px 0;
  }

  .material-item {
    grid-template-columns: 1fr;
    padding: 22px;
  }

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

  .molecule-panel,
  .scan-panel,
  .orbit-panel,
  .lab-panel {
    min-height: 280px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
