:root {
  --ink: #101927;
  --muted: #596579;
  --line: #d9e2ec;
  --paper: #f7fafc;
  --white: #ffffff;
  --blue: #1261a6;
  --blue-strong: #083b6f;
  --green: #36a269;
  --gold: #c6782b;
  --shadow: 0 18px 50px rgba(11, 30, 48, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 54px);
  color: var(--white);
  background: rgba(9, 22, 38, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 760;
  white-space: nowrap;
}

.brand img {
  width: 40px;
  height: 40px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.94rem;
}

.nav-links a,
.site-footer a {
  text-decoration: none;
}

.nav-links a:hover,
.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.language-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  width: 88px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.lang-button {
  min-width: 38px;
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 740;
  cursor: pointer;
}

.lang-button.is-active {
  color: var(--blue-strong);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

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

.hero-media {
  background-image: url("assets/images/bluetrace-produce.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 18, 32, 0.88), rgba(6, 18, 32, 0.62) 46%, rgba(6, 18, 32, 0.18)),
    linear-gradient(0deg, rgba(6, 18, 32, 0.78), rgba(6, 18, 32, 0.02) 44%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #91f0c0;
}

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

h1 {
  margin-bottom: 18px;
  max-width: 920px;
  font-size: clamp(3rem, 7.4vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 1.28rem;
  line-height: 1.18;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: var(--white);
  background: var(--blue);
}

.button-primary:hover {
  background: var(--blue-strong);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero-signal {
  position: absolute;
  z-index: 2;
  left: clamp(18px, 7vw, 96px);
  right: clamp(18px, 7vw, 96px);
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.34);
}

.hero-signal span {
  min-height: 62px;
  display: flex;
  align-items: center;
  padding-right: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 680;
}

.section {
  padding: clamp(72px, 9vw, 120px) clamp(18px, 5vw, 72px);
}

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

.page-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background-size: cover;
  background-position: center;
}

.page-hero-trace {
  background-image: url("assets/images/bluetrace-produce.jpg");
}

.page-hero-energy,
.page-hero-about {
  background-image: url("assets/images/industrial-precision.jpg");
}

.page-hero-tbr {
  background-image: url("assets/images/old-site/old-1742-truck-g323cf74e1-1920.jpg");
}

.page-hero-wear {
  background-image: url("assets/images/old-site/old-2828-2025-02-15-21-41-56.jpg");
}

.page-hero-oilfield {
  background-image: url("assets/images/industrial-precision.jpg");
}

.page-hero-life {
  background-image: url("assets/images/fresh-supply.jpg");
}

.page-hero-contact {
  background-image: url("assets/images/contact.jpg");
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 18, 32, 0.9), rgba(6, 18, 32, 0.58) 52%, rgba(6, 18, 32, 0.16)),
    linear-gradient(0deg, rgba(6, 18, 32, 0.62), rgba(6, 18, 32, 0.02) 52%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 78px;
}

.page-hero .eyebrow {
  color: #91f0c0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 84px);
  background: var(--white);
}

.text-stack {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.text-stack p {
  margin: 0;
}

.panel-section {
  background: #edf4f8;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.info-card {
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(12, 34, 56, 0.08);
}

.info-card span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--gold);
  font-weight: 840;
}

.info-card p {
  color: var(--muted);
}

.compact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.compact-card {
  min-height: 92px;
  display: flex;
  align-items: center;
  padding: 18px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 780;
  text-decoration: none;
}

a.compact-card:hover {
  border-color: var(--blue);
  box-shadow: 0 10px 28px rgba(12, 34, 56, 0.08);
}

.media-split {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

.media-split > img {
  width: 100%;
  aspect-ratio: 1.12 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
}

.compact-proof {
  margin-top: 20px;
}

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

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

.product-card {
  min-width: 0;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(12, 34, 56, 0.08);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1.24 / 1;
  object-fit: contain;
  margin-bottom: 16px;
  padding: 8px;
  background: var(--paper);
  border-radius: 6px;
}

.product-card h3 {
  margin-bottom: 8px;
}

.product-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.image-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.image-strip img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(12, 34, 56, 0.08);
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(56px, 7vw, 88px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: #0e2234;
}

.cta-band h2 {
  margin-bottom: 0;
}

.app-section {
  background: var(--white);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 84px);
  background: var(--white);
}

.intro-copy {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 1.7vw, 1.42rem);
}

.business {
  background: #edf4f8;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.business-card {
  overflow: hidden;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(12, 34, 56, 0.08);
}

.business-card img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
}

.business-card-body {
  padding: clamp(20px, 2.8vw, 30px);
}

.label {
  width: fit-content;
  margin-bottom: 16px;
  padding: 5px 9px;
  color: var(--white);
  background: var(--ink);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
}

.business-card p:not(.label) {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.94rem;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 999px;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.business-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--blue-strong);
  font-weight: 800;
  text-decoration: none;
}

.business-card a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.pathways {
  background: var(--white);
}

.pathway-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.pathway {
  display: grid;
  grid-template-columns: minmax(190px, 0.35fr) 1fr;
  gap: 22px;
  align-items: center;
  min-height: 84px;
  padding: 20px 24px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
}

.pathway:hover {
  border-color: var(--blue);
  box-shadow: 0 10px 28px rgba(12, 34, 56, 0.08);
}

.pathway span {
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 800;
}

.pathway strong {
  font-size: clamp(1.08rem, 2.2vw, 1.5rem);
  line-height: 1.16;
}

.why {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  background: #f6efe7;
}

.why-media img {
  width: 100%;
  aspect-ratio: 0.96 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.proof-list {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.proof-list div {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(16, 25, 39, 0.16);
}

.proof-list span {
  color: var(--gold);
  font-weight: 840;
}

.proof-list h3 {
  margin-bottom: 6px;
}

.proof-list p {
  grid-column: 2;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  background: #0e2234;
  color: var(--white);
}

.contact p {
  color: rgba(255, 255, 255, 0.76);
}

.contact dl {
  display: grid;
  gap: 18px;
  margin: 34px 0 0;
}

.contact dt {
  color: #90d9b3;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact dd {
  margin: 4px 0 0;
}

.contact dd a {
  text-decoration: none;
}

.contact dd a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(18, 97, 166, 0.18);
  border-color: var(--blue);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: #081421;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 10px 18px;
  }

  .nav-links {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .intro,
  .why,
  .contact,
  .split-section,
  .card-grid,
  .compact-grid,
  .cta-band,
  .business-grid,
  .media-split,
  .product-grid,
  .product-grid-tight,
  .image-strip {
    grid-template-columns: 1fr;
  }

  .hero-signal {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-signal span {
    min-height: 42px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 104px;
    padding-inline: 14px;
  }

  .brand span {
    display: none;
  }

  .hero {
    min-height: 860px;
  }

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

  .hero-content {
    width: calc(100% - 32px);
    margin-inline: 16px;
    padding-top: 172px;
  }

  .page-hero-content {
    width: calc(100% - 32px);
    margin-inline: 16px;
    padding-top: 172px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .store-badge {
    width: 100%;
  }

  .hero-signal {
    left: 16px;
    right: 16px;
  }

  .pathway {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .proof-list div {
    grid-template-columns: 36px 1fr;
  }

  .site-footer {
    display: grid;
  }
}
