@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/barlow-condensed-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/barlow-condensed-700-latin.woff2") format("woff2");
}

:root {
  --bg-white: #FFFFFF;
  --bg-soft: #F7F7F5;
  --navy: #111E3C;
  --navy-dark: #0B1326;
  --red: #D6331F;
  --red-hover: #B82614;
  --red-text: #BE2816;
  --charcoal: #222630;
  --ink: #141923;
  --ink-muted: #5A6272;
  --ink-light: #F7F7F5;
  --ink-light-muted: #C8D0DF;
  --border: #E6E8EE;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-display: "Barlow Condensed", -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 14px 32px rgba(0, 0, 0, 0.09);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

[id] {
  scroll-margin-top: 86px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

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

button, input, select {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: min(1220px, 100%);
  margin: 0 auto;
}

.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--navy), var(--red));
  z-index: 120;
  transition: width 0.08s linear;
}

/* Pure White Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark__logo {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: contain;
}

.brand-mark__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-mark__name {
  font-weight: 800;
  font-size: 17px;
  color: var(--navy);
}

.brand-mark__sub {
  font-size: 11px;
  color: var(--ink-muted);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  z-index: 96;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 13px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--radius-sm);
  transition: color 0.16s ease, background 0.16s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--navy);
  background: rgba(31, 51, 102, 0.06);
}

.nav-link.is-active {
  box-shadow: inset 0 -2px 0 var(--red);
}

.nav-drop,
.mega-menu {
  position: absolute;
  top: 100%;
  margin-top: 6px;
  left: 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 95;
}

.nav-drop::before,
.mega-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -6px;
  height: 6px;
}

.nav-desktop .nav-item:last-child > .nav-drop {
  left: auto;
  right: 0;
}

.nav-drop {
  min-width: 240px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-drop a {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--ink);
}

.nav-drop a:hover {
  background: var(--bg-soft);
  color: var(--red-text);
}

.nav-item:hover > .nav-drop,
.nav-item:focus-within > .nav-drop,
.nav-item.is-open > .nav-drop,
.nav-item:hover > .mega-menu,
.nav-item:focus-within > .mega-menu,
.nav-item.is-open > .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-menu {
  width: min(780px, calc(100vw - 32px));
  left: -80px;
  padding: 20px;
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
}

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

.mega-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.mega-card:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
}

.mega-card__meta strong {
  display: block;
  font-size: 13px;
  color: var(--navy);
}

.mega-card__meta span {
  display: block;
  font-size: 11.5px;
  color: var(--ink-muted);
  margin-top: 2px;
}

.mega-filter {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

.mega-filter__title {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
}

.mega-filter__group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.mega-filter__label {
  width: 100%;
  font-size: 12px;
  color: var(--ink-muted);
}

.chip-check {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.chip-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip-check span {
  display: inline-block;
  padding: 5px 10px;
  font-size: 12.5px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--ink-muted);
  background: var(--bg-white);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.chip-check input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.mega-filter__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.mega-filter__all {
  font-size: 12px;
  color: var(--red-text);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--red-text);
  font-variant-numeric: tabular-nums;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 6px;
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--bg-white);
  color: var(--ink);
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  color: var(--navy);
}

.mobile-drawer__close {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 6px;
  cursor: pointer;
}

.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-drawer__nav > a {
  font-size: 16px;
  font-weight: 700;
}

.mobile-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.mobile-group__title {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--red-text);
}

.mobile-group a {
  font-size: 14px;
  color: var(--ink-muted);
  padding: 4px 0;
}

.mobile-drawer__foot {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
  white-space: nowrap;
}

.btn--sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn--red,
.btn--navy {
  position: relative;
  overflow: hidden;
}

.btn--red::after,
.btn--navy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.22) 50%, transparent 75%);
  transform: translateX(-110%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.btn--red:hover::after,
.btn--navy:hover::after {
  transform: translateX(110%);
}

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

.btn--red:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}

.btn--navy {
  background: var(--navy);
  color: #fff;
}

.btn--navy:hover {
  background: var(--navy-dark);
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn--outline-dark {
  background: transparent;
  border-color: #BCC4D4;
  color: var(--ink);
}

.btn--outline-dark:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.link-red {
  color: var(--red-text);
  font-weight: 600;
  font-size: 14px;
}

.link-red:hover {
  text-decoration: underline;
}

/* Native Aspect Ratio Frames */
.frame-1x1 {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #ECEEF2;
}

.frame-4x3 {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #ECEEF2;
}

.frame-3x4 {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #ECEEF2;
}

.frame-9x16 {
  aspect-ratio: 9 / 16;
  max-width: 260px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #15234A;
}

.ratio-1x1,
.ratio-4x3,
.ratio-3x4,
.ratio-9x16 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ratio-qr {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
}

/* Sections & Typography */
.section {
  padding: 58px 20px;
}

.section-dash {
  display: block;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--red) 0 22px, var(--border) 22px 56px);
  margin: 10px 0 14px;
}

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

.section--soft {
  background: var(--bg-soft);
}

.section-head {
  margin-bottom: 34px;
}

.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

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

.section-head--center .section-sub {
  margin: 0 auto;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.section-sub {
  margin: 0;
  max-width: 68ch;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.7;
}

.badge {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: #F2F4F8;
  color: var(--navy);
  border: 1px solid rgba(17, 30, 60, 0.12);
}

/* Legacy Full-Width Hero Carousel (Pure Image Crossfade, Zero Overlap) */
.legacy-hero {
  position: relative;
  width: 100%;
  padding: 10px 16px;
  overflow: hidden;
  background-color: #0D162E;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    radial-gradient(ellipse 80% 90% at 50% 45%, rgba(45, 76, 150, 0.42), transparent 70%),
    linear-gradient(135deg, #0B1328 0%, #16264F 100%);
  background-size: 24px 24px, 100% 100%, 100% 100%;
}

.hero-carousel {
  position: relative;
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  aspect-ratio: 1600 / 565;
  overflow: hidden;
  background: var(--navy-dark);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.legacy-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.legacy-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.legacy-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.045);
  transition: transform 5.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.legacy-slide.is-active .legacy-hero-img {
  transform: scale(1);
}

.legacy-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(15, 24, 48, 0.56);
  backdrop-filter: blur(8px);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.legacy-arrow:hover {
  background: rgba(200, 60, 38, 0.92);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-50%) scale(1.06);
}

.legacy-arrow--prev { left: 16px; }
.legacy-arrow--prev svg { transform: rotate(90deg); }
.legacy-arrow--next { right: 16px; }
.legacy-arrow--next svg { transform: rotate(-90deg); }

.hero-bottom-scrim {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 54px;
  background: linear-gradient(180deg, transparent, rgba(10, 17, 36, 0.52));
  z-index: 4;
  pointer-events: none;
}

.hero-counter {
  position: absolute;
  right: 18px;
  bottom: 12px;
  z-index: 5;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(13, 22, 46, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-display);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.hero-counter strong {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.legacy-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
}

.hero-dot {
  position: relative;
  width: 30px;
  height: 4px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}

.hero-dot.is-active {
  width: 46px;
  background: rgba(255, 255, 255, 0.35);
}

.hero-dot.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red);
  transform-origin: left;
  animation: dot-progress 4.5s linear forwards;
}

