:root {
  --vermillion: #fa2d1a;
  --ultramarine: #2e4c8c;
  --cream: #fff4e2;
  --ink: #171717;
  --graphite: var(--ink);
  --muted: #686868;
  --line: #ddd6cc;
  --accent: var(--vermillion);
  --header-height: 118px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

body.sourcing-page {
  --accent: var(--ultramarine);
}

body.nav-open {
  overflow: hidden;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

img {
  max-width: 100%;
}

.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-right: 5vw;
  padding-left: 5vw;
}

/* Shared header and navigation */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  min-height: var(--header-height);
  overflow: visible;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e8e4df;
  backdrop-filter: blur(12px);
}

.brand {
  position: relative;
  display: flex;
  flex: 0 0 285px;
  align-items: flex-start;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  clip-path: inset(0);
}

.brand img,
.brand .logo-full {
  display: block;
  width: 285px;
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.nav .active {
  color: var(--accent);
}

.rfq,
.mobile-rfq {
  background: var(--accent);
  color: #fff;
}

.mobile-rfq,
.mobile-rfq:visited,
.mobile-rfq:hover,
.mobile-rfq:focus,
.mobile-rfq span {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

.rfq {
  padding: 15px 19px;
}

.nav .rfq,
.nav .rfq.active,
.nav .rfq:visited,
.nav .rfq:hover,
.nav .rfq:focus {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.mobile-actions,
.menu-toggle {
  display: none;
}

/* Shared typography and controls */
.eyebrow,
.kicker {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 1020px;
  margin: 20px 0 26px;
  font-size: clamp(62px, 7.6vw, 122px);
  font-weight: 550;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

.lead,
.hero p {
  max-width: 800px;
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.55;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-block;
  padding: 16px 22px;
  border: 1px solid currentColor;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.btn.red {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.section {
  padding: 96px 0;
}

.section h2 {
  max-width: 1050px;
  margin: 16px 0 28px;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 550;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.cream {
  background: var(--cream);
}

.dark {
  background: #151515;
  color: #fff;
}

.note {
  color: #777;
  font-size: 13px;
  line-height: 1.6;
}

/* Shared full-bleed hero */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: calc(100vh - var(--header-height));
  min-height: 690px;
  overflow: hidden;
  background: #111;
}

.hero > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.34) 42%, rgba(10, 10, 10, 0.04) 72%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.42), transparent 48%);
  pointer-events: none;
}

.hero-copy,
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 8vh;
  color: #fff;
}

/* Homepage */
.homepage .editorial-hero {
  min-height: 760px;
}

.homepage .editorial-hero > img {
  transform: scale(1.015);
}

.homepage .editorial-hero::after {
  background:
    linear-gradient(90deg, rgba(12, 12, 12, 0.58) 0%, rgba(12, 12, 12, 0.3) 34%, rgba(12, 12, 12, 0.06) 63%, rgba(12, 12, 12, 0.1) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.46) 0%, transparent 48%);
}

.homepage .editorial-hero .hero-content {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
}

.homepage .editorial-hero .eyebrow {
  color: #fff;
  opacity: 0.86;
}

.homepage .editorial-hero h1 {
  max-width: 1080px;
  margin: 20px 0 28px;
  font-size: clamp(68px, 8.5vw, 142px);
  line-height: 0.86;
}

.homepage .editorial-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(19px, 1.55vw, 25px);
}

.homepage .editorial-hero .btn {
  border-color: #fff;
  background: rgba(0, 0, 0, 0.1);
  color: #fff;
  backdrop-filter: blur(5px);
}

.homepage .editorial-hero .btn.red {
  border-color: var(--accent);
  background: var(--accent);
}

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 52px;
  border-top: 1px solid var(--line);
}

.step {
  padding: 25px 24px 12px 0;
  border-right: 1px solid var(--line);
}

.step:not(:first-child) {
  padding-left: 24px;
}

.step:last-child {
  border-right: 0;
}

