:root {
  --bg: #070a0f;
  --bg-soft: #0d121a;
  --panel: rgba(15, 22, 31, 0.78);
  --panel-strong: rgba(18, 28, 41, 0.94);
  --line: rgba(148, 163, 184, 0.2);
  --line-bright: rgba(36, 213, 255, 0.42);
  --text: #edf7ff;
  --muted: #a6b6c9;
  --blue: #20c7ff;
  --blue-deep: #2d68ff;
  --cyan: #69f5ff;
  --green: #91ffcf;
  --metal: #c9d3df;
  --steel: #7b8ba1;
  --warning: #f5c76b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(32, 199, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 84% 18%, rgba(45, 104, 255, 0.14), transparent 30rem),
    linear-gradient(135deg, #05070b 0%, #0a1119 48%, #06080d 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 44%, rgba(105, 245, 255, 0.06) 44.3% 44.7%, transparent 45% 100%),
    linear-gradient(65deg, transparent 0 63%, rgba(145, 255, 207, 0.05) 63.2% 63.6%, transparent 64% 100%);
}

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

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

section[id] {
  scroll-margin-top: 104px;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 16px auto 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 10, 15, 0.8);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid rgba(105, 245, 255, 0.5);
  border-radius: 8px;
  color: var(--cyan);
  font-weight: 800;
  background:
    linear-gradient(145deg, rgba(32, 199, 255, 0.22), rgba(255, 255, 255, 0.04)),
    #0c141d;
  box-shadow: inset 0 0 20px rgba(32, 199, 255, 0.2), 0 0 28px rgba(32, 199, 255, 0.2);
}

.brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.header-cta {
  padding: 0 18px;
  color: #061019;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 12px 32px rgba(32, 199, 255, 0.22);
}

.header-cta:hover,
.btn:hover,
.contact-link:hover,
.service-card:hover,
.material-item:hover,
.process-step:hover {
  transform: translateY(-3px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.section-grid,
.content-section,
.intro-band,
.consultation-section,
.site-footer {
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: 56px;
  min-height: calc(100vh - 86px);
  padding: 76px 0 58px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.consultation-section h2,
.contact-panel h2 {
  color: var(--text);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 740px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.6rem);
}

.hero-text {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  min-width: 168px;
  padding: 0 22px;
  border: 1px solid transparent;
}

.btn.primary {
  color: #061019;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 54%, var(--green));
  box-shadow: 0 18px 46px rgba(32, 199, 255, 0.26);
}

.btn.secondary {
  color: var(--text);
  border-color: rgba(201, 211, 223, 0.28);
  background: rgba(255, 255, 255, 0.045);
}

.btn.secondary:hover {
  border-color: var(--line-bright);
  box-shadow: 0 12px 34px rgba(32, 199, 255, 0.18);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

.hero-metrics strong {
  color: var(--metal);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  perspective: 1200px;
}

.printer-frame {
  position: absolute;
  inset: 42px 14px 34px;
  border: 1px solid rgba(105, 245, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), transparent 26%),
    linear-gradient(180deg, rgba(18, 28, 41, 0.9), rgba(9, 14, 22, 0.92));
  box-shadow: var(--shadow), inset 0 0 54px rgba(32, 199, 255, 0.08);
  transform: rotateX(6deg) rotateY(-9deg);
  transform-style: preserve-3d;
}

.printer-frame::before,
.printer-frame::after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  width: 10px;
  border-radius: 999px;
  background: linear-gradient(var(--metal), var(--steel));
  box-shadow: 0 0 18px rgba(105, 245, 255, 0.18);
}

.printer-frame::before {
  left: 28px;
}

.printer-frame::after {
  right: 28px;
}

.top-rail {
  position: absolute;
  top: 58px;
  right: 62px;
  left: 62px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--steel), var(--metal), var(--steel));
}