.hero-carousel.is-paused .hero-dot.is-active::after {
  animation-play-state: paused;
}

@keyframes dot-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Flush Composite Intro + 3-KPI + Hotline Band */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.flush-intro-band {
  background-color: #F7F9FC;
  background-image:
    radial-gradient(rgba(31, 51, 102, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #FFFFFF 0%, #F4F7FC 100%);
  background-size: 20px 20px, 100% 100%;
  border-bottom: 1px solid var(--border);
  padding: 24px 16px;
}

.flush-intro-grid {
  display: grid;
  grid-template-columns: 0.65fr 1.65fr 0.65fr;
  gap: 22px;
  align-items: center;
}

.flush-intro-grid > * {
  animation: hero-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.flush-intro-grid > *:nth-child(2) { animation-delay: 80ms; }
.flush-intro-grid > *:nth-child(3) { animation-delay: 160ms; }

.flush-intro__photo {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.flush-intro__photo .frame-4x3 {
  border-radius: 0;
}

.flush-intro__photo .frame-4x3 img {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.flush-intro__photo:hover .frame-4x3 img {
  transform: scale(1.05);
}

.intro-photo-cap {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 4px;
  background: rgba(13, 22, 46, 0.84);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.intro-photo-cap i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
}

.flush-intro__body h1 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.flush-intro__body .hero-lead {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--ink-muted);
}

.flush-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.flush-kpi {
  padding-right: 22px;
  font-variant-numeric: tabular-nums;
}

.flush-kpi + .flush-kpi {
  padding-left: 22px;
  border-left: 1px solid var(--border);
}

.flush-kpi strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--red-text);
  line-height: 1.1;
}

.flush-kpi span {
  font-size: 12.5px;
  color: var(--ink-muted);
}

.flush-intro__hotline {
  background: linear-gradient(145deg, #132044 0%, #1F3366 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 16px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #fff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
}

.hotline-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

.hotline-tel {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.hotline-tel:hover {
  color: #FFD2C9;
}

.hotline-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #DCFCE7;
  background: rgba(22, 163, 74, 0.22);
  border: 1px solid rgba(134, 239, 172, 0.35);
  padding: 2px 8px;
  border-radius: 999px;
}

.hotline-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
}

.hotline-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.flush-intro__hotline .btn--red {
  width: 100%;
  justify-content: center;
}

.hotline-copy-link {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
}

.hotline-copy-link:hover {
  color: #fff;
  text-decoration: underline;
}

.capability-ribbon {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 11px 16px;
}

.capability-ribbon__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.capability-ribbon__list span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.capability-ribbon__list svg {
  color: var(--red);
  flex-shrink: 0;
}

/* Compact Legacy Sections & Scroll Reveal */
.legacy-section {
  padding: 54px 20px;
}

.legacy-section--white { background: var(--bg-white); }
.legacy-section--gray { background: var(--bg-soft); }

[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-ready [data-reveal] .legacy-prd-tile {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  transition-delay: calc(var(--stagger, 0) * 60ms);
}

.js-ready [data-reveal].is-visible .legacy-prd-tile {
  opacity: 1;
  transform: translateY(0);
}

html.js-ready [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(18px);
}

html.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.legacy-heading {
  text-align: center;
  margin-bottom: 32px;
}

.legacy-heading h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.legacy-heading--light h2 {
  color: #fff;
}

.heading-dash {
  display: inline-block;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--red) 0 22px, var(--border) 22px 56px);
  margin-top: 10px;
}

.heading-dash--light {
  background: linear-gradient(90deg, var(--red) 0 22px, rgba(255, 255, 255, 0.35) 22px 56px);
}

.legacy-center-action {
  text-align: center;
  margin-top: 28px;
}

.btn-outline-rect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--navy);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-outline-rect:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-rect--light {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-outline-rect--light:hover {
  background: #fff;
  color: var(--navy);
}

/* 50/50 Company Intro with [1][2][3][4] Workshop Carousel */
.intro-split-50 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.intro-carousel__stage {
  position: relative;
  border-radius: 0;
  background: transparent;
}

.intro-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.intro-slide.is-active {
  opacity: 1;
  z-index: 2;
}

.intro-slide__cap {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 140px);
  padding: 7px 12px;
  background: rgba(16, 26, 54, 0.85);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  z-index: 3;
}

.intro-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 32px;
  height: 32px;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.intro-arrow--prev { left: 8px; }
.intro-arrow--prev svg { transform: rotate(90deg); }
.intro-arrow--next { right: 8px; }
.intro-arrow--next svg { transform: rotate(-90deg); }

.intro-nums {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  display: flex;
  gap: 4px;
}

.intro-num {
  width: 26px;
  height: 26px;
  border: 0;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.intro-num.is-active {
  background: var(--red);
}

.intro-split-50__text p {
  margin: 0 0 14px;
  color: var(--ink-muted);
  font-size: 14.5px;
}

/* 3x2 Legacy Product Grid */
.home-prd-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

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

.legacy-prd-tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease, border-color 0.24s ease;
}

.legacy-prd-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(17, 30, 60, 0.22);
}

.legacy-prd-tile__img {
  position: relative;
  display: block;
  overflow: hidden;
}

.tile-series-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 3px 8px;
  background: rgba(21, 35, 74, 0.88);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.legacy-prd-tile__img .frame-1x1 {
  border-radius: 0;
}

.legacy-prd-tile__img img {
  transition: transform 0.35s ease;
}

.legacy-prd-tile:hover .legacy-prd-tile__img img {
  transform: scale(1.05);
}

.legacy-prd-tile__cap {
  padding: 12px 12px 14px;
  text-align: center;
}

.legacy-prd-tile__cap h3 {
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--navy);
}

.legacy-prd-tile__cap p {
  margin: 0 0 10px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.tile-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.tile-detail-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
}

.tile-detail-link:hover {
  color: var(--red-text);
}

