:root {
  --night: #0a1427;
  --night-2: #101f36;
  --night-3: #0c1830;
  --silver: #bec4cc;
  --orange: #ed6a03;
  --gold: #c5a366;
  --ivory: #ebedf0;
  --gold-2: #e1c691;
  --slate: #919dae;
  --cyan: #3ee0ff;
  --line: rgba(197, 163, 102, 0.35);
  --line-soft: rgba(190, 196, 204, 0.16);
  --serif: "Palatino Linotype", Palatino, "Iowan Old Style", Georgia, serif;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --header: 4.6rem;
  --space: clamp(3.6rem, 7vw, 6.4rem);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 520px at 82% -8%, rgba(62, 224, 255, 0.07), transparent 55%),
    radial-gradient(900px 480px at 8% 12%, rgba(237, 106, 3, 0.07), transparent 50%),
    var(--night);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  overflow-x: clip;
}

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

a { color: inherit; }

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

::selection { background: rgba(237, 106, 3, 0.38); color: #fff; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--orange);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 50;
}

.skip:focus { top: 1rem; }

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap-wide { width: min(1280px, calc(100% - 2.5rem)); }

.accent { color: var(--orange); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header);
  padding: 0.55rem 4vw;
  background: rgba(10, 20, 39, 0.94);
  border-bottom: 1px solid rgba(190, 196, 204, 0.12);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled { border-bottom-color: rgba(237, 106, 3, 0.35); }

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand img { height: 54px; width: auto; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--ivory);
  font: inherit;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
}

.nav-toggle-icon {
  width: 18px;
  height: 2px;
  background: var(--ivory);
  box-shadow: 0 -6px 0 var(--ivory), 0 6px 0 var(--ivory);
  display: inline-block;
  position: relative;
}

.label-close { display: none; }

.nav-toggle[aria-expanded="true"] .label-open { display: none; }
.nav-toggle[aria-expanded="true"] .label-close { display: inline; }

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
  box-shadow: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before,
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 2px;
  background: var(--orange);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { transform: rotate(-45deg); }

.site-nav { display: flex; align-items: center; gap: 1.15rem; }

.site-nav a {
  color: var(--silver);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.site-nav a:hover { color: var(--gold-2); }

.site-nav a.nav-cta {
  border: 1px solid var(--orange);
  color: var(--ivory);
  padding: 0.48rem 0.85rem;
  line-height: 1.2;
}

.site-nav a.nav-cta:hover {
  background: var(--orange);
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.12fr);
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  align-items: center;
  width: min(1440px, calc(100% - 3rem));
  margin-inline: auto;
  padding: clamp(1.4rem, 3vw, 2.4rem) 0 clamp(2.2rem, 4vw, 3.4rem);
  min-height: calc(100vh - var(--header));
  min-height: calc(100dvh - var(--header));
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.1rem;
  color: var(--orange);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.kicker::before {
  content: "";
  width: 1.8rem;
  height: 1px;
  background: var(--orange);
}

h1, h2, .vision-quote {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 4.5vw, 4.55rem);
  max-width: 12ch;
}

.lede {
  max-width: 38rem;
  color: var(--silver);
  font-size: 1.08rem;
}

