/* ============================================================
   设计基因基础层 —— 由系统按站点设计基因编译，每次生成都会重写。
   页面自己的样式请写在下面的分隔线之后。
   规则：颜色 / 字号 / 圆角一律用这里的 var(--…)，不要写裸值。
   ============================================================ */

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

:root {
  /* 颜色（全站只有这 5 个） */
  --c-primary: #000000;
  --c-secondary: #1100ff;
  --c-accent: #000000;
  --c-text: #2a2520;
  --c-bg: #f5f3f0;

  /* 字体 */
  --font-heading: "Roboto", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-button: "Inter", system-ui, sans-serif;

  /* 字号（全站只有这些档，不得出现其它字号） */
  --h1: 30px;
  --h2: 24px;
  --h5: 22px;
  --h3: 20px;
  --h4: 18px;
  --body: 16px;
  --fs-button: 15px;
  --small: 14px;
  --caption: 12px;

  /* 标题的行高与字距（字距先统一 normal） */
  --lh-h1: 1.08;  --ls-h1: normal;
  --lh-h2: 1.12;  --ls-h2: normal;
  --lh-h3: 1.2;  --ls-h3: normal;
  --lh-h4: 1.3;  --ls-h4: normal;
  --lh-h5: 1.4;  --ls-h5: normal;
  --lh-h6: 1.5;  --ls-h6: normal;
  --lh-body: 1.7;

  /* 版心与圆角 */
  --radius: 4px;
  --maxw: 1400px;
  --pad-h: 16px;
  --shadow: none;

  /* 媒体：全站统一比例与最大高度，避免出现占满整屏的巨图 */
  --media-ratio: 4 / 3;
  --media-ratio-wide: 16 / 9;
  --media-max-h: 560px;

  --duration: 300ms;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: var(--lh-body);
  color: var(--c-text);
  background: var(--c-bg);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--c-text);
}
h1 { font-size: var(--h1); font-weight: 700; line-height: var(--lh-h1); letter-spacing: var(--ls-h1); }
h2 { font-size: var(--h2); font-weight: 700; line-height: var(--lh-h2); letter-spacing: var(--ls-h2); }
h3 { font-size: var(--h3); font-weight: 600; line-height: var(--lh-h3); letter-spacing: var(--ls-h3); }
h4 { font-size: var(--h4); font-weight: 600; line-height: var(--lh-h4); letter-spacing: var(--ls-h4); }
h5 { font-size: var(--h5); font-weight: 600; line-height: var(--lh-h5); letter-spacing: var(--ls-h5); }
h6 { font-size: var(--h6); font-weight: 600; line-height: var(--lh-h6); letter-spacing: var(--ls-h6); }

p, li, dd, dt, blockquote, figcaption { font-size: var(--body); }
small, .text-small { font-size: var(--small); }
.text-caption, time, .eyebrow { font-size: var(--caption); }

/* 大数字/统计值：这是「想强调」时唯一允许的用法，最大只能到 h1 那一档 */
.stat, .metric, .metric-value, .stat-value {
  font-family: var(--font-heading);
  font-size: var(--h1);
  font-weight: 700;
  line-height: var(--lh-h1);
  letter-spacing: var(--ls-h1);
}

.stat *, .metric *, .metric-value *, .stat-value * { letter-spacing: normal; }

/* 按钮：所有交互控件（CTA、tab、筛选、分页）都应该用这两个类之一 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-button);
  font-size: 15px; font-weight: 600; letter-spacing: normal;
  padding: 11px 22px;
  border-radius: 4px;
  border: 0px solid #000000;
  background: #000000;
  color: #ffffff;
  text-decoration: none; cursor: pointer;
}
.btn:hover, .btn:focus-visible { background: #ffffff; color: #000000; border-color: #000000; }

.btn--ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-button);
  font-size: 15px; font-weight: 600; letter-spacing: normal;
  padding: 11px 22px; border-radius: 4px;
  background: transparent; color: var(--c-primary);
  border: 1px solid currentColor; text-decoration: none; cursor: pointer;
}
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--c-primary); color: var(--c-bg); }

/* 媒体容器：图片一律放进来。不要直接给 <img> 写宽高。 */
.media {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: var(--media-ratio);
  max-height: var(--media-max-h);
  border-radius: var(--radius);
}
.media--wide { aspect-ratio: var(--media-ratio-wide); }
.media--square { aspect-ratio: 1 / 1; }
.media > img, .media > video, .media > picture > img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}

