.home-reel { padding-block: clamp(48px, 6vw, 88px); }
.home-showcase {
  grid-template-columns: minmax(0, 1fr) minmax(304px, .42fr);
  gap: 16px;
}
.home-hero-art { aspect-ratio: 2.05; }
.home-scene-caption { min-height: 76px; padding: 12px 20px; }
.home-scene-title { font-size: 20px; }
.home-scene-market { border: 1px solid #dce5f3; border-radius: 7px; }
.home-scene-side { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; min-width: 0; }
.home-scene-rail { grid-template-rows: repeat(3, minmax(72px, 1fr)); gap: 8px; }
.home-scene-option {
  grid-template: auto / minmax(72px, 35%) minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 6px 12px 6px 6px;
  border-radius: 9px;
}
.home-scene-option[aria-pressed="true"] { border-color: #9aabd5; background: #edf2fb; }
.home-scene-option img { height: 100%; max-height: 94px; border-radius: 5px; }
.home-scene-option > span { display: grid; gap: 3px; padding: 0; }
.home-scene-option b { line-height: 1.3; }
.home-scene-option > svg { width: 15px; height: 15px; color: var(--home-muted); }
.home-scene-option[aria-pressed="true"] > svg { color: var(--home-accent); }
.home-scene-models {
  padding: 12px;
  border: 1px solid var(--home-border);
  border-radius: 10px;
  background: #f4f6fa;
}
.home-scene-models h3 { margin: 0 0 8px; font-size: 13px; font-weight: 650; }
#home-scene-model-links { display: grid; gap: 6px; }
.home-scene-model {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 8px;
  border: 1px solid var(--home-border);
  border-radius: 6px;
  background: #fff;
  color: var(--home-ink);
  font-size: 13px;
  font-weight: 640;
  overflow-wrap: anywhere;
}
.home-scene-model:hover { border-color: #a8b7d6; background: #f4f6fb; color: var(--home-accent); }
.home-scene-model > img { width: 22px; height: 22px; object-fit: contain; }
.home-scene-model > svg:last-child { width: 15px; height: 15px; color: var(--home-accent); }

.home-discovery {
  border-block: 1px solid var(--home-border);
  background: #f0f3f8;
}
.home-discovery .home-section-head .home-inline-link {
  padding-inline: 12px;
  border: 1px solid var(--home-border);
  border-radius: 7px;
  background: #fff;
}
.home-discovery .home-section-head .home-inline-link:hover { border-color: #a8b7d6; background: #f6f8fc; text-decoration: none; }
.home-series { padding-block: clamp(52px, 6vw, 88px) 0; }
.home-series-header { gap: 16px; align-items: end; }
.home-series-controls { display: flex; align-items: center; flex: none; gap: 6px; }
.home-series-controls button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--home-border);
  border-radius: 8px;
  background: #fff;
  color: var(--home-accent);
}
.home-series-controls button[hidden] { display: none; }
.home-series-controls button:hover { border-color: #a8b7d6; background: #edf2fa; }
.home-series-controls button > svg { width: 17px; height: 17px; }
.home-series-grid { position: relative; display: flex; gap: 10px; }
.home-series-card {
  --series-heading-height: 64px;
  --series-detail-height: 0px;
  position: relative;
  isolation: isolate;
  flex: 1 1 0;
  min-width: 0;
  height: 440px;
  overflow: hidden;
  border: 1px solid var(--home-border);
  border-radius: 14px;
  background: #fff;
  transition: flex-grow .4s cubic-bezier(.22,1,.36,1), border-color .2s ease;
}
.home-series-card:hover { border-color: #a5b6d4; }
.home-series-card[data-series-active] { --series-detail-height: 148px; flex-grow: 3.9; border-color: #b3c3dc; }
.home-series-media {
  position: absolute;
  inset: 0 0 calc(var(--series-heading-height) + var(--series-detail-height));
  overflow: hidden;
  background: #dce4ef;
  transition: bottom .4s cubic-bezier(.22,1,.36,1);
}
.home-series-media > :is(img,video) { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.home-series-film { opacity: 0; transition: opacity .22s ease; }
.home-series-card[data-series-active] .home-series-film[data-ready] { opacity: 1; }
.home-series-heading {
  position: absolute;
  inset: auto 0 var(--series-detail-height);
  height: var(--series-heading-height);
  margin: 0;
  background: #fff;
  transition: bottom .4s cubic-bezier(.22,1,.36,1);
}
.home-series-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  height: 100%;
  padding: 6px 14px;
  border: 0;
  background: transparent;
  color: var(--home-ink);
  text-align: start;
}
.home-series-brand::before { position: absolute; inset: -440px 0 0; content: ''; }
.home-series-brand:focus-visible { outline-offset: -4px; }
.home-series-brand img { flex: none; width: 26px; height: 26px; object-fit: contain; }
.home-series-brand b { display: block; font-size: 16px; font-weight: 650; line-height: 1.25; }
.home-series-brand small { display: block; margin-top: 1px; color: var(--home-muted); font-size: 12px; }
.home-series-brand > svg { display: none; width: 16px; height: 16px; margin-inline-start: auto; color: var(--home-accent); }
.home-series-card[data-series-active] .home-series-brand > svg { display: block; transform: rotate(90deg); }
.home-series-card:not([data-series-active]) .home-series-brand small { display: none; }
.home-series-details {
  position: absolute;
  inset: auto 0 0;
  height: var(--series-detail-height);
  background: #fff;
  animation: home-series-enter .25s ease-out;
}
@keyframes home-series-enter { from { opacity: .45; } to { opacity: 1; } }
.home-series-models { margin-inline: 14px; border-top: 1px solid var(--home-border); }
.home-series-model {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto) 14px;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding-block: 6px;
  border-bottom: 1px solid var(--home-border);
  color: var(--home-ink);
  font-size: 13px;
}
.home-series-model:hover { color: var(--home-accent); background: #f7f9fc; }
.home-series-model-name { font-weight: 640; overflow-wrap: anywhere; }
.home-series-price { max-width: 136px; color: var(--home-ink); text-align: end; font-variant-numeric: tabular-nums; }
.home-series-price b { font-weight: 640; }
.home-series-price small { color: var(--home-muted); font-size: 11px; }
.home-series-price-from { margin-inline-start: 3px; }
.home-series-price-unit { display: block; line-height: 1.4; }
.home-series-model > svg { width: 14px; height: 14px; color: var(--home-accent); }
.home-series-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  width: 100%;
  padding-inline: 14px;
  border: 0;
  background: transparent;
  color: var(--home-accent);
  text-align: start;
  font-weight: 640;
  font-size: 13px;
}
.home-series-action:hover { background: #eef3fa; }
.home-series-action > svg { width: 16px; height: 16px; }
.home-series-card :is(a,button):focus-visible { outline-offset: -3px; }
.home-model-index { display: grid; grid-template-rows: auto 1fr; align-content: start; }
.home-model-index-top { margin-bottom: 16px; }
.home-model-families { align-content: start; }
.home-model-card { padding: 10px; }
.home-model-card:hover, .home-use-body button:hover { background: #eef3fa; }

.home-creative-card { position: relative; border-radius: 12px; }
.home-creative-card img { aspect-ratio: 1.75; }
.home-creative-caption {
  position: absolute;
  inset: auto 0 0;
  align-items: end;
  padding: 28px 16px 14px;
  background: linear-gradient(0deg,#09182aee 0%,#09182ac7 52%,#09182a00 100%);
  color: #fff;
}
.home-creative-caption small { color: #f0f5fc; }
.home-creative-caption > svg { color: #fff; }
.home-creative-card:hover { border-color: #8398bb; }
.home-use-body button { background: #f1f4f9; }

.home-build { align-items: center; }
.home-build-docs { margin-top: 12px; }
.home-integration { padding: 12px; border: 1px solid #dce4ef; border-radius: 14px; background: #eaf0f8; }
.home-base, .home-editor { border-radius: 8px; }
.home-base { background: #fff; }
.home-editor { border-color: #26354a; background: #182438; }
.home-editor-top { border-color: #41516a; background: #24334a; }
#home-code-filename { color: #f4f7fc; }
#home-code-language { color: #e2e9f8; background: #3a4b67; }
.home-editor pre { color: #e0eaf9; }

.home-statement { justify-items: center; text-align: center; }
.home-operations { background: #eff3f8; }
.home-services > a:hover { background: #f7faff; }
.home-finish { background: #eaf0f8; }
.home-finish .home-cta { background: #233754; color: #fff; }
.home-finish .home-cta:hover { background: #344d72; }

@media (max-width: 900px) {
  .home-showcase { grid-template-columns: minmax(0, 1fr); }
  .home-hero-art { aspect-ratio: 2; }
  .home-scene-side { grid-template-rows: none; }
  .home-scene-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; }
  .home-scene-option { grid-template: auto auto / minmax(0, 1fr); align-content: start; gap: 6px; padding: 4px; }
  .home-scene-option img { height: auto; max-height: none; aspect-ratio: 1.8; }
  .home-scene-option > span { padding: 0 4px 4px; }
  .home-scene-option > svg { display: none; }
  #home-scene-model-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 950px) {
  .home-series-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .home-series-viewport[data-carousel] { overflow: hidden; scroll-snap-type: none; }
  .home-series-viewport[data-carousel] .home-series-grid { position: static; }
  .home-series-grid { touch-action: pan-y pinch-zoom; }
  .home-series-viewport:not([data-carousel]) .home-series-grid::after { flex: 0 0 23px; content: ''; }
  .home-series-viewport:not([data-carousel]) .home-series-grid { touch-action: auto; }
  .home-series-card, .home-series-card[data-series-active] { flex: 0 0 calc(100% - 32px); height: 380px; scroll-snap-align: start; }
  .home-series-card:only-child { flex-basis: 100%; }
}

@media (max-width: 480px) {
  .home-showcase { gap: 10px; }
  .home-hero-art { aspect-ratio: 1.58; }
  .home-scene-caption { min-height: 66px; gap: 8px; padding-inline: 12px; }
  .home-scene-title { font-size: 18px; }
  .home-scene-rail { gap: 6px; }
  .home-scene-option > span { padding-inline: 2px; }
  .home-scene-models { padding: 8px; }
  .home-scene-model { gap: 4px; }
  .home-creative-card img { aspect-ratio: 1.18; }
  .home-creative-caption { padding: 20px 8px 10px; }
  .home-creative-caption small { font-size: 11px; }
  .home-build { gap: 16px; }
  .home-series-header { display: flex; flex-wrap: wrap; }
  .home-series-header h2 { font-size: 33px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-series-card, .home-series-media, .home-series-heading, .home-series-film { transition: none; }
  .home-series-details { animation: none; }
}