.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.7rem 0 1.8rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.15rem;
  text-decoration: none;
  border: 1px solid transparent;
  font: inherit;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button-primary { background: var(--orange); color: #fff; }
.button-primary:hover { background: #d45e02; }
.button-ghost { border-color: var(--gold); color: var(--gold-2); background: transparent; }
.button-ghost:hover { color: #fff; border-color: var(--gold-2); }

.principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.principles li {
  border-top: 1px solid var(--line);
  padding-top: 0.65rem;
  color: var(--silver);
  font-size: 0.84rem;
  line-height: 1.35;
}

.principles li::before {
  content: "";
  display: block;
  width: 1.15rem;
  height: 2px;
  margin-bottom: 0.45rem;
  background: var(--orange);
}

.nucleus {
  position: relative;
  display: grid;
  grid-template-columns: minmax(142px, 0.86fr) minmax(220px, 1.22fr) minmax(142px, 0.86fr);
  grid-template-rows: auto auto auto;
  align-content: space-between;
  min-height: clamp(500px, 62vh, 620px);
  z-index: 0;
}

.links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}

.links path {
  fill: none;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
}

.nucleus::before {
  content: "";
  position: absolute;
  inset: -6% -4%;
  background-image:
    linear-gradient(rgba(145, 157, 174, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(145, 157, 174, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 48%, #000 22%, transparent 72%);
  pointer-events: none;
}

.core-layer {
  grid-column: 2;
  grid-row: 1 / span 3;
  position: relative;
  min-height: 100%;
  z-index: 1;
}

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

.flow { stroke-dasharray: 5 11; animation: flow 2.6s linear infinite; }
.flow-cyan { stroke: #3ee0ff; }
.flow-orange { stroke: #ed6a03; }
.flow-cyan:nth-of-type(3),
.flow-orange:nth-of-type(4) { animation-duration: 2.1s; }
.flow:nth-of-type(even) { animation-duration: 3.3s; animation-direction: reverse; }

.ring { transform-origin: 300px 360px; animation: ringpulse 6s ease-in-out infinite; }
.stars circle { animation: twinkle 4.8s ease-in-out infinite; }
.stars circle:nth-child(2) { animation-delay: 0.7s; }
.stars circle:nth-child(3) { animation-delay: 1.4s; }
.stars circle:nth-child(4) { animation-delay: 2s; }
.stars circle:nth-child(5) { animation-delay: 1.1s; }

.core-float {
  position: absolute;
  inset: 0;
  animation: floaty 8s ease-in-out infinite;
  pointer-events: none;
}

.platform {
  position: absolute;
  left: 50%;
  top: 74%;
  width: 92%;
  height: 24%;
  transform: translate(-50%, -50%);
}

.platform-top {
  position: absolute;
  inset: 8% 0 auto;
  height: 70%;
  border-radius: 14px;
  background:
    linear-gradient(rgba(62, 224, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 106, 3, 0.14) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 31, 54, 0.35), rgba(10, 20, 39, 0.92));
  background-size: 16px 16px, 16px 16px, auto;
  border: 1px solid rgba(237, 106, 3, 0.72);
  box-shadow:
    0 0 0 1px rgba(62, 224, 255, 0.22),
    0 10px 0 #101f36,
    0 11px 0 rgba(62, 224, 255, 0.28),
    0 22px 36px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(237, 106, 3, 0.28);
  transform: perspective(520px) rotateX(63deg);
}

.core-logo {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 36%;
  width: min(228px, 72%);
  transform: translate(-50%, -50%);
  height: auto;
}

.mod {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 76px;
  padding: 0.7rem 0.75rem;
  text-decoration: none;
  color: var(--ivory);
  background: rgba(16, 31, 54, 0.78);
  border: 1px solid color-mix(in srgb, var(--mod, var(--cyan)) 48%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.mod svg { width: 28px; height: 28px; flex: 0 0 auto; color: var(--mod, var(--cyan)); }
.mod strong { font-size: 0.78rem; line-height: 1.25; font-weight: 600; }

.mod-ia { grid-column: 1; grid-row: 1; --mod: var(--cyan); }
.mod-auto { grid-column: 3; grid-row: 1; --mod: var(--orange); }
.mod-soft { grid-column: 1; grid-row: 2; --mod: var(--orange); }
.mod-asist { grid-column: 3; grid-row: 2; --mod: var(--cyan); }
.mod-integ { grid-column: 1; grid-row: 3; --mod: var(--cyan); }
.mod-prod { grid-column: 3; grid-row: 3; --mod: var(--orange); }

.mod::before { content: none; }

.mod .port {
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--mod, var(--cyan));
  box-shadow: 0 0 8px var(--mod, var(--cyan));
}

.mod-ia .port,
.mod-soft .port,
.mod-integ .port { right: -4px; }

.mod-auto .port,
.mod-asist .port,
.mod-prod .port { left: -4px; }

.mod:hover,
.mod:focus-visible {
  transform: translateY(-4px);
  border-color: var(--mod, var(--cyan));
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.32), 0 0 18px color-mix(in srgb, var(--mod, var(--cyan)) 40%, transparent);
}

main section { padding: var(--space) 0; scroll-margin-top: calc(var(--header) + 0.4rem); }
.hero { padding-top: clamp(1.2rem, 2.4vw, 2rem); }

.section-head { max-width: 42rem; margin-bottom: 2.2rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p:last-child { margin-bottom: 0; color: var(--silver); }

h2 { margin: 0 0 0.9rem; font-size: clamp(2.05rem, 3.6vw, 3.35rem); }

.chapter {
  margin: 0 0 0.75rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.band {
  background: var(--night-3);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.capabilities li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
  padding: 1.45rem 1rem 1.4rem;
  border-left: 1px solid var(--line-soft);
  transition: background 0.25s ease;
}

.capabilities li:first-child { border-left: 0; }
.capabilities li:hover { background: rgba(237, 106, 3, 0.05); }

.cap-index {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.mark { width: 32px; height: 32px; color: var(--orange); }

.capabilities h3 {
  margin: 0;
  min-height: 2.7em;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.capabilities p {
  margin: 0;
  color: var(--silver);
  font-size: 0.92rem;
  line-height: 1.5;
}

.eco-stage { position: relative; }

.eco-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  height: 36px;
}

.eco-rail::before,
.eco-rail::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
}

.eco-rail::before {
  background: linear-gradient(90deg, var(--orange), var(--gold) 50%, var(--cyan));
  box-shadow: 0 0 12px rgba(62, 224, 255, 0.35);
}

.eco-rail::after {
  background: repeating-linear-gradient(90deg, transparent 0 12px, rgba(10, 20, 39, 0.92) 12px 20px);
  background-size: 32px 2px;
  animation: rail 1.5s linear infinite;
}

.eco-rail span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  justify-self: center;
  position: relative;
  z-index: 1;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
}

.eco-rail span::after {
  content: "";
  position: absolute;
  left: 3.5px;
  top: 8px;
  width: 2px;
  height: 24px;
  background: inherit;
}

.eco-rail span:nth-child(2) { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.eco-rail span:nth-child(3) { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  perspective: 1200px;
}

.product {
  --glow: var(--orange);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
  padding: 1.5rem 1.35rem 1.4rem;
  color: var(--ivory);
  background:
    radial-gradient(120% 80% at 50% -12%, color-mix(in srgb, var(--glow) 24%, transparent), transparent 46%),
    linear-gradient(180deg, #13243f 0%, #0a1427 100%);
  border: 1px solid color-mix(in srgb, var(--glow) 62%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.product::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--glow) 80%, white), transparent);
}

.product-dental { --glow: var(--gold); }
.product-lumi { --glow: var(--cyan); }

.product:hover,
html.reveal-ready .products.is-in .product:hover {
  transform: translateY(-8px);
  border-color: var(--glow);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 22px 44px rgba(0, 0, 0, 0.38),
    0 0 26px color-mix(in srgb, var(--glow) 28%, transparent);
}

.product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--glow);
  border: 1px solid color-mix(in srgb, var(--glow) 70%, transparent);
  background: color-mix(in srgb, var(--glow) 12%, transparent);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  line-height: 1;
}

.status-pill::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 8px var(--glow);
}

.product-icon { width: 58px; height: 58px; color: var(--glow); flex: 0 0 auto; }

.product h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.4vw, 2.35rem);
  font-weight: 500;
}

.product p { margin: 0; color: var(--silver); }
.product-role { color: var(--gold-2); font-size: 0.92rem; margin-top: auto; }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }

.philosophy { margin: 0; padding: 0; list-style: none; }

.philosophy li {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 0.85rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line-soft);
}