/* 版心 */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-h); }

/* 配图占位：图生成后由服务端替换成 <img>，骨架样式不归模型管 */
.img-slot { display: block; width: 100%; background: var(--c-bg); border-radius: var(--radius); overflow: hidden; }
.img-slot[data-aspect="1:1"] { aspect-ratio: 1 / 1; }
.img-slot[data-aspect="3:2"] { aspect-ratio: 3 / 2; }
.img-slot[data-aspect="2:3"] { aspect-ratio: 2 / 3; }
.img-slot[data-aspect="4:3"] { aspect-ratio: 4 / 3; }
.img-slot[data-aspect="3:4"] { aspect-ratio: 3 / 4; }
.img-slot[data-aspect="5:4"] { aspect-ratio: 5 / 4; }
.img-slot[data-aspect="4:5"] { aspect-ratio: 4 / 5; }
.img-slot[data-aspect="16:9"] { aspect-ratio: 16 / 9; }
.img-slot[data-aspect="9:16"] { aspect-ratio: 9 / 16; }
.img-slot[data-aspect="2:1"] { aspect-ratio: 2 / 1; }
.img-slot[data-aspect="1:2"] { aspect-ratio: 1 / 2; }
.img-slot[data-aspect="21:9"] { aspect-ratio: 21 / 9; }
.img-slot[data-aspect="9:21"] { aspect-ratio: 9 / 21; }

/* ===== 以上为基础层，以下为页面样式 ===== */

:root {
  --background: #e4e2dd;
  --paper: #e4e2dd;
  --light: #f8f7f4;
  --campaign: #d9d6d0;
  --text: #1e1e1e;
  --secondary-text: #444444;
  --accent: #db4a2b;
  --orange: #f8a348;
  --pink: #ff89a9;
  --dark: #1e1e1e;
  --white: #ffffff;
  --border: rgba(30, 30, 30, 0.2);
  --subtle-border: rgba(30, 30, 30, 0.1);
  --dark-border: rgba(228, 226, 221, 0.22);
  --shell: 1360px;
  --page-padding: clamp(20px, 4vw, 48px);
  --section-space: clamp(72px, 9vw, 120px);
}

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

html {
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: Roboto, Arial, sans-serif;
  font-size: var(--body);
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  font-family: Roboto, Arial, sans-serif;
}

main {
  display: block;
  overflow: clip;
}

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

h1,
h2,
h3,
h4 {
  color: inherit;
  font-weight: 800;
  text-wrap: balance;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: normal;
  line-height: 1.04;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: normal;
  line-height: 1.1;
}

h3 {
  margin-bottom: 16px;
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 800;
  letter-spacing: normal;
  line-height: 1.16;
}

h4 {
  margin-bottom: 8px;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 750;
  letter-spacing: normal;
  line-height: 1.22;
}

p {
  margin-bottom: 20px;
}

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

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

button {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

::selection {
  background: var(--accent);
  color: var(--white);
}

[x-cloak] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shell {
  width: min(100%, calc(var(--shell) + (var(--page-padding) * 2)));
  margin-inline: auto;
  padding-inline: var(--page-padding);
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

.section--paper {
  background: var(--paper);
}

.section--light {
  background: var(--light);
}

.section--dark {
  background: var(--dark);
  color: var(--light);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--light);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-heading > p:last-child,
.section-heading__copy > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--secondary-text);
  font-size: clamp(16px, 1.45vw, 18px);
}

.section--dark .section-heading > p:last-child,
.section--dark .section-heading__copy > p:last-child {
  color: rgba(248, 247, 244, 0.68);
}

.section-heading--row {
  display: flex;
  max-width: none;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.section-heading--row > .text-link {
  flex: 0 0 auto;
  margin-bottom: 6px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--secondary-text);
  font-size: var(--caption);
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--accent);
  content: "";
}

