:root {
  --ink: #111114;
  --muted: #666a73;
  --soft: #f5f5f7;
  --line: #dedee3;
  --panel: #ffffff;
  --red: #ee1b24;
  --blue: #0a66d8;
  --dark: #030306;
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.12);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--soft);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--soft);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

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

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

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

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 40;
  display: flex;
  width: calc(100% - 48px);
  max-width: 1180px;
  height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: #fff;
  background: rgba(9, 9, 12, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(24px);
  transform: translateX(-50%);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.10);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 170px;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

.brand-copy {
  display: grid;
  gap: 1px;
  font-size: 15px;
  font-weight: 700;
}

.brand-copy small {
  color: currentColor;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
}

.site-nav a {
  opacity: 0.84;
  transition: opacity 160ms ease;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  color: currentColor;
  background: transparent;
  border: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
  border-radius: 8px;
}

.hero {
  position: relative;
  display: grid;
  height: 88vh;
  min-height: 760px;
  max-height: 920px;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #111;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

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

.hero-shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.78)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.08));
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 144px 0 58px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ff6b6f;
}

.hero h1 {
  margin: 0;
  font-size: 84px;
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 24px;
  line-height: 1.28;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--red);
}

.button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.08);
}

.button-dark {
  width: 100%;
  color: #fff;
  background: var(--dark);
}

.hero-proof {
  display: grid;
  max-width: 960px;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 58px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(18px);
}

.hero-proof span {
  display: grid;
  gap: 4px;
  min-height: 84px;
  align-content: center;
  padding: 14px 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.hero-proof strong {
  display: block;
  color: #fff;
  font-size: 22px;
  line-height: 1.1;
}

.section-pad {
  padding: 112px 24px;
}

.section-heading {
  width: min(940px, 100%);
  margin: 0 auto 46px;
}

.section-heading.center {
  text-align: center;
}

.section-heading h2,
.quality-copy h2,
.sustainability-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: 54px;
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: 0;
}

.intro-grid {
  display: grid;
  width: min(1180px, 100%);
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 auto;
}

.intro-grid article,
.project-grid article,
.insight-grid a {
  min-height: 260px;
  padding: 30px;
  background: var(--panel);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.05);
}

.number,
.product-count,
.project-label,
.insight-grid span {
  display: block;
  margin-bottom: 26px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 700;
}

p {
  color: var(--muted);
}

.product-section {
  background: #fff;
}

