:root {
  color-scheme: light;
  --ink: #18232e;
  --navy: #131d28;
  --deep: #0e171f;
  --muted: #4c5d69;
  --paper: #fff;
  --tint: #f1f4f5;
  --line: #dce3e7;
  --accent: #48c9ed;
  --link: #075b91;
  --max: 1220px;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 750; line-height: 1.09; letter-spacing: -.038em; }
h1 { font-size: clamp(2.55rem, 5.2vw, 4.75rem); }
h2 { font-size: clamp(1.8rem, 3.45vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.05vw, 1.57rem); }
h2 + p, h3 + p { margin-top: .75em; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #0879aa; outline-offset: 4px; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 24px; }
.container { width: min(var(--max), calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 10; padding: .6rem 1rem; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 24px; }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 13px; text-decoration: none; flex: 0 0 auto; }
.brand-mark {
  width: 47px; height: 47px; flex: 0 0 auto; border-radius: 7px;
  background: #fff url("qianbei-logo.jpg") 48.8% 36.4% / 334% auto no-repeat;
}
.brand-type { display: grid; gap: 3px; line-height: 1; }
.brand-type strong { font-size: 1.4rem; letter-spacing: .055em; font-weight: 850; }
.brand-type small { font-size: .55rem; letter-spacing: .118em; font-weight: 750; }
.primary-nav { font-size: .9rem; font-weight: 650; }
.primary-nav-list { display: flex; align-items: center; gap: clamp(8px, .9vw, 18px); margin: 0; padding: 0; list-style: none; }
.nav-item { position: relative; }
.nav-top { display: flex; align-items: center; }
.nav-top > a { display: block; padding: .7rem 0; white-space: nowrap; }
.primary-nav a { text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current] { color: var(--link); }
.nav-toggle {
  display: grid; place-items: center; width: 1.5rem; min-height: 36px; padding: 0;
  background: transparent; color: var(--link); border: 0; border-radius: 3px;
}
.nav-toggle::after {
  content: ""; width: .45rem; height: .45rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
.nav-toggle:hover, .nav-toggle[aria-expanded="true"] { background: #edf8fb; }
.nav-dropdown {
  position: absolute; top: calc(100% + .35rem); right: 0; width: 17rem; padding: .75rem;
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: 4px; box-shadow: 0 12px 26px rgb(19 29 40 / .13); z-index: 1;
}
.nav-dropdown-grouped {
  right: auto; left: 0; width: 29rem; display: grid; grid-template-columns: .8fr 1.2fr; gap: .75rem;
}
.nav-group-title {
  margin: .35rem .5rem .25rem; color: var(--muted); font-size: .7rem;
  font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
}
.nav-dropdown ul { margin: 0; padding: 0; list-style: none; }
.nav-dropdown a { display: block; padding: .45rem .5rem; border-radius: 3px; }
.nav-dropdown a:hover { background: var(--tint); }
.menu-button { display: none; }
.button {
  min-height: 47px; display: inline-flex; justify-content: center; align-items: center; gap: .9rem;
  padding: .65rem 1.05rem; border: 1px solid var(--accent); border-radius: 3px;
  background: var(--accent); color: #172029; text-decoration: none; font-weight: 760; font-size: .9rem;
  line-height: 1.3; text-align: center;
}
.button:hover { background: #7edbf3; border-color: #7edbf3; }
.button:disabled { opacity: .65; cursor: default; }
.button.secondary { background: transparent; color: var(--ink); border-color: #9eabb3; }
.button.secondary:hover { background: #e5eaed; }
.header-quote { flex: 0 0 auto; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.5rem; }
.eyebrow, .card-kicker {
  margin: 0 0 .8rem; color: var(--link); font-size: .73rem; font-weight: 800;
  letter-spacing: .145em; text-transform: uppercase; line-height: 1.4;
}
.lede { max-width: 61ch; color: var(--muted); font-size: clamp(1rem, 1.62vw, 1.22rem); }
.hero {
  position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center;
  min-height: clamp(510px, 42.5vw, 660px); background: #131c25; color: #fff;
}
.hero-photo, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { object-fit: cover; object-position: center 56%; z-index: -2; }
.hero::after {
  content: ""; z-index: -1;
  background: linear-gradient(90deg, #111a24 0%, rgba(17, 26, 36, .94) 16%, rgba(17, 26, 36, .74) 38%, rgba(17, 26, 36, .19) 75%, rgba(17, 26, 36, .06) 100%);
}
.hero-inner { padding-block: 4rem; }
.hero-copy { max-width: 780px; }
.hero h1 { font-weight: 760; }
.hero .eyebrow, .inquiry-band .eyebrow { color: #8ee2f9; }
.hero .lede { color: #e5eaed; max-width: 42ch; margin-top: 1.3rem; }
.hero .actions { margin-top: 1.9rem; }
.hero .button.secondary, .inquiry-band .button.secondary { color: white; border-color: #9aa7b0; }
.hero .button.secondary:hover, .inquiry-band .button.secondary:hover { background: #34434e; }
.section { padding: clamp(3.25rem, 6vw, 5.5rem) 0; }
.tint { background: var(--tint); }
.sourcing { padding-top: clamp(2.85rem, 4.7vw, 4.6rem); }
.section-heading { margin-bottom: 1.65rem; }
.section-heading p:not(.eyebrow) { color: var(--muted); max-width: 68ch; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.4rem; }
.split-heading > p { max-width: 37ch; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.panel { padding: clamp(1.2rem, 2.5vw, 2rem); border: 1px solid var(--line); background: var(--paper); border-radius: 4px; min-width: 0; }
.panel p:not(.eyebrow, .card-kicker) { color: var(--muted); }
.industry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.industry-panel { padding: 0; overflow: hidden; }
.industry-panel img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--tint); }
.industry-panel-content { padding: clamp(1.2rem, 2.5vw, 2rem); }
.route-card { display: flex; flex-direction: column; }
.route-card:is(.original, .own-brand) { border-top: 3px solid var(--accent); padding-top: calc(clamp(1.2rem, 2.5vw, 2rem) - 2px); }
.route-card.own-brand { background: #edf8fb; }
.route-card .text-link { margin-top: auto; }
.text-link { font-weight: 760; color: var(--link); text-underline-offset: .25em; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.route-card .text-link::after { content: " ↗"; }
.media-split { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(1.5rem, 5vw, 4.7rem); align-items: center; }
.feature-image, .page-image { overflow: hidden; border-radius: 4px; background: #ced6dc; }
.feature-image img { width: 100%; height: auto; aspect-ratio: 1.48; object-fit: cover; }
.link-stack { display: grid; border-top: 1px solid #bdc9d0; }
.link-stack a { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: .85rem .1rem; text-decoration: none; font-weight: 750; border-bottom: 1px solid #bdc9d0; }
.link-stack a span, .link-stack a:hover { color: var(--link); }
.inquiry-band { background: var(--navy); color: #fff; padding-block: 3.2rem; }
.inquiry-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.inquiry-band p:not(.eyebrow) { color: #d4dce2; }
.inquiry-band .actions { margin: 0; }
.page-hero { background: var(--tint); border-bottom: 1px solid var(--line); padding-block: clamp(2.75rem, 5.2vw, 5.25rem); }
.page-hero-inner { display: grid; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); }
.page-hero-inner:has(.page-image) { grid-template-columns: 1.12fr 1fr; }
.page-hero h1 { font-size: clamp(2.55rem, 5.2vw, 4.35rem); max-width: 18ch; }
.page-hero .lede { margin-top: 1.15rem; }
.page-image img { width: 100%; height: auto; aspect-ratio: 1.72; object-fit: cover; }
.logo-panel { background: #fff; border: 1px solid var(--line); }
.logo-panel img { aspect-ratio: 1.7; object-fit: contain; }
.page-hero .button.secondary { border-color: #8897a3; }
.panel:target { border-color: var(--link); box-shadow: inset 0 3px var(--accent); }
.checklist { margin: 1rem 0; padding: 0; list-style: none; }
.checklist li { display: grid; grid-template-columns: 1rem 1fr; gap: .65rem; margin-block: .55rem; }
.checklist li::before { content: "✓"; color: var(--link); font-weight: 750; }
.detail-list { margin: 1rem 0 0; }
.detail-list > div { padding-block: .65rem; border-top: 1px solid var(--line); }
.detail-list dt { font-weight: 760; }
.detail-list dd { margin: .2rem 0 0; color: var(--muted); }
.rfq-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; gap: 22px; }
.rfq-sidebar { display: grid; gap: 18px; }
.rfq-sidebar h2 { font-size: 1.5rem; }
.rfq-form h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 1.5rem; }
.field { display: grid; align-content: start; gap: .35rem; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 730; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; padding: .67rem .72rem; color: var(--ink);
  border: 1px solid #95a4ae; background: #fff; border-radius: 3px;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #576773; opacity: 1; }
.field input[type="file"] { background: var(--tint); font-size: .9rem; }
.field input[type="file"]::file-selector-button { border: 1px solid #9aaab4; border-radius: 3px; padding: .28rem .5rem; margin-right: .65rem; background: #fff; color: var(--ink); }
.form-note { font-size: .9rem; }
.form-status { margin: .75rem 0 0; color: #23654b; font-weight: 700; }
.rfq-file-list { overflow-wrap: anywhere; }
.rfq-file-list:empty, .form-status:empty { display: none; }
.site-footer { background: var(--deep); color: #e6ebef; }
.footer-main { display: grid; grid-template-columns: 1.35fr 1fr .8fr; gap: 1.5rem; padding: 3rem 0; }
.footer-main p { margin: .95rem 0 0; font-size: .875rem; color: #bfcbd2; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: .55rem 1.05rem; }
.footer-nav a { width: fit-content; text-decoration: none; font-size: .9rem; }
.footer-nav a:hover { text-decoration: underline; }
.footer-rfq .text-link { color: #8ee2f9; }
.footer-contact { display: grid; gap: .25rem; margin: .7rem 0 0; padding: 0; list-style: none; font-size: .875rem; }
.footer-contact a, .rfq-sidebar dd a { overflow-wrap: anywhere; text-underline-offset: .2em; }
.footer-contact a:hover { color: #8ee2f9; }
.business-address { font-style: normal; }
.footer-rfq .business-address { margin-top: .9rem; font-size: .875rem; color: #bfcbd2; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.15rem; border-top: 1px solid #374551; color: #bfcbd2; font-size: .8rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 1050px) {
  .container { width: calc(100% - 56px); }
  .header-inner { gap: 18px; }
}
@media (max-width: 1020px) {
  .header-inner { min-height: 72px; flex-wrap: wrap; padding-block: .65rem; row-gap: .35rem; }
  .primary-nav { order: 4; flex: 1 0 100%; min-width: 0; padding: 0 .25rem .3rem; }
  .has-menu .primary-nav:not(.is-open) { display: none; }
  .has-menu .menu-button {
    display: inline-flex; gap: .4rem; align-items: center; margin-left: auto; min-height: 42px;
    padding: .45rem .65rem; background: white; border: 1px solid #9ba8b0; border-radius: 3px;
    color: var(--ink); font-weight: 700; font-size: .85rem;
  }
  .primary-nav-list { display: grid; gap: .15rem; }
  .nav-top > a { flex: 1 1 auto; padding: .65rem .35rem; }
  .nav-toggle { width: 44px; min-height: 44px; }
  .nav-dropdown {
    position: static; width: auto; margin: .15rem 0 .35rem; padding: .55rem;
    background: var(--tint); border: 0; border-left: 2px solid var(--accent); box-shadow: none;
  }
  .nav-dropdown a { padding-block: .6rem; }
  .nav-dropdown a:hover { background: var(--paper); }
}
@media (max-width: 890px) {
  .industry-grid, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero::after { background: linear-gradient(90deg, rgba(17,26,36,.96), rgba(17,26,36,.75) 50%, rgba(17,26,36,.25)); }
  .split-heading { display: block; }
  .split-heading > :last-child { display: block; margin-top: .65rem; }
  .footer-main { grid-template-columns: 1.25fr 1fr; }
  .footer-rfq { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .grid-3, .media-split, .page-hero-inner:has(.page-image), .rfq-layout { grid-template-columns: 1fr; }
  .inquiry-inner { display: grid; }
  .page-image img { aspect-ratio: 2; }
}
@media (max-width: 540px) {
  .industry-grid, .grid-4 { grid-template-columns: 1fr; }
  .container { width: calc(100% - 36px); }
  .header-inner { gap: 10px; }
  .brand { gap: 8px; }
  .brand-type strong { font-size: 1.24rem; }
  .brand-type small { font-size: .49rem; }
  .brand-mark { width: 40px; height: 40px; }
  .header-quote { display: none; }
  .nav-dropdown-grouped { grid-template-columns: 1fr; }
  .hero { min-height: 525px; align-items: end; }
  .hero-photo { object-position: 64% center; }
  .hero::after { background: linear-gradient(0deg, #111a24 2%, rgba(17,26,36,.92) 34%, rgba(17,26,36,.45) 77%, rgba(17,26,36,.16)); }
  .hero-inner { padding-block: 5.5rem 2.5rem; }
  .hero h1 { font-size: clamp(2.55rem, 10.4vw, 3.5rem); }
  .hero h1 br { display: none; }
  .grid-2, .form-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; gap: .5rem; }
}
