/* ============================================================
   Deyoujiang — home v6
   Design reference: Condair (layout language only).
   Brand colour taken from the Deyoujiang logo (#0174EB) and
   extended into a deeper industrial blue for headings and CTA.
   ============================================================ */

:root {
  --brand: #0E5A87;
  --brand-deep: #0A4568;
  --brand-bright: #0174EB;
  --brand-mid: #1B7FB8;
  --brand-light: #4FA8D4;

  --bg: #FFFFFF;
  --soft: #F5F9FC;
  --soft-2: #EDF4FA;
  --fig: #F3F7FB;

  --ink: #0C1D2A;
  --body: #46596A;
  --muted: #6E8194;
  --faint: #8D9EAD;

  --line: #E3EBF2;
  --line-2: #D3DFE9;

  --deep: #0A3450;
  --deep-2: #071F2F;

  --r: 8px;
  --r-lg: 12px;

  --wrap: 1240px;
  --pad: 104px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.16;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--brand-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 16px;
  background: var(--brand);
  color: #fff;
  z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { background: var(--brand-deep); }
.btn:active { transform: translateY(1px); }

.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.btn--line {
  background: transparent;
  border-color: var(--line-2);
  color: var(--brand);
}
.btn--line:hover { background: var(--soft-2); border-color: var(--brand-bright); }

.btn--wide { width: 100%; }

/* ---------------- nav ---------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-in {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { width: 36px; height: 36px; border-radius: 50%; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt b { font-size: 15px; font-weight: 700; letter-spacing: 0.02em; color: var(--ink); }
.brand-txt i { font-style: normal; font-size: 9.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--faint); }

.nav-links { display: flex; align-items: center; gap: 30px; margin-right: auto; }
.nav-links a {
  font-size: 15px;
  color: var(--body);
  /* "OEM & ODM" 里的空格是天然的换行点，窄屏会折成三行 —— 导航项一律不折 */
  white-space: nowrap;
  transition: color .16s var(--ease);
}
.nav-links a:hover { color: var(--brand-bright); }
/* 抽屉专用的询价入口，桌面端由头部右侧按钮承担，这里不显示 */
.nav-links-cta { display: none; }

.nav-end { display: flex; align-items: center; gap: 14px; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 9px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(118deg, #05263C 0%, #07344F 40%, #0A4567 72%, #0D5580 100%);
  color: #fff;
  padding: 88px 0 150px;
}

/* the real facade sits on the right and is feathered into the blue on the left,
   so the copy column keeps a clean, unbroken brand-colour ground */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  /* close crop on the facade: the wall logo sits in the middle of the right
     half, the blue sky above it blends straight into the brand gradient */
  background: url("assets/hero/factory-1920.webp") 100% 30% / cover no-repeat;
  filter: saturate(.52) brightness(.82) contrast(1.1);
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, .05) 26%, rgba(0, 0, 0, .32) 44%, rgba(0, 0, 0, .78) 64%, #000 80%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, .05) 26%, rgba(0, 0, 0, .32) 44%, rgba(0, 0, 0, .78) 64%, #000 80%);
}

/* grade + vignette: keeps the photo inside the brand palette rather than next to it */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(94deg, rgba(3, 24, 39, .46) 0%, rgba(3, 24, 39, .24) 32%, rgba(3, 24, 39, 0) 56%),
    linear-gradient(180deg, rgba(4, 28, 45, .34) 0%, rgba(4, 28, 45, 0) 26%, rgba(3, 22, 36, .52) 100%),
    radial-gradient(860px 500px at 98% 2%, rgba(120, 200, 240, .14), transparent 60%);
}

.hero-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

/* the copy sits over the blue half; the photo owns the right */
.hero-copy { max-width: 640px; }

/* on mid-size screens the headline used to run past the blue and land on the
   wall logo — cap the column against the viewport, not just a fixed width */