.btn-add-mini {
  padding: 4px 10px;
  border: 1px solid var(--navy);
  border-radius: 2px;
  background: #fff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.btn-add-mini:hover,
.btn-add-mini.is-added {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* Continuous OEM 7-Brand Marquee */
.oem-marquee-band {
  background: linear-gradient(135deg, #131F40 0%, #1E3264 100%);
  padding: 38px 0;
  overflow: hidden;
}

.oem-marquee {
  overflow-x: auto;
  scrollbar-width: none;
  width: 100%;
  max-width: 1520px;
  margin: 8px auto 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.oem-marquee::-webkit-scrollbar {
  display: none;
}

.oem-marquee__track {
  display: flex;
  gap: 14px;
  width: max-content;
  margin: 0 auto;
}

.oem-marquee__item {
  width: 174px;
  height: 98px;
  background: #fff;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-contain {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  display: block;
}

/* Flush Business 4-Cards + Supply-Chain 5-Col Overlay */
.biz-flush-upper {
  background: #F6F7FA;
  padding: 38px 16px;
}

.biz-4-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.biz-4-tile {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  padding: 26px 16px;
  text-align: center;
  transition: transform 0.2s ease, border-top-color 0.2s ease, box-shadow 0.2s ease;
}

.biz-4-tile:hover {
  transform: translateY(-3px);
  border-top-color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.biz-4-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(31, 51, 102, 0.08);
  color: var(--navy);
  margin-bottom: 12px;
}

.biz-4-tile h3 {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--navy);
}

.biz-4-tile p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-muted);
}

.supply-overlay-band {
  padding: 42px 16px;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.supply-5-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.supply-5-col {
  position: relative;
  background: rgba(15, 24, 48, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 30px 14px 18px;
  text-align: center;
}

.supply-5-col__icon {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.supply-5-col h3 {
  margin: 4px 0 6px;
  font-size: 16px;
  color: #fff;
}

.supply-5-col p {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-light-muted);
}

/* ADVANTAGE Calligraphy Header + 4x2 Dark-Photo Overlay Grid */
.advantage-calligraphy {
  text-align: center;
  margin-bottom: 24px;
}

.advantage-calligraphy__box {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid rgba(31, 51, 102, 0.35);
  outline: 1px solid rgba(31, 51, 102, 0.16);
  outline-offset: 5px;
  background: #fff;
}

.advantage-calligraphy__box h2 {
  margin: 0;
  font-size: 24px;
  color: var(--navy);
}

.advantage-calligraphy__box h2 span {
  color: var(--red-text);
  font-family: var(--font-display);
  font-size: 30px;
}

.advantage-calligraphy__slogan {
  margin: 4px 0 0;
  font-size: 34px;
  font-weight: 900;
  color: var(--red-text);
  letter-spacing: 0.08em;
  line-height: 1.15;
}

.reasons-overlay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.reason-overlay-card {
  position: relative;
  aspect-ratio: 290 / 300;
  overflow: hidden;
  background: var(--navy-dark);
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s ease;
}

.reason-overlay-card:hover {
  border-bottom-color: var(--red);
}

.reason-num {
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
}

.reason-overlay-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.35s ease;
}

.reason-overlay-card:hover .reason-overlay-bg {
  transform: scale(1.07);
}

.reason-overlay-scrim {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 20px 16px;
  background: linear-gradient(180deg, rgba(16, 26, 54, 0.5) 0%, rgba(16, 26, 54, 0.86) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.reason-overlay-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(200, 60, 38, 0.9);
  color: #fff;
  margin-bottom: 10px;
}

.reason-overlay-scrim h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #fff;
}

.reason-overlay-scrim p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

/* OUR STORY Flush Split */
.our-story-band {
  background: #F5F6F8;
  padding: 38px 16px;
}

.our-story-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: center;
}

.our-story__media .frame-4x3 {
  position: relative;
  border-radius: 0;
}

.media-badge-tag {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 6px 12px;
  background: rgba(21, 35, 74, 0.86);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.our-story__copy h2 {
  margin: 0 0 12px;
  font-size: 26px;
  color: var(--navy);
}

.our-story__copy p {
  margin: 0 0 10px;
  color: var(--ink-muted);
  font-size: 14.5px;
}

.our-story__en {
  font-size: 12.5px !important;
  color: var(--ink-muted) !important;
}

.our-story__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 16px 0 20px;
}

.our-story__stats div {
  background: #fff;
  border: 1px solid var(--border);
  padding: 12px 14px;
}

.our-story__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--red-text);
  line-height: 1.1;
}

.our-story__stats span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-top: 4px;
}

h1 {
  font-size: 34px;
  line-height: 1.2;
}

/* Page Hero (Subpages) */
.page-hero {
  background-color: var(--navy-dark);
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 80% 42%, rgba(214, 51, 31, 0.14), transparent 52%),
    linear-gradient(135deg, #091022 0%, #122144 58%, #182B55 100%);
  background-size: 24px 24px, 100% 100%, 100% 100%;
  color: #fff;
  padding: 44px 20px 48px;
}

.page-hero__eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #FFB4A6;
  font-weight: 700;
}

.page-facts-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  padding: 4px 0;
}

.page-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.page-fact {
  padding: 18px 20px;
  border-right: 1px solid var(--border);
}

.page-fact:last-child {
  border-right: 0;
}

.page-fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 23px;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.page-fact span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-top: 3px;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.page-hero__grid--single {
  grid-template-columns: 1fr;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: 36px;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.page-hero .hero-lead {
  margin: 0 0 20px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 640px;
}

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

.page-hero .badge {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  margin-bottom: 10px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--ink-light-muted);
}

.breadcrumbs a:hover {
  color: #fff;
}

/* Subpages shared .product-grid-3x2 */
.product-grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.legacy-prd-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease, border-color 0.24s ease;
}

.legacy-prd-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(17, 30, 60, 0.22);
}

.legacy-prd-card__media {
  position: relative;
  display: block;
}

.legacy-prd-card__media .frame-1x1 {
  border-radius: 0;
}

.product-card__badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(21, 35, 74, 0.88);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.legacy-prd-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.legacy-prd-card__body h3 {
  margin: 0;
  font-size: 18px;
  color: var(--navy);
}

.legacy-prd-card__body p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.prd-moq-line {
  font-weight: 700;
  color: var(--red-text) !important;
}

.legacy-prd-card__foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.story-legacy-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
}

.story-legacy-copy h2 {
  margin: 0 0 12px;
  font-size: 28px;
  color: var(--navy);
}

.story-legacy-copy p {
  margin: 0 0 16px;
  color: var(--ink-muted);
}

.story-3-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.story-3-stats div {
  background: #fff;
  border: 1px solid var(--border);
  padding: 14px;
}

.story-3-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--red-text);
  line-height: 1.1;
}

.story-3-stats span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-top: 4px;
}

.video-showcase-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 32px;
  align-items: center;
}

.video-showcase-copy h2 {
  margin: 0 0 12px;
  font-size: 28px;
  color: var(--navy);
}

.video-showcase-copy p {
  margin: 0 0 16px;
  color: var(--ink-muted);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 8px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.check-list svg {
  color: var(--red-text);
  flex-shrink: 0;
  margin-top: 4px;
}

/* Close Band */
.close-band {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #fff;
}

.close-band__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.close-band__copy h2 {
  margin: 0 0 6px;
  font-size: 26px;
}

.close-band__sub {
  margin: 0;
  color: var(--ink-light-muted);
  max-width: 620px;
}

.close-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Product Detail, Catalog, Pricing, Tables, FAQs */
.prd-detail-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.prd-gallery {
  max-width: 480px;
  width: 100%;
  position: sticky;
  top: 88px;
}

.prd-gallery__stage {
  position: relative;
}

.stage-zoom-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 2px;
  background: rgba(21, 35, 74, 0.84);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.stage-zoom-btn:hover {
  background: var(--red);
  border-color: var(--red);
}

.prd-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.prd-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.prd-thumb.is-active {
  border-color: var(--red);
}

.prd-meta-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.prd-meta-pill {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13.5px;
}

.prd-points {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 8px;
}

.prd-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
}

