* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Pushes the navigation down 48px when the Concrete CMS toolbar is present */
html.ccm-toolbar-visible .site-nav {
  top: 48px;
}


/* ==========================================================================
   3D PRINTING PAGE LOADER
   ========================================================================== */

.page-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.page-loader-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.printer-svg {
    width: 120px;
    height: 96px;
    overflow: visible;
}

/* SVG Styling */
.printer-frame { fill: #191B23; }
.frame-dot { fill: #ffffff; }
.printer-body { fill: #191B23; }
.printer-nozzle { fill: #ff3131; } /* Accent red matching hero line */
.print-bed { stroke: #d1d5db; stroke-width: 2; stroke-linecap: round; }

/* Filament Extrusion Animation */
.filament-line {
    fill: none;
    stroke: #191B23;
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: drawFilament 1.2s ease-in-out infinite alternate;
}

/* Side-to-Side Extruder Motion */
.extruder-head {
    animation: moveExtruder 1.2s ease-in-out infinite alternate;
}

.loader-text {
    margin-top: 15px;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.85em;
    font-weight: 700;
    color: #191B23;
    letter-spacing: 1.5px;
    animation: pulseText 1.2s infinite ease-in-out;
}

/* Keyframes */
@keyframes moveExtruder {
    0% { transform: translateX(-30px); }
    100% { transform: translateX(30px); }
}

@keyframes drawFilament {
    0% { stroke-dashoffset: 60; }
    100% { stroke-dashoffset: 0; }
}

@keyframes pulseText {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}


/* Base Styles */
body {
  margin: 0;
  padding: 0;
  background-color: #fff;
  font-size: 16px;
  font-weight: 300;
  color: #000000;
  line-height: 1.25;
  font-family: "Inter", sans-serif;
}

h1 {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 2.8em;
  margin: 0;
}

h2 {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1.6em;
  font-weight: 400;
  margin: 0 0 10px 0;
}

h3 {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1.3em;
  margin: 0 0 0.5em 0;
}

p {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1em;
  margin: 0 0 1em 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #424654;
}

a {
  color: #2c2c2c;
}

/* 1. Base Button Class Update */
a.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: #ffffff;
  color: #191b23;
  border: 1px solid #191b23;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "JetBrains Mono", monospace;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 0.9em;
  font-weight: 600;
  letter-spacing: 0.5px;
  word-spacing: 1px;
  transition: all 0.3s ease;
}

/* 2. Universal Hover Effect */
a.btn:hover {
  background-color: #191b23;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

a.logo {
  display: block;
  width: 80px;
  height: 68px;
  background: url(images/logo.svg) no-repeat 0 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  z-index: 999999;
}

a.logo span {
  display: none;
}

/* Content Containers */
.content {
  margin: 0 auto;
  max-width: 1150px;
  box-sizing: border-box;
}

/* Header */
.site-header {
  background-color: #333333;
  height: 66vh;
  overflow: hidden;
  position: relative;
}

.site-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.25);
  z-index: 1;
}

.header_bg_video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: blur(2px);
  transform: scale(1.05);
}

.site-header > .content {
  padding-right: 25%;
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.site-header h1,
.site-header p {
  margin-top: 20px;
  color: #191b23;
}

.site-header > .content p {
  border-left: 3px solid #ff3131;
  padding-left: 15px;
  margin-left: 0;
}

.site-header .btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: #ffffff;
  color: #191b23;
  border: 1px solid #191b23;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "JetBrains Mono", monospace;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 0.9em;
  font-weight: 600;
  letter-spacing: 0.5px;
  word-spacing: 1px;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.75);
  padding: 20px;
}

.overlay h1,
.overlay p {
  color: #ffffff;
}

/* Navigation */
.site-nav {
  background-color: #ffffff;
  position: absolute;
  width: 100%;
  top: 0px;
  left: 0px;
  font-size: 0.9em;
  z-index: 99;
  height: 82px;
  opacity: 0.93;
  border-bottom: 1px solid #d1d5db;
}

.site-nav .content {
  position: relative;
  padding-left: 175px;
  height: 100%;
  display: flex;
  align-items: center;
}

#mobile_menu_icon {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 101;
}

.hamburger_line {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  background-color: #191b23;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile_nav_buttons {
  display: none;
}