.num,
.step b {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

.step h3 {
  margin: 12px 0 8px;
  font-size: 20px;
}

.step p {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 45px;
  border: 1px solid #d7d7d7;
  background: #d7d7d7;
}

.grid .card {
  min-height: 190px;
  padding: 30px;
  background: #fff;
}

.grid .card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.grid .card p {
  color: #666;
  font-size: 14px;
  line-height: 1.55;
}

.materials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 42px;
}

.mat {
  min-height: 150px;
  padding: 26px;
  border-top: 3px solid var(--accent);
  background: #202020;
}

.mat h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.mat p {
  color: #bbb;
  font-size: 14px;
  line-height: 1.5;
}

.industries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 42px;
  background: #ddd;
}

.industry {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 105px;
  padding: 24px;
  background: #fff;
  font-size: 18px;
  font-weight: 700;
}

.industry::after {
  position: absolute;
  top: 16px;
  right: 18px;
  color: var(--accent);
  content: "↗";
}

.quality-list {
  margin-top: 24px;
  color: #555;
  line-height: 1.9;
}

.blog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 42px;
}

.post {
  padding-top: 18px;
  border-top: 1px solid #222;
}

.post small {
  color: #777;
  letter-spacing: 0.08em;
}

.post h3 {
  font-size: 23px;
  line-height: 1.25;
}

.hero-image {
  width: 100%;
  overflow: hidden;
  background: #111;
  line-height: 0;
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
}

.brand-break {
  padding: 48px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.brand-break .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand-break p {
  max-width: 560px;
  color: #666;
  font-size: 14px;
  line-height: 1.65;
}

.cta {
  padding: 80px 0;
  background: var(--accent);
  color: #fff;
}

.cta h2 {
  margin: 10px 0 24px;
  font-size: clamp(48px, 6vw, 88px);
  letter-spacing: -0.05em;
  line-height: 0.95;
}

/* Sourcing and Products content */
.intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 9vw;
}

.intro p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  border-top: 1px solid var(--line);
}

.cards .card {
  min-height: 220px;
  padding: 32px 28px 36px 0;
  border-bottom: 1px solid var(--line);
}

.cards .card:nth-child(3n + 2),
.cards .card:nth-child(3n + 3) {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.cards .card .n {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

.cards .card h3 {
  margin: 15px 0 12px;
  font-size: 25px;
}

.cards .card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.cards .card .go {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.sourcing-page .process {
  grid-template-columns: repeat(7, 1fr);
  margin-top: 55px;
}

.sourcing-page .step {
  padding: 28px 16px 22px 0;
}

.sourcing-page .step:not(:first-child) {
  padding-left: 16px;
}

.sourcing-page .step h3 {
  margin: 12px 0 9px;
  font-size: 18px;
}

.sourcing-page .step p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}

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

.feature .copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7vw 6vw;
}

.feature h2 {
  margin: 16px 0 25px;
  font-size: clamp(44px, 5vw, 78px);
  line-height: 0.95;
}

.feature p {
  max-width: 650px;
  color: #bbb;
  font-size: 18px;
  line-height: 1.7;
}

.checkgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 48px;
  background: var(--line);
}

.check {
  padding: 28px;
  background: #fff;
}

.check b {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.check span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #ddd;
}

.next a {
  padding: 46px 5vw;
  background: #fff;
  font-size: 26px;
}

.next small {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.16em;
}

/* Products landing page */
.product-list .card {
  min-height: 245px;
}

.product-list .card p {
  max-width: 33rem;
}

.product-list .card:target {
  background: var(--cream);
}

.capability-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  border-top: 1px solid #454545;
}

.capability-band div {
  min-height: 150px;
  padding: 24px 22px 18px 0;
  border-right: 1px solid #454545;
}

.capability-band div:not(:first-child) {
  padding-left: 22px;
}

.capability-band div:last-child {
  border-right: 0;
}

.capability-band b {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 17px;
}