.prd-points svg {
  color: #FF8E7B;
  flex-shrink: 0;
  margin-top: 4px;
}

.prd-order-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
  padding: 18px;
}

.prd-order-box__title {
  margin: 0 0 12px;
  font-size: 13.5px;
  font-weight: 700;
}

.prd-order-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.prd-order-box__sub {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--ink-light-muted);
}

.prd-order-box__sub a {
  color: #fff;
  text-decoration: underline;
}

.catalog-toolbar {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toolbar-search-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #C9D1E0;
  border-radius: 2px;
  background: #fff;
  color: var(--ink-muted);
}

.search-input-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 9px 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}

.chip-tag {
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--bg-soft);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.chip-tag:hover,
.chip-tag.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.empty-filter-box {
  background: #fff;
  border: 1px dashed #C9D1E0;
  padding: 28px 16px;
  text-align: center;
  margin-top: 16px;
}

.empty-filter-box p {
  margin: 0 0 12px;
  color: var(--ink-muted);
}

.toolbar-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.toolbar-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-muted);
}

.toolbar-count {
  margin: 0;
  font-size: 13px;
  color: var(--ink-muted);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tab {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--ink-muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.filter-tab:hover {
  border-color: rgba(17, 30, 60, 0.3);
  color: var(--navy);
}

.filter-tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.calc-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.calc-form {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: grid;
  gap: 16px;
  min-width: 0;
}

.calc-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.calc-field label,
.calc-label {
  font-size: 13.5px;
  font-weight: 700;
}

.calc-field select,
.calc-field input[type="number"] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid #C9D1E0;
  background: #fff;
  color: var(--ink);
}

.calc-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.calc-output {
  background: var(--navy-dark);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  min-width: 0;
}

.calc-output h3 {
  margin: 0 0 14px;
  font-size: 20px;
}

.calc-metrics {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}

.calc-metrics li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13.5px;
}

.calc-metrics span {
  color: var(--ink-light-muted);
}

.calc-summary-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.calc-summary-label {
  margin: 0 0 8px;
  font-size: 12.5px;
  color: #FFD2C9;
}

.calc-summary-pre {
  margin: 0 0 12px;
  white-space: pre-wrap;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
}

.calc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cards-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

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

.info-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.info-card--accent {
  border-top: 3px solid var(--navy);
}

.info-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.info-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 2px;
  background: rgba(31, 51, 102, 0.08);
  color: var(--navy);
}

.info-card__num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #465578;
}

.info-card h3 {
  margin: 8px 0;
  font-size: 18px;
  color: var(--navy);
}

.info-card p {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--ink-muted);
}

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

.twelve-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 13.5px;
}

.twelve-idx {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--red-text);
  font-size: 16px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-step {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.process-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--red-text);
}

.process-step h3 {
  margin: 6px 0;
  font-size: 17px;
  color: var(--navy);
}

.process-step p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.spec-table th,
.spec-table td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.spec-table tbody tr {
  transition: background-color 0.15s ease;
}

.spec-table tbody tr:hover {
  background: #FAFAF8;
}

.spec-table thead th {
  background: var(--bg-soft);
  color: var(--navy);
  font-size: 13px;
  letter-spacing: 0.03em;
  font-weight: 700;
  white-space: nowrap;
}

.spec-table tbody th {
  font-weight: 600;
  min-width: 150px;
}

.subtable-title {
  margin: 26px 0 12px;
  font-size: 18px;
  color: var(--navy);
}

.table-footnote {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--ink-muted);
}

.cnas-card {
  margin-top: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
}

.cnas-card h3 {
  margin: 8px 0 10px;
  color: var(--navy);
}

.cnas-card p {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--ink-muted);
}

.cnas-card__boundary {
  color: var(--red-text) !important;
  font-weight: 600;
}

.gallery-4x3-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.gallery-4x3-bento .sample-4x3-card:nth-child(1),
.gallery-4x3-bento .sample-4x3-card:nth-child(2) {
  grid-column: span 3;
}

.gallery-4x3-bento .sample-4x3-card:nth-child(n+3) {
  grid-column: span 2;
}

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

.sample-4x3-card,
.sample-3x4-card {
  margin: 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.gallery-zoom-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-zoom-pill {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  background: rgba(21, 35, 74, 0.85);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.sample-4x3-card .frame-4x3,
.sample-3x4-card .frame-3x4 {
  border-radius: 0;
}

.sample-4x3-card figcaption,
.sample-3x4-card figcaption {
  padding: 12px 14px;
  font-size: 13px;
}

.pain-grid {
  display: grid;
  gap: 16px;
}

.pain-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-white);
}

.pain-card__bad,
.pain-card__good {
  padding: 18px 20px;
}

.pain-card__bad {
  background: #F9FAFC;
  border-right: 1px solid var(--border);
}

.pain-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.pain-tag--good {
  color: var(--red-text);
}

.pain-card p {
  margin: 0;
  font-size: 14px;
}

.qa-index-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.qa-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qa-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.qa-card__num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #465578;
}

.qa-card h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
  color: var(--navy);
}

.qa-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted);
}

.article-wrap {
  max-width: 880px;
}

.article-steps {
  padding-left: 20px;
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.article-toc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-left: 3px solid var(--navy);
  margin-bottom: 22px;
  font-size: 13.5px;
}

.article-toc a {
  color: var(--navy);
  font-weight: 600;
}

.article-toc a:hover {
  color: var(--red-text);
  text-decoration: underline;
}

.article-steps--cards {
  list-style: none;
  padding-left: 0;
}

.article-steps--cards li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.step-idx {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--red-text);
  line-height: 1.2;
}

/* Fabric Wizard, Presets, Size Guide, Roster Checker, Base & Trust */
.fabric-wizard {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  padding: 20px;
  margin-bottom: 28px;
}

.fabric-wizard__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.fabric-wizard__head h2 {
  margin: 0 0 4px;
  font-size: 21px;
  color: var(--navy);
}

.fabric-wizard__head p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.fabric-wizard__controls {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.fabric-wizard__controls label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.fabric-wizard__controls select {
  padding: 9px 12px;
  border: 1px solid #C9D1E0;
  border-radius: 2px;
  background: #fff;
}

.fabric-wizard__output {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 14px;
  font-size: 13.5px;
}

.wizard-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.wizard-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: #fff;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 700;
}

.calc-presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.calc-basket-sync {
  margin: 0 0 12px;
  padding: 8px 12px;
  background: rgba(200, 60, 38, 0.25);
  border: 1px solid rgba(255, 180, 166, 0.45);
  font-size: 12.5px;
  color: #FFD2C9;
}

