@import "tailwindcss";

:root {
  --ink: #11161c;
  --ink-soft: #303943;
  --muted: #68727d;
  --line: #dfe3e7;
  --line-dark: #303841;
  --paper: #ffffff;
  --surface: #f3f5f6;
  --surface-warm: #eceeea;
  --red: #d51f2b;
  --red-dark: #a90f1a;
  --lime: #c5dc55;
  --shadow: 0 18px 50px rgba(17, 22, 28, 0.08);
  --radius: 3px;
  --shell: min(1240px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

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

::selection {
  background: var(--lime);
  color: var(--ink);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.announcement {
  background: var(--ink);
  color: #dce1e4;
  font-size: 12px;
}

.announcement__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.announcement a {
  margin-inline-start: auto;
  color: white;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.announcement__separator {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--red);
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  background: color-mix(in srgb, white 94%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 40px;
}

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

.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--red);
  color: white;
  font-size: 14px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.08em;
  transform: skew(-6deg);
}

.brand__mark::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 8px;
  background: white;
  opacity: 0.16;
  transform: rotate(-43deg);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand strong {
  font-size: 16px;
  font-weight: 850;
}

.brand small {
  margin-block-start: 5px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-inline: auto;
}

.main-nav a {
  position: relative;
  padding-block: 28px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 20px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.main-nav a[aria-current="page"] {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.menu-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.icon-button {
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
}

.search-icon {
  position: relative;
  width: 15px;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  inset-inline-end: -6px;
  inset-block-end: -3px;
  background: var(--ink);
  transform: rotate(45deg);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.search-panel {
  position: absolute;
  inset-inline: 0;
  inset-block-start: 100%;
  padding-block: 28px;
  background: var(--paper);
  border-block: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.search-form {
  max-width: 760px;
}

.search-form label,
.field label,
.filter-search label {
  display: block;
  margin-block-end: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.search-form__row {
  display: flex;
}

.search-form input {
  flex: 1;
  border-inline-end: 0 !important;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #c9d0d5;
  border-radius: 0;
  background: white;
  color: var(--ink);
  padding: 13px 14px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(197, 220, 85, 0.45);
  outline: 0;
}

textarea {
  resize: vertical;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid var(--red);
  border-radius: 0;
  background: var(--red);
  color: white;
  padding: 11px 24px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.button--small {
  min-height: 42px;
  padding-inline: 17px;
  font-size: 12px;
}

.button--ghost {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.button--ghost:hover {
  background: var(--ink);
  color: white;
}

.button--light {
  border-color: white;
  background: white;
  color: var(--ink);
}

.button--light:hover {
  border-color: var(--lime);
  background: var(--lime);
}

.button--wide {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
}

.text-link span {
  transition: transform 150ms ease;
}

.text-link:hover span {
  transform: translateX(-4px);
}

.text-link--light {
  color: white;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 670px;
  background: #f5f6f4;
}

.hero__grid,
.page-hero::after {
  position: absolute;
  content: "";
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(17, 22, 28, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 22, 28, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, black, transparent 75%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 670px;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.hero__copy {
  padding-block: 78px;
}

.kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--red);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.kicker i {
  width: 22px;
  height: 2px;
  background: currentColor;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 20px 0 22px;
  font-size: clamp(50px, 6vw, 88px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero h1 em {
  position: relative;
  color: var(--red);
  font-style: normal;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  inset-block-end: 5px;
  width: 94%;
  height: 5px;
  background: var(--red);
  transform: skewX(-25deg);
}

.hero__copy > p,
.page-hero p {
  max-width: 580px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-block-start: 34px;
}

.hero__stats {
  display: flex;
  gap: 42px;
  margin: 54px 0 0;
}

.hero__stats div {
  padding-inline-start: 20px;
  border-inline-start: 1px solid #c6cbce;
}

.hero__stats dt {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero__stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.hero__visual {
  position: relative;
  display: grid;
  min-height: 550px;
  place-items: center;
}

.circuit-board {
  position: relative;
  width: min(400px, 80%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(197, 220, 85, 0.08), transparent 55%),
    var(--ink);
  box-shadow: 40px 40px 0 #dfe3e0;
  transform: rotate(-3deg);
}

.circuit-board::before,
.circuit-board::after {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(197, 220, 85, 0.32);
}

.circuit-board::after {
  inset: 52px;
  border-style: dashed;
  opacity: 0.45;
}

.circuit-board img {
  position: relative;
  z-index: 1;
  width: 74%;
  height: 74%;
  object-fit: contain;
  mix-blend-mode: lighten;
  filter: contrast(1.08);
  transform: rotate(3deg);
}

.circuit-board__label {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 15px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.pin {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(197, 220, 85, 0.12);
}

.pin--1 { inset-block-start: 24px; inset-inline-end: 24px; }
.pin--2 { inset-block-end: 24px; inset-inline-start: 24px; }
.pin--3 { inset-block-start: 50%; inset-inline-start: 24px; }
.pin--4 { inset-block-end: 24px; inset-inline-end: 24px; }

.spec-tag {
  position: absolute;
  z-index: 2;
  min-width: 114px;
  padding: 12px 16px;
  background: white;
  border-block-start: 3px solid var(--red);
  box-shadow: var(--shadow);
  color: var(--muted);
  font-size: 10px;
  direction: ltr;
}

.spec-tag b {
  color: var(--ink);
  font-size: 18px;
}

.spec-tag--top { inset-block-start: 90px; inset-inline-end: 0; }
.spec-tag--bottom { inset-block-end: 70px; inset-inline-start: 8px; }

.hero__index {
  position: absolute;
  inset-inline-end: 12px;
  inset-block-end: 10px;
  color: #7b858e;
  font-size: 11px;
  direction: ltr;
  letter-spacing: 0.08em;
}

.section {
  padding-block: 100px;
}

.section--tight {
  padding-block: 78px;
}

.section--muted {
  background: var(--surface);
}

.section-heading,
.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-block-end: 42px;
}

.section-heading h2,
.split-heading h2,
.about-strip h2,
.cta h2,
.contact-section h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.section-heading > p,
.split-heading > p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-block: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
}

.category-card {
  position: relative;
  display: flex;
  min-height: 185px;
  flex-direction: column;
  justify-content: end;
  padding: 22px;
  border-inline-end: 1px solid var(--line);
  overflow: hidden;
  transition: background 170ms ease, color 170ms ease, transform 170ms ease;
}

.category-card:hover {
  z-index: 2;
  background: var(--ink);
  color: white;
  transform: translateY(-5px);
}

.category-card__number {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-end: 16px;
  color: #c5cbd0;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.category-card strong {
  font-size: 14px;
}

.category-card small {
  margin-block-start: 4px;
  color: var(--muted);
  font-size: 11px;
}

.category-card:hover small {
  color: #aab2b8;
}

.category-card i {
  position: absolute;
  inset-block-end: 20px;
  inset-inline-start: 18px;
  color: var(--red);
  font-style: normal;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  min-width: 0;
  background: white;
  border: 1px solid var(--line);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.product-card__image {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f8f9f9;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 300ms ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.035);
}

.product-card__badge {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  padding: 4px 9px;
  background: var(--red);
  color: white;
  font-size: 9px;
  font-weight: 800;
}

.product-card__body {
  padding: 20px;
}

.product-card h3 {
  min-height: 52px;
  margin: 8px 0;
  font-size: 16px;
  line-height: 1.65;
}

.product-card p {
  min-height: 47px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-block-start: 18px;
  padding-block-start: 14px;
  border-block-start: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.product-card__footer a {
  color: var(--red-dark);
  font-size: 11px;
  font-weight: 800;
}

.split-heading > div {
  max-width: 650px;
}

.service-list {
  border-block-start: 1px solid var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: 70px 220px 1fr 50px;
  align-items: center;
  gap: 24px;
  padding-block: 27px;
  border-block-end: 1px solid var(--line);
}

.service-list article > span {
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
}

.service-list h3 {
  margin: 0;
  font-size: 21px;
}

.service-list p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.service-list article > a {
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  transition: background 150ms ease, color 150ms ease;
}

.service-list article:hover > a {
  background: var(--red);
  color: white;
}

.project-section {
  background: var(--ink);
  color: white;
}

.section-heading--light .eyebrow {
  color: var(--lime);
}

.project-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 14px;
}

.project-card {
  position: relative;
  min-height: 370px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  padding: 30px;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8)),
    radial-gradient(circle at 25% 25%, rgba(197, 220, 85, 0.16), transparent 32%),
    #29313a;
  border: 1px solid var(--line-dark);
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.project-card--featured {
  min-height: 450px;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.84)),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(197, 220, 85, 0.1) 39px 40px),
    #27313a;
}

.project-card > * {
  position: relative;
  z-index: 1;
}

.project-card > span {
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
}

.project-card h3 {
  margin: 10px 0 8px;
  font-size: 24px;
}

.project-card p {
  margin: 0 0 22px;
  color: #c0c7cc;
  font-size: 13px;
}

.project-card small {
  align-self: flex-start;
  padding-block-start: 12px;
  border-block-start: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
}

.about-strip {
  background: var(--surface-warm);
}

.about-strip__inner {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: center;
  gap: 80px;
}

.about-strip__year {
  position: relative;
  min-height: 280px;
  display: grid;
  place-content: center;
  background: var(--ink);
  color: white;
  text-align: center;
}

.about-strip__year::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(197, 220, 85, 0.32);
}

.about-strip__year span,
.about-strip__year small {
  color: #aab2b8;
  font-size: 11px;
}

.about-strip__year strong {
  display: block;
  color: var(--lime);
  font-size: 68px;
  line-height: 1.15;
}

.about-strip__inner > div:last-child {
  max-width: 680px;
}

.about-strip p {
  color: var(--ink-soft);
}

.cta {
  background: var(--red);
  color: white;
}

.cta__inner {
  display: flex;
  min-height: 250px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta .eyebrow {
  color: #ffd6d9;
}

.cta h2 {
  margin-block-start: 8px;
}

.site-footer {
  background: #0c1015;
  color: white;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-inline-start: 1px solid var(--line-dark);
}

.trust-row > div {
  display: grid;
  min-height: 116px;
  grid-template-columns: 40px 1fr;
  align-content: center;
  column-gap: 12px;
  padding-inline: 22px;
  border-inline-end: 1px solid var(--line-dark);
  border-block-end: 1px solid var(--line-dark);
}

.trust-row span {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--lime);
  font-size: 24px;
}

.trust-row strong {
  font-size: 13px;
}

.trust-row small {
  color: #8f99a2;
  font-size: 10px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.25fr;
  gap: 64px;
  padding-block: 75px;
}

.brand--footer strong {
  color: white;
}

.footer-intro p {
  max-width: 390px;
  color: #9ba4ab;
  font-size: 13px;
  line-height: 2;
}

.footer-grid h2 {
  margin: 0 0 20px;
  color: white;
  font-size: 13px;
}

.footer-grid > div:not(:first-child) > a {
  display: block;
  margin-block: 10px;
  color: #9ba4ab;
  font-size: 12px;
}

.footer-grid a:hover {
  color: white;
}

.footer-contact p {
  color: #9ba4ab;
  font-size: 11px;
}

.footer-bottom {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-block-start: 1px solid var(--line-dark);
  color: #7f8992;
  font-size: 10px;
}

.footer-bottom div {
  display: flex;
  gap: 18px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 455px;
  display: grid;
  align-items: center;
  background: var(--surface);
}

.page-hero::after {
  mask-image: linear-gradient(90deg, black, transparent);
}

.page-hero .shell {
  position: relative;
  z-index: 1;
  padding-block: 70px;
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(48px, 6vw, 78px);
}

.page-hero--dark {
  background: var(--ink);
  color: white;
}

.page-hero--dark p {
  color: #b4bdc4;
}

.page-hero--dark .kicker {
  color: var(--lime);
}

.page-hero--compact {
  min-height: 410px;
}

.product-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-block-end: 16px;
  padding-block-end: 26px;
  border-block-end: 1px solid var(--line);
}

.filter-search {
  min-width: 280px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
}

.filter-chips button {
  min-height: 38px;
  border: 1px solid var(--line);
  background: white;
  padding: 7px 13px;
  cursor: pointer;
  color: var(--ink-soft);
  font-size: 11px;
}

.filter-chips button:hover,
.filter-chips button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.results-count {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 11px;
}

.empty-state {
  padding: 70px 24px;
  border: 1px dashed #bfc6cb;
  text-align: center;
}

.empty-state > span {
  color: var(--red);
  font-size: 42px;
}

.empty-state h2 {
  margin: 12px 0 5px;
}

.empty-state p {
  color: var(--muted);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 64px;
  color: var(--muted);
  font-size: 10px;
}

.breadcrumbs a:hover {
  color: var(--red);
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding-block: 45px 95px;
}

.product-gallery {
  min-width: 0;
}

.product-gallery__main {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--surface);
}

.product-gallery__main img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.product-gallery__thumbs {
  display: flex;
  gap: 10px;
  margin-block-start: 12px;
}

.product-gallery__thumbs button {
  width: 76px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: white;
  padding: 4px;
  cursor: pointer;
}

.product-gallery__thumbs button.is-active {
  border-color: var(--red);
}

.product-gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-summary {
  align-self: center;
}

.product-summary h1 {
  margin: 12px 0 18px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.product-summary__lead {
  color: var(--ink-soft);
  font-size: 17px;
}

.check-list,
.bullet-list {
  padding: 0;
  list-style: none;
}

.check-list li,
.bullet-list li {
  position: relative;
  padding-inline-start: 23px;
  margin-block: 9px;
  color: var(--ink-soft);
}

.check-list li::before,
.bullet-list li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--red);
  font-weight: 900;
}

.quote-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-block-start: 30px;
  padding: 22px;
  background: var(--ink);
  color: white;
}

.quote-box small,
.quote-box strong {
  display: block;
}

.quote-box small {
  color: #9aa4ac;
  font-size: 10px;
}

.quote-box strong {
  margin-block-start: 4px;
  font-size: 17px;
}

.delivery-note {
  color: var(--muted);
  font-size: 11px;
}

.delivery-note span {
  margin-inline-end: 6px;
  color: var(--red);
}

.product-content__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 85px;
}

.product-content article h2 {
  margin: 10px 0 24px;
  font-size: 38px;
  line-height: 1.35;
}

.product-content article p {
  color: var(--ink-soft);
}

.product-content article h3 {
  margin-block-start: 38px;
}

.spec-table {
  align-self: start;
  background: white;
  border-block-start: 4px solid var(--red);
  box-shadow: var(--shadow);
  padding: 28px;
}

.spec-table h2 {
  margin: 0 0 15px;
  font-size: 20px;
}

.spec-table dl {
  margin: 0;
}

.spec-table dl > div {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 16px;
  padding-block: 13px;
  border-block-end: 1px solid var(--line);
}

.spec-table dt {
  color: var(--muted);
  font-size: 11px;
}

.spec-table dd {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  text-align: start;
}

.service-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-page-grid article {
  min-height: 330px;
  padding: 42px;
  background: white;
}

.service-page-grid article > span,
.values-grid article > span {
  color: var(--red);
  font-size: 11px;
  font-weight: 850;
}

.service-page-grid h2 {
  margin: 24px 0 12px;
  font-size: 29px;
}

.service-page-grid p {
  color: var(--ink-soft);
}

.service-page-grid ul {
  margin-block-start: 25px;
  padding-inline-start: 20px;
  color: var(--muted);
  font-size: 12px;
}

.process-section {
  background: var(--surface);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-block-start: 1px solid #cbd1d5;
}

.process-list li {
  position: relative;
  padding: 35px 24px 10px;
  border-inline-end: 1px solid #cbd1d5;
}

.process-list li:first-child {
  border-inline-start: 1px solid #cbd1d5;
}

.process-list li > span {
  position: absolute;
  inset-block-start: -15px;
  inset-inline-start: 18px;
  display: grid;
  width: 30px;
  aspect-ratio: 1;
  place-items: center;
  background: var(--red);
  color: white;
  font-size: 11px;
}

.process-list strong {
  font-size: 16px;
}

.process-list p {
  margin-block-end: 0;
  color: var(--muted);
  font-size: 12px;
}

.case-list article {
  display: grid;
  grid-template-columns: 70px 1.2fr 1fr 160px;
  align-items: center;
  gap: 40px;
  padding-block: 38px;
  border-block-end: 1px solid var(--line);
}

.case-list__index {
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
}

.case-list h2 {
  margin: 7px 0 0;
  font-size: 27px;
}

.case-list p {
  color: var(--muted);
}

.case-list > article > strong {
  padding: 8px 12px;
  border: 1px solid var(--line);
  font-size: 11px;
  text-align: center;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.capability-grid div {
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  font-weight: 700;
}

.capability-grid span {
  margin-inline-end: 10px;
  color: var(--red);
}

.about-story__grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
  align-items: center;
}

.timeline-mark {
  min-height: 360px;
  display: grid;
  place-content: center;
  background: var(--ink);
  color: white;
  text-align: center;
}

.timeline-mark span,
.timeline-mark small {
  color: #a5aeb5;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.timeline-mark strong {
  display: block;
  color: var(--lime);
  font-size: 82px;
  line-height: 1.2;
}

.about-story article h2 {
  margin: 10px 0 25px;
  font-size: 43px;
  line-height: 1.3;
}

.about-story article p {
  color: var(--ink-soft);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block-start: 1px solid #ccd2d6;
  border-inline-start: 1px solid #ccd2d6;
}

.values-grid article {
  min-height: 250px;
  padding: 32px;
  border-inline-end: 1px solid #ccd2d6;
  border-block-end: 1px solid #ccd2d6;
}

.values-grid h2 {
  margin: 36px 0 12px;
  font-size: 26px;
}

.values-grid p {
  color: var(--muted);
  font-size: 13px;
}

.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.scope-grid h2 {
  margin-block-start: 10px;
  font-size: 40px;
}

.scope-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.scope-grid li {
  padding-block: 15px;
  border-block-end: 1px solid var(--line);
  font-weight: 700;
}

.scope-grid li::before {
  content: "—";
  margin-inline-end: 15px;
  color: var(--red);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
}

.contact-form {
  margin-block-start: 34px;
}

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

.field {
  margin-block-end: 18px;
}

.field label span {
  color: var(--red);
}

.field-error,
.form-error {
  color: #a20c17;
  font-size: 11px;
}

.field-error {
  display: block;
  margin-block-start: 5px;
}

[aria-invalid="true"] {
  border-color: #b20e19;
}

.form-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.contact-aside {
  align-self: start;
  background: var(--ink);
  color: white;
  padding: 36px;
}

.contact-aside > div {
  padding-block: 23px;
  border-block-end: 1px solid var(--line-dark);
}

.contact-aside > div:first-child {
  padding-block-start: 0;
}

.contact-aside > div:last-child {
  padding-block-end: 0;
  border: 0;
}

.contact-aside small {
  display: block;
  margin-block-end: 8px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
}

.contact-aside a {
  display: block;
  width: fit-content;
  margin-block: 4px;
  font-weight: 750;
}

.contact-aside p {
  margin: 0;
  color: #c0c7cc;
  font-size: 12px;
}

.form-success {
  min-height: 470px;
  display: grid;
  place-content: center;
  justify-items: center;
  margin-block-start: 34px;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
}

.form-success > span {
  display: grid;
  width: 54px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-size: 24px;
}

.form-success h2 {
  margin: 22px 0 5px;
}

.form-success p {
  color: var(--muted);
}

.spinner {
  width: 18px;
  aspect-ratio: 1;
  display: inline-block;
  border: 2px solid currentColor;
  border-inline-start-color: transparent;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(1turn); }
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.faq-grid details {
  background: white;
  border: 1px solid var(--line);
  padding: 0 20px;
}

.faq-grid summary {
  padding-block: 18px;
  cursor: pointer;
  font-weight: 750;
}

.faq-grid p {
  margin-block-start: 0;
  color: var(--muted);
  font-size: 13px;
}

.not-found,
.loading-state {
  min-height: 65vh;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 48px;
  text-align: center;
}

.not-found > span {
  color: var(--red);
  font-size: 72px;
  font-weight: 950;
  line-height: 1;
}

.not-found h1 {
  margin: 15px 0 5px;
}

.not-found p,
.loading-state p {
  color: var(--muted);
}

@media (max-width: 1100px) {
  :root {
    --shell: min(100% - 36px, 960px);
  }

  .site-header__inner {
    gap: 22px;
  }

  .main-nav {
    gap: 18px;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    border-block-end: 1px solid var(--line);
  }

  .category-card {
    border-block-start: 1px solid var(--line);
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero__inner {
    grid-template-columns: 1fr 0.85fr;
  }

  .circuit-board {
    width: min(340px, 84%);
  }

  .footer-grid {
    gap: 36px;
  }
}

@media (max-width: 860px) {
  :root {
    --shell: calc(100% - 32px);
  }

  .announcement__inner span:nth-child(2),
  .announcement__inner span:nth-child(3) {
    display: none;
  }

  .site-header__inner {
    min-height: 70px;
  }

  .main-nav {
    position: absolute;
    inset-inline: 0;
    inset-block-start: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    border-block: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 24px;
    border-block-end: 1px solid var(--line);
  }

  .main-nav a::after {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .header-actions .button {
    display: none;
  }

  .hero,
  .hero__inner {
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding-block-end: 48px;
  }

  .hero__copy {
    padding-block: 65px 20px;
  }

  .hero__visual {
    min-height: 440px;
  }

  .hero__grid {
    mask-image: linear-gradient(black, transparent);
  }

  .section {
    padding-block: 74px;
  }

  .section-heading,
  .split-heading {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }

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

  .service-list article {
    grid-template-columns: 45px 180px 1fr 42px;
    gap: 14px;
  }

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

  .project-card--featured {
    grid-column: 1 / -1;
  }

  .about-strip__inner,
  .about-story__grid,
  .product-detail,
  .product-content__grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-strip__year,
  .timeline-mark {
    min-height: 240px;
  }

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

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

  .footer-contact {
    grid-column: 1 / -1;
  }

  .product-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-chips {
    justify-content: start;
  }

  .service-page-grid {
    grid-template-columns: 1fr;
  }

  .process-list {
    grid-template-columns: 1fr 1fr;
    gap: 35px 0;
  }

  .case-list article {
    grid-template-columns: 45px 1fr 1fr;
  }

  .case-list > article > strong {
    grid-column: 2 / -1;
    justify-self: start;
  }

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

@media (max-width: 600px) {
  :root {
    --shell: calc(100% - 24px);
  }

  .announcement__inner {
    min-height: 30px;
  }

  .announcement__inner > span:first-child {
    font-size: 10px;
  }

  .brand__mark {
    width: 40px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    font-size: 7px;
  }

  .header-actions {
    margin-inline-start: auto;
  }

  .icon-button,
  .menu-button {
    width: 38px;
    height: 38px;
  }

  .search-panel {
    padding-block: 18px;
  }

  .search-form__row {
    flex-direction: column;
    gap: 8px;
  }

  .search-form input {
    border-inline-end: 1px solid #c9d0d5 !important;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 46px;
  }

  .hero__copy > p,
  .page-hero p {
    font-size: 15px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .hero__actions .text-link {
    justify-content: center;
  }

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

  .hero__visual {
    min-height: 370px;
  }

  .circuit-board {
    width: 80%;
    box-shadow: 18px 18px 0 #dfe3e0;
  }

  .spec-tag--top {
    inset-block-start: 42px;
  }

  .spec-tag--bottom {
    inset-block-end: 35px;
  }

  .section {
    padding-block: 58px;
  }

  .section-heading h2,
  .split-heading h2,
  .about-strip h2,
  .cta h2,
  .contact-section h2 {
    font-size: 31px;
  }

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

  .category-card {
    min-height: 145px;
    padding: 16px;
  }

  .category-card__number {
    font-size: 26px;
  }

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

  .product-card h3,
  .product-card p {
    min-height: 0;
  }

  .service-list article {
    grid-template-columns: 35px 1fr 42px;
  }

  .service-list p {
    grid-column: 2 / -1;
    grid-row: 2;
  }

  .service-list article > a {
    grid-column: 3;
    grid-row: 1;
  }

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

  .project-card--featured {
    grid-column: auto;
  }

  .project-card,
  .project-card--featured {
    min-height: 360px;
  }

  .about-strip__inner {
    gap: 42px;
  }

  .cta__inner {
    min-height: 290px;
    align-items: start;
    flex-direction: column;
    justify-content: center;
  }

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

  .trust-row > div {
    min-height: 90px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 38px 24px;
    padding-block: 55px;
  }

  .footer-intro,
  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: start;
    flex-direction: column;
    justify-content: center;
    padding-block: 20px;
  }

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

  .page-hero .shell {
    padding-block: 50px;
  }

  .filter-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-block-end: 8px;
  }

  .filter-chips button {
    flex: 0 0 auto;
  }

  .product-detail {
    gap: 36px;
    padding-block-end: 65px;
  }

  .quote-box {
    align-items: stretch;
    flex-direction: column;
  }

  .product-content article h2,
  .about-story article h2,
  .scope-grid h2 {
    font-size: 32px;
  }

  .service-page-grid article {
    min-height: auto;
    padding: 28px;
  }

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

  .process-list li {
    border-inline-start: 1px solid #cbd1d5;
  }

  .case-list article {
    grid-template-columns: 35px 1fr;
    gap: 14px;
  }

  .case-list article > p,
  .case-list > article > strong {
    grid-column: 2;
  }

  .capability-grid,
  .values-grid,
  .scope-grid,
  .form-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .scope-grid {
    gap: 30px;
  }

  .timeline-mark strong {
    font-size: 65px;
  }

  .contact-aside {
    padding: 26px;
  }
}

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


/* Static-export behavior and accessible state styling. */
[hidden] {
  display: none !important;
}

.form-success--error > span {
  background: #a20c17;
  color: white;
}

.form-success .button {
  margin-block-start: 14px;
}

.product-card.is-filtered-out {
  display: none;
}