.eyebrow--light {
  color: rgba(248, 247, 244, 0.72);
}

.button-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--text);
  border-radius: 0;
  padding: 12px 28px;
  cursor: pointer;
  font-size: var(--fs-button);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  background-color: var(--text);
  background-image: linear-gradient(var(--white), var(--white));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0 100%;
  color: var(--paper);
  transition:
    color 280ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 280ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 280ms cubic-bezier(0.16, 1, 0.3, 1),
    background-size 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.button:hover {
  border-color: var(--text);
  background-color: var(--white);
  background-size: 100% 100%;
  color: var(--accent);
}

.button:active {
  background-color: var(--accent);
  background-image: none;
  color: var(--white);
}

.button:focus-visible {
  outline-color: var(--accent);
}

.button:disabled,
.button[aria-disabled="true"] {
  border-color: rgba(30, 30, 30, 0.35);
  cursor: not-allowed;
  background-color: rgba(30, 30, 30, 0.38);
  background-image: none;
  color: rgba(228, 226, 221, 0.75);
}

.button--accent {
  border-color: var(--accent);
  background-color: var(--accent);
  background-image: linear-gradient(var(--dark), var(--dark));
  color: var(--white);
}

.button--accent:hover {
  border-color: var(--dark);
  background-color: var(--dark);
  color: var(--white);
}

.button--accent:active {
  border-color: var(--accent);
  background-color: var(--accent);
  color: var(--white);
}

.button--small {
  min-height: 44px;
  padding: 10px 18px;
  font-size: var(--small);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--accent);
  color: var(--accent);
  font-size: var(--small);
  font-weight: 700;
  line-height: 1.4;
  transition:
    color 250ms ease,
    border-color 250ms ease,
    gap 250ms ease;
}

.text-link:hover {
  gap: 12px;
  border-color: var(--text);
  color: var(--text);
}

.text-link:focus-visible {
  outline-color: var(--accent);
}

.text-link--light {
  border-color: var(--orange);
  color: var(--orange);
}

.text-link--light:hover {
  border-color: var(--light);
  color: var(--light);
}

.img-slot {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
}

.img-slot > img,
.img-slot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-carousel {
  position: relative;
  width: 100%;
  height: 74vh;
  min-height: 480px;
  max-height: 820px;
  overflow: hidden;
  background: var(--dark);
  color: var(--light);
}

.home-carousel__swiper,
.home-carousel__slide {
  width: 100%;
  height: 100%;
}

.home-carousel__slide {
  position: relative;
  overflow: hidden;
}

.home-carousel__media {
  position: absolute;
  inset: 0;
  transform-origin: center right;
  will-change: transform;
}

.home-carousel__media .img-slot {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.home-carousel__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(15, 15, 15, 0.9) 0%,
      rgba(15, 15, 15, 0.75) 28%,
      rgba(15, 15, 15, 0.38) 52%,
      rgba(15, 15, 15, 0) 76%
    );
  pointer-events: none;
}

.home-carousel__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.home-carousel__copy {
  width: min(42%, 570px);
  padding-block: 48px;
  transform: translateY(8%);
  pointer-events: auto;
}

.home-carousel__copy h1 {
  max-width: 560px;
  color: var(--white);
}

.home-carousel__summary {
  max-width: 540px;
  margin-bottom: 0;
  color: rgba(248, 247, 244, 0.86);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
}

.hero {
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 52fr) minmax(0, 42fr);
  gap: 6%;
  min-height: max(520px, 80vh);
  align-items: center;
}

.hero__content {
  align-self: center;
  max-width: 680px;
}

.hero__content h2 {
  max-width: 650px;
}

.hero__summary {
  max-width: 630px;
  margin-bottom: 0;
  color: var(--secondary-text);
  font-size: clamp(18px, 1.65vw, 20px);
  line-height: 1.65;
}

.hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.hero__media .img-slot {
  width: 100%;
  height: 100%;
}

.media-story {
  overflow: hidden;
}

.media-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 62fr) minmax(0, 30fr);
  gap: 8%;
  align-items: start;
}

.media-story__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--campaign);
}

