:root {
  --yellow: #ffd900;
  --graphite: #121417;
  --white: #fff;
  --safe-x: clamp(36px, 6.6vw, 112px);
  --safe-y: clamp(28px, 4vh, 46px);
}
* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; margin: 0; overflow: hidden; }
body { background: var(--graphite); color: var(--white); font-family: Montserrat, "Avenir Next", "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, a { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

.presentation { position: relative; width: 100vw; height: 100vh; height: 100dvh; overflow: hidden; background: #101214; }
.track { display: flex; width: 100%; height: 100%; will-change: transform; transition: transform 850ms cubic-bezier(.76,0,.2,1); }
.slide { position: relative; flex: 0 0 100%; width: 100%; height: 100%; overflow: hidden; isolation: isolate; }
.slide-image, .product-visual, .veil { position: absolute; inset: 0; }
.slide-image { z-index: -3; background-size: cover; background-repeat: no-repeat; transform: scale(1.015); transition: transform 6s cubic-bezier(.2,.65,.2,1); }
.slide[aria-hidden="false"] .slide-image { transform: scale(1.045); }
.veil { z-index: -2; background: linear-gradient(90deg,rgba(7,9,10,.91) 0%,rgba(7,9,10,.73) 29%,rgba(7,9,10,.12) 61%,rgba(7,9,10,.17) 100%),linear-gradient(0deg,rgba(5,6,7,.64) 0%,transparent 34%,rgba(5,6,7,.18) 100%); }
.slide--right .veil { background: linear-gradient(270deg,rgba(7,9,10,.91) 0%,rgba(7,9,10,.72) 31%,rgba(7,9,10,.08) 65%,rgba(7,9,10,.14) 100%),linear-gradient(0deg,rgba(5,6,7,.55) 0%,transparent 36%,rgba(5,6,7,.18) 100%); }

.topbar { position: fixed; z-index: 30; top: 0; left: 0; right: 0; display: flex; align-items: flex-start; justify-content: space-between; padding: 24px clamp(24px,4vw,72px) 0 var(--safe-x); pointer-events: none; }
.brand, .topbar-actions { pointer-events: auto; }
.brand { display: block; width: clamp(132px, 10.5vw, 184px); padding: 0; border: 0; background: transparent; text-decoration: none; filter: drop-shadow(0 2px 16px rgba(0,0,0,.35)); }
.brand img { display: block; width: 100%; height: auto; }
.topbar-actions { display: flex; align-items: center; gap: 22px; }
.hint { font-size: 10px; text-transform: uppercase; letter-spacing: .17em; opacity: .58; }
.fullscreen { display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 10px 15px; background: rgba(8,10,11,.24); backdrop-filter: blur(12px); color: white; cursor: pointer; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.fullscreen svg { width: 15px; height: 15px; }

.content { position: absolute; z-index: 3; top: 51%; left: var(--safe-x); width: min(590px,43vw); max-height: calc(100dvh - (var(--safe-y) * 2) - 112px); transform: translateY(-48%); }
.slide--right .content { left: auto; right: var(--safe-x); width: min(560px,41vw); }
.slide--center .content { left: 50%; right: auto; width: min(760px,58vw); transform: translate(-50%,-46%); text-align: center; }
.slide--center .veil { background: linear-gradient(90deg,rgba(7,9,10,.22) 0%,rgba(7,9,10,.76) 31%,rgba(7,9,10,.82) 50%,rgba(7,9,10,.73) 69%,rgba(7,9,10,.2) 100%),linear-gradient(0deg,rgba(5,6,7,.5) 0%,transparent 38%,rgba(5,6,7,.16) 100%); }
.eyebrow { display: flex; align-items: center; gap: 13px; margin: 0 0 22px; color: var(--yellow); font-size: clamp(10px,.75vw,13px); font-weight: 800; letter-spacing: .2em; line-height: 1.4; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
h1 { margin: 0; font-size: clamp(44px,5.45vw,92px); font-weight: 900; letter-spacing: -.036em; line-height: 1.04; text-wrap: balance; text-shadow: 0 3px 24px rgba(0,0,0,.28); }
h1 span { display: block; }
.product-name { white-space: nowrap; font-size: .92em; }
.slide--center h1 { font-size: clamp(44px,5.45vw,92px); line-height: 1.04; }
.slide--center .eyebrow { justify-content: center; }
.slide--center .lead, .slide--center .footnote { margin-left: auto; margin-right: auto; }
.slide--center .facts { justify-content: center; }
.lead { max-width: 560px; margin: 28px 0 0; font-size: clamp(15px,1.2vw,21px); font-weight: 500; line-height: 1.65; color: rgba(255,255,255,.9); text-wrap: pretty; }
.facts { display: flex; flex-wrap: wrap; gap: 9px; margin: 25px 0 0; padding: 0; list-style: none; }
.facts li { border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 9px 13px; background: rgba(7,9,10,.35); backdrop-filter: blur(10px); font-size: clamp(10px,.78vw,13px); font-weight: 700; letter-spacing: .02em; }
.footnote { max-width: 590px; margin: 20px 0 0; color: rgba(255,255,255,.62); font-size: 10px; line-height: 1.6; }

.power-card { display: inline-flex; align-items: center; gap: 13px; margin-top: 22px; padding: 11px 16px 11px 12px; border: 1px solid rgba(255,217,0,.5); border-radius: 16px; background: rgba(13,15,17,.58); backdrop-filter: blur(12px); }
.power-card svg { width: 36px; height: 36px; padding: 7px; border-radius: 11px; background: var(--yellow); fill: #151719; }
.power-card div { display: flex; flex-direction: column; gap: 2px; }
.power-card strong { color: var(--yellow); font-size: 22px; line-height: 1; letter-spacing: -.03em; }
.power-card span { color: rgba(255,255,255,.76); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.mode-grid { display: grid; gap: 9px; margin-top: 21px; }
.mode-grid article { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 11px 13px; border: 1px solid rgba(255,255,255,.17); border-radius: 14px; background: rgba(8,10,12,.48); backdrop-filter: blur(12px); }
.mode-grid article > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--yellow); color: #151719; font-size: 12px; font-weight: 900; }
.mode-grid strong { display: block; margin: 1px 0 4px; color: #fff; font-size: 11px; letter-spacing: .06em; }
.mode-grid p { margin: 0; color: rgba(255,255,255,.7); font-size: 11px; line-height: 1.45; }

.controls { position: fixed; z-index: 30; right: clamp(24px,4vw,72px); bottom: 28px; display: flex; align-items: center; gap: 13px; }
.controls > button { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(9,10,12,.38); backdrop-filter: blur(14px); color: white; cursor: pointer; transition: background .2s,border-color .2s,opacity .2s; }
.controls > button:hover:not(:disabled) { background: var(--yellow); border-color: var(--yellow); color: #111; }
.controls > button:disabled { opacity: .28; cursor: default; }
.controls > button svg { width: 22px; height: 22px; }
.dots { display: flex; align-items: center; gap: 8px; margin: 0 4px; }
.dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.45); cursor: pointer; transition: width .3s,background .3s; }
.dots button.is-active { width: 28px; background: var(--yellow); }
.counter { min-width: 50px; font-size: 10px; letter-spacing: .12em; color: rgba(255,255,255,.55); }
.counter strong { color: white; font-size: 14px; }

.slide--product { background: radial-gradient(circle at 72% 48%,#3b3f42 0,#1c2023 35%,#0d0f11 78%); }
.slide--product .product-visual { z-index: -2; left: 36%; right: 0; display: grid; place-items: center; }
.slide--product .product-visual img { width: min(68vw,1180px); max-height: 92vh; object-fit: contain; filter: drop-shadow(0 28px 55px rgba(0,0,0,.4)); }
.slide--product .veil { background: linear-gradient(90deg,#0d0f11 0%,rgba(13,15,17,.92) 31%,rgba(13,15,17,.2) 58%,transparent 100%); }
.slide--product .content { width: min(535px,39vw); }

@media (max-width: 850px) {
  :root { --safe-x: 20px; --safe-y: 18px; }
  .hint { display: none; }
  .topbar { padding: var(--safe-y) var(--safe-x) 0; }
  .brand { width: 124px; }
  .fullscreen { padding: 9px 11px; font-size: 0; gap: 0; }
  .fullscreen svg { width: 17px; height: 17px; }
  .slide-image { background-position: center !important; }
  .veil, .slide--right .veil { background: linear-gradient(0deg,rgba(7,9,10,.96) 0%,rgba(7,9,10,.76) 48%,rgba(7,9,10,.05) 78%,rgba(7,9,10,.12) 100%); }
  .content, .slide--right .content, .slide--center .content, .slide--product .content { top: auto; left: var(--safe-x); right: var(--safe-x); bottom: 86px; width: auto; max-height: calc(100dvh - 170px); padding: 0; transform: none; text-align: left; border: 0; border-radius: 0; background: transparent; backdrop-filter: none; box-shadow: none; }
  .eyebrow { margin-bottom: 14px; }
  h1, .slide--center h1, .slide--product h1 { white-space: normal; font-size: clamp(36px,11.7vw,60px); line-height: 1.04; }
  .product-name { white-space: nowrap; font-size: .76em; }
  .lead { margin-top: 18px; font-size: 15px; line-height: 1.38; }
  .facts { margin-top: 16px; gap: 6px; }
  .facts li { padding: 7px 10px; font-size: 9px; }
  .footnote { margin-top: 13px; font-size: 8px; }
  .slide--center .eyebrow, .slide--center .facts { justify-content: flex-start; }
  .slide--product .product-visual { left: 0; right: 0; top: 2%; bottom: 38%; }
  .slide--product .product-visual img { width: 96vw; max-height: 60vh; }
  .slide--product .veil { background: linear-gradient(0deg,#0d0f11 0%,rgba(13,15,17,.9) 49%,rgba(13,15,17,.12) 74%,transparent 100%); }
  .controls { left: 20px; right: 20px; bottom: 20px; justify-content: space-between; }
  .controls > button { width: 42px; height: 42px; }
  .counter { display: none; }
}

@media (max-width: 520px), (max-height: 720px) {
  .mode-grid p { display: none; }
  .mode-grid article { padding: 8px 10px; }
  .power-card { margin-top: 14px; padding: 8px 12px 8px 9px; }
  .power-card svg { width: 31px; height: 31px; }
  .facts { margin-top: 12px; }
}

@media (max-height: 690px) and (min-width: 851px) {
  .content { transform: translateY(-43%) scale(.86); transform-origin: left center; }
  .slide--right .content { transform-origin: right center; }
}

@media (prefers-reduced-motion: reduce) {
  .track { transition-duration: 1ms; }
  .slide-image { transition: none; }
}