@media (min-width: 861px) and (max-width: 1180px) {
  .hero-copy { max-width: min(600px, 46vw); }
  .hero h1 { font-size: clamp(30px, 3.2vw, 44px); }
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 20px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(33px, 3.55vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.021em;
  max-width: 17em;
}

.hero .lead {
  margin-top: 22px;
  max-width: 46ch;
  font-size: 16.5px;
  line-height: 1.72;
  color: rgba(255, 255, 255, .84);
}

.hero-acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-acts .btn:not(.btn--ghost) { background: #fff; color: var(--brand-deep); }
.hero-acts .btn:not(.btn--ghost):hover { background: #EAF3F9; }

.hero-fig { display: flex; align-items: flex-end; justify-content: center; }
.hero-fig img {
  width: 100%;
  max-width: 620px;
  filter: drop-shadow(0 30px 42px rgba(3, 26, 42, .38));
}

.hero-arc {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -1px;
  height: 112px;
  background: var(--bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 3;
}

/* ---------------- facts ---------------- */

.facts { padding: 34px 0 6px; }

.facts-in {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts-in > div {
  padding: 26px 24px 24px;
  border-left: 1px solid var(--line);
}
.facts-in > div:first-child { border-left: 0; padding-left: 0; }

.facts dt {
  font-size: clamp(22px, 2.1vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--brand);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.facts dd {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #5E7183;
}

/* ---------------- section shell ---------------- */

.sec { padding: var(--pad) 0; }

.kicker {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-bright);
  margin-bottom: 16px;
}
.kicker span {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #5E7183;
  font-variant-numeric: tabular-nums;
}
.kicker--light { color: rgba(255, 255, 255, .78); }
.kicker--light span { color: rgba(255, 255, 255, .45); }

.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head h2 {
  font-size: clamp(27px, 3vw, 39px);
  letter-spacing: -0.02em;
}
.sec-sub {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.72;
  color: var(--body);
  max-width: 62ch;
}

.sec-head--row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 56px;
  align-items: start;
  max-width: none;
}
.sec-head--row .sec-sub { margin-top: 0; padding-top: 21px; }

/* ---------------- 01 product lines ---------------- */

.line-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.line-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.line-card:hover {
  border-color: var(--line-2);
  box-shadow: 0 22px 40px -28px rgba(10, 52, 80, .42);
  transform: translateY(-3px);
}

.line-fig {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 248px;
  padding: 14px 14px 16px;
  background: var(--fig);
  border-bottom: 1px solid var(--line);
}
.line-fig img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .3s var(--ease);
}
.line-card:hover .line-fig img { transform: translateY(-5px); }

.line-fig--thac {
  background: var(--fig);
  border-bottom-color: var(--line);
}
.line-fig--thac img { filter: drop-shadow(0 10px 12px rgba(10, 52, 80, .16)); }

.line-links {
  display: grid;
  align-content: start;
  gap: 8px;
  margin-top: 12px;
  min-height: 46px;
}
.line-links .line-link { margin-top: 0; }
.line-link--alt { color: #5E7183; font-weight: 500; }
.line-link--alt:hover { color: var(--brand); }

.line-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 24px;
}
.line-code {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-bright);
  margin-bottom: 8px;
  min-height: 36px;
  line-height: 1.55;
}
.line-body h3 { font-size: 19px; letter-spacing: -0.01em; }
.line-body h3 a:hover { color: var(--brand-bright); }
.line-body > p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.62;
  color: var(--body);
}
.line-key {
  margin-top: auto !important;
  margin-bottom: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px !important;
  font-weight: 600;
  color: var(--brand) !important;
  font-variant-numeric: tabular-nums;
}
.line-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-bright);
}
.line-link svg {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .18s var(--ease);
}
.line-card:hover .line-link svg { transform: translateX(3px); }

/* ---------------- 02/03 alternating ---------------- */

.alt { padding: calc(var(--pad) - 12px) 0; }

.alt-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}

.alt--rev .alt-fig { order: -1; }

.alt-copy h2 {
  font-size: clamp(26px, 2.8vw, 36px);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.alt-copy > p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
  max-width: 54ch;
}
.alt-copy > p + p { margin-top: 16px; }

.checks { margin-top: 26px; display: grid; gap: 11px; }
.checks li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 13px;
  height: 8px;
  border-left: 2px solid var(--brand-bright);
  border-bottom: 2px solid var(--brand-bright);
  transform: rotate(-45deg);
}

