:root {
  color-scheme: light dark;
  --bg: #eef2f5;
  --surface: #f8fafb;
  --surface-strong: #e3e9ee;
  --text: #101923;
  --muted: #566572;
  --line: #c7d1d9;
  --accent: #1f6fae;
  --accent-strong: #164f7d;
  --accent-soft: #d8e8f3;
  --on-accent: #f7fbfe;
  --image-backdrop: #d7dde2;
  --shadow: 0 22px 64px rgba(27, 53, 72, 0.12);
  --radius: 2px;
  --header-height: 72px;
  --page-width: 1440px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111922;
    --surface: #18232d;
    --surface-strong: #202e3a;
    --text: #edf4f8;
    --muted: #a9b7c2;
    --line: #344653;
    --accent: #58a4db;
    --accent-strong: #77b6e2;
    --accent-soft: #20394c;
    --on-accent: #0c1720;
    --image-backdrop: #24333e;
    --shadow: 0 22px 64px rgba(3, 10, 16, 0.34);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    "Arial Nova", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button,
.button,
.header-cta {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 8px;
  z-index: 20;
  background: var(--text);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-height);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  width: min(100%, var(--page-width));
  height: 100%;
  margin: 0 auto;
  padding: 0 42px;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 142px;
  height: 40px;
}

.brand img {
  width: 100%;
  max-height: 40px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2.1vw, 34px);
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 650;
}

.desktop-nav a {
  color: var(--muted);
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.header-cta,
.button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-weight: 750;
  letter-spacing: -0.01em;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.header-cta,
.button-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.header-cta:hover,
.header-cta:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-strong);
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--surface);
  border-color: var(--text);
}

.button:active,
.header-cta:active,
.menu-button:active {
  transform: translateY(1px);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 58%, transparent);
  outline-offset: 3px;
}

.menu-button,
.mobile-nav {
  display: none;
}

.hero {
  width: min(100%, var(--page-width));
  min-height: calc(100dvh - var(--header-height));
  margin: 0 auto;
  padding: 34px 42px 42px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 36px;
  align-items: stretch;
}

