:root {
  --orange: #e87817;
  --orange-bright: #ff9a2f;
  --orange-deep: #b94c08;
  --charcoal: #17212b;
  --charcoal-soft: #25313d;
  --slate: #5d6d88;
  --slate-light: #8d9ab0;
  --paper: #f6f7f8;
  --white: #ffffff;
  --line: #dfe3e8;
  --text: #1b2732;
  --muted: #5c6874;
  --shell: min(1180px, calc(100% - 48px));
  --header-height: 78px;
  --radius: 4px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--white);
  font-family: "Aptos", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

h1,
h2,
h3 {
  color: var(--charcoal);
  font-weight: 620;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: clamp(3.2rem, 6.6vw, 6.5rem);
}

.innovation-word {
  color: #8293a9;
}

h1 em {
  display: block;
  color: var(--orange);
  font-style: normal;
  font-weight: 420;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 4.2vw, 4.6rem);
}

h3 {
  margin-bottom: 16px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(96px, 12vw, 164px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  color: var(--white);
  background: var(--charcoal);
  border-radius: var(--radius);
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgb(255 255 255 / 94%);
  border-color: rgb(223 227 232 / 80%);
  box-shadow: 0 8px 30px rgb(23 33 43 / 5%);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: var(--shell);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: block;
  width: 148px;
  height: 54px;
  overflow: hidden;
  text-decoration: none;
}

.brand-crop {
  position: relative;
  display: block;
  width: 148px;
  height: 54px;
  overflow: hidden;
}

.brand-crop img {
  position: absolute;
  top: -6px;
  left: 0;
  width: 148px;
  height: auto;
  max-width: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  position: relative;
  color: #34414e;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 10px 18px;
  color: var(--white) !important;
  background: var(--charcoal);
  border-radius: 2px;
  transition: background-color 180ms ease;
}

.nav-cta:hover {
  background: var(--orange);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-line {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: var(--charcoal);
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--header-height) + clamp(70px, 10vw, 118px));
  overflow: visible;
  background:
    linear-gradient(90deg, rgb(23 33 43 / 3%) 1px, transparent 1px),
    linear-gradient(rgb(23 33 43 / 3%) 1px, transparent 1px),
    linear-gradient(135deg, #fff 0%, #fafbfc 55%, #f2f4f6 100%);
  background-size: 72px 72px, 72px 72px, auto;
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 6px;
  background: var(--orange);
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
  align-items: center;
  gap: 32px;
  min-height: 520px;
}

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

.eyebrow,
.kicker {
  margin-bottom: 24px;
  color: var(--slate);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow span {
  width: 28px;
  height: 2px;
  background: var(--orange);
}

.hero-lede {
  max-width: 670px;
  margin-bottom: 36px;
  color: #4b5966;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.button-primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 12px 30px rgb(232 120 23 / 18%);
}

.button-primary:hover {
  background: var(--orange-deep);
  box-shadow: 0 14px 34px rgb(185 76 8 / 22%);
  transform: translateY(-2px);
}

.text-link {
  color: var(--charcoal);
  font-size: .92rem;
  font-weight: 700;
  text-underline-offset: 5px;
  text-decoration-color: var(--slate-light);
}

.text-link:hover {
  text-decoration-color: var(--orange);
}

.hero-visual {
  position: absolute;
  z-index: 0;
  top: calc(var(--header-height) + 30px);
  right: clamp(42px, 6vw, 92px);
  width: min(36vw, 420px);
  aspect-ratio: 600 / 520;
  pointer-events: none;
}

.cube-system {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.core-cubes {
  transform: translateZ(0);
}

.shell-cube {
  opacity: 1;
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity;
  animation: cube-separate 8s cubic-bezier(.35, .05, .28, 1) var(--delay) infinite;
}

@keyframes cube-separate {
  0%, 5% { opacity: 0; transform: translate(0, 0) scale(1); }
  7%, 17% { opacity: 1; transform: translate(0, 0) scale(1); }
  72% { opacity: 1; transform: translate(var(--dx), var(--dy)) scale(var(--scale)); }
  88%, 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(var(--scale)); }
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(60px, 9vw, 128px);
}

.section-heading {
  position: sticky;
  top: calc(var(--header-height) + 40px);
  align-self: start;
}

.section-heading h2 {
  max-width: 560px;
}

.about {
  color: #dce3ea;
  background: var(--charcoal);
}

.about .kicker {
  color: #aab5c4;
}

.about h2 {
  color: var(--white);
}

.about-content {
  max-width: 680px;
  padding-top: 2px;
}

.about-content > p {
  color: #aeb8c3;
  font-size: 1.05rem;
}

.about-content .lead {
  color: var(--white);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.45;
}

.technologies {
  background: var(--paper);
}

.section-intro {
  margin-bottom: 64px;
}

.section-intro h2 {
  max-width: 740px;
  margin-bottom: 0;
}

.technology-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(22px, 3vw, 36px);
}

.technology-card {
  position: relative;
  display: flex;
  min-height: 0;
  padding: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #d8dde3;
  transition: background-color 220ms ease;
}

.technology-card::before {
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 170px;
  height: 170px;
  border: 1px solid rgb(93 109 136 / 12%);
  content: "";
  transform: rotate(45deg);
  transition: transform 400ms ease, border-color 220ms ease;
}

.technology-card:hover {
  background: #fdfdfd;
}

.technology-card:hover::before {
  border-color: rgb(232 120 23 / 30%);
  transform: rotate(45deg) translate(-18px, -18px);
}

.technology-visual {
  position: relative;
  z-index: 1;
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--charcoal);
  border-bottom: 3px solid var(--orange);
}