.media-story__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-story__media figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: calc(100% - 32px);
  padding: 10px 16px;
  background: rgba(30, 30, 30, 0.88);
  color: var(--light);
  font-size: var(--caption);
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.4;
  text-transform: uppercase;
}

.media-story__content {
  max-width: 460px;
  padding-top: 6px;
}

.media-story__content p:not(.eyebrow) {
  color: var(--secondary-text);
  font-size: var(--body);
}

.media-story__content .text-link {
  margin-top: 8px;
}

.metrics {
  border-top: 1px solid var(--subtle-border);
  border-bottom: 1px solid var(--subtle-border);
}

.metrics .section-heading {
  margin-bottom: 48px;
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.metric {
  min-width: 0;
  padding: clamp(28px, 3vw, 44px);
}

.metric:first-child {
  padding-left: 0;
}

.metric + .metric {
  border-left: 1px solid var(--border);
}

.metric__value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 850;
  letter-spacing: normal;
  line-height: 1;
}

.metric__unit {
  color: var(--accent);
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 700;
  letter-spacing: normal;
}

.metric__label {
  margin-bottom: 0;
  color: var(--secondary-text);
  font-size: var(--small);
  font-weight: 600;
  line-height: 1.45;
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.category-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--border);
  background: var(--white);
  overflow: hidden;
  transition:
    border-color 300ms ease,
    box-shadow 300ms ease,
    transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover {
  border-color: rgba(30, 30, 30, 0.58);
  box-shadow: 0 18px 38px rgba(30, 30, 30, 0.1);
  transform: translateY(-4px);
}

.category-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover .category-card__media img {
  transform: scale(1.04);
}

.category-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.category-card__content h3 {
  margin-bottom: 12px;
}

.category-card__content p {
  margin-bottom: 24px;
  color: var(--secondary-text);
  font-size: var(--fs-button);
}

.category-card__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--accent);
  font-size: var(--small);
  font-weight: 700;
}

.category-card__action span {
  transition: transform 250ms ease;
}

.category-card:hover .category-card__action span {
  transform: translateX(4px);
}

.solution-list {
  width: min(76%, 1120px);
}

.solution-row {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 50fr);
  gap: 5%;
  align-items: center;
  padding-block: 64px;
  border-top: 1px solid var(--border);
}

.solution-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.solution-row + .solution-row {
  margin-top: 72px;
}

.solution-row__copy {
  max-width: 440px;
}

.solution-row__copy p:not(.eyebrow) {
  margin-bottom: 28px;
  color: var(--secondary-text);
}

.solution-row__products {
  min-width: 0;
}

.solution-row--reverse .solution-row__copy {
  order: 2;
}

.solution-row--reverse .solution-row__products {
  order: 1;
}