.philosophy li:last-child { border-bottom: 1px solid var(--line-soft); }
.philosophy strong { display: block; font-weight: 600; }
.philosophy span { color: var(--gold); font-family: var(--serif); font-size: 1.25rem; }
.philosophy p { margin: 0.25rem 0 0; color: var(--silver); }

.vision {
  background:
    radial-gradient(700px 280px at 12% 0%, rgba(237, 106, 3, 0.12), transparent 60%),
    radial-gradient(600px 260px at 90% 100%, rgba(62, 224, 255, 0.08), transparent 55%),
    var(--night-2);
}

.vision-quote { margin: 0 0 1.4rem; font-size: clamp(2.35rem, 5.4vw, 4.6rem); max-width: 16ch; }
.vision-copy { max-width: 42rem; color: var(--silver); }
.vision-copy p { margin: 0 0 1rem; }

.contact-band {
  background:
    linear-gradient(180deg, rgba(16, 31, 54, 0.45), rgba(10, 20, 39, 0)),
    var(--night);
  border-top: 1px solid var(--line-soft);
}

.contact-band .chapter { color: var(--orange); }
.contact-band p { color: var(--silver); }

.contact-channels {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}

.contact-channels a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ivory);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.contact-channels svg {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  color: var(--orange);
  transition: transform 0.2s ease;
}