.print-head {
  position: absolute;
  top: 34px;
  left: 50%;
  width: 92px;
  height: 84px;
  border: 1px solid rgba(105, 245, 255, 0.45);
  border-radius: 8px;
  background: linear-gradient(145deg, #1e2a37, #0c141f);
  box-shadow: 0 0 42px rgba(32, 199, 255, 0.24);
  animation: headSweep 5s ease-in-out infinite;
}

.print-head span {
  position: absolute;
  bottom: -45px;
  left: 50%;
  width: 2px;
  height: 45px;
  background: linear-gradient(var(--cyan), transparent);
  transform: translateX(-50%);
}

.build-plate {
  position: absolute;
  right: 64px;
  bottom: 58px;
  left: 64px;
  height: 230px;
  overflow: hidden;
  border: 1px solid rgba(201, 211, 223, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(rgba(105, 245, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 245, 255, 0.16) 1px, transparent 1px),
    linear-gradient(180deg, rgba(9, 20, 31, 0.96), rgba(5, 8, 13, 0.96));
  background-size: 28px 28px, 28px 28px, 100% 100%;
  transform: rotateX(68deg);
  transform-origin: bottom center;
  box-shadow: inset 0 0 35px rgba(32, 199, 255, 0.14);
}

.printed-part {
  position: absolute;
  right: 20%;
  bottom: 26px;
  left: 20%;
  height: 130px;
  transform: rotateX(-68deg) translateZ(24px);
  transform-style: preserve-3d;
}

.ring {
  position: absolute;
  width: 142px;
  height: 142px;
  border: 20px solid rgba(32, 199, 255, 0.75);
  border-radius: 50%;
  box-shadow: inset 0 0 24px rgba(105, 245, 255, 0.35), 0 0 32px rgba(32, 199, 255, 0.28);
}

.ring-one {
  left: 8%;
  bottom: 6px;
}

.ring-two {
  right: 8%;
  bottom: 6px;
  border-color: rgba(145, 255, 207, 0.72);
}

.core-block {
  position: absolute;
  right: 27%;
  bottom: 36px;
  left: 27%;
  height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(201, 211, 223, 0.8), rgba(45, 104, 255, 0.58));
}

.cad-grid {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, 0.16) 50%, transparent 52% 100%);
  animation: scanLine 3.6s linear infinite;
}

.spec-panel,
.material-chip {
  position: absolute;
  z-index: 2;
  border: 1px solid var(--line-bright);
  border-radius: 8px;
  background: rgba(7, 10, 15, 0.72);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.spec-panel {
  top: 22px;
  right: 0;
  padding: 16px 18px;
}

.spec-panel span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.spec-panel strong {
  color: var(--cyan);
  font-size: 1.3rem;
}

.material-chip {
  padding: 10px 13px;
  color: var(--metal);
  font-size: 0.84rem;
  font-weight: 700;
}

.chip-one {
  top: 190px;
  left: 0;
}

.chip-two {
  right: 22px;
  bottom: 162px;
}

.chip-three {
  left: 48px;
  bottom: 44px;
  color: var(--green);
}

.intro-band {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(32, 199, 255, 0.13), rgba(255, 255, 255, 0.035), rgba(145, 255, 207, 0.1)),
    rgba(255, 255, 255, 0.035);
}

.intro-band p {
  max-width: 920px;
  margin: 0;
  color: var(--metal);
  font-size: clamp(1rem, 2vw, 1.26rem);
  line-height: 1.65;
}

.content-section {
  padding: 104px 0 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.consultation-section h2,
.contact-panel h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4rem);
}

.section-heading p:not(.eyebrow),
.consultation-section p,
.contact-panel p {
  color: var(--muted);
  line-height: 1.7;
}

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

.service-card,
.material-item,
.process-step,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card {
  min-height: 390px;
  padding: 18px;
  overflow: hidden;
}

.service-card:hover,
.material-item:hover,
.process-step:hover {
  border-color: var(--line-bright);
  background: var(--panel-strong);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(105, 245, 255, 0.36);
  border-radius: 8px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(32, 199, 255, 0.08);
}

.service-media {
  position: relative;
  height: clamp(170px, 15vw, 220px);
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid rgba(201, 211, 223, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(32, 199, 255, 0.16), rgba(255, 255, 255, 0.04), rgba(145, 255, 207, 0.1)),
    #081019;
  isolation: isolate;
}