.product-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-mini-card {
  display: block;
  min-width: 0;
  border-top: 1px solid var(--border);
  background: transparent;
  transition: border-color 250ms ease, transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.product-mini-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.product-mini-card__media {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.product-mini-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.product-mini-card:hover img {
  transform: scale(1.04);
}

.product-mini-card__content {
  padding: 14px 4px 8px;
}

.product-mini-card__category {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: var(--caption);
  font-weight: 700;
  line-height: 1.35;
}

.product-mini-card h4 {
  margin-bottom: 0;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.25;
}

.popular__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  position: relative;
  display: block;
  min-width: 0;
  border: 1px solid var(--border);
  background: var(--white);
  overflow: hidden;
  transition:
    border-color 300ms ease,
    box-shadow 300ms ease,
    transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
  border-color: rgba(30, 30, 30, 0.55);
  box-shadow: 0 18px 40px rgba(30, 30, 30, 0.11);
  transform: translateY(-4px);
}

.product-card__media {
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card__media img {
  transform: scale(1.04);
}

.product-card--featured {
  grid-column: span 6;
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 560px;
}

.product-card__media--featured {
  height: 100%;
  min-height: 560px;
}

.product-card__media--featured img {
  aspect-ratio: 4 / 3;
}

.product-card__body--featured {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
}

.product-card__category {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: var(--caption);
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.35;
  text-transform: uppercase;
}

.product-card__body h3 {
  margin-bottom: 14px;
}

.product-card__summary {
  margin-bottom: 24px;
  color: var(--secondary-text);
  font-size: var(--small);
  line-height: 1.6;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--subtle-border);
}

.product-card__price {
  margin: 0;
  font-size: var(--h4);
  font-weight: 800;
  white-space: nowrap;
}

.popular__side {
  grid-column: span 6;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-card--small {
  display: flex;
  min-height: 268px;
  flex-direction: column;
}

.product-card--small .product-card__media {
  flex: 0 0 132px;
}

.product-card--small .product-card__media img {
  aspect-ratio: 1 / 1;
}

.product-card--small .product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.product-card--small .product-card__category {
  margin-bottom: 8px;
  font-size: var(--caption);
}

.product-card--small h3 {
  margin-bottom: 8px;
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.2;
}

.product-card--small .product-card__summary {
  margin-bottom: 14px;
  font-size: var(--small);
  line-height: 1.5;
}

.product-card--small .product-card__footer {
  padding-top: 12px;
}

.product-card__link {
  color: var(--accent);
  font-size: var(--small);
  font-weight: 700;
  white-space: nowrap;
}

.scenarios {
  overflow: hidden;
}

.scenarios__layout {
  display: grid;
  grid-template-columns: minmax(0, 28fr) minmax(0, 68fr);
  gap: 4%;
  align-items: start;
}

.scenario-list {
  border-top: 1px solid var(--dark-border);
}

.scenario-list__button {
  position: relative;
  width: 100%;
  min-height: 72px;
  border: 0;
  border-bottom: 1px solid var(--dark-border);
  border-radius: 0;
  padding: 18px 22px 18px 24px;
  cursor: pointer;
  background: transparent;
  color: rgba(248, 247, 244, 0.64);
  font-size: var(--fs-button);
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  transition:
    background-color 250ms ease,
    color 250ms ease,
    padding-left 250ms ease;
}

.scenario-list__button::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--accent);
  content: "";
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.scenario-list__button:hover {
  background: rgba(248, 247, 244, 0.06);
  color: var(--white);
  padding-left: 30px;
}

.scenario-list__button.is-active {
  background: rgba(248, 247, 244, 0.1);
  color: var(--white);
}

.scenario-list__button.is-active::before {
  transform: scaleY(1);
}

.scenario-list__button:focus-visible {
  outline-color: var(--orange);
}

.scenario-panel {
  min-width: 0;
  border: 1px solid var(--dark-border);
  background: #272727;
}

.scenario-panel__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  opacity: 1;
  transition: opacity 140ms ease;
}

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

.scenario-panel__content {
  padding: clamp(24px, 3.5vw, 44px);
  opacity: 1;
  transition: opacity 140ms ease;
}

.scenario-panel__content h3 {
  max-width: 620px;
}

.scenario-panel__content > p:not(.eyebrow) {
  max-width: 690px;
  margin-bottom: 28px;
  color: rgba(248, 247, 244, 0.7);
}

.scenario-panel.is-switching .scenario-panel__media,
.scenario-panel.is-switching .scenario-panel__content {
  opacity: 0.12;
}

.company {
  overflow: hidden;
}

.company__grid {
  display: grid;
  grid-template-columns: minmax(0, 48fr) minmax(0, 46fr);
  gap: 6%;
  align-items: center;
}

.company__content {
  max-width: 640px;
}

.company__content > p:not(.eyebrow) {
  color: var(--secondary-text);
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.75;
}

.company__collage {
  position: relative;
  min-height: clamp(520px, 48vw, 680px);
}

.company__large {
  position: absolute;
  top: 0;
  left: 0;
  width: 76%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.company__large .img-slot {
  width: 100%;
  height: 100%;
}

.company__small {
  position: absolute;
  right: 0;
  bottom: -32px;
  width: 38%;
  aspect-ratio: 1 / 1;
  border: 10px solid var(--light);
  overflow: hidden;
}

.company__small .img-slot {
  width: 100%;
  height: 100%;
}

.history {
  overflow: hidden;
}

.history__timeline {
  position: relative;
  padding-block: 8px 32px;
}

.history__rail,
.history__progress {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
}

.history__rail {
  background: rgba(248, 247, 244, 0.2);
}

.history__progress {
  background: var(--accent);
  transform-origin: top center;
  will-change: transform;
}

.history__node {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  align-items: center;
  margin-bottom: clamp(80px, 9vw, 120px);
}

.history__node:last-child {
  margin-bottom: 0;
}

.history__node::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 13px;
  height: 13px;
  border: 3px solid var(--dark);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 1px var(--accent);
  content: "";
  transform: translate(-50%, -50%);
}