.inputs {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.inputs > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 16px;
  background: #fff;
}
.inputs b {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--brand-bright);
  font-variant-numeric: tabular-nums;
}
.inputs span { font-size: 14px; color: var(--ink); }

/* failure modes: the three points where a standard build comes apart */
.fails { margin-top: 28px; border-top: 1px solid var(--line); }
.fails li { padding: 17px 0; border-bottom: 1px solid var(--line); }
.fails b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.fails span {
  display: block;
  margin-top: 7px;
  font-size: 13.8px;
  line-height: 1.68;
  color: var(--body);
  max-width: 52ch;
}

/* ---------------- 03 selection table ---------------- */

.pick-in {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.pick-copy h2 {
  font-size: clamp(26px, 2.8vw, 36px);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.pick-copy p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--body);
  max-width: 44ch;
}
.pick-copy p + p { margin-top: 14px; }
.pick-copy .btn { margin-top: 26px; }

.pick-tbl table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.pick-tbl th {
  text-align: left;
  padding: 0 18px 12px 0;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6E8295;
  border-bottom: 1px solid var(--ink);
  white-space: nowrap;
}
.pick-tbl td {
  padding: 15px 18px 15px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
  color: var(--body);
}
.pick-tbl td:first-child { color: var(--ink); font-weight: 600; }
.pick-tbl th:last-child, .pick-tbl td:last-child { padding-right: 0; }
.pick-tbl .pick-se { color: var(--brand-bright); font-weight: 600; white-space: nowrap; }
.pick-tbl .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pick-tbl tbody tr:hover td { background: #F7FAFC; }

.pick-note {
  margin-top: 20px;
  font-size: 12.5px;
  line-height: 1.62;
  color: #6E8295;
  max-width: 66ch;
}

.alt-copy .btn { margin-top: 28px; }

.alt-fig { margin: 0; }
.alt-fig img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
  background: var(--soft);
}
.alt-fig figcaption {
  margin-top: 12px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: #5E7183;
}

/* ---------------- 04 conditions ---------------- */

.cond { background: var(--soft); }

.cond-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  overflow: hidden;
}

.cond-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 26px 26px;
  background: #fff;
  transition: background .18s var(--ease);
}
.cond-card:hover { background: var(--soft-2); }

.cond-t { font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.cond-d { font-size: 14px; line-height: 1.6; color: var(--body); }
.cond-go {
  margin-top: auto;
  padding-top: 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-bright);
}