.service-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(105, 245, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 245, 255, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.62;
}

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 10, 15, 0.1), rgba(7, 10, 15, 0.54)),
    linear-gradient(90deg, rgba(7, 10, 15, 0.5), transparent 62%);
  pointer-events: none;
}

.service-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 650ms ease, filter 650ms ease;
}

.service-card:hover .service-media img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.075);
}

.service-media img.is-missing {
  display: none;
}

.service-media .card-icon {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(7, 10, 15, 0.72);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.service-media-design {
  background:
    radial-gradient(circle at 72% 22%, rgba(145, 255, 207, 0.28), transparent 30%),
    linear-gradient(135deg, rgba(32, 199, 255, 0.22), rgba(45, 104, 255, 0.2), rgba(255, 255, 255, 0.04)),
    #081019;
}

.service-media-printing {
  background:
    radial-gradient(circle at 52% 20%, rgba(105, 245, 255, 0.3), transparent 32%),
    linear-gradient(145deg, rgba(201, 211, 223, 0.16), rgba(32, 199, 255, 0.18)),
    #081019;
}

.service-media-prototype {
  background:
    radial-gradient(circle at 68% 48%, rgba(245, 199, 107, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(32, 199, 255, 0.2), rgba(145, 255, 207, 0.12)),
    #081019;
}

.service-media-modeling {
  background:
    radial-gradient(circle at 26% 32%, rgba(201, 211, 223, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(45, 104, 255, 0.24), rgba(105, 245, 255, 0.1)),
    #081019;
}

.service-media-replacement {
  background:
    radial-gradient(circle at 62% 36%, rgba(201, 211, 223, 0.26), transparent 34%),
    linear-gradient(145deg, rgba(145, 255, 207, 0.16), rgba(32, 199, 255, 0.18)),
    #081019;
}

.service-media-engineering {
  background:
    radial-gradient(circle at 72% 34%, rgba(105, 245, 255, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(201, 211, 223, 0.16), rgba(45, 104, 255, 0.18)),
    #081019;
}

.service-card h3,
.material-item h3,
.process-step h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.12rem;
}

.service-card p,
.material-item p,
.process-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.gallery-section {
  overflow: hidden;
}

.gallery-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.gallery-top .section-heading {
  margin-bottom: 24px;
}

.gallery-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
}

.gallery-arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.gallery-arrow:hover {
  transform: translateY(-3px);
  border-color: var(--line-bright);
  background: rgba(32, 199, 255, 0.12);
  box-shadow: 0 12px 34px rgba(32, 199, 255, 0.18);
}

.gallery-track {
  display: flex;
  gap: 18px;
  margin-inline: calc((100vw - 100%) / -2);
  padding: 8px max(16px, calc((100vw - var(--max-width)) / 2)) 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--blue) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
  cursor: grab;
  user-select: none;
}

.gallery-track::-webkit-scrollbar {
  height: 10px;
}

.gallery-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.gallery-track::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.gallery-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.gallery-card {
  position: relative;
  flex: 0 0 80vw;
  height: clamp(420px, 34vw, 550px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #081019;
  box-shadow: var(--shadow);
  scroll-snap-align: center;
  transform: translateZ(0);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 700ms ease, filter 700ms ease;
  pointer-events: none;
}

.gallery-card:hover img {
  filter: saturate(1.1) contrast(1.04);
  transform: scale(1.075);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 10, 15, 0.1) 0%, rgba(7, 10, 15, 0.32) 45%, rgba(7, 10, 15, 0.9) 100%),
    linear-gradient(90deg, rgba(7, 10, 15, 0.58), transparent 58%);
  pointer-events: none;
}

.gallery-overlay {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  z-index: 1;
  max-width: 680px;
}

.gallery-overlay h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: clamp(1.55rem, 3vw, 3rem);
  line-height: 1.05;
}

.gallery-overlay p {
  max-width: 560px;
  margin: 0;
  color: var(--metal);
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  line-height: 1.6;
}