.history__node--left .history__copy {
  grid-column: 3;
  grid-row: 1;
  padding-left: 32px;
}

.history__node--left .history__media {
  grid-column: 1;
  grid-row: 1;
}

.history__node--right .history__copy {
  grid-column: 1;
  grid-row: 1;
  padding-right: 32px;
  text-align: right;
}

.history__node--right .history__media {
  grid-column: 3;
  grid-row: 1;
}

.history__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.history__media .img-slot {
  width: 100%;
  height: 100%;
}

.history__copy {
  max-width: 500px;
}

.history__year {
  margin-bottom: 10px;
  color: var(--orange);
  font-size: var(--small);
  font-weight: 800;
  letter-spacing: normal;
  line-height: 1.4;
}

.history__copy > p:last-child {
  margin-bottom: 0;
  color: rgba(248, 247, 244, 0.68);
}

.faq__container {
  width: min(100%, calc(780px + (var(--page-padding) * 2)));
  margin-inline: auto;
  padding-inline: var(--page-padding);
}

.faq__list {
  border-top: 1px solid var(--border);
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__question {
  display: flex;
  width: 100%;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 0;
  border-radius: 0;
  padding: 22px 0;
  cursor: pointer;
  background: transparent;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  transition: color 250ms ease;
}

.faq__question:hover {
  color: var(--accent);
}

.faq__question:focus-visible {
  outline-offset: 6px;
}

.faq__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 1px;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.faq__icon::before,
.faq__icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: translate(-50%, -50%);
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  overflow: hidden;
}

.faq__answer p {
  max-width: 690px;
  margin-bottom: 28px;
  padding: 2px 48px 28px 0;
  color: var(--secondary-text);
  font-size: var(--body);
  line-height: 1.75;
}

.quality {
  overflow: hidden;
}

.quality::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 8px;
  background: var(--accent);
  content: "";
}

.quality__list {
  width: min(72%, 1100px);
}

.quality__row {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 50fr);
  gap: 5%;
  align-items: center;
  padding-block: 64px;
  border-top: 1px solid var(--border);
}

.quality__row:first-child {
  padding-top: 0;
  border-top: 0;
}

.quality__row + .quality__row {
  margin-top: 72px;
}

.quality__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.quality__media .img-slot {
  width: 100%;
  height: 100%;
}

.quality__copy {
  max-width: 490px;
}

.quality__copy > p:not(.eyebrow, .quality__detail) {
  color: var(--secondary-text);
}

.quality__detail {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--subtle-border);
  color: var(--secondary-text);
  font-size: var(--small);
  line-height: 1.6;
}

.quality__detail span {
  color: var(--accent);
  font-weight: 800;
}

.quality__copy .text-link {
  margin-top: 28px;
}

@media (max-width: 1180px) {
  .popular__grid {
    display: block;
  }

  .product-card--featured {
    min-height: 500px;
  }

  .product-card__media--featured {
    min-height: 500px;
  }

  .popular__side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
  }

  .product-card--small {
    min-height: 340px;
  }

  .product-card--small .product-card__media {
    flex-basis: 180px;
  }
}

