:root {
  --bg: #0D1215;
  --text: #E6EFF0;
  --teal: #0F8A7E;
  --mint: #B8E0D6;
  --panel: #14201E;
  --panel-alt: #0F1518;
  --line: #1F2E2B;
  --hair-dark: #0B1411;
  --hair-teal: #20514C;
  --dark-ink: #06201C;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #0D1215;
  color: #E6EFF0;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: #B8E0D6;
}

p {
  margin-bottom: 16px;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: #0F8A7E;
  color: #E6F4F1;
  border-color: #0F8A7E;
}

.btn-primary:hover {
  background-color: #0C6F66;
  border-color: #0C6F66;
}

.btn-outline {
  background-color: #14201E;
  color: #B8E0D6;
  border-color: #B8E0D6;
}

.btn-outline:hover {
  background-color: #1A2B27;
}

.eyebrow {
  color: #B8E0D6;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  color: #E6EFF0;
  font-size: 38px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 18px;
}

.section-lead {
  color: #D8E4E5;
  max-width: 860px;
  font-size: 18px;
}

.center-nav {
  background-color: #0D1215;
  border-bottom: 2px solid #0F8A7E;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 26px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-left {
  flex: 1;
  justify-content: flex-end;
  margin-right: 30px;
}

.nav-right {
  flex: 1;
  justify-content: flex-start;
  margin-left: 30px;
}

.nav-links a {
  display: inline-block;
  color: #E6EFF0;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 24px 0 20px;
  border-bottom: 3px solid transparent;
}

.nav-links a::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: #0F8A7E;
  margin-right: 9px;
  vertical-align: 1px;
}

.nav-links a:hover {
  color: #B8E0D6;
}

.nav-links a.active {
  color: #B8E0D6;
  border-bottom-color: #0F8A7E;
}

.nav-wordmark {
  flex: none;
  color: #B8E0D6;
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.16em;
  padding: 22px 0;
}

.nav-wordmark:hover {
  color: #E6EFF0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 10px 4px;
}

.nav-toggle-bar {
  display: block;
  width: 26px;
  height: 3px;
  background-color: #B8E0D6;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.center-nav.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.center-nav.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.center-nav.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.trio-hero {
  background-color: #0D1215;
  padding: 88px 0 96px;
}