.gallery-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 26px;
  border: 1px solid rgba(105, 245, 255, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(32, 199, 255, 0.12), rgba(255, 255, 255, 0.035), rgba(145, 255, 207, 0.08)),
    rgba(255, 255, 255, 0.035);
}

.gallery-cta p {
  max-width: 680px;
  margin: 0;
  color: var(--metal);
  line-height: 1.65;
}

.gallery-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.materials-section {
  position: relative;
}

.material-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  align-items: stretch;
}

.material-showcase {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(32, 199, 255, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
}

.material-video-showcase {
  background: #081019;
}

.material-video-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 10, 15, 0.1), rgba(7, 10, 15, 0.72)),
    linear-gradient(90deg, rgba(7, 10, 15, 0.56), transparent 62%);
  pointer-events: none;
}

.material-video {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 700ms ease, filter 700ms ease;
}

.material-video-showcase:hover .material-video {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.055);
}

.material-video-caption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 1;
  display: grid;
  gap: 5px;
  padding: 18px;
  border: 1px solid rgba(105, 245, 255, 0.32);
  border-radius: 8px;
  background: rgba(7, 10, 15, 0.62);
  backdrop-filter: blur(14px);
}

.material-video-caption span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.material-video-caption strong {
  color: var(--text);
  font-size: 1.28rem;
}

.material-orbit {
  position: absolute;
  inset: 62px;
  border: 1px solid rgba(105, 245, 255, 0.22);
  border-radius: 50%;
  animation: slowSpin 18s linear infinite;
}

.material-orbit span {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 0 32px rgba(105, 245, 255, 0.28);
}

.material-orbit span:nth-child(1) {
  top: 8%;
  left: 16%;
}

.material-orbit span:nth-child(2) {
  right: 6%;
  top: 48%;
  background: linear-gradient(135deg, var(--metal), var(--blue));
}

.material-orbit span:nth-child(3) {
  bottom: 5%;
  left: 46%;
  background: linear-gradient(135deg, var(--warning), var(--cyan));
}

.sample-stack {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 190px;
  height: 150px;
  transform: translate(-50%, -50%) rotateX(62deg) rotateZ(-30deg);
  transform-style: preserve-3d;
}

.sample-stack i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(105, 245, 255, 0.78), rgba(45, 104, 255, 0.42));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
}

.sample-stack i:nth-child(2) {
  transform: translateZ(26px);
  background: linear-gradient(145deg, rgba(201, 211, 223, 0.76), rgba(32, 199, 255, 0.32));
}

.sample-stack i:nth-child(3) {
  transform: translateZ(52px);
  background: linear-gradient(145deg, rgba(145, 255, 207, 0.72), rgba(32, 199, 255, 0.34));
}

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

.material-item {
  display: grid;
  align-content: center;
  min-height: 129px;
  padding: 28px;
}

.material-item h3 {
  font-size: 1.35rem;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 350px;
  padding: 16px;
  overflow: hidden;
}

.process-step::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 84px;
  height: 84px;
  background: linear-gradient(135deg, rgba(105, 245, 255, 0.2), transparent 70%);
}

.process-media {
  position: relative;
  flex: 0 0 165px;
  width: 100%;
  height: 165px !important;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid rgba(201, 211, 223, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(32, 199, 255, 0.14), rgba(255, 255, 255, 0.04), rgba(145, 255, 207, 0.08)),
    #081019;
  isolation: isolate;
}

.process-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(105, 245, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 245, 255, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
}

.process-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 10, 15, 0.08), rgba(7, 10, 15, 0.62)),
    linear-gradient(90deg, rgba(7, 10, 15, 0.48), transparent 64%);
  pointer-events: none;
}

.process-media img {
  width: 100%;
  height: 100% !important;
  display: block;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.01);
  transition: transform 650ms ease, filter 650ms ease;
}

.process-step:hover .process-media img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.075);
}

.process-media img.is-missing {
  display: none;
}