.site-nav #mobile_menu > ul {
  margin: 0 auto;
  padding: 20px 0;
  max-width: 980px;
}

.site-nav ul {
  margin: 0;
  padding: 0;
}

.site-nav ul::after {
  content: "";
  display: block;
  clear: both;
}

.site-nav ul li {
  position: relative;
  margin: 0 12px 0 0;
  padding: 15px 0;
  display: inline-block;
  float: left;
}

.site-nav ul li:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.site-nav ul li:hover ul {
  display: block;
}

.site-nav ul li a {
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  padding: 12px;
  position: relative;
  font-size: 0.9em;
  color: #424654;
}

.site-nav ul li a[aria-haspopup="true"]::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.6);
  position: absolute;
  left: 12px;
  bottom: 7px;
}

.site-nav ul ul {
  position: absolute;
  top: 100%;
  left: 0px;
  width: 200px;
  background-color: rgba(255, 255, 255, 0.95);
  display: none;
}

.site-nav ul ul li {
  padding: 0;
  margin: 0;
  display: block;
  float: none;
}

.site-nav ul ul li a {
  padding: 12px;
  display: block;
}

.site-nav .nav_buttons {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 15px;
}

/* Why Section */
.why {
  margin: 0;
  padding: 60px 0 60px 0;
  background-color: #ffffff;
  border-top: 1px solid #d1d5db;
  border-bottom: 1px solid #d1d5db;
}

.why .grid_container {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  font-family: "JetBrains Mono", monospace;
}

.why h2 {
  text-align: center;
  padding-bottom: 20px;
}

.grid_container .item {
  display: grid;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: auto;
  border: 1px solid #999999;
  background-color: white;
  padding: 20px;
}

.why .grid_container .item h3 {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 1em;
  margin: 0 0 5px 0;
}

.why .grid_container .item p {
  font-family: "JetBrains Mono", monospace;
  font-weight: 400;
  margin: 0;
}

/* Manufacturing Section */
.manufacturing {
  margin: 0;
  padding: 30px 0 50px 0;
  background-color: rgb(255, 255, 255);
}

.manufacturing hr {
  margin-bottom: 25px;
}

.manufacturing .flexbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.manufacturing .prototyping,
.manufacturing .production {
  display: flex;
  flex-direction: column;
  width: 48%;
  border: 1px solid #c2c6d7;
}

.manufacturing .content img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.manufacturing .text_area {
  background-color: #ffffff;
  padding: 20px;
  flex-grow: 1;
}

/* NDA Section */
.nda {
  margin: 0;
  padding: 0;
  background-color: #f2f3fe;
  border-top: 1px solid #d1d5db;
  border-bottom: 1px solid #d1d5db;
}

.nda .grid {
  position: relative;
  z-index: 1;
}