.wholesale-calc-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: #FFF6F4;
  border: 1px solid #F5C7BE;
  border-left: 4px solid var(--red);
  margin-bottom: 18px;
}

.wholesale-calc-strip strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
}

.wholesale-calc-strip span {
  font-size: 13px;
  color: var(--ink-muted);
}

.base-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease, border-color 0.24s ease;
}

.base-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(17, 30, 60, 0.2);
}

.base-card .frame-4x3 {
  border-radius: 0;
}

.base-card .frame-4x3 img {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.base-card:hover .frame-4x3 img {
  transform: scale(1.04);
}

.base-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.base-card__body h3 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  letter-spacing: -0.015em;
}

.base-card__body p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.base-card__note {
  color: var(--navy) !important;
  font-weight: 500;
}

.base-card__actions {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.trust-badge-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.trust-badge-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(17, 30, 60, 0.22);
}

.trust-badge-box strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.trust-badge-box span {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* Size Guide Widget */
.size-guide-shell {
  background: #fff;
  border: 1px solid var(--border);
  padding: 20px;
}

.size-guide__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.size-guide__head h3 {
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-size: 19px;
}

.size-guide__sub {
  margin: 0;
  font-size: 13px;
  color: var(--ink-muted);
}

.size-guide__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.size-recommender {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 14px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.size-recommender__inputs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
}

.size-recommender__inputs label {
  display: grid;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
}

.size-recommender__inputs input {
  width: 120px;
  padding: 7px 10px;
  border: 1px solid #C9D1E0;
  border-radius: 2px;
  background: #fff;
}

.size-recommender__result {
  font-size: 13.5px;
  color: var(--navy);
  font-weight: 600;
}

.size-alert-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px;
  background: #FFF6F4;
  border: 1px solid #F5C7BE;
  border-left: 4px solid var(--red);
  margin-bottom: 12px;
  font-size: 13px;
}

.size-alert-bar strong {
  color: var(--navy);
}

.size-alert-bar span {
  color: var(--red-text);
  font-weight: 600;
}

.size-group-title {
  margin: 14px 0 8px;
  font-size: 15px;
  color: var(--navy);
}

.size-row.is-recommended {
  background: #FEF2F2;
  outline: 2px solid var(--red);
}

.size-row.is-recommended th,
.size-row.is-recommended td {
  color: var(--red-text);
  font-weight: 700;
}

/* Roster Checker Widget */
.roster-shell {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy);
  padding: 20px;
  max-width: 100%;
  min-width: 0;
}

.roster-shell > *,
.roster-toolbar > * {
  min-width: 0;
  max-width: 100%;
}

.roster-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.roster-head h3 {
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-size: 19px;
}

.roster-sub {
  margin: 0;
  font-size: 13px;
  color: var(--ink-muted);
}

.roster-head__actions {
  display: flex;
  gap: 8px;
}

.roster-toolbar {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.roster-mode-pick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  max-width: 100%;
}

.roster-mode-pick select {
  padding: 7px 10px;
  border: 1px solid #C9D1E0;
  border-radius: 2px;
  background: #fff;
  max-width: 100%;
  min-width: 0;
}

.roster-add-row {
  display: grid;
  grid-template-columns: 110px 1fr 120px 120px auto;
  gap: 8px;
  align-items: center;
}

.roster-add-row input,
.roster-add-row select {
  padding: 8px 10px;
  border: 1px solid #C9D1E0;
  border-radius: 2px;
  background: #fff;
  min-width: 0;
}

.roster-status-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.roster-dup-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #B91C1C;
  font-size: 13.5px;
  font-weight: 700;
}

.roster-ship-hint {
  padding: 8px 12px;
  background: var(--bg-soft);
  border-left: 3px solid var(--navy);
  font-size: 13px;
  color: var(--navy);
  font-weight: 600;
}

.roster-row.is-dup {
  background: #FEF2F2;
  color: #B91C1C;
}

.roster-del-btn {
  padding: 4px 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink-muted);
  font-size: 12px;
  cursor: pointer;
}

.roster-del-btn:hover {
  border-color: var(--red);
  color: var(--red-text);
}

.roster-foot {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.roster-stats {
  font-size: 13px;
  color: var(--navy);
  font-weight: 600;
}

.roster-foot__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

.faq-item[open] .faq-icon svg {
  transform: rotate(180deg);
}

.faq-body p {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--ink-muted);
}

/* Deep Charcoal 3-Column Legacy Footer */
.site-footer {
  background: var(--charcoal);
  color: var(--ink-light-muted);
  padding-top: 48px;
  font-size: 13.5px;
}

.footer-3col {
  display: grid;
  grid-template-columns: 1.05fr 1.1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
}

.site-footer h3 {
  margin: 0 0 14px;
  font-size: 16px;
  color: #fff;
}

.footer-qr-wrap {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-qr-card {
  width: 112px;
  text-align: center;
  flex-shrink: 0;
}

.footer-qr-card span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
}

.footer-qr-links {
  display: grid;
  gap: 10px;
}

.footer-qr-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
}

.footer-qr-links a:hover {
  text-decoration: underline;
}

.footer-icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-icon-list svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: #FF8E7B;
}

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

.footer-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 12px;
}

.footer-quick-links a:hover {
  color: #fff;
}