.catalog-layout {
  display: grid;
  width: min(1320px, 100%);
  grid-template-columns: 300px 1fr;
  gap: 28px;
  margin: 0 auto;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 124px);
  overflow: auto;
  padding: 26px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.catalog-sidebar-head {
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.catalog-sidebar h3,
.catalog-toolbar h3 {
  font-size: 28px;
}

.catalog-sidebar p,
.catalog-toolbar p {
  margin: 0;
}

.category-list {
  display: grid;
  gap: 6px;
}

.category-button {
  display: grid;
  width: 100%;
  min-height: 44px;
  grid-template-columns: 18px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  color: var(--muted);
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.category-button::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 1px solid #c8cbd2;
  border-radius: 999px;
  background: #fff;
}

.category-button.active {
  color: var(--ink);
  font-weight: 700;
}

.category-button.active::before {
  border: 4px solid var(--red);
}

.category-button span:last-child {
  color: #9a9da4;
  font-size: 13px;
}

.catalog-main {
  min-width: 0;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 360px);
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.catalog-search {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.catalog-search input {
  min-height: 46px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  text-transform: none;
}

.catalog-search input:focus {
  border-color: var(--blue);
}

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

.product-card {
  display: grid;
  scroll-margin-top: 112px;
  min-height: 492px;
  grid-template-rows: 230px auto auto 1fr auto;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  border-color: rgba(238, 27, 36, 0.26);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.product-visual {
  display: grid;
  height: 220px;
  place-items: center;
  overflow: hidden;
  margin-bottom: 18px;
  background: #fbfbfd;
  border-radius: 8px;
}

.product-visual img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-card h3 {
  min-height: 58px;
  font-size: 22px;
}

.product-card p {
  margin-top: 0;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.product-meta span,
.detail-badges span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  color: var(--red);
  background: rgba(238, 27, 36, 0.08);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.product-actions .button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 14px;
}

.button-line {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.empty-products {
  padding: 34px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-detail {
  margin-top: 34px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-top {
  display: grid;
  grid-template-columns: minmax(300px, 0.84fr) 1.16fr;
  gap: 36px;
  padding: 34px;
}

.detail-image {
  display: grid;
  min-height: 420px;
  place-items: center;
  background: var(--soft);
  border-radius: 8px;
}

.detail-image img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.detail-copy {
  display: grid;
  align-content: center;
}

.detail-copy h3 {
  margin-top: 12px;
  font-size: 42px;
}

.detail-copy p {
  font-size: 18px;
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.detail-specs li {
  display: grid;
  gap: 4px;
  min-height: 72px;
  align-content: center;
  padding: 14px;
  background: var(--soft);
  border-radius: 8px;
}

.detail-specs span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-actions .button {
  border-radius: 8px;
}

.detail-models {
  margin: 0 0 24px;
}

.detail-models h4 {
  margin: 0 0 12px;
  font-size: 18px;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.model-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 78px;
  padding: 10px;
  text-align: left;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.model-card.active {
  border-color: rgba(238, 27, 36, 0.42);
  box-shadow: inset 0 0 0 1px rgba(238, 27, 36, 0.18);
}

.model-card img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  mix-blend-mode: multiply;
}

.model-card strong,
.model-card span span {
  display: block;
}

.model-card strong {
  font-size: 13px;
}

.model-card span span {
  color: var(--muted);
  font-size: 12px;
}

.related-products {
  padding: 30px 34px 34px;
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.related-products h4 {
  margin: 0 0 16px;
  font-size: 24px;
}

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

.related-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.related-card img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  background: var(--soft);
  border-radius: 8px;
  mix-blend-mode: multiply;
}

.related-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.related-card span {
  color: var(--muted);
  font-size: 13px;
}

.quality {
  display: grid;
  width: min(1180px, calc(100% - 48px));
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  margin: 0 auto;
  padding-right: 0;
  padding-left: 0;
}

.quality-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quality-media img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.quality-copy p {
  font-size: 18px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.metric-grid div {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 26px;
}

.metric-grid span {
  color: var(--muted);
  font-size: 14px;
}

.applications {
  background: #111114;
  color: #fff;
}

.applications p {
  color: rgba(255, 255, 255, 0.72);
}

.application-tabs {
  display: grid;
  width: min(1180px, 100%);
  grid-template-columns: 330px 1fr;
  gap: 18px;
  margin: 0 auto;
}

.vertical-tabs {
  display: grid;
  gap: 8px;
  align-self: start;
}

.tab-button {
  min-height: 62px;
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.68);
  text-align: left;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.tab-button.active {
  color: #fff;
  background: rgba(238, 27, 36, 0.92);
}

.tab-panel {
  min-height: 272px;
  padding: 48px;
  background:
    linear-gradient(90deg, rgba(17, 17, 20, 0.72), rgba(17, 17, 20, 0.34)),
    url("assets/source/hero.webp") center / cover;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
}

.tab-panel h3 {
  font-size: 40px;
}

.tab-panel p {
  max-width: 650px;
  font-size: 19px;
}

.tab-panel span {
  display: inline-flex;
  margin-top: 22px;
  color: #fff;
  font-weight: 700;
}

.project-grid,
.insight-grid {
  display: grid;
  width: min(1180px, 100%);
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0 auto;
}

.project-grid article {
  min-height: 310px;
}

.project-grid p:last-child {
  font-size: 18px;
}

.sustainability {
  display: grid;
  width: min(1180px, calc(100% - 48px));
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
  margin: 0 auto;
  padding-right: 0;
  padding-left: 0;
}

.sustainability-list {
  display: grid;
  gap: 12px;
}

.sustainability-list div {
  display: grid;
  gap: 6px;
  min-height: 112px;
  align-content: center;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.sustainability-list strong {
  font-size: 22px;
}

.sustainability-list span {
  color: var(--muted);
}

.insights {
  background: #fff;
}

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

.insight-grid a {
  display: grid;
  min-height: 250px;
  align-content: start;
  transition: transform 160ms ease, border-color 160ms ease;
}

.insight-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(238, 27, 36, 0.38);
}

.contact {
  display: grid;
  width: min(1180px, calc(100% - 48px));
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
  margin: 0 auto;
  padding-right: 0;
  padding-left: 0;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  gap: 4px;
  color: var(--ink);
}

.contact-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: 8px;
  outline: 0;
  resize: vertical;
  text-transform: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  background: #fff;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: flex;
  width: min(1180px, calc(100% - 48px));
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin: 112px auto 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    width: calc(100% - 28px);
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    padding: 16px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
    gap: 14px;
  }

  .hero {
    min-height: 720px;
  }

  .hero h1 {
    font-size: 62px;
  }

  .hero-copy {
    font-size: 21px;
  }

  .hero-proof,
  .intro-grid,
  .catalog-layout,
  .quality,
  .application-tabs,
  .project-grid,
  .sustainability,
  .insight-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    max-width: 560px;
  }

  .section-heading h2,
  .quality-copy h2,
  .sustainability-copy h2,
  .contact-copy h2 {
    font-size: 42px;
  }

  .quality,
  .sustainability,
  .contact {
    width: min(720px, calc(100% - 48px));
  }

  .quality-media img {
    height: 420px;
  }

  .catalog-sidebar {
    position: static;
    max-height: none;
  }

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

  .catalog-toolbar,
  .detail-top {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    height: 54px;
    padding: 0 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    height: 88svh;
    min-height: 690px;
  }

  .hero-inner {
    width: calc(100% - 32px);
    padding-bottom: 34px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-copy {
    font-size: 19px;
  }

  .hero-proof {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 36px;
  }

  .section-pad {
    padding: 74px 16px;
  }

  .section-heading h2,
  .quality-copy h2,
  .sustainability-copy h2,
  .contact-copy h2 {
    font-size: 34px;
  }

  .intro-grid article,
  .project-grid article,
  .insight-grid a {
    min-height: 220px;
    padding: 24px;
  }

  .category-list,
  .product-grid,
  .detail-specs {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar,
  .catalog-toolbar,
  .detail-top,
  .related-products {
    padding: 22px;
  }

  .product-card {
    min-height: 454px;
    grid-template-rows: 208px auto auto 1fr auto;
    padding: 18px;
  }

  .product-visual {
    height: 198px;
  }

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

  .detail-image {
    min-height: 300px;
  }

  .detail-copy h3 {
    font-size: 30px;
  }

  .quality,
  .sustainability,
  .contact {
    width: calc(100% - 32px);
  }

  .quality-media img {
    height: 320px;
  }

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

  .tab-panel {
    padding: 28px;
  }

  .tab-panel h3 {
    font-size: 30px;
  }

  .site-footer {
    display: grid;
    width: calc(100% - 32px);
    margin-top: 76px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