.capability-band span {
  color: #aaa;
  font-size: 13px;
  line-height: 1.6;
}

.text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.text-links a {
  padding: 12px 15px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}

/* Shared footer */
.footer {
  padding: 60px 0 28px;
  background: #111;
  color: #eee;
}

.footgrid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 42px;
}

.footer img,
.footer .logo-full {
  display: block;
  width: 260px;
  height: auto;
  padding: 8px;
  background: #fff;
  filter: none;
  opacity: 1;
}

.footer p {
  max-width: 360px;
  color: #999;
  font-size: 13px;
  line-height: 1.55;
}

.footer h4 {
  color: #999;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer a {
  display: block;
  margin: 10px 0;
  font-size: 13px;
}

.copyright {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid #333;
  color: #777;
  font-size: 11px;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer-grid img {
  width: 250px;
}

.footer-contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 8px 22px;
  margin-left: auto;
}

.footer-contact-links span {
  grid-column: 1 / -1;
  margin-bottom: 3px;
  color: #999;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-contact-links a {
  margin: 0;
  white-space: nowrap;
}

/* RFQ */
.rfq-hero {
  padding: clamp(70px, 10vw, 140px) 0 72px;
  background: #151515;
  color: #fff;
}

.rfq-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
}

.rfq-hero h1 {
  max-width: 880px;
  margin: 18px 0 0;
  font-size: clamp(64px, 9vw, 148px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.rfq-hero-grid > div:last-child {
  padding: 30px;
  background: var(--ultramarine);
}

.rfq-hero-grid p {
  margin: 0 0 36px;
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.2;
}

.rfq-hero-grid span {
  color: #dfe6f7;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.rfq-form-section {
  background: var(--alabaster);
}

.rfq-section-intro {
  margin-bottom: 34px;
}

.rfq-section-intro:not(:first-of-type) {
  margin-top: 78px;
}

.rfq-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 34px;
}

.rfq-form label,
.rfq-products-table th {
  color: #67635d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.rfq-form input,
.rfq-form select {
  width: 100%;
  min-height: 46px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #bdb5a8;
  border-radius: 0;
  background: transparent;
  color: var(--graphite);
  font: inherit;
}

.rfq-form input:focus,
.rfq-form select:focus {
  border-color: var(--ultramarine);
  outline: 2px solid transparent;
  box-shadow: 0 2px 0 var(--ultramarine);
}

.rfq-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.rfq-table-wrap {
  overflow-x: auto;
  border-top: 2px solid var(--graphite);
}

.rfq-products-table {
  width: 100%;
  min-width: 1220px;
  border-collapse: collapse;
}

.rfq-products-table th,
.rfq-products-table td {
  padding: 15px 10px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #cec6ba;
}

.rfq-products-table th:first-child,
.rfq-products-table td:first-child {
  width: 42px;
}

.rfq-products-table th:nth-child(2),
.rfq-products-table td:nth-child(2),
.rfq-products-table th:nth-child(3),
.rfq-products-table td:nth-child(3) {
  min-width: 210px;
}

.rfq-products-table th:nth-child(4),
.rfq-products-table td:nth-child(4) {
  min-width: 190px;
}

.rfq-products-table th:nth-child(5),
.rfq-products-table td:nth-child(5) {
  min-width: 150px;
}

.rfq-row-number {
  color: var(--vermillion);
  font-size: 12px;
  font-weight: 700;
}

.rfq-products-table input,
.rfq-products-table select {
  min-height: 42px;
  padding: 9px 8px;
  border: 0;
  background: #fff;
  font-size: 12px;
}

.rfq-other-field {
  margin-top: 7px;
}

.rfq-file-input {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden;
  opacity: 0;
}

.rfq-file-button {
  display: inline-block;
  padding: 11px 12px;
  border: 1px solid var(--graphite);
  color: var(--graphite) !important;
  cursor: pointer;
  white-space: nowrap;
}

.rfq-file-input:focus + .rfq-file-button {
  outline: 2px solid var(--ultramarine);
  outline-offset: 3px;
}

.rfq-file-status {
  display: block;
  margin-top: 8px;
  color: #77716a;
  font-size: 10px;
}

.rfq-submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 32px;
}

.rfq-submit-row p {
  max-width: 680px;
  margin: 0;
  color: #77716a;
  font-size: 12px;
  line-height: 1.6;
}

.rfq-submit-row button:disabled {
  opacity: 0.65;
}

.rfq-status {
  margin-bottom: 36px;
  padding: 18px 20px;
  border-left: 4px solid var(--ultramarine);
  background: #fff;
  font-weight: 700;
}

.rfq-status.is-error {
  border-color: var(--vermillion);
}

@media (max-width: 760px) {
  .rfq-table-wrap {
    overflow: visible;
  }

  .rfq-products-table,
  .rfq-products-table tbody,
  .rfq-products-table tr,
  .rfq-products-table td {
    display: block;
    width: 100%;
    min-width: 0 !important;
  }

  .rfq-products-table {
    min-width: 0;
  }

  .rfq-products-table thead {
    display: none;
  }

  .rfq-products-table tr {
    padding: 22px 0;
    border-bottom: 2px solid var(--graphite);
  }

  .rfq-products-table td,
  .rfq-products-table td:first-child {
    display: grid;
    grid-template-columns: minmax(92px, 30%) minmax(0, 1fr);
    gap: 16px;
    width: 100%;
    padding: 9px 0;
    border: 0;
  }

  .rfq-products-table td::before {
    content: attr(data-label);
    padding-top: 12px;
    color: #67635d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .rfq-products-table .rfq-row-number::before {
    padding-top: 0;
  }
}

@media (max-width: 1050px) {
  :root {
    --header-height: 104px;
  }

  .brand {
    flex-basis: 235px;
  }

  .brand img,
  .brand .logo-full {
    width: 235px;
  }

  .mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-rfq,
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    border: 0;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
  }

  .menu-toggle {
    border: 1px solid var(--ink);
    background: #fff;
    color: var(--ink);
    cursor: pointer;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    padding: 18px 5vw 26px;
    border-bottom: 1px solid #d8d4cf;
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
  }

  .nav.open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .nav a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 12px 0;
    border-bottom: 1px solid #e8e4df;
  }

  .nav a:nth-child(even) {
    padding-left: 20px;
  }

  .nav .rfq {
    grid-column: 1 / -1;
    justify-content: center;
    margin-top: 14px;
    border-bottom: 0;
  }

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

  .cards .card:nth-child(n) {
    padding-left: 0;
    border-left: 0;
  }

  .cards .card:nth-child(even) {
    padding-left: 24px;
    border-left: 1px solid var(--line);
  }

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

  .sourcing-page .step {
    border-bottom: 1px solid var(--line);
  }

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

  .capability-band div:nth-child(2) {
    border-right: 0;
  }

  .capability-band div:nth-child(3),
  .capability-band div:nth-child(4) {
    border-top: 1px solid #454545;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 98px;
  }

  .brand {
    flex-basis: min(225px, 48vw);
  }

  .brand img,
  .brand .logo-full {
    width: min(225px, 48vw);
  }

  .mobile-rfq {
    padding: 0 11px;
  }

  .menu-toggle {
    padding: 0 12px;
  }

  .hero {
    height: auto;
    min-height: calc(100vh - var(--header-height));
  }

  .homepage .editorial-hero {
    min-height: calc(100vh - var(--header-height));
  }

  .homepage .editorial-hero::after {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2) 70%, rgba(0, 0, 0, 0.08)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.48), transparent 52%);
  }

  .homepage .editorial-hero .hero-content {
    padding-bottom: 18vh;
  }

  .homepage .editorial-hero h1 {
    font-size: clamp(48px, 12vw, 78px);
  }

  .homepage .editorial-hero p {
    max-width: 82%;
    font-size: 16px;
  }

  .hero-copy {
    padding-bottom: 18vh;
  }

  .section {
    padding: 68px 0;
  }

  .intro,
  .feature {
    grid-template-columns: 1fr;
  }

  .feature img {
    height: 52vh;
  }

  .grid,
  .materials,
  .checkgrid {
    grid-template-columns: 1fr;
  }

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

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

  .step,
  .step:not(:first-child),
  .sourcing-page .step,
  .sourcing-page .step:not(:first-child) {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-contact-links {
    margin-left: 0;
  }

  .rfq-hero-grid,
  .rfq-section-intro {
    grid-template-columns: 1fr;
  }

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

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

  h1 {
    font-size: clamp(52px, 15vw, 82px);
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 96px;
  }

  .top {
    padding-right: 4vw;
    padding-left: 4vw;
  }

  .brand {
    flex-basis: min(215px, 52vw);
  }

  .brand img,
  .brand .logo-full {
    width: min(215px, 52vw);
  }

  .mobile-actions {
    gap: 6px;
  }

  .mobile-rfq,
  .menu-toggle {
    min-height: 42px;
    padding: 0 9px;
    font-size: 10px;
  }

  .nav.open {
    grid-template-columns: 1fr;
  }

  .nav a:nth-child(even) {
    padding-left: 0;
  }

  .actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cards,
  .industries,
  .footgrid,
  .capability-band {
    grid-template-columns: 1fr;
  }

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

  .footer-contact-links span {
    grid-column: auto;
  }

  .rfq-hero h1 {
    font-size: clamp(58px, 18vw, 88px);
  }

  .rfq-hero-grid > div:last-child {
    padding: 24px;
  }

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

  .rfq-submit-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .cards .card:nth-child(n) {
    padding: 26px 0;
    border-left: 0;
  }

  .capability-band div,
  .capability-band div:not(:first-child) {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid #454545;
  }

  .capability-band div:nth-child(3),
  .capability-band div:nth-child(4) {
    border-top: 0;
  }
}

