/* Photography, controls and motion for the home and equipment pages. */
[data-experience] {
  --sx-graphite: #181a21;
  --sx-paper: #f6f5f2;
  --sx-ember: #ff7455;
  --sx-line: #dfddd7;
  background: var(--sx-paper);
}

[data-experience] .topline { background: #121319; }
[data-experience] header { border-bottom: 1px solid var(--sx-line); }
[data-experience] .nav-cta { border-radius: 7px; }
[data-experience] .brand { color: #202127; }

[data-experience=home] .hero {
  position: relative;
  isolation: isolate;
  border: 0;
  color: #faf8f4;
  background: radial-gradient(ellipse at 89% 18%, #713123 0%, transparent 48%),
    radial-gradient(ellipse at 67% 99%, #153640 0%, transparent 49%), #15161c;
}
[data-experience=home] .hero::before {
  display: block;
  position: absolute;
  inset: 0;
  z-index: -1;
  content: '';
  background-image: linear-gradient(#fff1 1px, transparent 1px), linear-gradient(90deg, #fff1 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .4;
  mask-image: linear-gradient(104deg, transparent 15%, #000);
  pointer-events: none;
}
.hero-particles {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.dialog-open .hero-particles { visibility: hidden; }
[data-experience=home] .hero-inner {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(35px, 5vw, 86px);
  padding-block: clamp(36px, 5.2vw, 76px) clamp(108px, 9.2vw, 138px);
}
.hero-copy, .hero-showcase { min-width: 0; }
[data-experience=home] .hero .eyebrow { color: #fbb099; }
[data-experience=home] .hero .eyebrow::before { background: var(--sx-ember); flex-shrink: 0; }
[data-experience=home] .hero h1 {
  color: #f9f6f0;
  font-size: clamp(40px, 4.9vw, 76px);
  margin-block: 25px 20px;
  line-height: 1.06;
  letter-spacing: -.062em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
html[lang=zh-CN] [data-experience=home] .hero h1,
html[dir=rtl] [data-experience=home] .hero h1 { letter-spacing: 0; line-height: 1.2; }
[data-experience=home] .hero h1 em { color: var(--sx-ember); }
[data-title-line] { display: inline-block; max-width: 100%; }
[data-experience=home] .hero p { color: #d0cbd0; line-height: 1.72; }
[data-experience=home] .hero .hero-company { color: #f2e7df !important; }
.hero-company a { color: #fbb099; text-decoration: underline; text-underline-offset: .2em; display: table; margin-block-start: 3px; }
[data-experience=home] .hero .btn { border-radius: 8px; font-size: 13px; }
[data-experience=home] .hero .btn-primary { background: var(--sx-ember); color: #241713; }
[data-experience=home] .hero .btn-primary:hover { background: #ff9d80; }
[data-experience=home] .hero .btn-ghost { color: #f8f0e9; border-color: #f8f0e95c; }
[data-experience=home] .hero .btn-ghost:hover { background: #fff1; }
[data-experience=home] .hero-subline { flex-wrap: wrap; color: #cfc2c0; }
[data-experience=home] .hero-subline span::before { color: var(--sx-ember); margin: 0; margin-inline-end: 6px; }

[data-experience=home] .hero-media {
  overflow: hidden;
  border-radius: 16px;
  background: #24242b;
  border: 1px solid #ffffff26;
  box-shadow: 0 24px 68px #08090e70;
}
.hero-stage { position: relative; overflow: hidden; touch-action: pan-y pinch-zoom; }
[data-experience=home] .hero-scene { position: relative; background: #dcdad5; }
[data-experience=home] .hero-scene:not([hidden]) { animation: none; }
[data-experience=home] .hero-scene img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.53;
  object-fit: cover;
  object-position: center 25%;
  background: #e7e4df;
  animation: none;
}
[data-experience=home] .hero-scene[data-scene="2"] img { object-fit: contain; background: #eeece8; }
[data-experience=home] .hero-scene figcaption {
  display: flex;
  position: absolute;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 4px;
  inset: auto 0 0;
  min-height: 38%;
  padding: 34px clamp(14px, 3vw, 27px) 18px;
  border: 0;
  color: white;
  background: linear-gradient(transparent, #0e1015e8 85%);
}
[data-experience=home] .hero-scene figcaption b { font-size: clamp(16px, 2vw, 24px); }
[data-experience=home] .hero-scene figcaption span { font-size: 10px; color: #f6e7df; }
.hero-position, .hero-arrows button {
  background: #181920e8;
  border: 1px solid #ffffff59;
  color: #fff;
}
.hero-position {
  position: absolute;
  inset-block-start: 13px;
  inset-inline-start: 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 6px;
  font: 700 11px ui-monospace, monospace;
  direction: ltr;
}
.hero-position i { width: 12px; height: 1px; background: var(--sx-ember); }
.hero-arrows { position: absolute; inset-block-start: 12px; inset-inline-end: 12px; display: flex; gap: 6px; }
.hero-arrows button { width: 44px; height: 44px; border-radius: 8px; font-size: 21px; cursor: pointer; }
.hero-arrows button:hover, .hero-arrows button:focus-visible { background: #422b29; }
html[dir=rtl] .hero-arrows button > span { display: inline-block; transform: scaleX(-1); }
[data-experience=home] .hero-switcher { border: 0; background: #25252c; }
[data-experience=home] .hero-switcher button {
  position: relative;
  min-height: 50px;
  min-width: 0;
  color: #cfcaca;
  border: 0;
  border-inline-end: 1px solid #ffffff22;
  box-shadow: none;
  overflow-wrap: anywhere;
  transform: none;
}
[data-experience=home] .hero-switcher button:last-child { border-inline-end: 0; }
[data-experience=home] .hero-switcher button:hover { background: #ffffff0f; }
[data-experience=home] .hero-switcher button[aria-pressed=true] { background: #35292d; color: #ffb29b; }
.hero-switcher button[aria-pressed=true]::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--sx-ember);
  transform-origin: left;
}
html[dir=rtl] .hero-switcher button[aria-pressed=true]::after { transform-origin: right; }
.hero-media[data-playing] .hero-switcher button[aria-pressed=true]::after { animation: sx-slide-progress var(--cycle-duration, 6500ms) linear both; }
.hero-controls { border-top: 1px solid #ffffff22; padding-inline: 13px; }
[data-experience=home] .hero-play { min-height: 44px; margin: 0; padding: 0 8px; color: #e2d9d8; font-size: 11px; }
[data-experience=home] .hero-play:hover { color: #ffb29b; }

[data-experience=home] .trust { background: #211f25; border-block: 1px solid #ffffff15; }
[data-experience=home] .trust .wrap { gap: 1px; padding-block: 0; }
[data-experience=home] .trust-item {
  min-width: 0;
  min-height: 82px;
  justify-content: space-between;
  padding: 12px clamp(10px, 2vw, 25px);
  border: 0;
  border-inline-start: 1px solid #ffffff1a;
  text-decoration: none;
  transition: background .2s;
}
[data-experience=home] .trust-item:last-child { border-inline-end: 1px solid #ffffff1a; }
[data-experience=home] .trust-item:hover, [data-experience=home] .trust-item:focus-visible { background: #35292d; }
[data-experience=home] .trust b { color: #f7f4ef; font-size: 13px; }
[data-experience=home] .trust span { color: #cbc1c2; font-size: 11px; }
[data-experience=home] .trust .trust-arrow { color: #ff9b80; font-size: 19px; }

[data-experience] :is(.card, .update-card, .connections-photo) {
  position: relative;
  isolation: isolate;
  border-radius: 12px;
  border-color: var(--sx-line);
  background-color: #fff;
}
[data-experience] :is(.card, .update-card, .connections-photo)::after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(250px circle at var(--sx-x, 50%) var(--sx-y, 50%), #ff914538, transparent 76%);
  transition: opacity .24s ease;
}
[data-experience] [data-spotlight]::after { opacity: 1; }
[data-experience] .card-image { overflow: hidden; border-radius: 11px 11px 0 0; }
[data-experience] .card-image img { transition: transform .35s cubic-bezier(.2,.7,.25,1); }
[data-experience] .card:focus-within { border-color: #ad4850; box-shadow: 0 0 0 2px #ad485034; }
[data-experience=home] .brochure-download { border-radius: 12px; }
[data-experience=home] .filter { border-radius: 20px; }
[data-experience=home] .search { border-radius: 8px; }
[data-experience=home] .connections-photo { overflow: hidden; }
[data-experience=home] .connections-photo img { transition: transform .4s ease; }
@media (hover: hover) {
  [data-experience=home] .connections-photo:hover img { transform: scale(1.035); }
}

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

@media (max-width: 850px) {
  [data-experience=home] .hero-inner { grid-template-columns: minmax(0, 1fr); }
  [data-experience=home] .hero-copy { max-width: 680px; }
  [data-experience=home] .hero-scene img { aspect-ratio: 1.65; }
  [data-experience=home] .trust-item { border-block-end: 1px solid #ffffff1a; }
}
@media (max-width: 560px) {
  [data-experience=home] .hero h1 { font-size: clamp(35px, 10vw, 51px); }
  [data-experience=home] .hero-inner { padding-block: 33px 81px; gap: 24px; }
  [data-experience=home] .hero-subline { margin-block-start: 20px; }
  [data-experience=home] .hero-scene img { aspect-ratio: 1.34; }
  [data-experience=home] .hero-switcher button { padding: 8px 4px; }
  [data-experience=home] .trust-item { min-height: 72px; }
  [data-experience=home] .filters { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-inline: contain; }
  [data-experience=home] .filter { flex-shrink: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-particles { display: none; }
  [data-experience=home] .hero-inner { padding-block-end: clamp(24px, 5.2vw, 76px); }
  [data-experience] :is(.card-image img, .connections-photo img, .trust-item) { transition: none; }
  [data-experience] :is(.card:hover .card-image img, .connections-photo:hover img) { transform: none; }
  [data-experience] .hero-switcher button::after { animation: none !important; }
  [data-experience] [data-spotlight]::after { opacity: 0; }
}