@media (max-width: 960px) {
  :root {
    --section-space: clamp(64px, 9vw, 96px);
  }

  .home-carousel__copy {
    width: 50%;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: 0;
  }

  .hero__content {
    max-width: 760px;
    padding-block: 24px 0;
  }

  .hero__media {
    aspect-ratio: 16 / 9;
  }

  .media-story__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .media-story__content {
    max-width: 760px;
  }

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

  .metric:nth-child(odd) {
    border-left: 0;
  }

  .metric:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }

  .metric:nth-child(3) {
    padding-left: 0;
  }

  .solution-list,
  .quality__list {
    width: 100%;
  }

  .solution-row {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 56px;
  }

  .solution-row__copy,
  .solution-row--reverse .solution-row__copy {
    max-width: 700px;
    order: 1;
  }

  .solution-row__products,
  .solution-row--reverse .solution-row__products {
    order: 2;
  }

  .solution-row + .solution-row,
  .quality__row + .quality__row {
    margin-top: 64px;
  }

  .scenarios__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .scenario-list {
    display: flex;
    gap: 10px;
    border-top: 0;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-color: var(--accent) rgba(248, 247, 244, 0.18);
    scrollbar-width: thin;
  }

  .scenario-list::-webkit-scrollbar {
    height: 5px;
  }

  .scenario-list::-webkit-scrollbar-track {
    background: rgba(248, 247, 244, 0.18);
  }

  .scenario-list::-webkit-scrollbar-thumb {
    background: var(--accent);
  }

  .scenario-list__button {
    width: auto;
    min-width: max-content;
    min-height: 48px;
    border: 1px solid var(--dark-border);
    padding: 12px 20px;
  }

  .scenario-list__button:hover {
    padding-left: 20px;
  }

  .scenario-list__button::before {
    top: auto;
    right: 0;
    bottom: 0;
    width: auto;
    height: 4px;
    transform: scaleX(0);
    transform-origin: left;
  }

  .scenario-list__button.is-active::before {
    transform: scaleX(1);
  }

  .company__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .company__content {
    max-width: 760px;
  }

  .company__collage {
    min-height: 560px;
  }

  .company__large {
    width: 76%;
  }

  .quality__row {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .quality__copy {
    max-width: 700px;
  }
}

@media (max-width: 800px) {
  .history__timeline {
    padding-left: 0;
  }

  .history__rail,
  .history__progress {
    left: 27px;
    transform: none;
  }

  .history__progress {
    transform-origin: top center;
  }

  .history__node {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 0;
    padding-left: 0;
  }

  .history__node::after {
    left: 27px;
  }

  .history__node .history__copy,
  .history__node .history__media {
    grid-column: 2;
    grid-row: auto;
  }

  .history__node .history__copy {
    padding: 0;
    text-align: left;
  }

  .history__node .history__media {
    width: min(100%, 560px);
    margin-top: 28px;
  }
}