.footer-bottom-strip {
  background: var(--bg-white);
  color: var(--ink-muted);
  border-top: 1px solid var(--border);
  padding: 14px 16px 64px;
  font-size: 12.5px;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Quick Dock, Modal & Toast */
.quick-dock {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 85;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.quick-dock__btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 56px;
  height: 52px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none;
}

.quick-dock__btn[hidden] {
  display: none;
}

.quick-dock__btn--navy {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.quick-dock__btn--red {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.dock-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--red);
  border: 2px solid #fff;
  color: #fff;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Inquiry Drawer & Lightbox */
.inquiry-backdrop {
  position: fixed;
  inset: 0;
  z-index: 135;
  background: rgba(16, 26, 54, 0.56);
  display: flex;
  justify-content: flex-end;
}

.inquiry-drawer {
  width: min(440px, 100%);
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.18);
}

.inquiry-drawer__head {
  padding: 18px 20px;
  background: var(--navy-dark);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.inquiry-drawer__head h2 {
  margin: 0 0 4px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.inquiry-drawer__head p {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-light-muted);
}

.inquiry-drawer__head .modal-close {
  position: static;
  color: #fff;
}

.inquiry-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.inquiry-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.inquiry-item {
  border: 1px solid var(--border);
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  background: var(--bg-soft);
}

.inquiry-item strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
}

.inquiry-item span {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 2px;
}

.inquiry-empty {
  text-align: center;
  padding: 36px 16px;
  color: var(--ink-muted);
}

.inquiry-empty__sub {
  font-size: 13px;
}

.inquiry-drawer__foot {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: #fff;
  display: grid;
  gap: 12px;
}

.inquiry-note-field {
  display: grid;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
}

.inquiry-note-field input {
  padding: 8px 10px;
  border: 1px solid #C9D1E0;
  border-radius: 2px;
}

.inquiry-drawer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(12, 18, 36, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox__stage {
  max-width: min(920px, 90vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.lightbox__stage img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  background: #111;
}

.lightbox__bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: #fff;
  font-size: 13.5px;
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox__nav--prev { left: 16px; }
.lightbox__nav--prev svg { transform: rotate(90deg); }
.lightbox__nav--next { right: 16px; }
.lightbox__nav--next svg { transform: rotate(-90deg); }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(21, 35, 74, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-card {
  position: relative;
  width: min(440px, 100%);
  background: var(--bg-white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-align: center;
}

.modal-card h2 {
  margin: 0 0 14px;
  font-size: 20px;
  color: var(--navy);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--ink-muted);
}

.modal-note {
  margin: 12px 0 16px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 72px;
  transform: translateX(-50%);
  z-index: 140;
  background: var(--navy-dark);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  box-shadow: var(--shadow-md);
}

/* ========================================================================
   Flagship Studio UI, Interactive Compare/Hotspot, Bento, Cmd+K & Subpages
   ======================================================================== */
.cmdk-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.cmdk-trigger:hover {
  border-color: var(--navy);
  background: #fff;
}

.cmdk-trigger kbd {
  padding: 1px 5px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 12px;
  font-family: var(--font-sans);
  color: var(--ink-muted);
}

.cmdk-backdrop {
  position: fixed;
  inset: 0;
  z-index: 160;
  background: rgba(15, 24, 48, 0.72);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 16px 24px;
}

.cmdk-panel {
  width: min(640px, 100%);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.cmdk-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--navy);
}

.cmdk-head input {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 15px;
  color: var(--ink);
  background: transparent;
}

.cmdk-esc {
  padding: 4px 8px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.cmdk-meta {
  padding: 8px 16px;
  background: var(--bg-soft);
  font-size: 12px;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--border);
}

.cmdk-list {
  list-style: none;
  margin: 0;
  padding: 6px;
  max-height: 360px;
  overflow-y: auto;
}

.cmdk-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  color: var(--ink);
}

.cmdk-item.is-selected a,
.cmdk-item a:hover {
  background: var(--bg-soft);
  color: var(--navy);
}

.cmdk-item__left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.cmdk-type {
  padding: 2px 7px;
  background: rgba(31, 51, 102, 0.1);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.cmdk-item strong {
  display: block;
  font-size: 14px;
}

.cmdk-item span {
  font-size: 12px;
  color: var(--ink-muted);
}

/* Spotlight Hover Border */
[data-spotlight] {
  position: relative;
}

[data-spotlight]::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(31, 51, 102, 0.08), transparent 60%);
}

.trust-bento-card--main[data-spotlight]::after,
.reason-overlay-card[data-spotlight]::after {
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.1), transparent 60%);
}

[data-spotlight]:hover::after {
  opacity: 1;
}

/* Editorial Advantage Header (Replaces Old Box) */
.advantage-editorial {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--navy);
}

.advantage-editorial__left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.advantage-big-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  line-height: 0.9;
  color: var(--red-text);
  padding-right: 18px;
  border-right: 2px solid var(--border);
}

.advantage-editorial__left h2 {
  margin: 0 0 4px;
  font-size: 24px;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.advantage-editorial__slogan {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.advantage-editorial__right {
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.advantage-editorial__right p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* Compare Slider + Anatomy Hotspots */
.compare-hotspot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.compare-card,
.anatomy-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compare-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.compare-card__head h3 {
  margin: 0;
  font-size: 18px;
  color: var(--navy);
}

.compare-card__head span {
  font-size: 12.5px;
  color: var(--red-text);
  font-weight: 600;
}

.compare-slider {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  user-select: none;
  background: #15234A;
}

.compare-layer {
  position: absolute;
  inset: 0;
  border-radius: 0;
}

.compare-layer--top {
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
}

.compare-tag {
  position: absolute;
  bottom: 12px;
  z-index: 4;
  padding: 5px 10px;
  background: rgba(15, 24, 48, 0.84);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
}

.compare-tag--left { left: 12px; }
.compare-tag--right { right: 12px; }

.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: #fff;
  z-index: 5;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.45);
}

.compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 6;
}

.anatomy-stage {
  position: relative;
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  border-radius: 0;
}

.hotspot-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.hotspot-pin::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(200, 60, 38, 0.65);
  animation: hotspot-pulse 2s infinite;
}

.hotspot-pin.is-active {
  background: var(--red);
  transform: translate(-50%, -50%) scale(1.12);
}

.hotspot-pin.is-active::before {
  animation: none;
  opacity: 0;
}

@keyframes hotspot-pulse {
  0% { transform: scale(0.85); opacity: 0.9; }
  100% { transform: scale(1.45); opacity: 0; }
}

.anatomy-readout {
  background: #fff;
  border: 1px solid var(--border);
  padding: 14px 16px;
}

.anatomy-readout strong {
  display: block;
  font-size: 15.5px;
  color: var(--navy);
  margin-bottom: 4px;
}

.anatomy-readout p {
  margin: 0 0 8px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* 4-Role Switcher Stage */
.role-stage {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 20px;
}

.tab-pill-track {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

.tab-pill-indicator {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--navy);
  transition: transform 0.25s ease, width 0.25s ease, height 0.25s ease;
  z-index: 1;
}

.tab-pill-btn {
  position: relative;
  z-index: 2;
  padding: 8px 16px;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease;
}

.tab-pill-btn.is-active {
  color: #fff;
}

.role-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  padding: 24px;
}

.role-panel__copy h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: var(--navy);
}

.role-panel__lead {
  margin: 0 0 16px;
  font-size: 14.5px;
  color: var(--ink-muted);
}

.role-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.role-metric {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 10px 12px;
}

.role-metric span {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
}

.role-metric strong {
  display: block;
  font-size: 13.5px;
  color: var(--red-text);
  margin-top: 2px;
}

.role-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.role-panel__media {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

/* Trust Bento Grid & Tier Slider */
.trust-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.trust-bento-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trust-bento-card h3 {
  margin: 0;
  font-size: 19px;
  color: var(--navy);
}

.trust-bento-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.trust-bento-card--main {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #101A36 0%, #1F3366 100%);
  color: #fff;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
}

.trust-bento-card--main h3 {
  color: #fff;
  font-size: 22px;
}

.trust-bento-card--main p {
  color: var(--ink-light-muted);
}

.badge--light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.trust-bento-card--wide {
  grid-column: 1 / -1;
  background: #fff;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.trust-bento-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.province-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.province-chips span {
  padding: 3px 9px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
}

.province-bento-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.tier-slider-band {
  background: linear-gradient(135deg, #0E1730 0%, #1C2E5E 100%);
  color: #fff;
  padding: 38px 16px;
}

.tier-slider-box {
  display: grid;
  gap: 18px;
}

.tier-slider-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.tier-slider-head h2 {
  margin: 0 0 4px;
  font-size: 24px;
}

.tier-slider-head p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-light-muted);
}