.trio-hero-inner {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-eyebrow {
  align-self: flex-start;
  background-color: #0F8A7E;
  color: #E6EFF0;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-title {
  color: #E6EFF0;
  font-size: 46px;
  line-height: 1.14;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-sub {
  color: #D8E4E5;
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 30px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.circuit-board {
  background-color: #14201E;
  border: 1px solid #0F8A7E;
  height: 100%;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circuit-chip {
  position: relative;
  width: 118px;
  height: 118px;
  background-color: #B8E0D6;
  border-radius: 6px;
}

.trace {
  position: absolute;
  background-color: #0F8A7E;
  display: block;
}

.trace-h {
  top: 50%;
  left: 100%;
  width: 132px;
  height: 6px;
  margin-top: -3px;
}

.trace-h2 {
  top: 30%;
  right: 100%;
  width: 96px;
  height: 6px;
  margin-top: -3px;
}

.trace-v {
  left: 50%;
  top: 100%;
  width: 6px;
  height: 120px;
  margin-left: -3px;
}

.node {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #0F8A7E;
}

.node-a {
  left: calc(100% + 124px);
  top: 50%;
  transform: translate(-50%, -50%);
}

.node-b {
  left: 50%;
  top: calc(100% + 112px);
  transform: translate(-50%, -50%);
}

.chipstack-board {
  background-color: #14201E;
  border: 1px solid #0F8A7E;
  height: 100%;
  min-height: 460px;
  position: relative;
}

.stack-chip {
  position: absolute;
  background-color: #0F8A7E;
  border-radius: 10px;
}

.stack-chip.sc1 {
  width: 210px;
  height: 128px;
  top: 96px;
  left: 50%;
  transform: translateX(-50%);
}

.stack-chip.sc2 {
  width: 166px;
  height: 102px;
  top: 136px;
  left: 50%;
  transform: translateX(-50%);
}

.stack-chip.sc3 {
  width: 122px;
  height: 76px;
  top: 176px;
  left: 50%;
  transform: translateX(-50%);
}

.magazine-collage {
  background-color: #0D1215;
  padding: 96px 0 88px;
}

.section-head {
  margin-bottom: 48px;
}

.collage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

.collage-tile {
  background-color: #14201E;
  border-top: 3px solid #0F8A7E;
  padding: 30px 28px 36px;
}

.collage-tile.large {
  grid-column: span 2;
}

.collage-tile.small {
  grid-column: span 1;
}

.collage-tile.t1,
.collage-tile.t2 {
  min-height: 320px;
}

.collage-tile.t3,
.collage-tile.t5 {
  min-height: 380px;
}

.collage-tile.t4 {
  min-height: 360px;
}

.tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background-color: #0F8A7E;
  color: #E6EFF0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.tile-title {
  color: #B8E0D6;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.tile-text {
  color: #E6EFF0;
  font-size: 16px;
}

.metric-band {
  background-color: #0F8A7E;
  padding: 56px 0;
}

.metric-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric-item {
  text-align: center;
  padding: 8px 16px;
}

.metric-item + .metric-item {
  border-left: 2px solid #0B1411;
}

.metric-num {
  color: #B8E0D6;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}

.metric-label {
  color: #06201C;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cta-band {
  background-color: #B8E0D6;
  padding: 84px 0;
  text-align: center;
}

.cta-title {
  color: #06201C;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-text {
  color: #12332C;
  font-size: 18px;
  max-width: 720px;
  margin: 0 auto 32px;
}

.four-col-footer {
  background-color: #0D1215;
  border-top: 2px solid #0F8A7E;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 56px;
}

.footer-col {
  padding: 0 28px;
}

.footer-col:first-child {
  padding-left: 0;
}

.footer-col:last-child {
  padding-right: 0;
}

.footer-col + .footer-col {
  border-left: 1px solid #20514C;
}

.footer-wordmark {
  color: #B8E0D6;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
}

.footer-blurb {
  color: #E6EFF0;
  font-size: 15px;
}

.footer-title {
  color: #0F8A7E;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: 10px;
}

.footer-list a {
  color: #E6EFF0;
  text-decoration: none;
  font-size: 15px;
}

.footer-list a:hover {
  color: #B8E0D6;
  text-decoration: underline;
}

.footer-contact {
  font-size: 15px;
  color: #E6EFF0;
  margin-bottom: 10px;
  word-break: break-word;
}

.footer-contact a {
  color: #E6EFF0;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #B8E0D6;
}

.footer-legal {
  border-top: 1px solid #1F2E2B;
  padding: 20px 24px;
  text-align: center;
}

.footer-legal p {
  color: #D8E4E5;
  font-size: 14px;
  margin: 0;
}

.footer-legal a {
  color: #B8E0D6;
}

.page-head {
  background-color: #14201E;
  border-bottom: 2px solid #0F8A7E;
  padding: 76px 0 68px;
}

.page-eyebrow {
  color: #B8E0D6;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.page-title {
  color: #E6EFF0;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 18px;
  max-width: 860px;
}

.page-intro {
  color: #D8E4E5;
  font-size: 18px;
  max-width: 780px;
}

.service-block {
  padding: 84px 0;
  border-bottom: 1px solid #1F2E2B;
}

.service-block.alt {
  background-color: #0F1518;
}

.service-block-inner {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  align-items: start;
}

.service-index {
  color: #0F8A7E;
  font-size: 30px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.service-title {
  color: #B8E0D6;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 14px;
}

.service-block p {
  color: #E6EFF0;
  max-width: 820px;
}

.service-block p + p {
  margin-top: 12px;
}

.process-section {
  background-color: #14201E;
  padding: 84px 0;
  border-bottom: 2px solid #0F8A7E;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.step-card {
  background-color: #0D1215;
  border-top: 3px solid #0F8A7E;
  padding: 24px;
}

.step-num {
  color: #B8E0D6;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}

.step-title {
  color: #0F8A7E;
  font-weight: 800;
  margin-bottom: 8px;
}

.step-text {
  color: #D8E4E5;
  font-size: 15px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px;
  align-items: start;
}

.contact-form-card {
  background-color: #14201E;
  border-top: 3px solid #0F8A7E;
  padding: 36px 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  color: #B8E0D6;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 15px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background-color: #0D1215;
  border: 1px solid #2B413C;
  border-radius: 2px;
  color: #E6EFF0;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #7FA6A0;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #0F8A7E;
  outline: none;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  margin-top: 16px;
  font-weight: 700;
}

.form-status.ok {
  color: #B8E0D6;
}

.info-card {
  background-color: #14201E;
  border-top: 3px solid #0F8A7E;
  padding: 28px 26px;
  margin-bottom: 24px;
}

.info-label {
  color: #B8E0D6;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.info-value {
  color: #E6EFF0;
  font-size: 16px;
  line-height: 1.75;
  word-break: break-word;
}

.info-value a {
  color: #E6EFF0;
  text-decoration: none;
}

.info-value a:hover {
  color: #B8E0D6;
}

.hours-list {
  color: #E6EFF0;
  font-size: 16px;
}

.hours-list li {
  margin-bottom: 10px;
}

.faq-section {
  background-color: #0D1215;
  padding: 72px 0 84px;
  border-top: 1px solid #1F2E2B;
}

.faq-list {
  max-width: 800px;
}

.faq-item {
  background-color: #14201E;
  border: 1px solid #1F2E2B;
  margin-bottom: 12px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  color: #E6EFF0;
  font-size: 17px;
  font-weight: 700;
  text-align: left;
  padding: 18px 22px;
  cursor: pointer;
  font-family: inherit;
}

.faq-question:hover {
  color: #B8E0D6;
}

.faq-indicator {
  color: #0F8A7E;
  font-size: 24px;
  font-weight: 400;
  margin-left: 16px;
  transition: transform 0.2s ease;
}

.faq-answer {
  display: none;
  padding: 0 22px 22px;
  color: #D8E4E5;
}

.faq-answer p {
  margin: 0;
}

.faq-item.faq-open .faq-answer {
  display: block;
}

.faq-item.faq-open .faq-indicator {
  transform: rotate(45deg);
}

.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .trio-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-copy {
    order: -1;
  }

  .circuit-board,
  .chipstack-board {
    min-height: 220px;
  }

  .service-block-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-inner {
    flex-wrap: wrap;
    padding: 0 24px;
  }

  .nav-wordmark {
    margin-right: auto;
    font-size: 18px;
    letter-spacing: 0.12em;
  }

  .nav-left,
  .nav-right {
    flex: 1 1 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    display: none;
    margin: 0;
    padding: 6px 0 16px;
    border-top: 1px solid #20514C;
  }

  .center-nav.nav-open .nav-left,
  .center-nav.nav-open .nav-right {
    display: flex;
  }

  .nav-links a {
    padding: 10px 0;
    border-bottom: none;
    width: 100%;
  }

  .nav-links a.active {
    border-bottom: none;
  }

  .nav-left {
    order: 3;
    margin-top: 10px;
  }

  .nav-right {
    order: 4;
    border-top: none;
    padding-top: 0;
  }

  .hero-title {
    font-size: 34px;
  }

  .section-title {
    font-size: 30px;
  }

  .cta-title {
    font-size: 30px;
  }

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

  .collage-tile.large,
  .collage-tile.small {
    grid-column: span 1;
  }

  .metric-inner {
    grid-template-columns: 1fr 1fr;
  }

  .metric-item:nth-child(3) {
    border-left: none;
  }

  .metric-item:nth-child(n+3) {
    border-top: 2px solid #0B1411;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
  }

  .footer-col + .footer-col {
    border-left: none;
    border-top: 1px solid #20514C;
    padding-left: 0;
    padding-top: 24px;
  }

  .page-title {
    font-size: 34px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .collage-grid {
    grid-template-columns: 1fr;
  }

  .metric-inner {
    grid-template-columns: 1fr;
  }

  .metric-item + .metric-item,
  .metric-item:nth-child(n+3) {
    border-left: none;
    border-top: 2px solid #0B1411;
  }

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

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