/* Industry / application system */
.industry-page {
  --accent: var(--ultramarine);
}

.industries-lead {
  background: var(--ink);
  color: #fff;
}

.industries-lead .lead {
  color: rgba(255, 255, 255, 0.74);
}

.industry-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 660px;
  background: var(--ink);
  color: #fff;
}

.industry-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 110px max(48px, calc((100vw - 1320px) / 2));
}

.industry-hero h1 {
  max-width: 780px;
  margin: 20px 0 28px;
  font-size: clamp(56px, 7.4vw, 122px);
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.industry-hero p {
  max-width: 610px;
  margin: 0 0 36px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.6;
}

.industry-hero img {
  width: 100%;
  height: 100%;
  min-height: 660px;
  object-fit: contain;
  background: #111;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 58px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.industry-card {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: end;
  min-width: 0;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.industry-card img {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 24px;
  object-fit: contain;
  background: #111;
  transition: transform 220ms ease;
}

.industry-card:hover img {
  transform: translateY(-3px);
}

.industry-card span,
.industry-card em {
  color: var(--accent);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.industry-card strong {
  padding-right: 12px;
  font-size: 19px;
  line-height: 1.1;
}

@media (max-width: 1050px) {
  .industry-hero {
    grid-template-columns: 1fr;
  }

  .industry-hero-copy {
    min-height: 540px;
    padding: 100px 5vw 70px;
  }

  .industry-hero img {
    min-height: 0;
    max-height: 620px;
    aspect-ratio: 16 / 10;
  }

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

@media (max-width: 560px) {
  .industry-hero-copy {
    min-height: 480px;
    padding-top: 90px;
  }

  .industry-hero h1 {
    font-size: clamp(44px, 12.5vw, 64px);
  }

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

  .industry-card img {
    aspect-ratio: 16 / 11;
  }
}

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

/* Phase 2: scalable navigation and technical page system */
.nav-system {
  gap: 20px;
}

.nav-group {
  position: static;
}

.nav-trigger {
  padding: 18px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.nav-trigger::after {
  margin-left: 5px;
  content: "+";
  font-weight: 400;
}

.nav-trigger[aria-expanded="true"]::after,
.nav-group:hover .nav-trigger::after {
  content: "−";
}

.mega-panel {
  position: fixed;
  top: var(--header-height);
  right: 0;
  left: 0;
  z-index: 28;
  visibility: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 28px 52px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}

.nav-group:hover .mega-panel,
.nav-trigger[aria-expanded="true"] + .mega-panel {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mega-inner {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 4vw;
  padding-top: 46px;
  padding-bottom: 52px;
  text-transform: none;
}

.mega-intro,
.mega-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mega-intro span,
.mega-column b {
  margin-bottom: 15px;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mega-intro strong {
  max-width: 330px;
  margin-bottom: 26px;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.mega-intro a {
  border-bottom: 1px solid currentColor;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.mega-column a,
.mega-column span,
.mega-column em {
  margin: 0 0 10px;
  color: #333;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
}

.mega-column a:hover {
  color: var(--accent);
}

.mega-column em {
  max-width: 230px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.page-lead {
  padding-top: 150px;
  padding-bottom: 130px;
}

.page-lead h1 {
  max-width: 1100px;
}

.editorial-list {
  margin-top: 62px;
  border-top: 1px solid var(--line);
}

.editorial-list > a,
.editorial-list > div {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.editorial-list span,
.editorial-list em {
  color: var(--accent);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.editorial-list strong {
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.editorial-list > a:hover strong {
  color: var(--accent);
}

.technical-hero h1 {
  max-width: 1050px;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 62px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact-grid > div {
  min-height: 190px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.fact-grid > div:last-child {
  border-right: 0;
}

.fact-grid b,
.fact-grid span {
  display: block;
}

.fact-grid b {
  margin-bottom: 16px;
  font-size: 18px;
}

.fact-grid span {
  color: #555;
  font-size: 14px;
  line-height: 1.55;
}

.table-scroll {
  margin-top: 50px;
  overflow-x: auto;
  border-top: 2px solid var(--ink);
}

table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.46);
  font-size: 14px;
  line-height: 1.45;
}

caption {
  padding: 22px 0 14px;
  text-align: left;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid #d8d0c5;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-note,
.technical-disclaimer {
  max-width: 920px;
  color: #5b5b5b;
  font-size: 13px;
  line-height: 1.6;
}

.technical-disclaimer {
  margin-top: 32px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cross-reference-section .section-copy {
  max-width: 780px;
  margin: 18px 0 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.crossref-table {
  min-width: 900px;
}

.crossref-table td:first-child {
  width: 20%;
  font-weight: 700;
}

.crossref-table a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.crossref-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.55);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 44px;
  border-top: 1px solid var(--line);
}

.related-grid a {
  min-height: 170px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.related-grid a:last-child {
  border-right: 0;
}

.related-grid small,
.related-grid strong {
  display: block;
}

.related-grid small {
  margin-bottom: 38px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.1em;
}

.related-grid strong {
  font-size: 22px;
}

@media (max-width: 1050px) {
  .nav-system {
    gap: 0;
  }

  .nav-system.open {
    display: block;
  }

  .nav-group,
  .nav-system > a {
    border-bottom: 1px solid #e8e4df;
  }

  .nav-trigger,
  .nav-system > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 54px;
    padding: 12px 0;
  }

  .nav-system > a:nth-child(even) {
    padding-left: 0;
  }

  .nav-system > .rfq {
    justify-content: center;
    margin-top: 16px;
    padding: 16px;
  }

  .mega-panel,
  .nav-group:hover .mega-panel,
  .nav-group:focus-within .mega-panel {
    position: static;
    display: none;
    visibility: visible;
    border: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav-trigger[aria-expanded="true"] + .mega-panel {
    display: block;
  }

  .mega-column a,
  .mega-intro a {
    display: block;
    min-height: 0;
    padding: 0;
    border-bottom: 0;
  }

  .mega-inner {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    padding: 18px 0 30px;
  }

  .mega-intro {
    grid-column: 1 / -1;
  }

  .mega-intro strong {
    font-size: 21px;
  }

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

  .fact-grid > div:nth-child(2) {
    border-right: 0;
  }

  .fact-grid > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .mega-inner,
  .fact-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .mega-column {
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .editorial-list > a,
  .editorial-list > div {
    grid-template-columns: 42px 1fr;
    min-height: 78px;
  }

  .editorial-list em {
    display: none;
  }

  .fact-grid > div,
  .fact-grid > div:nth-child(n),
  .related-grid a,
  .related-grid a:last-child {
    min-height: 0;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .page-lead {
    padding-top: 88px;
    padding-bottom: 78px;
  }

  caption {
    font-size: 18px;
  }
}

/* Refined RFQ experience */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.rfq-page {
  --accent: var(--ultramarine);
}

.rfq-form-section {
  padding: clamp(72px, 8vw, 120px) 0;
  background: #f2eee7;
}

.rfq-form-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.32fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: start;
}

.rfq-form-guide {
  position: sticky;
  top: calc(var(--header-height) + 42px);
  padding-top: 8px;
}

.rfq-form-guide h2 {
  max-width: 320px;
  margin: 16px 0 34px;
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.rfq-form-guide ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #cfc8bd;
}

.rfq-form-guide li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #cfc8bd;
  font-size: 13px;
  line-height: 1.35;
}

.rfq-form-guide li span {
  color: var(--ultramarine);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.rfq-direct {
  display: grid;
  gap: 8px;
  margin-top: 34px;
  padding: 22px 0 0;
  border-top: 3px solid var(--ultramarine);
}

.rfq-direct > span,
.rfq-direct small {
  color: #6c675f;
  font-size: 11px;
  line-height: 1.5;
}

.rfq-direct a {
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 800;
}

.rfq-form {
  display: grid;
  gap: 26px;
  min-width: 0;
}

.rfq-panel {
  min-width: 0;
  padding: clamp(28px, 4vw, 54px);
  border-top: 4px solid var(--ultramarine);
  background: #fff;
  box-shadow: 0 16px 42px rgba(31, 35, 40, 0.07);
}

.rfq-panel-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.48fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 40px;
}

.rfq-panel-heading h2 {
  max-width: 660px;
  margin: 12px 0 0;
  font-size: clamp(38px, 4.5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.rfq-panel-heading p {
  margin: 0;
  color: #6c675f;
  font-size: 14px;
  line-height: 1.65;
}

.rfq-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 34px;
}

.rfq-field-country {
  grid-column: 1 / -1;
}

.rfq-form label,
.rfq-input-label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: #5f5a53;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.rfq-form input,
.rfq-form select {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #cfc8bd;
  background: #fff;
  color: var(--ink);
  font: 400 15px/1.35 Arial, Helvetica, sans-serif;
}

.rfq-form input::placeholder {
  color: #918b82;
  opacity: 1;
}

.rfq-form input:hover,
.rfq-form select:hover {
  border-color: #979086;
}

.rfq-form input:focus,
.rfq-form select:focus {
  border-color: var(--ultramarine);
  outline: 3px solid rgba(46, 76, 140, 0.16);
  box-shadow: none;
}

.rfq-items {
  display: grid;
  gap: 14px;
}

.rfq-item {
  min-width: 0;
  border: 1px solid #d5cec3;
  background: #fff;
}

.rfq-item-primary {
  padding: 0;
  border-color: #aaa298;
}

.rfq-item-heading,
.rfq-item summary {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 66px;
  padding: 16px 20px;
  background: #f6f3ed;
}

.rfq-item-heading span,
.rfq-item summary span {
  color: var(--ultramarine);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.rfq-item-heading strong,
.rfq-item summary strong {
  font-size: 15px;
}

.rfq-item summary {
  cursor: pointer;
  list-style: none;
}

.rfq-item summary::-webkit-details-marker {
  display: none;
}

.rfq-item summary em {
  color: var(--ultramarine);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.rfq-item summary em::after {
  display: inline-block;
  margin-left: 8px;
  content: "+";
  font-size: 16px;
  line-height: 1;
}

.rfq-item[open] summary {
  border-bottom: 1px solid #d5cec3;
}

.rfq-item[open] summary em::after {
  content: "−";
}

.rfq-item-fields {
  margin: 0;
  padding: 26px 20px 28px;
  border: 0;
}

.rfq-item-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(105px, 0.42fr) minmax(105px, 0.42fr);
  gap: 22px 18px;
}

.rfq-field-product,
.rfq-field-grade {
  grid-column: span 2;
}

.rfq-field-dimension {
  grid-column: span 2;
}

.rfq-field-delivery {
  grid-column: span 2;
}

.rfq-field-files {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 16px;
  align-items: center;
  padding-top: 4px;
}

.rfq-field-files .rfq-input-label {
  grid-column: 1 / -1;
}

.rfq-file-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: max-content;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff !important;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.rfq-file-button span {
  color: #fff !important;
}

.rfq-file-status {
  margin: 0;
  color: #746e66;
  font-size: 12px;
  line-height: 1.4;
}

.rfq-submit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  margin: 0;
  padding: 30px clamp(28px, 4vw, 54px);
  background: var(--ink);
  color: #fff;
}

.rfq-submit-row strong {
  display: block;
  margin-bottom: 7px;
  font-size: 18px;
}

.rfq-submit-row p {
  max-width: 720px;
  margin: 0;
  color: #bbb6af;
  font-size: 12px;
  line-height: 1.55;
}

.rfq-submit-row .btn {
  min-width: 180px;
  border-color: var(--vermillion);
  background: var(--vermillion);
  color: #fff;
}

@media (max-width: 1050px) {
  .rfq-form-layout {
    grid-template-columns: 1fr;
  }

  .rfq-form-guide {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
    gap: 24px 48px;
  }

  .rfq-form-guide .eyebrow,
  .rfq-form-guide h2 {
    grid-column: 1;
  }

  .rfq-form-guide h2 {
    margin-bottom: 0;
  }

  .rfq-form-guide ol {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .rfq-direct {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .rfq-hero {
    padding: 76px 0 58px;
  }

  .rfq-hero h1 {
    font-size: clamp(54px, 15vw, 78px);
  }

  .rfq-form-guide {
    display: block;
  }

  .rfq-form-guide ol,
  .rfq-direct {
    margin-top: 26px;
  }

  .rfq-panel-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rfq-contact-grid,
  .rfq-item-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rfq-field-product,
  .rfq-field-grade,
  .rfq-field-dimension,
  .rfq-field-delivery,
  .rfq-field-files,
  .rfq-field-country {
    grid-column: 1 / -1;
  }

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

@media (max-width: 560px) {
  .rfq-form-section {
    padding: 60px 0;
  }

  .rfq-panel {
    padding: 28px 20px;
  }

  .rfq-contact-grid,
  .rfq-item-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rfq-contact-grid > *,
  .rfq-item-grid > * {
    grid-column: 1 !important;
  }

  .rfq-item-heading,
  .rfq-item summary {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 10px;
    padding: 15px 14px;
  }

  .rfq-item summary em {
    grid-column: 2;
  }

  .rfq-item-fields {
    padding: 22px 14px 24px;
  }

  .rfq-field-files {
    grid-template-columns: 1fr;
  }

  .rfq-file-button {
    width: 100%;
  }

  .rfq-submit-row {
    padding: 26px 20px;
  }

  .rfq-submit-row .btn {
    width: 100%;
  }
}