.technology-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgb(12 20 28 / 24%));
  content: "";
  pointer-events: none;
}

.technology-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(.2, .7, .2, 1), filter 300ms ease;
}

.technology-card:hover .technology-visual img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.025);
}

.technology-body {
  position: relative;
  z-index: 1;
  padding: clamp(30px, 4vw, 48px);
  flex: 1;
}

.technology-card h3 {
  max-width: 320px;
  font-size: 1.5rem;
}

.technology-card:nth-child(3) h3 {
  max-width: none;
  font-size: clamp(1rem, 1.9vw, 1.5rem);
  white-space: nowrap;
}

.technology-body > p:last-child {
  max-width: 470px;
  margin-bottom: 0;
  color: var(--muted);
}

.commercialization {
  overflow: hidden;
  color: #dce3ea;
  background: var(--charcoal);
}

.commercialization-pattern {
  position: absolute;
  inset: 0;
  opacity: .13;
  background-image:
    linear-gradient(30deg, transparent 12%, #8d9ab0 12.5%, transparent 13%),
    linear-gradient(150deg, transparent 12%, #8d9ab0 12.5%, transparent 13%);
  background-size: 180px 104px;
  mask-image: linear-gradient(90deg, transparent, #000 55%, #000);
}

.commercialization::after {
  position: absolute;
  top: -160px;
  right: -120px;
  width: 480px;
  height: 480px;
  border: 1px solid rgb(232 120 23 / 20%);
  content: "";
  transform: rotate(30deg);
}

.commercialization-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(60px, 8vw, 120px);
}

.kicker-light {
  color: #aab5c4;
}

.commercialization h2,
.commercialization h3 {
  color: var(--white);
}

.commercialization-copy p:last-child {
  max-width: 560px;
  color: #aeb8c3;
  font-size: 1.08rem;
}

.pathways {
  border-top: 1px solid rgb(255 255 255 / 17%);
}

.pathway {
  position: relative;
  padding: 36px 20px 36px 48px;
  border-bottom: 1px solid rgb(255 255 255 / 17%);
}

.pathway-marker {
  position: absolute;
  top: 45px;
  left: 2px;
  width: 13px;
  height: 13px;
  background: var(--orange);
  box-shadow: 0 0 0 7px rgb(232 120 23 / 12%);
  transform: rotate(45deg);
}

.pathway-label {
  margin-bottom: 9px;
  color: #8794a3;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.pathway h3 {
  margin-bottom: 10px;
}

.pathway p:last-child {
  max-width: 500px;
  margin-bottom: 0;
  color: #aeb8c3;
}

.process-line {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  color: #b8c2cc;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.process-line i {
  position: relative;
  height: 1px;
  background: rgb(255 255 255 / 22%);
}

.process-line i::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  background: var(--orange);
  content: "";
  transform: rotate(45deg);
}

.contact {
  background: var(--white);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
  padding: clamp(44px, 7vw, 84px);
  background:
    linear-gradient(135deg, rgb(255 255 255 / 96%), rgb(255 255 255 / 86%)),
    linear-gradient(90deg, rgb(23 33 43 / 6%) 1px, transparent 1px),
    linear-gradient(rgb(23 33 43 / 6%) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
  border: 1px solid var(--line);
  box-shadow: 0 26px 70px rgb(23 33 43 / 7%);
}

.contact-copy h2 {
  max-width: 650px;
  font-size: clamp(2.25rem, 4vw, 4.2rem);
}

.contact-copy > p:last-child {
  max-width: 590px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-details {
  padding: 34px;
  background: var(--charcoal);
  border-left: 4px solid var(--orange);
}

.contact-label {
  margin-bottom: 22px;
  color: #94a1b0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.contact-person + .contact-person {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgb(255 255 255 / 16%);
}

.contact-name {
  margin-bottom: 3px;
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 700;
}

.contact-email {
  display: block;
  width: fit-content;
  color: #c5ced8;
  font-size: clamp(.95rem, 1.5vw, 1.08rem);
  font-weight: 650;
  letter-spacing: .01em;
  overflow-wrap: anywhere;
  text-decoration-color: var(--orange);
  text-underline-offset: 5px;
}

.contact-email:hover {
  color: #ffb676;
}

.site-footer {
  padding-block: 34px;
  color: #707b86;
  background: #111920;
  border-top: 1px solid #2b353e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.footer-grid p {
  margin-bottom: 0;
  font-size: .78rem;
}

.footer-grid p:last-child {
  text-align: right;
}

.footer-brand {
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms cubic-bezier(.2, .7, .2, 1), transform 650ms cubic-bezier(.2, .7, .2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.technology-card:nth-child(2) { transition-delay: 80ms; }
.technology-card:nth-child(3) { transition-delay: 120ms; }
.technology-card:nth-child(4) { transition-delay: 180ms; }

@media (max-width: 980px) {
  :root {
    --shell: min(100% - 40px, 820px);
  }

  .hero {
    padding-top: calc(var(--header-height) + 80px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 490px;
  }

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

  .hero-visual {
    top: calc(var(--header-height) + 24px);
    right: 30px;
    width: min(44vw, 350px);
  }

  .hero-visual[data-reveal].is-visible {
    opacity: .55;
  }

  .section-grid,
  .commercialization-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .section-heading {
    position: static;
  }

  .section-heading h2 {
    max-width: 760px;
  }

  .process-line {
    margin-top: 10px;
  }

  .contact-details {
    max-width: 620px;
  }

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

  .footer-grid p:nth-child(2) {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 70px;
    --shell: calc(100% - 32px);
  }

  .site-header {
    background: rgb(255 255 255 / 96%);
    border-color: rgb(223 227 232 / 80%);
  }

  .brand,
  .brand-crop {
    width: 132px;
    height: 48px;
  }

  .brand-crop img {
    top: -5px;
    width: 132px;
    height: auto;
  }

  .menu-toggle {
    position: relative;
    z-index: 102;
    display: block;
  }

  .menu-toggle[aria-expanded="true"] .menu-line:first-of-type {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-line:last-of-type {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 101;
    inset: var(--header-height) 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 48px 24px;
    background: rgb(255 255 255 / 98%);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-16px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 18px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.1rem;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav .nav-cta {
    margin-top: 28px;
    padding: 15px 18px;
    border-bottom: 0;
    text-align: center;
  }

  .hero {
    padding-top: calc(var(--header-height) + 68px);
  }

  h1 {
    font-size: clamp(2.05rem, 9.8vw, 3.8rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    top: calc(var(--header-height) + 18px);
    right: 12px;
    width: min(56vw, 250px);
  }

  .hero-visual[data-reveal].is-visible {
    opacity: .3;
  }

  .section-grid {
    gap: 42px;
  }

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

  .technology-card {
    min-height: 0;
  }

  .technology-body {
    padding: 28px 24px 34px;
  }

  .technology-card:nth-child(3) h3 {
    white-space: normal;
  }

  .process-line {
    grid-template-columns: 12px 1fr;
    gap: 14px;
  }

  .process-line span {
    grid-column: 2;
  }

  .process-line span::before {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 14px;
    background: var(--orange);
    content: "";
    transform: rotate(45deg);
  }

  .process-line i {
    display: none;
  }

  .contact-panel {
    width: var(--shell);
    padding: 30px 24px;
  }

  .contact-details {
    padding: 26px 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-grid p:last-child {
    text-align: left;
  }
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .shell-cube {
    animation: none !important;
    opacity: 1;
    transform: translate(var(--dx), var(--dy)) scale(var(--scale));
  }
}