.contact-channels a:hover,
.contact-channels a:focus-visible {
  color: var(--orange);
}

.contact-channels a:hover svg,
.contact-channels a:focus-visible svg {
  transform: translateX(3px);
}

.contact-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 3rem; align-items: start; }

form {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem;
  background: rgba(16, 31, 54, 0.78);
  border: 1px solid var(--line-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

label { display: grid; gap: 0.35rem; font-size: 0.92rem; color: var(--ivory); }
.optional { color: var(--slate); font-weight: 400; }

input, textarea {
  width: 100%;
  border: 1px solid #c5ccd4;
  background: #f7f8fa;
  color: var(--night);
  font: inherit;
  padding: 0.8rem 0.85rem;
}

textarea { min-height: 9rem; resize: vertical; }
input:focus, textarea:focus { border-color: var(--orange); outline: none; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--orange); }
.error { min-height: 1.1rem; margin: 0; color: #ffb088; font-size: 0.85rem; }
.status { min-height: 1.4rem; margin: 0.2rem 0 0; color: var(--gold-2); }

.site-footer {
  padding: 3rem 0 1.6rem;
  border-top: 1px solid var(--line-soft);
  color: var(--silver);
}

.footer-grid { display: grid; grid-template-columns: 1.4fr 0.9fr 0.9fr 0.9fr; gap: 2rem; }
.site-footer img { height: 58px; width: auto; margin-bottom: 0.8rem; }
.site-footer a { color: var(--gold-2); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 0.4rem; }
.legal-label { margin-top: 1.3rem; }
.legal-note { margin-top: 2rem; color: var(--slate); font-size: 0.85rem; }

.legal { padding: 3.2rem 0 4.5rem; max-width: 46rem; }
.legal h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); margin: 0 0 1rem; }
.legal p, .legal li { color: var(--silver); }
.legal a { color: var(--gold-2); }

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
  margin-bottom: 0.4rem;
}

.legal-links a { color: var(--gold-2); text-decoration: none; }
.legal-links a:hover { color: #fff; }

[id] { scroll-margin-top: calc(var(--header) + 0.7rem); }

@keyframes flow { to { stroke-dashoffset: -160; } }
@keyframes flowx { to { background-position: 26px 0; } }
@keyframes rail { to { background-position: 32px 0; } }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes ringpulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}

html.reveal-ready [data-reveal]:not(.capabilities):not(.products) {
  opacity: 0;
  transform: translateY(16px);
}