.tier-sport-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tier-slider-control {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 16px 20px;
  display: grid;
  gap: 10px;
}

.tier-qty-readout {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.tier-qty-readout strong {
  font-family: var(--font-display);
  font-size: 32px;
  color: #FFB4A6;
}

.tier-slider-control input[type="range"] {
  width: 100%;
  accent-color: var(--red);
  cursor: pointer;
}

.tier-stops {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-light-muted);
}

.tier-slider-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.tier-result-tag {
  display: inline-block;
  padding: 3px 9px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
}

.tier-result-info strong {
  display: block;
  font-size: 15px;
}

/* Subpage Studio Upgrades */
.studio-hero-frame {
  position: relative;
  max-width: 390px;
  width: 100%;
  margin-left: auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
}

.studio-hero-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 24, 48, 0.84);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.process-track {
  position: relative;
}

.process-step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.process-badge {
  padding: 2px 8px;
  background: rgba(31, 51, 102, 0.08);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

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

.series-decision-card {
  text-align: left;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.series-decision-card:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.series-decision-card h3 {
  margin: 0;
  font-size: 18px;
  color: var(--navy);
}

.series-decision-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* Studio Detail Light Hero + Loupe + Tabs */
.prd-studio-hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 28px 16px 40px;
}

.breadcrumbs--lightbg {
  color: var(--ink-muted);
}

.breadcrumbs--lightbg a:hover {
  color: var(--navy);
}

.prd-summary--studio h1 {
  margin: 8px 0 10px;
  color: var(--navy);
  font-size: 32px;
}

.prd-summary--studio .hero-lead {
  color: var(--ink-muted);
  margin: 0 0 16px;
}

.prd-summary--studio .prd-meta-pill {
  background: #fff;
  border-color: var(--border);
  color: var(--ink);
}

.prd-summary--studio .prd-points svg {
  color: var(--red-text);
}

.prd-summary--studio .prd-order-box {
  background: #fff;
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.prd-summary--studio .prd-order-box__sub {
  color: var(--ink-muted);
}

.prd-summary--studio .prd-order-box__sub a {
  color: var(--navy);
}

.loupe-lens {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  z-index: 4;
  transition: opacity 0.12s ease;
}

.loupe-lens.is-active {
  opacity: 1;
}

.studio-tabs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 20px;
}

.studio-tab {
  padding: 10px 18px;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.studio-tab.is-active {
  color: var(--navy);
  border-bottom-color: var(--red);
}

/* Fabrics Material Lab Cards */
.fabric-controls-right {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

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

.fabric-swatch-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.fabric-swatch-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.fabric-swatch-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.fabric-code-stamp {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--red-text);
}

.fabric-swatch-card h3 {
  margin: 0;
  font-size: 18px;
  color: var(--navy);
}

.fabric-craft-line {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
}

.fabric-feat,
.fabric-use {
  margin: 0;
  font-size: 13px;
  color: var(--ink-muted);
}

.fabric-swatch-card__foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.wizard-meters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.meter-box {
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 10px;
}

.meter-box span {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}

.meter-bar {
  height: 6px;
  background: #E2E6EE;
  overflow: hidden;
}

.meter-bar i {
  display: block;
  height: 100%;
  background: var(--red);
}

/* Pricing Cockpit Mode Cards & Quote Ticket */
.mode-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mode-card {
  text-align: left;
  padding: 10px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.mode-card strong {
  display: block;
  font-size: 13.5px;
  color: var(--navy);
}

.mode-card span {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 2px;
}

.mode-card.is-active {
  background: var(--navy);
  border-color: var(--navy);
}

.mode-card.is-active strong,
.mode-card.is-active span {
  color: #fff;
}

.qty-slider-pair {
  display: grid;
  grid-template-columns: 1fr 96px;
  gap: 10px;
  align-items: center;
}

.qty-slider-pair input[type="range"] {
  accent-color: var(--red);
}

.tier-progress {
  height: 6px;
  background: var(--border);
  overflow: hidden;
  margin-top: 4px;
}

.tier-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--navy), var(--red));
  transition: width 0.2s ease;
}

.quote-ticket {
  border-radius: var(--radius-md);
}

.quote-ticket__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
}

.quote-ticket__tag {
  padding: 3px 9px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
  color: #FFD2C9;
  font-weight: 600;
}

/* QA Featured & Split Article */
.qa-featured-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  padding: 22px;
  margin-bottom: 18px;
}

.qa-featured-card__copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.qa-featured-card__copy h2 {
  margin: 0;
  font-size: 22px;
  color: var(--navy);
}

.qa-featured-card__copy p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted);
}

.article-layout-split {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}

.article-layout-split > * {
  min-width: 0;
}