.nda .grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(to right, #9ca3af 1px, transparent 1px),
    linear-gradient(to bottom, #9ca3af 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.1;
  z-index: -1;
}

.nda .content {
  text-align: center;
  padding: 75px 0 100px 0;
  max-width: 50%;
}

.nda > div > div > img {
  border: 1px solid black;
  border-radius: 50%;
  padding: 14px;
  width: 72px;
  height: 72px;
  display: block;
  margin: 0 auto 20px;
  background-color: #ffffff;
}

/* Get Started Section */
.get_started {
  margin: 0;
  padding: 60px 0 60px 0;
  background-color: rgb(255, 255, 255);
}

.get_started h3 {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1.3em;
  margin: 0 0 0.5em 0;
}

.get_started .grid_container {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.get_started .grid_container .item {
  display: grid;
  align-items: start;
  justify-content: center;
  height: auto;
  border: 1px solid #999999;
  background-color: white;
  padding: 20px;
}

.get_started .flexbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 40px;
}

.get_started .text_area {
  display: flex;
  flex-direction: column;
  width: 66.6%;
}

.get_started .cta {
  display: flex;
  flex-direction: column;
  width: 33.3%;
  justify-content: center;
}

.get_started .flexbox .cta .btn {
  width: 33%;
}

/* Footer */
.site-footer {
  padding: 50px 0px;
  background-color: #ffffff;
  border-top: 2px solid rgb(194, 198, 215);
  position: relative;
  z-index: 1;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(#000000 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  z-index: -1;
  opacity: 0.25;
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
}

.site-footer .content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer_right {
  display: flex;
  flex-direction: row;
  gap: 60px;
}

.footer_column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer_left img {
  width: 80px;
  height: 68px;
}

/* Media Queries */
@media (width <= 800px) {
  h1 {
    font-size: 2.4em;
  }
  h2 {
    font-size: 1.4em;
  }
  h3 {
    font-size: 1.15em;
  }

  .content {
    padding-left: 30px;
    padding-right: 30px;
  }
  a.logo {
    left: 30px;
  }

  .site-header > .content {
    padding-right: 30px;
  }

  #mobile_menu_icon {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }

  .site-nav .desktop_only {
    display: none;
  }
  .site-nav {
    opacity: 1;
  }

  .site-nav #mobile_menu_links {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 100vw;
    height: 100vh;
    background-color: #f8f8ff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 100px;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
    z-index: 100;
  }

  .site-nav #mobile_menu_links.active {
    right: 0;
  }

  .site-nav #mobile_menu_links > ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    width: 100%;
  }

  .site-nav ul li {
    float: none;
    margin: 0;
    padding: 0;
    width: 80%;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .site-nav ul li a {
    font-size: 1.4em;
    display: block;
    width: 100%;
    padding: 20px 0;
  }

  .site-nav ul ul li a {
    padding: 10px 0;
  }

  .mobile_nav_buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    align-items: center;
  }

  #mobile_menu_icon.active .hamburger_line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  #mobile_menu_icon.active .hamburger_line:nth-child(2) {
    opacity: 0;
  }
  #mobile_menu_icon.active .hamburger_line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .why .grid_container {
    grid-template-columns: repeat(auto-fit, minmax(48%, 1fr));
  }

  .manufacturing .prototyping,
  .manufacturing .production {
    width: 100%;
    margin-bottom: 20px;
  }

  .nda .content {
    max-width: 85%;
  }

  .get_started .text_area,
  .get_started .cta {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .get_started .grid_container {
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
  }

  .site-nav ul ul {
    position: relative;
    top: 0;
    width: 100%;
    background-color: transparent;
    display: none;
    padding: 0;
    margin: 0;
  }

  .site-nav ul li:hover ul {
    display: none;
  }

  .site-nav ul li.submenu-open > ul {
    display: block;
  }

  .site-nav ul ul li {
    border-bottom: none;
    width: 100%;
  }

  .site-nav ul ul li a {
    font-size: 1.1em;
    color: #6b7280;
    text-align: center;
    padding: 12px 0;
  }

  .site-nav ul li a[aria-haspopup="true"]::after {
    position: static;
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
    border-top-color: #191b23;
    transition: transform 0.3s ease;
  }

  .site-nav ul li.submenu-open > a[aria-haspopup="true"]::after {
    transform: rotate(180deg);
  }
}

@media (width <= 500px) {
  h1 {
    font-size: 2em;
    margin-bottom: 0.5em;
  }
  h2 {
    font-size: 1.25em;
  }
  h3 {
    font-size: 1.1em;
    margin-bottom: 0.25em;
  }
  h4 {
    font-size: 0.95em;
  }
  p {
    font-size: 0.95em;
  }

  .site-header {
    height: 500px;
  }
  .site-header > .content {
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 20px;
  }
  .site-header > .content p {
    margin-bottom: 15px;
  }
  .site-header h1 {
    font-size: 2em;
    line-height: 1em;
    margin-bottom: 0.2em;
    padding-top: 10px;
  }
  .site-header p {
    font-size: 1.3em;
    line-height: 1.2em;
    margin-bottom: 0.6em;
  }
  .site-header .button_container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
  }

  .site-header .btn {
    text-align: center;
  }

  .why .grid_container {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    gap: 20px;
  }

  .manufacturing .prototyping,
  .manufacturing .production {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 15px;
  }

  .nda .content {
    text-align: center;
    padding: 35px 0 50px 0;
    max-width: 80%;
  }

  .get_started .grid_container {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    gap: 20px;
  }

  .get_started .text_area,
  .get_started .cta {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .site-footer .content {
    flex-direction: column;
    gap: 40px;
  }

  .footer_right {
    flex-direction: column;
    gap: 30px;
  }
}