.hero-copy {
  padding: clamp(40px, 6vw, 90px) clamp(0px, 3vw, 44px) 44px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2 {
  margin-bottom: 0;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 {
  max-width: 10.5ch;
  font-size: clamp(3.4rem, 6vw, 5.8rem);
  font-weight: 760;
}

h2 {
  font-size: clamp(2.25rem, 4vw, 4.25rem);
  font-weight: 730;
}

.hero-summary {
  max-width: 520px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-media {
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--image-backdrop);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.proof-strip {
  width: min(calc(100% - 84px), calc(var(--page-width) - 84px));
  margin: 0 auto;
  padding: 28px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-item {
  min-width: 0;
  padding: 4px 28px;
  border-left: 1px solid var(--line);
}

.proof-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.proof-item strong,
.proof-item span {
  display: block;
}

.proof-item strong {
  font-size: clamp(1.7rem, 2.8vw, 2.65rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.proof-item span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.section {
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding: clamp(86px, 10vw, 150px) 42px;
}

.section-heading {
  max-width: 850px;
}

.section-heading p,
.factory-heading p,
.materials-intro p,
.oem-copy p,
.compliance-copy p,
.contact-section > div > p {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.product-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(260px, auto);
  gap: 16px;
}

.product-card {
  grid-column: span 5;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.product-card-wide {
  grid-column: span 7;
  grid-row: span 2;
}

.product-card:nth-child(4),
.product-card:nth-child(5) {
  grid-column: span 6;
}

.product-card img {
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  object-fit: cover;
  background: var(--image-backdrop);
}

.product-card:not(.product-card-wide) img {
  height: 210px;
}

.product-card-copy {
  min-height: 90px;
  padding: 19px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-card-copy strong,
.product-card-copy small {
  display: block;
}

.product-card-copy strong {
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.product-card-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

.oem-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
}

.oem-copy {
  position: sticky;
  top: calc(var(--header-height) + 40px);
  align-self: start;
}

.text-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--accent);
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--accent-strong);
}

.oem-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.oem-gallery figure {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.oem-gallery figure:nth-child(2),
.oem-gallery figure:nth-child(3) {
  transform: translateY(32px);
}

.oem-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--image-backdrop);
}

.oem-gallery figcaption,
.factory-gallery figcaption {
  padding: 15px 16px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.materials-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(54px, 9vw, 135px);
  align-items: start;
}

.material-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.material-index article {
  min-height: 154px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.material-index article:nth-child(2),
.material-index article:nth-child(5) {
  background: var(--accent-soft);
}

.material-index article:last-child {
  grid-column: span 2;
}

.material-index strong {
  font-size: 1.15rem;
}

.material-index span {
  max-width: 34ch;
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.88rem;
}

.factory-section {
  padding-top: 116px;
}

.factory-heading {
  max-width: 760px;
}

.factory-gallery {
  margin-top: 50px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: 14px;
}

.factory-gallery figure {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.factory-gallery .factory-main {
  grid-row: span 2;
}

.factory-gallery img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  background: var(--image-backdrop);
}

.factory-main img {
  min-height: 660px;
}

.quality-section {
  padding-top: 100px;
}

.quality-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.quality-grid figure {
  grid-column: span 4;
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.quality-grid figure:first-child {
  grid-column: span 5;
  transform: translateY(28px);
}

.quality-grid figure:nth-child(2) {
  grid-column: span 3;
}

.quality-grid figure:last-child {
  grid-column: span 4;
  transform: translateY(72px);
}

.quality-grid img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  background: var(--image-backdrop);
}

.quality-grid figure:nth-child(2) img {
  height: 370px;
}

.quality-grid figcaption {
  padding: 18px 19px 22px;
}

.quality-grid figcaption strong,
.quality-grid figcaption span {
  display: block;
}

.quality-grid figcaption strong {
  font-size: 1.1rem;
}

.quality-grid figcaption span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.86rem;
}

.compliance-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(52px, 8vw, 120px);
  align-items: start;
}

.compliance-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.compliance-list > div {
  min-height: 160px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.compliance-list strong,
.compliance-list span {
  display: block;
}

.compliance-list strong {
  color: var(--accent);
  font-size: 1.35rem;
}

.compliance-list span {
  max-width: 29ch;
  color: var(--muted);
  font-size: 0.87rem;
}

.contact-section {
  width: min(calc(100% - 84px), calc(var(--page-width) - 84px));
  margin: 20px auto 0;
  padding: clamp(52px, 7vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 48px;
  align-items: end;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius);
}

.contact-section .kicker,
.contact-section > div > p {
  color: color-mix(in srgb, var(--on-accent) 80%, transparent);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.contact-section .button-primary {
  background: var(--on-accent);
  color: var(--accent-strong);
}

.contact-section .button-primary:hover,
.contact-section .button-primary:focus-visible {
  background: color-mix(in srgb, var(--on-accent) 88%, var(--accent));
}

.contact-email {
  color: var(--on-accent);
  font-weight: 720;
  border-bottom: 1px solid
    color-mix(in srgb, var(--on-accent) 54%, transparent);
}

.site-footer {
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding: 44px 42px;
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 38px;
  align-items: end;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-brand img {
  width: 120px;
  max-height: 36px;
  object-fit: contain;
  object-position: left center;
}

.footer-brand p,
.site-footer > p {
  margin: 10px 0 0;
}

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

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

  .menu-button {
    width: 48px;
    height: 48px;
    padding: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .menu-button span {
    width: 21px;
    height: 2px;
    background: currentColor;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .mobile-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    height: calc(100dvh - var(--header-height));
    padding: 26px 28px 48px;
    display: none;
    overflow-y: auto;
    background: var(--bg);
    border-top: 1px solid var(--line);
  }

  .mobile-nav.is-open {
    display: grid;
    align-content: start;
  }

  .mobile-nav a {
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.35rem;
    font-weight: 720;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr 1fr;
  }

  .hero-media {
    min-height: 500px;
  }

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

  .proof-item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .proof-item:nth-child(n + 3) {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }

  .quality-grid figure:first-child,
  .quality-grid figure:nth-child(2),
  .quality-grid figure:last-child {
    grid-column: span 6;
    transform: none;
  }

  .quality-grid figure:last-child {
    grid-column: 4 / span 6;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 64px;
  }

  .header-inner {
    padding: 0 20px;
  }

  .brand {
    width: 126px;
  }

  .hero {
    width: 100%;
    padding: 30px 20px 24px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-copy {
    width: 100%;
    padding: 26px 0 0;
  }

  .kicker {
    margin-bottom: 15px;
    font-size: 0.68rem;
    letter-spacing: 0.13em;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 15.2vw, 4.45rem);
  }

  h2 {
    font-size: clamp(2.15rem, 11vw, 3.2rem);
    line-height: 1;
  }

  .hero-summary {
    margin-top: 22px;
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 27px;
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-media {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .proof-strip {
    width: calc(100% - 40px);
    padding: 24px 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-item {
    padding: 0 0 0 15px;
  }

  .proof-item strong {
    font-size: 1.65rem;
  }

  .proof-item span {
    font-size: 0.75rem;
  }

  .section {
    width: 100%;
    padding: 82px 20px;
  }

  .section-heading p,
  .factory-heading p,
  .materials-intro p,
  .oem-copy p,
  .compliance-copy p,
  .contact-section > div > p {
    margin-top: 20px;
    font-size: 0.98rem;
  }

  .product-grid {
    margin-top: 36px;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 12px;
  }

  .product-card,
  .product-card-wide,
  .product-card:nth-child(4),
  .product-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  .product-card img,
  .product-card:not(.product-card-wide) img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .product-card-copy {
    min-height: 82px;
    padding: 16px;
  }

  .oem-section,
  .materials-section,
  .compliance-section {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .oem-copy {
    position: static;
  }

  .oem-gallery {
    gap: 10px;
  }

  .oem-gallery figure:nth-child(2),
  .oem-gallery figure:nth-child(3) {
    transform: none;
  }

  .oem-gallery figcaption {
    min-height: 65px;
    padding: 12px;
    font-size: 0.77rem;
  }

  .material-index {
    grid-template-columns: 1fr;
  }

  .material-index article:last-child {
    grid-column: auto;
  }

  .material-index article {
    min-height: 138px;
  }

  .factory-gallery {
    margin-top: 36px;
    grid-template-columns: 1fr;
  }

  .factory-gallery .factory-main {
    grid-row: auto;
  }

  .factory-gallery img,
  .factory-main img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .quality-grid {
    margin-top: 38px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .quality-grid figure:first-child,
  .quality-grid figure:nth-child(2),
  .quality-grid figure:last-child {
    grid-column: auto;
  }

  .quality-grid img,
  .quality-grid figure:nth-child(2) img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .compliance-list > div {
    min-height: 145px;
    padding: 18px;
  }

  .compliance-list strong {
    font-size: 1.05rem;
  }

  .contact-section {
    width: calc(100% - 40px);
    margin-top: 10px;
    padding: 42px 24px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact-actions {
    align-items: stretch;
  }

  .contact-email {
    align-self: flex-start;
    font-size: 0.9rem;
  }

  .site-footer {
    width: 100%;
    padding: 38px 20px;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