html.reveal-ready [data-reveal].is-in:not(.capabilities):not(.products) {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.reveal-ready .capabilities li,
html.reveal-ready .products .product {
  opacity: 0;
  transform: translateY(14px);
}

html.reveal-ready .capabilities.is-in li,
html.reveal-ready .products.is-in .product {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease, background 0.25s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

html.reveal-ready .capabilities.is-in li:nth-child(2),
html.reveal-ready .products.is-in .product:nth-child(2) { transition-delay: 0.06s; }
html.reveal-ready .capabilities.is-in li:nth-child(3),
html.reveal-ready .products.is-in .product:nth-child(3) { transition-delay: 0.12s; }
html.reveal-ready .capabilities.is-in li:nth-child(4) { transition-delay: 0.18s; }
html.reveal-ready .capabilities.is-in li:nth-child(5) { transition-delay: 0.24s; }
html.reveal-ready .capabilities.is-in li:nth-child(6) { transition-delay: 0.3s; }

@media (max-width: 1180px) {
  .capabilities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .capabilities li { border-left: 0; border-top: 1px solid var(--line-soft); }
  .capabilities li:nth-child(-n+3) { border-top: 0; }
  .capabilities li:nth-child(3n+2),
  .capabilities li:nth-child(3n+3) { border-left: 1px solid var(--line-soft); }
}

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .site-header:has(.nav-toggle) .site-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 1.25rem 1.15rem;
    background: rgba(10, 20, 39, 0.98);
    border-bottom: 1px solid rgba(237, 106, 3, 0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
  }
  .site-header:has(.nav-toggle) .site-nav[data-open="true"] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100dvh - var(--header));
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    background: #0a1427;
    overflow: auto;
    z-index: 40;
  }
  .site-nav a {
    padding: 0.85rem 0.1rem;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1.02rem;
  }
  .site-nav a.nav-cta {
    margin-top: 0.85rem;
    text-align: center;
    border-bottom: 1px solid var(--orange);
  }
  body.nav-open { overflow: hidden; }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    width: min(860px, calc(100% - 2rem));
  }
  h1 { max-width: 16ch; }
  .nucleus {
    min-height: 0;
    align-content: stretch;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 0.7rem;
  }
  .nucleus > * { grid-column: auto; grid-row: auto; }
  .core-layer {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 300px;
    height: 320px;
  }
  .mod { min-height: 72px; }
  .links,
  .mod .port { display: none; }
  .nucleus::before { inset: 0; }
}

@media (max-width: 980px) {
  .capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capabilities li { border-left: 0; border-top: 1px solid var(--line-soft); }
  .capabilities li:nth-child(-n+3) { border-top: 1px solid var(--line-soft); }
  .capabilities li:nth-child(-n+2) { border-top: 0; }
  .capabilities li:nth-child(3n+2),
  .capabilities li:nth-child(3n+3) { border-left: 0; }
  .capabilities li:nth-child(2n) { border-left: 1px solid var(--line-soft); }
  .products { grid-template-columns: 1fr; }
  .eco-rail { display: none; }
  .products {
    position: relative;
    padding-left: 0.15rem;
  }
  .products::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 2px;
    background: linear-gradient(var(--orange), var(--gold), var(--cyan));
  }
  .product { margin-left: 0.85rem; }
  .split, .contact-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .wrap, .wrap-wide, .hero { width: min(100% - 1.5rem, 860px); }
  .principles { grid-template-columns: 1fr 1fr; }
  .capabilities { grid-template-columns: 1fr 1fr; }
  .capabilities li { border-left: 0; border-top: 1px solid var(--line-soft); }
  .capabilities li:nth-child(-n+3) { border-top: 1px solid var(--line-soft); }
  .capabilities li:nth-child(-n+2) { border-top: 0; }
  .capabilities li:nth-child(2n) { border-left: 1px solid var(--line-soft); }
  .capabilities h3 { min-height: 2.7em; }
  .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .core-layer { height: 260px; min-height: 260px; }
  .mod { backdrop-filter: none; background: rgba(16, 31, 54, 0.94); }
}

@media (max-width: 420px) {
  .capabilities { grid-template-columns: 1fr; }
  .capabilities li { border-left: 0 !important; }
  .capabilities li:first-child { border-top: 0; }
  .actions { flex-direction: column; }
  .actions .button,
  form .button { width: 100%; }
  h1 { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html.reveal-ready [data-reveal],
  html.reveal-ready [data-reveal] li,
  html.reveal-ready .capabilities li,
  html.reveal-ready .products .product {
    opacity: 1 !important;
    transform: none !important;
  }
}

html.reduce-fx *,
html.reduce-fx *::before,
html.reduce-fx *::after {
  animation: none !important;
  transition: none !important;
}
