@font-face {
  font-family: Manrope;
  src: url('./fonts/manrope-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: Syne;
  src: url('./fonts/syne-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #0c1118;
  --section: #1c2540;
  --card: #141c31;
  --text: #f7f9fc;
  --muted: #c5cbd8;
  --cyan: #c1f7f5;
  --blue: #399cff;
  --purple: #a448cf;
  --line: #293346;
  --input: #10192b;
  --body: Manrope, Arial, sans-serif;
  --heading: Syne, Manrope, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body, button, input, textarea { font-family: var(--body); }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, figure { margin: 0; }
p { color: var(--muted); }
svg { display: block; flex-shrink: 0; }
[hidden] { display: none !important; }
::selection { background: var(--cyan); color: var(--background); }
a, button, summary, input, textarea { outline-offset: 5px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cyan);
}
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
h1, h2, h3 { color: var(--text); line-height: 1.08; font-weight: 600; }
h1, h2 { font-family: var(--heading); letter-spacing: -.045em; }
h2 { font-size: clamp(38px, 4.3vw, 58px); }
h3 { font-size: 21px; letter-spacing: -.025em; line-height: 1.35; }
.container { width: calc(100% - 104px); max-width: var(--container); margin-inline: auto; }
.section-space { padding-block: 88px; }
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--cyan);
  color: var(--background);
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid var(--cyan);
  border-radius: 6px;
  background: var(--cyan);
  color: #0c1721;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  transition: background .18s, border-color .18s;
}
.button svg, .text-link svg { width: 20px; height: 20px; }
.button:hover { background: #e2ffff; border-color: #e2ffff; }
.button-secondary { background: transparent; color: var(--cyan); border-color: #5a7187; }
.button-secondary:hover { background: var(--card); border-color: var(--cyan); }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; }
.text-link:hover { color: var(--cyan); }

/* Navigation and original Protolabs wordmark. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 17, 24, .97);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 104px; }
.brand { display: flex; flex-direction: column; align-items: flex-start; width: max-content; flex-shrink: 0; color: var(--cyan); }
.brand-name { font-size: 39px; font-weight: 300; letter-spacing: -.04em; line-height: 1.12; }
.brand-tagline { font-size: 14px; font-weight: 400; letter-spacing: .018em; line-height: 1.7; }
.main-nav { display: flex; align-items: center; gap: 31px; }
.main-nav a { position: relative; padding-block: 12px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--cyan); }
.main-nav a[aria-current]::after { content: ''; position: absolute; bottom: 3px; left: 0; width: 20px; height: 2px; background: var(--blue); }
.menu-toggle { display: none; }

/* Three alternating introduction panels retain the original page structure. */
.hero { padding-top: 70px; padding-bottom: 42px; }
.hero-inner { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 65px; }
.hero-copy h1 { font-size: clamp(45px, 5.3vw, 70px); }
.hero-description { max-width: 560px; margin-top: 27px; font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.hero-art { display: flex; justify-content: center; align-items: center; }
.hero-art img { width: min(100%, 315px); }
.welcome { padding-block: 22px 70px; }
.feature { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 100px; padding-block: 36px; }
.feature-reverse { grid-template-columns: 1fr 1.25fr; }
.feature-copy h2 { font-size: clamp(36px, 4.1vw, 55px); }
.feature-copy p { max-width: 550px; margin-top: 23px; font-size: 18px; line-height: 1.7; }
.feature-art { display: flex; align-items: center; justify-content: center; }
.feature-art img { width: min(100%, 280px); }

/* Informational cards have no misleading button or hover treatment. */
.services, .contact { background: var(--section); }
.section-heading { max-width: 820px; margin: 0 auto 48px; text-align: center; }
.section-heading h2 { margin-bottom: 19px; }
.section-heading p { max-width: 720px; margin-inline: auto; font-size: 18px; line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.service-card { padding: 30px 26px 31px; border: 1px solid #28334c; border-radius: 22px; background: var(--card); }
.service-icon { display: block; width: 36px; height: 36px; margin-bottom: 20px; color: var(--blue); }
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { margin-bottom: 16px; }
.service-card p { font-size: 16px; line-height: 1.75; }

/* Anonymized project stories with conceptual illustrations. */
.projects { background: #101827; }
.section-heading .confidentiality-note { margin-top: 15px; color: var(--muted); font-size: 14px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.project-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #303b53; border-radius: 22px; background: var(--background); }
.project-art { display: flex; align-items: center; justify-content: center; padding: 18px 25px; background: var(--card); border-bottom: 1px solid #28334c; }
.project-art img { width: min(100%, 400px); height: auto; }
.project-copy { display: flex; flex-direction: column; flex: 1; padding: 32px; }
.project-category { margin-bottom: 13px; color: var(--cyan); font-size: 14px; font-weight: 600; }
.project-copy h3 { margin-bottom: 21px; font-family: var(--heading); font-size: 29px; line-height: 1.2; letter-spacing: -.035em; }
.project-partner { padding-bottom: 21px; margin-bottom: 22px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 16px; line-height: 1.7; }
.project-partner span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 14px; }
.project-description p { font-size: 16px; line-height: 1.8; }
.project-description p + p { margin-top: 18px; }
.project-details { display: grid; gap: 24px; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); }
.project-detail h4 { margin: 0 0 10px; color: var(--text); font-size: 17px; font-weight: 600; line-height: 1.5; letter-spacing: -.015em; }
.project-detail p { font-size: 16px; line-height: 1.8; }
.project-journey { display: flex; flex-wrap: wrap; gap: 10px 14px; padding: 27px 0 0; margin: auto 0 0; list-style: none; }
.project-journey li { color: var(--cyan); font-size: 14px; line-height: 1.7; }
.project-journey li:not(:last-child)::after { content: '→'; display: inline-block; margin-left: 14px; color: var(--blue); }

/* Ordered delivery steps and a separate explanation of the approach. */
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0; margin: 0; list-style: none; }
.process-card { padding: 25px 21px 27px; background: var(--card); border: 1px solid #222d42; border-radius: 20px; }
.step-number { display: block; margin-bottom: 19px; color: var(--blue); font-size: 24px; font-weight: 700; line-height: 1; }
.process-card h3 { margin-bottom: 13px; font-size: 21px; }
.process-card p { font-size: 16px; line-height: 1.75; }
.approach-panel { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 60px; padding: 34px; margin-top: 42px; border: 1px solid #222d42; border-radius: 22px; background: var(--card); }
.approach-intro h3 { margin-bottom: 19px; font-size: 24px; }
.approach-intro p { font-size: 16px; line-height: 1.75; }
.benefits { display: grid; gap: 15px; padding: 0; margin: 0; list-style: none; }
.benefits li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.6; }
.benefits svg { width: 22px; height: 22px; margin-top: 2px; color: var(--blue); }

/* Direct answers remain present in HTML and work without JavaScript. */
.faq { background: var(--card); }
.faq-inner { max-width: 960px; }
.faq-list { border-top: 1px solid #46546d; }
.faq-item { border-bottom: 1px solid #46546d; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 23px 2px; min-height: 76px; list-style: none; cursor: pointer; outline-offset: 4px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-item summary:focus-visible { outline: 2px solid var(--cyan); }
.faq-question { min-width: 0; font-size: 19px; font-weight: 600; line-height: 1.5; letter-spacing: -.015em; }
.faq-item[open] .faq-question, .faq-item summary:hover .faq-question { color: var(--cyan); }
.faq-toggle { position: relative; flex-shrink: 0; width: 26px; height: 26px; color: var(--cyan); }
.faq-toggle::before, .faq-toggle::after { content: ''; position: absolute; left: 6px; top: 12px; width: 14px; height: 2px; background: currentColor; }
.faq-toggle::after { transform: rotate(90deg); }
.faq-item[open] .faq-toggle::after { transform: rotate(0); }
.faq-answer { max-width: 790px; padding: 0 36px 26px 2px; }
.faq-answer p { font-size: 16px; line-height: 1.8; }

/* Static-friendly contact: clear email draft behavior and a copy fallback. */
.contact-inner { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: 110px; }
.contact-copy { padding-top: 7px; }
.contact-copy h2 { font-size: clamp(40px, 4.3vw, 58px); }
.contact-intro { max-width: 360px; margin-top: 23px; font-size: 19px; line-height: 1.75; }
.contact-email { display: inline-flex; align-items: center; gap: 15px; margin-top: 34px; color: var(--cyan); font-size: 21px; }
.contact-email svg { width: 21px; height: 21px; }
.contact-email:hover { text-decoration: underline; text-underline-offset: 6px; }
.contact-location { margin-top: 10px; font-size: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.field label { color: var(--text); font-size: 15px; line-height: 1.5; }
.field label span { color: var(--cyan); }
.field input, .field textarea, .draft-result textarea {
  width: 100%;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid #6e809b;
  border-radius: 4px;
  background: var(--input);
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
}
.field input:focus, .field textarea:focus { border-color: var(--cyan); }
.field textarea { min-height: 140px; resize: vertical; }
#contact-form > .button { width: 100%; justify-content: space-between; margin-top: 3px; }
.form-note { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.draft-result { margin-top: 25px; padding-top: 22px; border-top: 1px solid #68768b; }
.draft-result p { font-size: 15px; }
.draft-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-block: 16px; }
.draft-actions .text-link { color: var(--cyan); }
.draft-actions button { padding: 8px 12px; border: 1px solid #7f93ac; border-radius: 4px; background: transparent; color: var(--cyan); font-size: 14px; }
.draft-result textarea { resize: vertical; font-size: 14px; }
noscript a { color: var(--cyan); text-decoration: underline; text-underline-offset: 4px; }

.site-footer { border-top: 1px solid #4c5671; background: var(--section); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; align-items: start; gap: 48px; padding-block: 36px; }
.footer-brand .brand-name { font-size: 32px; }
.footer-brand .brand-tagline { font-size: 14px; }
.footer-contact { font-size: 15px; }
.footer-contact > a { color: var(--cyan); }
.footer-contact p { margin-top: 6px; }
.footer-company { justify-self: end; text-align: right; font-size: 14px; line-height: 1.7; }
.footer-company > p + p { margin-top: 7px; }
.footer-company a { color: var(--cyan); text-decoration: underline; text-underline-offset: 4px; }
.not-found { padding-block: 90px 120px; }
.error-label { margin-bottom: 23px; color: var(--cyan); font-size: 15px; }
.not-found h1 { font-size: clamp(44px, 6vw, 74px); }
.not-found > p:not(.error-label) { max-width: 480px; margin-top: 24px; }
.not-found .button { margin-top: 30px; }

@media (min-width: 1500px) {
  .hero { padding-top: 82px; padding-bottom: 58px; }
  .hero-copy h1 { font-size: 74px; }
  .feature { padding-block: 44px; }
}

@media (max-width: 1100px) {
  .container { width: calc(100% - 72px); }
  .header-inner { gap: 28px; }
  .main-nav { gap: 23px; }
  .hero-inner { gap: 35px; grid-template-columns: 1.4fr 1fr; }
  .hero-copy h1 { font-size: clamp(43px, 5.3vw, 60px); }
  .hero-description { font-size: 18px; }
  .hero-actions { gap: 22px; }
  .hero-actions .text-link { font-size: 14px; }
  .feature { gap: 55px; }
  .service-grid { gap: 20px; }
  .service-card { padding: 25px 22px; }
  .project-grid { gap: 22px; }
  .project-copy { padding: 27px; }
  .project-copy h3 { font-size: 26px; }
  .process-grid { gap: 14px; }
  .process-card { padding: 24px 20px; }
  .approach-panel { gap: 40px; padding: 30px; }
  .contact-inner { gap: 65px; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 100px; }
  .header-inner { flex-wrap: wrap; gap: 0; min-height: 94px; }
  .menu-toggle:not([hidden]) { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 46px; height: 46px; border: 1px solid #5b6b82; border-radius: 5px; background: transparent; }
  .menu-toggle span { width: 20px; height: 1px; background: var(--cyan); transition: transform .18s; }
  .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav { width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 15px 28px; padding-block: 12px 22px; }
  .menu-toggle:not([hidden]) + .main-nav { display: none; }
  .menu-toggle:not([hidden]) + .main-nav.is-open { display: flex; }
  .main-nav a { padding-block: 5px; }
  .main-nav a[aria-current]::after { bottom: -3px; }
  .hero-inner { grid-template-columns: 1.4fr 1fr; gap: 28px; }
  .hero-copy h1 { font-size: 44px; }
  .hero-description { font-size: 17px; }
  .hero-actions { gap: 20px; }
  .hero-art img { width: min(100%, 260px); }
  .feature { gap: 40px; }
  .feature-copy h2 { font-size: 38px; }
  .feature-copy p { font-size: 17px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid { grid-template-columns: 1fr; gap: 26px; }
  .project-art img { width: min(100%, 360px); }
  .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .process-card h3 { font-size: 20px; }
  .process-card p { font-size: 16px; }
  .contact-inner { grid-template-columns: 1fr 1.25fr; gap: 40px; }
  .contact-email { font-size: 18px; gap: 10px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 650px) {
  .container { width: calc(100% - 40px); }
  .section-space { padding-block: 60px; }
  .brand-name { font-size: 34px; }
  .brand-tagline { font-size: 14px; letter-spacing: -.015em; }
  .header-inner { min-height: 88px; }
  .hero { padding-top: 44px; padding-bottom: 24px; }
  .hero-inner { grid-template-columns: 1fr; gap: 35px; }
  .hero-copy h1 { font-size: clamp(40px, 7.8vw, 51px); }
  .hero-description { margin-top: 23px; max-width: 500px; font-size: 17px; }
  .hero-actions { gap: 23px; margin-top: 26px; }
  .hero-art img { width: 230px; }
  .hero-art { padding-bottom: 8px; }
  .welcome { padding-top: 12px; padding-bottom: 48px; }
  .feature { grid-template-columns: 1fr; gap: 24px; padding-block: 28px; }
  .feature-reverse .feature-copy { grid-row: 1; }
  .feature-art img { width: 210px; }
  .feature-copy h2 { font-size: clamp(32px, 7vw, 42px); }
  .feature-copy p { margin-top: 20px; font-size: 17px; }
  .section-heading { margin-bottom: 32px; text-align: left; }
  .section-heading h2 { margin-bottom: 17px; font-size: 42px; }
  .section-heading p { font-size: 17px; }
  .service-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-card { padding: 27px; border-radius: 18px; }
  .service-card h3 { font-size: 21px; }
  .service-icon { margin-bottom: 18px; }
  .project-card { border-radius: 18px; }
  .project-copy { padding: 27px; }
  .project-copy h3 { font-size: 27px; }
  .project-art { padding: 13px 16px; }
  .process-grid { grid-template-columns: 1fr; gap: 15px; }
  .process-card { display: grid; grid-template-columns: 33px 1fr; column-gap: 17px; align-items: start; padding: 25px 23px; border-radius: 18px; }
  .step-number { grid-row: 1 / 3; margin: 4px 0 0; font-size: 26px; }
  .process-card h3 { font-size: 22px; margin-bottom: 12px; }
  .process-card p { grid-column: 2; }
  .approach-panel { grid-template-columns: 1fr; gap: 26px; padding: 27px; margin-top: 30px; border-radius: 18px; }
  .approach-intro h3 { font-size: 24px; }
  .benefits { gap: 17px; }
  .faq-item summary { gap: 17px; padding-block: 21px; }
  .faq-question { font-size: 18px; }
  .faq-answer { padding-right: 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-copy h2 { font-size: 44px; }
  .contact-intro { max-width: 440px; margin-top: 18px; font-size: 18px; }
  .contact-email { margin-top: 24px; font-size: 21px; }
  .contact-location { margin-top: 7px; }
  .form-row { gap: 17px; }
  .field { margin-bottom: 19px; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; padding-block: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-company { justify-self: start; text-align: left; }
  .not-found { padding-block: 60px 80px; }
}

@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  .brand-name { font-size: 31px; }
  .brand-tagline { font-size: 14px; letter-spacing: -.04em; }
  .hero-copy h1 { font-size: 36px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 21px; }
  .feature-copy h2 { font-size: 30px; }
  .section-heading h2 { font-size: 37px; }
  .service-card, .approach-panel { padding: 24px 21px; }
  .project-copy { padding: 24px 21px; }
  .project-copy h3 { font-size: 25px; }
  .process-card { column-gap: 12px; padding-inline: 19px; }
  .process-card h3 { font-size: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-email { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