/* residual sectors, kept as links so the six cards stay scannable */
.cond-more {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.cond-more b {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.cond-more a { color: var(--body); text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 1px; }
.cond-more a:hover { color: var(--brand); border-bottom-color: var(--line-2); }

/* ---------------- 05 documents ---------------- */

.docs-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  gap: 72px;
  align-items: center;
}

.docs-copy h2 {
  font-size: clamp(26px, 2.8vw, 36px);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.docs-copy > p { font-size: 16px; line-height: 1.75; max-width: 50ch; }

.doc-list {
  margin: 28px 0 30px;
  border-top: 1px solid var(--line);
}
.doc-list li {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.doc-list b { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.doc-list span { font-size: 14px; line-height: 1.6; color: var(--body); }

.docs-fig {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
  max-width: 400px;
  margin-left: auto;
}
.docs-fig figure {
  margin: 0;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 18px 34px -26px rgba(10, 52, 80, .38);
}
.docs-fig figure:nth-child(2) { margin-top: 38px; }
.docs-fig img { width: 100%; height: auto; border-radius: 3px; }

/* ---------------- 06 support ---------------- */

.sup-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.sup-card {
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.sup-card:hover {
  border-color: var(--line-2);
  box-shadow: 0 18px 32px -26px rgba(10, 52, 80, .4);
}
.sup-no {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brand-bright);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.sup-card h3 { font-size: 17px; margin-bottom: 10px; }
.sup-card p { font-size: 14px; line-height: 1.65; color: var(--body); }

/* terms cards lead with the number, not a sequence index —
   scoped above .sup-card p, which is the more specific selector */
.sup-card p.sup-no--big {
  font-size: clamp(24px, 2.1vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--brand);
  margin-bottom: 10px;
}

.terms-docs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: 48px;
  align-items: center;
  margin-top: 46px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.terms-docs-copy h3 { font-size: 19px; margin-bottom: 12px; }
.terms-docs-copy p { font-size: 14.5px; line-height: 1.7; color: var(--body); max-width: 60ch; margin-bottom: 22px; }
.terms-docs .docs-fig { max-width: 400px; margin-left: 0; }

/* ---------------- 07 industries ---------------- */

.ind { background: var(--soft); }

.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  overflow: hidden;
}

.ind-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 13px;
  row-gap: 5px;
  align-content: center;
  padding: 20px 20px;
  background: #fff;
  transition: background .18s var(--ease);
}
.ind-card:hover { background: var(--brand); }
.ind-card:hover b, .ind-card:hover span, .ind-card:hover i { color: #fff; }
.ind-card b {
  grid-row: span 2;
  align-self: start;
  padding-top: 3px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #5E7183;
  font-variant-numeric: tabular-nums;
}
.ind-card span { font-size: 14.5px; line-height: 1.4; color: var(--ink); }
.ind-card i {
  font-style: normal;
  font-size: 12.5px;
  line-height: 1.4;
  color: #66798A;
}

/* ---------------- 08 cases / album ---------------- */

.album-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin: -20px 0 26px;
}

.album-filter { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  color: var(--body);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}
.chip i {
  font-style: normal;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: #8494A2;
}
.chip:hover { border-color: var(--brand-bright); color: var(--brand); }
.chip.is-on {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.chip.is-on i { color: rgba(255, 255, 255, .66); }

.album-hint {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: #5E7183;
}
.album-hint svg {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round;
}

.album {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 18px;
}

.album-item {
  display: block;
  margin: 0;
  min-width: 0;
}
.album-item[hidden] { display: none; }

.album-shot {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  border-radius: var(--r);
  background: var(--soft);
  overflow: hidden;
  cursor: zoom-in;
}
.album-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s var(--ease);
}
.album-shot:hover img { transform: scale(1.045); }
.album-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(10, 52, 80, .07);
  border-radius: inherit;
  pointer-events: none;
  transition: box-shadow .2s var(--ease);
}
.album-shot:hover::after { box-shadow: inset 0 0 0 1px rgba(1, 116, 235, .34); }

.album-zoom {
  position: absolute;
  right: 9px;
  bottom: 9px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(7, 31, 47, .58);
  opacity: 0;
  transition: opacity .2s var(--ease);
}
.album-zoom svg {
  width: 14px; height: 14px;
  fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round;
}
.album-shot:hover .album-zoom,
.album-shot:focus-visible .album-zoom { opacity: 1; }

.album-item figcaption {
  margin-top: 9px;
  display: grid;
  gap: 3px;
}
.album-item b {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-bright);
}
.album-item span {
  font-size: 13px;
  line-height: 1.45;
  color: #5E7183;
}

.album-foot {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: #5E7183;
}

/* ---------------- lightbox ---------------- */

body.is-locked { overflow: hidden; }

.lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 6vw;
  background: rgba(5, 22, 33, .94);
  backdrop-filter: blur(4px);
}
.lb[hidden] { display: none; }

.lb-fig { margin: 0; display: grid; gap: 16px; justify-items: center; max-width: 100%; }
.lb-fig img {
  max-width: min(1100px, 86vw);
  max-height: 74vh;
  width: auto;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
}
.lb-fig figcaption {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .84);
  text-align: center;
}
.lb-fig i {
  font-style: normal;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, .45);
}