.process-step span {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(105, 245, 255, 0.36);
  border-radius: 8px;
  color: var(--cyan);
  font-size: 0.86rem;
  font-weight: 800;
  background: rgba(7, 10, 15, 0.72);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.process-step h3 {
  min-height: 44px;
}

.consultation-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  margin-top: 104px;
  padding: 36px;
  border: 1px solid rgba(105, 245, 255, 0.32);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(32, 199, 255, 0.18), rgba(255, 255, 255, 0.04) 42%, rgba(145, 255, 207, 0.12)),
    rgba(9, 14, 22, 0.9);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.26);
}

.consultation-section p {
  max-width: 760px;
  margin-bottom: 0;
}

.contact-section {
  padding-bottom: 80px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 30px;
  align-items: center;
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    var(--panel);
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-link {
  display: grid;
  gap: 7px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-link:hover {
  border-color: var(--line-bright);
  background: rgba(32, 199, 255, 0.075);
}

.contact-link span {
  color: var(--muted);
  font-size: 0.84rem;
}

.contact-link strong {
  color: var(--text);
  font-size: clamp(1.15rem, 3vw, 1.65rem);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes headSweep {
  0%,
  100% {
    transform: translateX(-106px);
  }

  50% {
    transform: translateX(36px);
  }
}

@keyframes scanLine {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-header.is-open .site-nav,
  .site-header.is-open .header-cta {
    display: flex;
  }

  .site-header.is-open .site-nav {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .site-header.is-open .header-cta {
    grid-column: 1 / -1;
  }

  .site-header.is-open .nav-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .site-header.is-open .nav-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 62px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .card-grid,
  .material-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .gallery-card {
    flex-basis: 85vw;
    height: 360px;
  }

  .gallery-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-cta-actions {
    justify-content: flex-start;
    width: 100%;
  }

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

  .consultation-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header,
  .section-grid,
  .content-section,
  .intro-band,
  .consultation-section,
  .site-footer {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .brand small {
    white-space: normal;
  }

  .hero {
    gap: 32px;
    padding: 46px 0 42px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 15vw, 4.6rem);
  }

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

  .hero-visual {
    min-height: 390px;
  }

  .printer-frame {
    inset: 32px 4px 36px;
  }

  .top-rail {
    right: 48px;
    left: 48px;
  }

  .printer-frame::before {
    left: 18px;
  }

  .printer-frame::after {
    right: 18px;
  }

  .build-plate {
    right: 40px;
    bottom: 38px;
    left: 40px;
    height: 176px;
  }

  .ring {
    width: 96px;
    height: 96px;
    border-width: 14px;
  }

  .core-block {
    right: 25%;
    left: 25%;
    height: 48px;
  }

  .spec-panel {
    right: 8px;
    padding: 12px 14px;
  }

  .chip-one {
    top: 148px;
  }

  .chip-two {
    right: 8px;
    bottom: 118px;
  }

  .chip-three {
    left: 14px;
    bottom: 8px;
  }

  .intro-band,
  .consultation-section,
  .contact-panel {
    padding: 22px;
  }

  .content-section {
    padding-top: 74px;
  }

  .services-grid,
  .process-track {
    grid-template-columns: 1fr;
  }

  .gallery-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .gallery-controls {
    margin-bottom: 18px;
  }

  .gallery-track {
    gap: 12px;
    margin-inline: -12px;
    padding: 6px 12px 16px;
  }

  .gallery-card {
    flex-basis: 90vw;
    height: clamp(260px, 74vw, 320px);
  }

  .gallery-overlay {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .gallery-cta {
    padding: 22px;
  }

  .gallery-cta-actions .btn {
    width: 100%;
  }

  .service-card {
    min-height: auto;
  }

  .service-media {
    height: 160px;
  }

  .material-showcase {
    min-height: 320px;
  }

  .material-video {
    min-height: 320px;
  }

  .material-orbit {
    inset: 42px;
  }

  .sample-stack {
    width: 142px;
    height: 112px;
  }

  .process-step {
    min-height: auto;
  }

  .process-media {
    flex-basis: 160px;
    height: 160px !important;
  }

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

  .site-footer p {
    text-align: left;
  }
}
