/* Photographic product stories on the brand homepage. */
body[data-page="home"] { display: block; height: auto; min-height: 100dvh; overflow: visible; }
body[data-page="home"] .site-header { position: sticky; top: 0; }
body[data-page="home"] #main { overflow: visible; }
#home {
  --rail-height: 79px;
  --story-gutter: max(7vw, calc((100vw - 1480px) / 2));
  display: block;
  height: auto;
  padding: 0;
  overflow: visible;
}
.product-poster {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: calc(var(--header-height) + var(--rail-height));
  color: #fff;
  background: #071126;
  --poster-ink: #fff;
  --poster-muted: #dae3f1;
  --poster-solid: #f6f8fc;
  --poster-solid-ink: #122033;
  --poster-swatch: #9cbbfa;
}
#poster-33 { scroll-margin-top: var(--header-height); }
.poster-inner {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(475px, 46vw, 875px);
  padding: 62px var(--story-gutter);
}
.poster-visual { position: absolute; inset: 0; z-index: -1; display: block; }
.poster-visual img { width: 100%; height: 100%; display: block; object-fit: cover; }
.poster-33 .poster-visual img { object-position: 62% 53%; }
.poster-18 .poster-visual img { object-position: 28% 56%; }
.poster-59 .poster-visual img { object-position: 70% 56%; }
.poster-copy { position: relative; width: min(42vw, 575px); }
.poster-copy h1, .poster-copy h2 { margin: 0; color: var(--poster-ink); }
.poster-model {
  display: flex;
  align-items: center;
  gap: 13px;
  width: fit-content;
  font: 600 clamp(17px, 1.53vw, 24px)/1.12 "Segoe UI", Arial, sans-serif;
  letter-spacing: .055em;
}
.poster-model::before { content: ""; width: 31px; height: 2px; background: var(--poster-swatch); }
.poster-kind {
  display: block;
  margin-top: clamp(16px, 1.65vw, 29px);
  font-family: "Microsoft YaHei UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(49px, 5.3vw, 98px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.055em;
}
.poster-kind > span { display: block; }
.poster-description {
  margin: clamp(16px, 1.7vw, 27px) 0 0;
  max-width: 29em;
  color: var(--poster-muted);
  font-size: clamp(14px, 1.15vw, 20px);
  line-height: 1.7;
}
.poster-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px clamp(20px, 2vw, 35px);
  margin-top: clamp(22px, 2.3vw, 39px);
}
.poster-actions a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }
.poster-shop { border-radius: 99px; padding: 9px 25px; background: var(--poster-solid); color: var(--poster-solid-ink); }
.poster-all { color: var(--poster-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: currentColor; }
.poster-actions a:focus-visible { outline: 3px solid var(--poster-swatch); outline-offset: 4px; }
.poster-copy :is(h1, h2):focus { outline: none; }

.model-rail { position: sticky; z-index: 4; top: var(--header-height); background: #fff; border-block: 1px solid #dce1e6; }
.model-rail-inner { max-width: 1120px; margin-inline: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.model-rail button {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-width: 0;
  height: calc(var(--rail-height) - 2px);
  padding: 6px;
  color: #303a44;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.model-rail button + button::before { content: ""; position: absolute; left: 0; width: 1px; height: 36%; background: #dee3e7; }
.model-rail button::after { content: ""; position: absolute; bottom: 0; left: 15%; width: 70%; height: 3px; background: #364d90; transform: scaleX(0); }
.model-rail button[aria-current]::after { transform: scaleX(1); }
.model-rail button[aria-current] { color: #243970; }
.model-rail button:focus-visible { outline: 2px solid #324e9b; outline-offset: -4px; }
.model-rail img { width: 54px; height: 45px; object-fit: contain; mix-blend-mode: multiply; }
.model-rail strong { display: block; font: 650 16px/1.15 "Segoe UI", Arial, sans-serif; letter-spacing: -.025em; }
.model-rail small { display: block; margin-top: 4px; font-size: 11px; line-height: 1.2; color: #545e67; }

.poster-18 {
  --poster-ink: #2c2420; --poster-muted: #514741; --poster-solid: #302926;
  --poster-solid-ink: #fff; --poster-swatch: #926a50;
  background: #eee6e1;
}
.poster-18 .poster-copy { width: min(36vw, 535px); margin-left: auto; }
.poster-59 {
  --poster-ink: #fff; --poster-muted: #e0e4e4; --poster-solid: #fff2e3;
  --poster-solid-ink: #32291d; --poster-swatch: #f7a266;
  background: #19222b;
}
.poster-59 .poster-inner { min-height: clamp(465px, 52vw, 1020px); }
.poster-note { position: absolute; right: 16px; bottom: 12px; padding: 3px 7px; border-radius: 3px; background: #111820c9; color: #fff; font-size: 10px; }

#home .home-resources { gap: 0; }
#home .resource { align-items: center; min-height: clamp(195px, 18vw, 325px); border-radius: 0; }
#home .resource:focus-visible { outline-offset: -4px; }
#home .resource-copy { max-width: 50%; margin: 0 0 0 clamp(25px, 6vw, 120px); }
#home .resource h2 { font-size: clamp(26px, 2.4vw, 44px); letter-spacing: -.045em; }
#home .resource p { margin-top: 9px; font-size: clamp(13px, 1vw, 17px); }
#home .resource-download { background: #142638; }
#home .resource-monitor { width: 48%; left: 56%; top: 18%; transform: rotate(-6deg); }
#home .resource-guides { background: #f2f1ee; }
#home .resource-scene { inset: 0 4% 0 auto; width: 42%; height: 100%; object-fit: contain; mask-image: none; mix-blend-mode: multiply; }
#home .resource-arrow { inset: auto auto clamp(14px, 1.65vw, 27px) clamp(25px, 6vw, 120px); padding: 0; background: transparent; color: inherit; }

@media (hover: hover) {
  .model-rail button:hover { background: #f5f7fa; }
  .poster-shop:hover { box-shadow: 0 0 0 2px var(--poster-swatch); }
  .poster-all:hover { text-decoration-thickness: 2px; }
}
@media (prefers-reduced-motion: no-preference) {
  .model-rail button::after, .poster-shop { transition: transform 240ms ease-out, box-shadow 180ms ease-out; }
  .poster-shop:active { transform: scale(.97); }
}
@media (max-width: 900px) {
  #home { --story-gutter: 6vw; --rail-height: 64px; }
  .poster-inner { min-height: clamp(360px, 50vw, 460px); padding-block: 38px; }
  .poster-kind { font-size: clamp(42px, 5.5vw, 55px); }
  .poster-59 .poster-inner { min-height: clamp(370px, 52vw, 470px); }
  .model-rail img { width: 43px; height: 38px; }
}
@media (max-width: 720px) and (orientation: portrait) {
  #home { --story-gutter: 6vw; --rail-height: 60px; }
  .poster-inner, .poster-59 .poster-inner { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding: 0; }
  .poster-copy, .poster-18 .poster-copy { width: auto; margin: 0; padding: 30px var(--story-gutter) 20px; }
  .poster-33 { --mobile-surface: #060f21; }
  .poster-18 { --mobile-surface: #f1e9e5; }
  .poster-59 { --mobile-surface: #1c252e; }
  .poster-copy { background: var(--mobile-surface); }
  .poster-model { gap: 9px; font-size: 15px; }
  .poster-model::before { width: 23px; }
  .poster-kind { margin-top: 11px; font-size: clamp(34px, 8.8vw, 57px); line-height: 1.18; letter-spacing: -.05em; }
  .poster-kind > span { display: inline; }
  .poster-description { margin-top: 10px; font-size: 14px; }
  .poster-actions { margin-top: 15px; gap: 23px; }
  .poster-actions a { font-size: 13px; }
  .poster-shop { padding-inline: 20px; }
  .poster-visual { position: relative; inset: auto; aspect-ratio: 1.46; }
  .poster-visual::after { content: ""; position: absolute; inset: -1px 0 auto; height: 17%; background: linear-gradient(to bottom, var(--mobile-surface), transparent); }
  .poster-33 .poster-visual img { object-position: 89% center; }
  .poster-18 .poster-visual img { object-position: 14% center; }
  .poster-59 .poster-visual { aspect-ratio: 920 / 884; }
  .poster-59 .poster-visual img { object-position: center; }
  .poster-note { right: 8px; bottom: 6px; }
  .model-rail button { gap: 7px; }
  .model-rail img { width: clamp(27px, 8vw, 45px); height: 34px; }
  .model-rail strong { font-size: 13px; }
  .model-rail small { font-size: 10px; margin-top: 3px; }
  #home .home-resources { grid-template-columns: 1fr; }
  #home .resource { min-height: clamp(145px, 39vw, 225px); }
  #home .resource-copy { margin-left: var(--story-gutter); }
  #home .resource h2 { font-size: 26px; }
  #home .resource p { margin-top: 5px; font-size: 12px; line-height: 1.5; }
  #home .resource-monitor { top: 20%; }
  #home .resource-arrow { inset: auto auto 12px var(--story-gutter); }
}
@media (max-height: 520px) and (orientation: landscape) {
  #home { --rail-height: 47px; }
  .poster-inner { min-height: clamp(302px, 48vw, 480px); }
  .poster-kind { margin-top: 11px; font-size: clamp(33px, 5vw, 50px); }
  .poster-model { font-size: 15px; }
  .poster-description { margin-top: 10px; font-size: 13px; }
  .poster-actions { margin-top: 14px; }
  .model-rail img { height: 32px; }
}