@media (max-width: 720px) {
  .section-heading--row {
    align-items: flex-start;
  }

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

  .category-card {
    display: grid;
    grid-template-columns: 42% 58%;
  }

  .category-card__media {
    height: 100%;
    aspect-ratio: auto;
  }

  .popular__grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    margin-inline: calc(var(--page-padding) * -1);
    padding: 2px var(--page-padding) 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .popular__grid::-webkit-scrollbar {
    display: none;
  }

  .product-card--featured,
  .popular__side {
    display: contents;
  }

  .product-card {
    flex: 0 0 78vw;
    scroll-snap-align: start;
  }

  .product-card--featured {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .product-card__media--featured {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .product-card__media--featured img {
    aspect-ratio: 16 / 9;
  }

  .product-card__body--featured {
    min-height: 320px;
    padding: 24px;
  }

  .product-card--small {
    min-height: 460px;
  }

  .product-card--small .product-card__media {
    flex-basis: 210px;
  }

  .company__collage {
    min-height: 480px;
  }

  .company__small {
    bottom: -24px;
    border-width: 8px;
  }
}

@media (max-width: 640px) {
  :root {
    --page-padding: 18px;
  }

  h1 {
    font-size: clamp(32px, 9.4vw, 40px);
  }

  h2 {
    font-size: clamp(27px, 8vw, 34px);
  }

  h3 {
    font-size: clamp(22px, 7vw, 28px);
  }

  .section-heading--row {
    flex-direction: column;
    gap: 8px;
  }

  .section-heading--row > .text-link {
    margin-bottom: 0;
  }

  .button-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .home-carousel {
    height: auto;
    min-height: 0;
    max-height: none;
    background: var(--paper);
    color: var(--text);
  }

  .home-carousel__swiper,
  .home-carousel__slide {
    height: auto;
  }

  .home-carousel__slide {
    display: flex;
    flex-direction: column;
  }

  .home-carousel__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }

  .home-carousel__media .img-slot {
    aspect-ratio: 16 / 9;
  }

  .home-carousel__overlay {
    background: linear-gradient(
      180deg,
      rgba(15, 15, 15, 0.3) 0%,
      rgba(15, 15, 15, 0.06) 60%,
      rgba(15, 15, 15, 0.16) 100%
    );
  }

  .home-carousel__content {
    position: relative;
    inset: auto;
    display: block;
  }

  .home-carousel__copy {
    width: 100%;
    padding: 28px var(--page-padding) 36px;
    transform: none;
  }

  .home-carousel__copy h1 {
    margin-bottom: 18px;
    color: var(--text);
  }

  .home-carousel__summary {
    color: var(--secondary-text);
    font-size: var(--h4);
  }

  .hero__grid {
    gap: 32px;
  }

  .hero__content {
    padding-top: 0;
  }

  .hero__summary {
    font-size: var(--h4);
  }

  .hero__media {
    aspect-ratio: 16 / 9;
  }

  .media-story__grid {
    gap: 32px;
  }

  .media-story__media figcaption {
    font-size: var(--caption);
  }

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

  .metric,
  .metric:first-child,
  .metric:nth-child(3) {
    padding: 28px 0;
    border-left: 0;
  }

  .metric + .metric,
  .metric:nth-child(n + 2) {
    border-top: 1px solid var(--border);
  }

  .metric__value {
    margin-bottom: 8px;
  }

  .categories__grid {
    gap: 16px;
  }

  .category-card {
    display: flex;
  }

  .category-card__media {
    aspect-ratio: 4 / 3;
  }

  .category-card__content {
    padding: 20px;
  }

  .solution-row {
    gap: 32px;
    padding-block: 48px;
  }

  .solution-row + .solution-row {
    margin-top: 48px;
  }

  .product-mini-grid {
    display: flex;
    gap: 14px;
    margin-inline: calc(var(--page-padding) * -1);
    padding-inline: var(--page-padding);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--accent) rgba(30, 30, 30, 0.15);
    scrollbar-width: thin;
  }

  .product-mini-grid::-webkit-scrollbar {
    height: 5px;
  }

  .product-mini-grid::-webkit-scrollbar-track {
    background: rgba(30, 30, 30, 0.15);
  }

  .product-mini-grid::-webkit-scrollbar-thumb {
    background: var(--accent);
  }

  .product-mini-card {
    flex: 0 0 72%;
    scroll-snap-align: start;
  }

  .scenario-list {
    margin-inline: calc(var(--page-padding) * -1);
    padding-inline: var(--page-padding);
    scrollbar-width: auto;
  }

  .scenario-panel__content {
    padding: 24px 20px 28px;
  }

  .company__collage {
    min-height: 390px;
  }

  .company__large {
    width: 88%;
  }

  .company__small {
    width: 42%;
    bottom: -16px;
  }

  .history__node {
    margin-bottom: 72px;
  }

  .history__node .history__copy {
    margin-bottom: 24px;
  }

  .history__node .history__media {
    margin-top: 0;
  }

  .faq__question {
    min-height: 76px;
    gap: 18px;
    padding-block: 24px;
    font-size: var(--h4);
  }

  .faq__answer p {
    padding-right: 24px;
    font-size: var(--fs-button);
  }

  .quality__row {
    gap: 28px;
    padding-block: 48px;
  }

  .quality__row + .quality__row {
    margin-top: 48px;
  }
}

@media (max-width: 420px) {
  .home-carousel__copy {
    padding-top: 24px;
  }

  .home-carousel__copy .button {
    width: 100%;
  }

  .hero__media,
  .home-carousel__media {
    aspect-ratio: 4 / 3;
  }

  .company__collage {
    min-height: 330px;
  }

  .company__small {
    width: 44%;
    border-width: 6px;
  }

  .product-card {
    flex-basis: 82vw;
  }

  .product-card--small {
    min-height: 440px;
  }

  .product-card--small .product-card__media {
    flex-basis: 190px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}