.article-toc-sticky {
  position: sticky;
  top: 88px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-toc-sticky strong {
  color: var(--navy);
  font-size: 15px;
}

.article-toc-sticky a {
  font-size: 13.5px;
  color: var(--ink-muted);
  font-weight: 600;
}

.article-toc-sticky a:hover {
  color: var(--red-text);
}

/* Conversion Pills, Feedback Grid, Copied Banner & Tabular Nums */
.flush-kpi strong,
.our-story__stats strong,
.page-fact strong,
.tier-qty-readout strong {
  font-variant-numeric: tabular-nums;
}

.intro-quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.intro-quick-pills a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.intro-quick-pills a:hover {
  border-color: var(--navy);
  color: var(--red-text);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.legacy-dual-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.tier-stop-btn {
  border: 0;
  background: transparent;
  color: var(--ink-light-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 4px;
}

.tier-stop-btn:hover {
  color: #fff;
  text-decoration: underline;
}

.wizard-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.feedback-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feedback-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.6;
}

.roster-disclaimer {
  margin-top: 12px;
  padding: 9px 12px;
  background: #FFF6F4;
  border: 1px solid #F5C7BE;
  color: var(--red-text);
  font-size: 12.5px;
  font-weight: 600;
}

.modal-copied-banner {
  margin: 0 0 12px;
  padding: 8px 12px;
  background: #ECFDF3;
  border: 1px solid #BBF7D0;
  color: #166534;
  font-size: 13px;
  font-weight: 700;
}

.fabric-swatch-card.is-anchor-hit {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(200, 60, 38, 0.25);
}

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

/* Wide-Screen Fluid Scaling (1440px / 1920px / 2560px) */
@media (min-width: 1440px) {
  .wrap {
    width: min(1320px, 100%);
  }

  .flush-intro__body h1 {
    font-size: 30px;
  }

  .page-hero h1 {
    font-size: 36px;
  }
}

@media (min-width: 1680px) {
  .wrap {
    width: min(1400px, 100%);
  }

  .section,
  .legacy-section {
    padding: 66px 24px;
  }

  .flush-intro-band {
    padding: 24px 24px;
  }

  .flush-intro__body h1 {
    font-size: 32px;
  }

  .section-head h2,
  .legacy-heading h2 {
    font-size: 32px;
  }

  .legacy-prd-grid,
  .product-grid-3x2 {
    gap: 22px;
  }
}

/* Responsive */
@media (max-width: 1399px) {
  .quick-dock {
    flex-direction: row;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    gap: 6px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .quick-dock__btn {
    width: auto;
    height: 36px;
    padding: 0 12px;
    flex-direction: row;
    gap: 5px;
    border-radius: 999px;
    font-size: 12px;
    box-shadow: none;
  }
}

@media (max-width: 1140px) {
  .header-tel {
    display: none;
  }

  .header-inner {
    gap: 12px;
  }

  .nav-link {
    padding: 10px 9px;
    font-size: 13.5px;
  }

  .mega-menu {
    left: -120px;
    width: min(720px, calc(100vw - 160px));
  }
}

@media (max-width: 960px) {
  input, select {
    font-size: 16px;
  }

  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .page-hero__grid,
  .flush-intro-grid,
  .intro-split-50,
  .our-story-grid,
  .story-legacy-grid,
  .prd-detail-grid,
  .calc-shell,
  .pain-card,
  .compare-hotspot-grid,
  .role-panel,
  .trust-bento-card--main,
  .qa-featured-card,
  .article-layout-split,
  .footer-3col {
    grid-template-columns: 1fr;
  }

  .prd-gallery {
    position: static;
    max-width: 440px;
    margin: 0 auto;
  }

  .studio-hero-frame {
    max-width: 360px;
    margin: 0 auto;
  }

  .page-fact:nth-child(2n) {
    border-right: 0;
  }

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

  .product-grid-3x2,
  .legacy-prd-grid,
  .biz-4-row,
  .reasons-overlay-grid,
  .supply-5-row,
  .twelve-grid,
  .cards-1x3,
  .cards-2x3,
  .series-decision-grid,
  .fabric-card-grid,
  .trust-bento-grid,
  .gallery-3x4-grid,
  .trust-badges-grid,
  .page-facts-grid,
  .feedback-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-4x3-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-4x3-bento .sample-4x3-card:nth-child(n) {
    grid-column: span 1;
  }

  .roster-add-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .section,
  .legacy-section,
  .biz-flush-upper,
  .our-story-band {
    padding: 34px 16px;
  }

  .base-card__body {
    padding: 16px;
  }

  .header-inner {
    min-height: 58px;
    gap: 8px;
  }

  .cmdk-trigger {
    padding: 0 10px;
  }

  .cmdk-trigger span {
    display: none;
  }

  .legacy-arrow {
    display: none;
  }

  .legacy-dots {
    bottom: 8px;
    gap: 6px;
  }

  .hero-dot {
    width: 20px;
  }

  .hero-dot.is-active {
    width: 32px;
  }

  .hero-counter {
    right: 10px;
    bottom: 8px;
    padding: 2px 8px;
  }

  .flush-intro-band {
    padding: 16px;
  }

  .flush-intro-grid {
    gap: 14px;
  }

  .flush-intro__photo {
    display: none;
  }

  .flush-intro__body h1 {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .flush-intro__body .hero-lead {
    font-size: 13.5px;
    margin-bottom: 10px;
  }

  .flush-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
  }

  .flush-kpi {
    padding-right: 0;
  }

  .flush-kpi + .flush-kpi {
    padding-left: 8px;
  }

  .flush-kpi strong {
    font-size: 20px;
  }

  .flush-intro__hotline {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 12px 14px;
    gap: 6px;
  }

  .hotline-tel {
    font-size: 22px;
  }

  .capability-ribbon {
    padding: 10px 16px;
  }

  .capability-ribbon__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 10px;
  }

  .capability-ribbon__list span {
    font-size: 12px;
  }

  .page-hero {
    padding: 24px 16px 26px;
  }

  .page-hero h1 {
    font-size: 22px;
  }

  .page-hero__media .studio-hero-frame {
    max-width: 260px;
    margin: 0 auto;
  }

  .section-head h2,
  .legacy-heading h2 {
    font-size: 22px;
  }

  .legacy-prd-grid,
  .product-grid-3x2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .legacy-prd-tile__cap {
    padding: 10px 8px;
    text-align: left;
  }

  .legacy-prd-tile__cap h3 {
    font-size: 14px;
    line-height: 1.3;
  }

  .legacy-prd-tile__cap p {
    font-size: 12px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .tile-series-tag {
    top: 6px;
    right: 6px;
    padding: 2px 6px;
    font-size: 12px;
  }

  .tile-actions-row {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding-top: 6px;
  }

  .tile-actions-row .btn-mini-add {
    width: 100%;
    justify-content: center;
    padding: 6px 8px;
  }

  .legacy-prd-card__body {
    padding: 10px;
    gap: 6px;
  }

  .legacy-prd-card__body h3 {
    font-size: 14.5px;
    line-height: 1.3;
  }

  .legacy-prd-card__body p {
    font-size: 12px;
  }

  .legacy-prd-card__foot {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding-top: 8px;
  }

  .legacy-prd-card__foot .btn,
  .legacy-prd-card__foot .btn-mini-add {
    width: 100%;
    justify-content: center;
  }

  .product-card__badge {
    left: 6px;
    bottom: 6px;
    padding: 2px 7px;
  }

  .tab-pill-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    padding: 6px;
  }

  .tab-pill-btn {
    padding: 8px 6px;
    font-size: 13px;
    text-align: center;
    justify-content: center;
  }

  .biz-4-row,
  .supply-5-row,
  .reasons-overlay-grid,
  .our-story__stats,
  .story-3-stats,
  .twelve-grid,
  .cards-2x2,
  .cards-1x3,
  .cards-2x3,
  .series-decision-grid,
  .fabric-card-grid,
  .trust-bento-grid,
  .role-metrics-row,
  .wizard-meters,
  .mode-card-grid,
  .gallery-4x3-bento,
  .gallery-3x4-grid,
  .fabric-wizard__controls,
  .trust-badges-grid,
  .roster-add-row,
  .feedback-grid,
  .process-grid,
  .qa-index-grid {
    grid-template-columns: 1fr;
  }

  .cmdk-trigger kbd,
  .loupe-lens {
    display: none;
  }

  .quick-dock {
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    padding: 8px 12px max(8px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  }

  .quick-dock__btn {
    width: 100%;
    height: 42px;
    padding: 0 8px;
    border-radius: 6px;
    font-size: 12.5px;
    justify-content: center;
  }

  .quick-dock__btn[data-scroll-top] {
    position: fixed;
    right: 12px;
    bottom: calc(68px + env(safe-area-inset-bottom));
    width: auto;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  }

  .footer-bottom-strip {
    padding-bottom: 84px;
  }
}

@media (max-width: 420px) {
  .brand-mark__sub {
    display: none;
  }
}