.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
  transition: background .16s var(--ease), border-color .16s var(--ease);
}
.lb-btn:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); }
.lb-btn svg {
  width: 18px; height: 18px;
  fill: none; stroke: #fff; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}
.lb-close { top: 22px; right: 24px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------------- 09 rfq ---------------- */

.rfq {
  background:
    radial-gradient(900px 480px at 12% 10%, rgba(27, 127, 184, .28), transparent 62%),
    var(--deep);
  color: #fff;
  padding: 92px 0;
}

.rfq-in {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 72px;
  align-items: start;
}

.rfq-copy h2 {
  color: #fff;
  font-size: clamp(28px, 3.1vw, 42px);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.rfq-copy > p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .76);
  max-width: 46ch;
}

.rfq-meta {
  margin-top: 36px;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.rfq-meta li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.rfq-meta b {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  padding-top: 2px;
}
.rfq-meta a, .rfq-meta span { font-size: 15.5px; color: #fff; }
.rfq-meta a:hover { color: #9ED4F2; }

.rfq-form {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 30px;
  display: grid;
  gap: 16px;
  box-shadow: 0 34px 62px -34px rgba(2, 20, 32, .58);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field { display: grid; gap: 7px; }
.field > span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #5E7183;
}
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field textarea { resize: vertical; min-height: 104px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #93A3B1; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-bright);
  box-shadow: 0 0 0 3px rgba(1, 116, 235, .14);
}

.form-note { font-size: 13px; color: #5E7183; text-align: center; }
.form-note a { color: var(--brand-bright); font-weight: 600; }

.form-status { font-size: 13.5px; line-height: 1.5; color: var(--brand); text-align: center; min-height: 0; }
.form-status.is-err { color: #B3351F; }

/* ---------------- footer ---------------- */

.foot {
  background: var(--deep-2);
  color: rgba(255, 255, 255, .72);
  padding: 66px 0 30px;
  font-size: 14px;
}

.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.foot-brand img {
  width: 40px; height: 40px;
  border-radius: 50%;
  margin-bottom: 16px;
}
.foot-brand p { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.foot-sec { margin-top: 6px; font-size: 12.5px !important; letter-spacing: 0.04em; color: rgba(255, 255, 255, .48) !important; }

.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 4px;
}
.foot-col a { font-size: 14px; color: rgba(255, 255, 255, .74); transition: color .16s var(--ease); }
.foot-col a:hover { color: #fff; }

.foot-bot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .45);
}
.foot-reg { max-width: 52ch; text-align: right; }

/* ---------------- responsive ---------------- */

@media (max-width: 1080px) {
  :root { --pad: 80px; }

  .nav-links { gap: 22px; }
  .line-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .alt-in { gap: 52px; }
  .docs-in { gap: 48px; }
  .rfq-in { gap: 48px; }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
}

/* 导航补齐 OEM & ODM 后共 5 项，1040 以下是最挤的一档：不收就会让
   "OEM & ODM" 折行、CTA 被切。品牌副行在这里让位给导航项。 */
@media (min-width: 861px) and (max-width: 1040px) {
  .nav-in { gap: 22px; }
  .brand-txt i { display: none; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 14px; }
  .nav-cta { height: 40px; padding: 0 15px; font-size: 13.5px; white-space: nowrap; }
}

@media (max-width: 860px) {
  .nav-in { justify-content: space-between; }
  .burger { display: flex; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 6px 20px 14px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 26px -22px rgba(10, 52, 80, .5);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a:last-child { border-bottom: 0; }

  /* 抽屉里的询价按钮：头部右侧那个在 620 以下被隐藏，手机只能从这里发起询价 */
  .nav-links .nav-links-cta {
    display: block;
    margin: 12px 0 6px;
    padding: 13px 0;
    text-align: center;
    font-weight: 600;
    color: #fff;
    background: var(--brand);
    border-bottom: 0;
    border-radius: 4px;
  }
  .nav-links .nav-links-cta:hover { color: #fff; background: var(--brand-bright); }

  /* 抽屉只会盖住自己那么高，下面露出的 hero 按钮会和抽屉里的 CTA 撞在一起，
     所以下拉打开时把页面其余部分压暗 */
  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 72px 0 0;
    z-index: 49;
    background: rgba(6, 43, 68, .42);
  }

  /* TALL VIEWPORTS: a photo behind the copy reads as grime. Split it instead —
     copy on solid blue, then a real photo band under the buttons. */
  .hero { padding: 60px 0 348px; }
  .hero::before {
    top: auto;
    /* lift the band clear of the white arc, otherwise the arc eats the lower
       third of the facade and only a roofline wedge survives */
    bottom: 44px;
    height: 322px;
    /* cut to the strip's own 2.56:1 ratio, so cover has nothing left to chop */
    background: url("assets/hero/factory-band.webp") 50% 50% / cover no-repeat;
    filter: saturate(.8) brightness(.92) contrast(1.02);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .42) 14%, #000 44%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .42) 14%, #000 44%);
  }
  .hero::after {
    background: linear-gradient(180deg,
      rgba(3, 24, 39, .95) 0%,
      rgba(3, 27, 43, .9) calc(100% - 400px),
      rgba(4, 30, 47, .3) calc(100% - 320px),
      rgba(4, 30, 47, .14) 100%);
  }
  .hero-in {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .hero-fig { order: 2; justify-content: flex-start; }
  .hero-fig img { max-width: 460px; }

  .facts-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-in > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts-in > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .sec-head--row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .sec-head--row .sec-sub { padding-top: 0; }

  .terms-docs { grid-template-columns: minmax(0, 1fr); gap: 30px; align-items: start; }
  .terms-docs .docs-fig { margin-left: 0; }

  .cond-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .album { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .alt-in, .docs-in, .rfq-in, .pick-in { grid-template-columns: minmax(0, 1fr); }
  .alt--rev .alt-in { direction: ltr; }
  .alt-fig { order: -1; }
  .pick-in { gap: 32px; }
  .album { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 14px; }
}

@media (max-width: 620px) {
  :root { --pad: 62px; }
  .wrap { padding: 0 20px; }

  .nav-cta { display: none; }
  .brand-txt i { display: none; }

  .hero { padding: 44px 0 306px; }
  /* the 4:5 crop is taken at full frame height so the facade recedes: parapet,
     three floors of glazing and the wall logo all read on a narrow screen */
  .hero::before {
    height: 276px;
    background-image: url("assets/hero/factory-portrait.webp");
    background-position: 52% 40%;
  }
  .hero h1 { font-size: clamp(28px, 8.2vw, 36px); }
  .hero .lead { font-size: 15.5px; margin-top: 18px; }
  .hero-acts { gap: 10px; margin-top: 26px; }
  .hero-acts .btn { flex: 1 1 auto; padding: 0 18px; font-size: 14.5px; }
  .hero-arc { height: 64px; }

  .facts { padding-top: 22px; }
  .facts-in > div { padding: 18px 14px 16px; }
  .facts dt { font-size: 21px; }
  .facts dd { font-size: 12.5px; }

  .line-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .line-fig { height: 220px; }

  .cond-grid { grid-template-columns: minmax(0, 1fr); }
  .sup-grid { grid-template-columns: minmax(0, 1fr); }
  .ind-grid { grid-template-columns: minmax(0, 1fr); }

  .cond-more { gap: 8px 14px; font-size: 13px; }
  .terms-docs { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 32px; padding-top: 30px; }
  .terms-docs .docs-fig { max-width: 100%; }

  .doc-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .docs-fig { gap: 12px; }
  .docs-fig figure:nth-child(2) { margin-top: 20px; }

  .inputs { grid-template-columns: minmax(0, 1fr); }

  /* table becomes a stack of condition rows on a phone */
  .pick-tbl thead { display: none; }
  .pick-tbl tbody tr { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); }
  .pick-tbl td { display: block; padding: 0; border: 0; }
  .pick-tbl td:first-child { font-size: 14.5px; margin-bottom: 8px; }
  .pick-tbl td::before {
    content: attr(data-l);
    display: inline-block;
    min-width: 72px;
    font-size: 10px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #8A9CAA;
  }
  .pick-tbl td:first-child::before { display: none; }
  .pick-tbl .pick-se, .pick-tbl .num { white-space: normal; }
  .pick-note { margin-top: 16px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .rfq-form { padding: 22px; }
  .rfq-meta li { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }

  .album-bar { margin: -14px 0 20px; gap: 10px; }
  .album-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    scrollbar-width: none;
  }
  .album-filter::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; height: 32px; font-size: 12.5px; padding: 0 12px; }
  .album-hint { display: none; }
  .album { gap: 14px 10px; }
  .album-item figcaption { margin-top: 6px; gap: 2px; }
  .album-item b { font-size: 9.5px; }
  .album-item span {
    font-size: 11.5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .album-foot { font-size: 12.5px; margin-top: 20px; }

  .lb { padding: 0; }
  .lb-fig { gap: 12px; padding: 0 12px 84px; }
  .lb-fig img { max-width: 92vw; max-height: 68vh; }
  .lb-close { top: 14px; right: 14px; width: 40px; height: 40px; }
  .lb-prev, .lb-next { top: auto; bottom: 24px; transform: none; }
  .lb-prev { left: calc(50% - 52px); }
  .lb-next { left: calc(50% + 12px); right: auto; }

  .foot-top { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .foot-bot { flex-direction: column; gap: 8px; }
  .foot-reg { text-align: left; }
}

/* ============================================================
   08 — field rail (centre-stage carousel)
   ============================================================ */

.cases { overflow: hidden; }

.rail-shell {
  --w: 420px;
  --rail-h: 262px;
  position: relative;
  margin-top: 6px;
}

.rail-view {
  position: relative;
  height: var(--rail-h);
  /* the stack is built with real 3D transforms, so the depth comes from here */
  perspective: 1500px;
  perspective-origin: 50% 44%;
  /* forces a composited layer: without it the rounded cards inside the 3D
     context can paint with a washed-out veil (and sometimes not at all) */
  will-change: opacity;
}

.rail {
  position: relative;
  height: var(--rail-h);
  transform-style: preserve-3d;
  touch-action: pan-y;
}

/* every card is the same size and sits on the centre line; JS fans them out
   with translate3d + rotateY, so the depth is geometric rather than a filter trick */
.rail-item {
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--w);
  height: 100%;
  margin-left: calc(var(--w) / -2);
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #0A1A26;
  cursor: pointer;
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 16px 36px -18px rgba(4, 26, 40, .5);
  transition: transform .64s var(--ease), filter .42s var(--ease), opacity .42s var(--ease);
}
.rail.no-anim .rail-item { transition: none; }
.rail-item[hidden] { display: none; }
.rail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.rail-item::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 48%;
  background: linear-gradient(to top, rgba(5, 22, 34, .66), rgba(5, 22, 34, 0));
  opacity: 0;
  transition: opacity .42s var(--ease);
  pointer-events: none;
}
/* depth cue in the pixels: the further from the centre, the darker and flatter */
.rail-item[data-d="1"] { filter: brightness(.84) saturate(.8); }
.rail-item[data-d="2"] { filter: brightness(.66) saturate(.7); }
.rail-item.is-on {
  filter: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14),
              0 34px 64px -26px rgba(4, 26, 40, .55);
}
.rail-item.is-on::after { opacity: 1; }

.rail-tag {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 10px);
  padding: 9px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  color: var(--deep);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .34s var(--ease) .08s, transform .34s var(--ease) .08s;
  pointer-events: none;
}
.rail-item.is-on .rail-tag { opacity: 1; transform: translate(-50%, 0); }

.rail-controls {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
}

.rail-nav {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.rail-nav:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.rail-nav:focus-visible { outline: 2px solid var(--brand-bright); outline-offset: 3px; }
.rail-nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rail-count { margin: 0 0 0 7px; }

.rail-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.rail-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rail-count {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 0;
  font-size: 12.5px;
  letter-spacing: .05em;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.rail-count b {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
}
.rail-count em { font-style: normal; }
.rail-count span { color: var(--line-2); }

.cases .album-foot { margin-top: 26px; }

@media (max-width: 1180px) {
  .rail-shell { --w: 356px; --rail-h: 222px; }
}

@media (max-width: 900px) {
  .rail-shell { --w: 300px; --rail-h: 188px; }
  .rail-view { perspective: 1200px; }
}

@media (max-width: 700px) {
  .rail-shell { --w: 232px; --rail-h: 146px; }
  /* a shorter focal length reads as more depth once the cards get small */
  .rail-view { perspective: 900px; }
  .rail-item { border-radius: 12px; }
  .rail-tag { font-size: 12px; padding: 7px 15px; bottom: 11px; }
  .rail-bar { margin-top: 22px; }
  .rail-count { font-size: 11.5px; }
  .rail-count b { font-size: 13.5px; }
  .cases .album-foot { margin-top: 20px; }
}

@media (max-width: 420px) {
  .rail-shell { --w: 206px; --rail-h: 130px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
