/* ==========================================================================
   Spirit Commercial · iStrength series page
   Art direction: "Light the Movement". The page is the dark studio; scrolling
   switches the light on. Spirit Red is the only UI accent.
   Everything is scoped under .istr so it can drop into a Magento CMS block.
   Tokens mirror the live spiritfitness.com :root (--spirit-*) and the 2023
   brand guidelines. No Futura Std anywhere (font-licence compliance).
   ========================================================================== */

@font-face {
  font-family: 'Hanzel';
  src: url('../fonts/HanzelBold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Commissioner';
  src: url('../fonts/Commissioner.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --istr-black: #000;
  --istr-ink: #0a0a0b;
  --istr-graphite: #141416;
  --istr-graphite-2: #1d1d20;
  --istr-red: #E4002B;
  --istr-red-hover: #c50024;
  --istr-white: #fff;
  --istr-grey-1: #DCDDDD;
  --istr-grey-2: #B5B5B6;
  --istr-grey-3: #9d9d9e; /* 7.6:1 on black */
  --istr-grey-4: #3E3A39;
  --istr-footer: #0E0E0F;

  --istr-font-display: 'Hanzel', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  --istr-font-body: 'Commissioner', 'Helvetica Neue', Arial, sans-serif;

  --istr-gutter: clamp(20px, 5vw, 80px);
  --istr-max: 1600px;
  --istr-content: 1180px;
  --istr-section-y: clamp(72px, 9vw, 136px);
  --istr-ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--istr-black);
  color: var(--istr-white);
  font-family: var(--istr-font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }

.istr-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.istr-skip {
  position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 18px;
  background: var(--istr-red); color: #fff; font-weight: 700; text-decoration: none;
}
.istr-skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--istr-red); outline-offset: 4px; }
/* iOS: a quick double tap on a control (pause, play) must not zoom the page */
a, button, .istr-tile, .istr-card, .istr-hotspot { touch-action: manipulation; }

/* ---------- Prototype site chrome (stands in for the Magento header/footer) ---------- */
.site-header {
  position: relative; z-index: 20; background: #fff; color: #000;
  height: 70px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--istr-gutter); border-bottom: 1px solid #e6e6e6;
}
.site-header__logo img { height: 26px; width: auto; }
.site-header nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.site-header nav a { text-decoration: none; color: #212529; }
.site-header nav a[aria-current] { color: var(--istr-red); }
.site-header__menu { display: none; background: none; border: 0; padding: 10px; }
.site-header__menu span { display: block; width: 24px; height: 2px; background: #000; margin: 5px 0; }
@media (max-width: 1100px) {
  .site-header nav { display: none; }
  .site-header__menu { display: block; }
}
.site-footer {
  background: var(--istr-footer); color: var(--istr-grey-2); font-size: 14px;
  padding: 56px var(--istr-gutter); display: flex; flex-wrap: wrap; gap: 16px 40px;
  justify-content: space-between; align-items: center;
}
.site-footer img { height: 22px; width: auto; }
.site-footer p { margin: 0; }

/* ---------- Shared type ---------- */
.istr { position: relative; background: var(--istr-black); isolation: isolate; }
.istr-eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 24px;
  font-family: var(--istr-font-body); font-weight: 500; font-size: 13px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--istr-grey-2);
}
.istr-eyebrow::before {
  content: ''; width: 36px; height: 2px; background: var(--istr-red);
  transform-origin: left center;
}
.istr-display {
  margin: 0; font-family: var(--istr-font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .02em; line-height: 1.02;
  font-size: clamp(34px, 5.6vw, 92px);
}
.istr-display--m { font-size: clamp(30px, 4.2vw, 64px); line-height: 1.05; }
.istr-display--s { font-size: clamp(24px, 2.6vw, 40px); line-height: 1.1; }
.istr-lead {
  font-weight: 300; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.55;
  color: var(--istr-grey-1); margin: 0; max-width: 40ch;
}
.istr-body { font-weight: 400; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.7; color: var(--istr-grey-2); margin: 0; max-width: 46ch; }
.istr-block { display: block; }

/* Split-text masks (SplitText adds .istr-line wrappers) */
.istr-line-mask { overflow: clip; padding-bottom: .06em; margin-bottom: -.06em; }

/* ---------- Buttons ---------- */
.istr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 30px; border: 2px solid var(--istr-red);
  background: var(--istr-red); color: #fff; text-decoration: none; cursor: pointer;
  font-family: var(--istr-font-body); font-weight: 700; font-size: 15px;
  letter-spacing: .08em; text-transform: uppercase;
  transition: background .3s var(--istr-ease), border-color .3s var(--istr-ease), color .3s;
}
.istr-btn:hover { background: var(--istr-red-hover); border-color: var(--istr-red-hover); }
.istr-btn--ghost { background: transparent; border-color: rgba(255,255,255,.4); }
.istr-btn--ghost:hover { background: #fff; border-color: #fff; color: #000; }
.istr-btn svg { width: 18px; height: 18px; flex: none; }

.istr-play {
  display: inline-flex; align-items: center; gap: 18px; background: none; border: 0;
  color: #fff; cursor: pointer; padding: 8px 0; font: inherit; text-decoration: none;
  font-weight: 500; font-size: 15px; letter-spacing: .16em; text-transform: uppercase;
}
.istr-play__icon {
  position: relative; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.55);
  transition: border-color .3s, background .3s;
}
.istr-play__icon::after {
  content: ''; position: absolute; inset: -1.5px; border-radius: 50%;
  border: 1.5px solid var(--istr-red); clip-path: inset(0 0 50% 50%);
  animation: istr-orbit 1.6s linear 3;
}
.istr-play__icon svg { width: 18px; height: 18px; margin-left: 3px; }
.istr-play:hover .istr-play__icon { background: var(--istr-red); border-color: var(--istr-red); }
@keyframes istr-orbit { to { transform: rotate(360deg); } }

/* ---------- Global light line (scroll progress) ---------- */
.istr-progress {
  position: fixed; right: clamp(10px, 1.6vw, 28px); top: 18vh; bottom: 18vh; width: 2px;
  background: rgba(255,255,255,.08); z-index: 15; pointer-events: none;
  opacity: 0; transition: opacity .4s;
}
.istr-progress.is-on { opacity: 1; }
.istr-progress.is-hidden { opacity: 0; }
.istr-progress span {
  position: absolute; inset: 0; background: var(--istr-red); transform-origin: top;
  transform: scaleY(0); box-shadow: 0 0 12px rgba(228,0,43,.7);
}
@media (max-width: 899px) { .istr-progress { display: none; } }

/* ==========================================================================
   1. HERO
   ========================================================================== */
.istr-hero { height: calc(100svh - 70px); min-height: 560px; overflow: hidden; background: #000; }
/* Hero film: V1 "Begin -> Train -> Feedback" loop cut from the promo film.
   The poster is the loop's exact first frame (LCP); the video fades in over it once playing. */
.istr-hero__media { position: absolute; inset: 0; }
.istr-hero__poster, .istr-hero__poster img, .istr-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.istr-hero__poster img, .istr-hero__video { object-fit: cover; object-position: 50% 50%; }
.istr-hero__video { opacity: 0; transition: opacity .8s var(--istr-ease); }
.istr-hero__video.is-playing { opacity: 1; }
.istr-hero__dim { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
.istr-js .istr-hero__dim { opacity: 1; }
.istr-hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 62% at 0% 100%, rgba(0,0,0,.88) 0%, rgba(0,0,0,.6) 45%, rgba(0,0,0,0) 100%),
    linear-gradient(0deg, #000 0%, rgba(0,0,0,.55) 14%, rgba(0,0,0,0) 34%);
}
.istr-hero__content {
  position: absolute; left: 0; right: 0; bottom: clamp(40px, 6vh, 80px);
  padding: 0 var(--istr-gutter); display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  max-width: calc(var(--istr-max) + 2 * var(--istr-gutter)); margin: 0 auto;
}
.istr-hero__kicker {
  text-wrap: balance;
  margin: 0 0 16px; font-weight: 300; font-size: clamp(18px, 1.6vw, 26px); line-height: 1.25;
  letter-spacing: .01em; color: #fff; max-width: 40ch;
}
.istr-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.istr-play__short { display: none; }
.istr-hero h1 { margin: 0 0 clamp(20px, 3vh, 32px); }
.istr-hero__logo { width: clamp(270px, 32vw, 540px); height: auto; }
.istr-hero__pause {
  position: absolute; right: var(--istr-gutter); bottom: 28px; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 14px; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.25); color: #fff;
  font: inherit; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
}
.istr-hero__pause svg { width: 14px; height: 14px; }
.istr-hero__pause:hover { border-color: #fff; }
.istr-scrollcue {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: 1px; height: 36px; background: rgba(255,255,255,.2); overflow: hidden;
}
.istr-scrollcue::after {
  content: ''; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: var(--istr-red); animation: istr-cue 2.2s var(--istr-ease) 2;
}
@keyframes istr-cue { to { top: 100%; } }
@media (min-width: 900px) and (max-height: 820px) {
  /* short laptop screens: keep our copy clear of the film's feedback overlay */
  .istr-hero__content { bottom: 28px; }
  .istr-hero__kicker { font-size: 17px; margin-bottom: 10px; }
  .istr-hero__logo { width: clamp(240px, 26vw, 400px); }
  .istr-hero h1 { margin-bottom: 16px; }
  .istr-play__icon { width: 48px; height: 48px; }
  .istr-hero .istr-btn { min-height: 46px; padding: 10px 24px; }
  .istr-scrollcue { display: none; }
}
@media (max-width: 899px) {
  /* Phones: the film sits in its own 4:5 frame (a separate reframed cut), the copy below it */
  .istr-hero { height: auto; min-height: 0; }
  .istr-hero__media { position: relative; inset: auto; aspect-ratio: 4 / 5; max-height: 72svh; width: 100%; }
  .istr-hero__shade { background: linear-gradient(0deg, #000 0%, rgba(0,0,0,.6) 14%, rgba(0,0,0,0) 34%); height: min(125vw, 72svh); bottom: auto; }
  .istr-hero__dim { height: min(125vw, 72svh); bottom: auto; }
  .istr-hero__content { position: relative; bottom: auto; margin-top: -56px; padding-bottom: 56px; align-items: center; text-align: center; }
  .istr-hero__kicker { max-width: 20ch; margin-left: auto; margin-right: auto; }
  .istr-hero__ctas { flex-direction: column; gap: 14px; }
  .istr-play__long { display: none; } .istr-play__short { display: inline; }
  .istr-hero__contact { min-height: 48px; padding: 12px 24px; }
  .istr-hero__pause { top: 12px; bottom: auto; right: 12px; padding: 6px 10px; }
  .istr-hero__pause span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .istr-scrollcue { display: none; }
}

@media (max-width: 899px) and (max-height: 700px) {
  /* short phones (e.g. iPhone SE with Safari's bars: 375x549): keep the headline and Contact Sales on the first screen */
  .istr-hero__media { max-height: 50svh; }
  .istr-hero__shade, .istr-hero__dim { height: min(125vw, 50svh); }
  .istr-hero__content { margin-top: -36px; padding-bottom: 40px; }
  .istr-hero__kicker { font-size: 16px; margin-bottom: 10px; max-width: 26ch; }
  .istr-hero__logo { width: 230px; }
  .istr-hero h1 { margin-bottom: 14px; }
  .istr-hero__ctas { gap: 8px; }
  .istr-play__icon { width: 44px; height: 44px; }
}

/* ==========================================================================
   2. MANIFESTO
   ========================================================================== */
.istr-manifesto { padding: var(--istr-section-y) var(--istr-gutter); overflow-x: clip; }
@media (min-width: 900px) { .istr-manifesto::before { content: ''; position: absolute; left: 0; right: 0; top: -14vh; height: 14vh; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.7) 70%, #000 100%); pointer-events: none; } }
.istr-manifesto__plate { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; z-index: -1; opacity: .3; }
@media (min-width: 900px) { .istr-manifesto { margin-top: 18vh; } }
.istr-manifesto__plate img { width: 100%; height: 100%; object-fit: cover; }
.istr-manifesto__plate::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, #000 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,.35) 60%, #000 100%);
}
.istr-manifesto__inner { max-width: var(--istr-content); margin: 0 auto; }
.istr-manifesto__quote {
  margin: 0 0 clamp(48px, 7vw, 96px); font-weight: 300; letter-spacing: -.01em;
  font-size: clamp(30px, 4.4vw, 68px); line-height: 1.16; color: #fff; max-width: 22ch;
}
.istr-manifesto__quote em { font-style: normal; font-weight: 500; }
.istr-manifesto__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 120px); align-items: start; }
.istr-specs { margin: clamp(56px, 7vw, 96px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); }
.istr-specs > div { padding: 24px 20px 0 0; border-right: 1px solid rgba(255,255,255,.08); }
.istr-specs > div:last-child { border-right: 0; }
.istr-specs dt { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--istr-grey-3); margin-bottom: 10px; }
.istr-specs dd { margin: 0; font-family: var(--istr-font-display); font-weight: 700; font-size: clamp(28px, 3.2vw, 52px); line-height: 1; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.istr-specs dd small { font-size: .45em; letter-spacing: .06em; }
.istr-specs > div:last-child dd { font-size: clamp(20px, 1.9vw, 30px); line-height: 1.15; }
.istr-manifesto__kicker { font-family: var(--istr-font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.2; letter-spacing: .02em; margin: 0; }
.istr-rule { height: 2px; background: var(--istr-red); transform-origin: left; margin: 0 0 clamp(40px, 6vw, 72px); box-shadow: 0 0 14px rgba(228,0,43,.55); }
@media (max-width: 899px) { .istr-manifesto__cols { grid-template-columns: 1fr; } .istr-specs { grid-template-columns: 1fr 1fr; } .istr-specs > div { padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.08); } .istr-specs > div:nth-child(2n) { border-right: 0; } }

/* Below-hero product showcase: four stations emerging from the dark */
.istr-showcase { margin: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 104px); }
.istr-showcase__eyebrow { margin-bottom: 28px; }
.istr-rail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); align-items: start; }
.istr-rail > li:nth-child(2) { margin-top: clamp(40px, 5vw, 80px); }
.istr-rail > li:nth-child(3) { margin-top: clamp(16px, 2vw, 32px); }
.istr-rail > li:nth-child(4) { margin-top: clamp(56px, 7vw, 112px); }
.istr-tile { display: block; color: #fff; text-decoration: none; }
.istr-tile__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: radial-gradient(ellipse at 50% 88%, #1b1b1e 0%, #070708 62%); }
.istr-tile__media::after { /* floor glow + a red light line that draws on hover */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--istr-red);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--istr-ease); box-shadow: 0 0 14px rgba(228,0,43,.8);
}
.istr-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--istr-ease); }
.istr-tile__cap { padding: 16px 2px 0; }
.istr-tile__cap span { display: block; font-size: 12px; letter-spacing: .18em; color: var(--istr-grey-3); margin-bottom: 6px; }
.istr-tile__cap b { font-family: var(--istr-font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(15px, 1.25vw, 19px); letter-spacing: .03em; }
.istr-tile:hover .istr-tile__media img, .istr-tile:focus-visible .istr-tile__media img { transform: scale(1.05); }
.istr-tile:hover .istr-tile__media::after, .istr-tile:focus-visible .istr-tile__media::after { transform: scaleX(1); }
@media (max-width: 899px) {
  .istr-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .istr-rail > li:nth-child(2), .istr-rail > li:nth-child(4) { margin-top: 36px; }
  .istr-rail > li:nth-child(3) { margin-top: -36px; }
}

/* ==========================================================================
   3. TRAINING MODES
   ========================================================================== */
.istr-modes { overflow: hidden; }
.istr-modes__plate { position: absolute; inset: 0; z-index: -1; opacity: .25; filter: grayscale(1); }
.istr-modes__plate img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.istr-modes__plate::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #000 0%, rgba(0,0,0,.3) 25%, rgba(0,0,0,.85) 70%, #000 100%); }
.istr-modes__intro { padding: var(--istr-section-y) var(--istr-gutter) clamp(40px, 5vw, 72px); max-width: calc(var(--istr-content) + 2 * var(--istr-gutter)); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px 80px; align-items: end; }
.istr-modes__pin { position: relative; }
@media (min-width: 900px) {
  .istr-modes__pin { height: 100svh; display: flex; align-items: center; }
  .istr-modes__track { padding-bottom: 0; }
  .istr-mode { max-height: 82svh; }
  .istr-mode__media { max-height: calc(82svh - 56px); }
  .istr-modes__note { position: absolute; left: 0; right: 0; bottom: 3svh; padding: 0; }
  .istr-modes__rail { position: absolute; left: var(--istr-gutter); right: var(--istr-gutter); bottom: 7svh; height: 2px; background: rgba(255,255,255,.1); }
  .istr-modes__rail span { position: absolute; inset: 0; background: var(--istr-red); transform-origin: left; transform: scaleX(0); }
}
@media (max-width: 899px) { .istr-modes__rail { display: none; } }
.istr-modes__track { display: flex; gap: clamp(20px, 3vw, 48px); padding: 0 var(--istr-gutter) var(--istr-section-y); will-change: transform; }
.istr-mode {
  position: relative; flex: 0 0 min(78vw, 1080px); display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 56px); align-items: center;
  background: linear-gradient(135deg, rgba(29,29,32,.85), rgba(10,10,11,.85));
  border: 1px solid rgba(255,255,255,.07); padding: clamp(16px, 2vw, 28px) clamp(24px, 3.5vw, 64px) clamp(16px, 2vw, 28px) clamp(16px, 2vw, 28px);
  transition: border-color .5s;
}
.istr-mode.is-active { border-color: rgba(228,0,43,.35); }
.istr-mode__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #0b0b0c; }
.istr-mode__media img { width: 100%; height: 100%; object-fit: cover; }
.istr-mode__num { font-family: var(--istr-font-display); font-weight: 700; color: var(--istr-grey-3); font-size: 15px; letter-spacing: .2em; margin: 0 0 18px; }
.istr-mode__name { margin: 0 0 16px; font-family: var(--istr-font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(34px, 3.6vw, 56px); line-height: 1; letter-spacing: .02em; }
.istr-mode__desc { margin: 0 0 clamp(24px, 3vw, 40px); font-weight: 300; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.45; color: var(--istr-grey-1); max-width: 22ch; }
.istr-curve { width: 100%; max-width: 420px; height: auto; overflow: visible; }
.istr-curve .axis { stroke: rgba(255,255,255,.22); stroke-width: 1; fill: none; }
.istr-curve .guide { stroke: rgba(255,255,255,.14); stroke-width: 1; stroke-dasharray: 3 4; fill: none; }
.istr-curve .ghost { stroke: rgba(255,255,255,.35); stroke-width: 1.5; fill: none; }
.istr-curve .line { stroke: var(--istr-red); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.istr-curve .glow { stroke: rgba(228,0,43,.28); stroke-width: 10; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.istr-curve text { fill: var(--istr-grey-3); font-family: var(--istr-font-body); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.istr-curve .ghost-label { fill: var(--istr-grey-2); }
.istr-modes__note { margin: 0; padding: 0 var(--istr-gutter) var(--istr-section-y); text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--istr-grey-3); }
@media (max-width: 899px) {
  .istr-modes__intro { grid-template-columns: 1fr; }
  .istr-modes__track { flex-direction: column; padding-bottom: 48px; }
  .istr-mode { flex: none; grid-template-columns: 1fr; }
  .istr-mode__media { aspect-ratio: 5 / 4; }
  .istr-mode__media img { object-position: 50% 30%; }
}

/* ==========================================================================
   4. CHAPTERS (offset image pairs)
   ========================================================================== */
.istr-chapter { padding: var(--istr-section-y) var(--istr-gutter); }
.istr-chapter__grid {
  max-width: var(--istr-max); margin: 0 auto; display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); align-items: start;
}
.istr-chapter__wide { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.istr-chapter__text { grid-column: 8 / span 5; grid-row: 1; align-self: end; padding-left: clamp(8px, 2vw, 40px); }
.istr-chapter__tall { grid-column: 9 / span 3; grid-row: 2; margin-top: clamp(24px, 3vw, 48px); }
@media (min-width: 900px) { .istr-chapter__tall { margin-top: -120px; } }
.istr-chapter--flip .istr-chapter__wide { grid-column: 6 / span 7; }
.istr-chapter--flip .istr-chapter__text { grid-column: 1 / span 5; padding-left: 0; padding-right: clamp(8px, 2vw, 40px); }
.istr-chapter--flip .istr-chapter__tall { grid-column: 2 / span 3; }
.istr-chapter + .istr-chapter { padding-top: 0; }
.istr-frame { position: relative; overflow: hidden; background: #0b0b0c; }
.istr-frame img { width: 100%; height: 100%; object-fit: cover; }
.istr-chapter__wide .istr-frame { aspect-ratio: 3 / 2; }
.istr-chapter__tall .istr-frame { aspect-ratio: 3 / 4; }
.istr-chapter__index { font-family: var(--istr-font-display); font-weight: 700; font-size: clamp(56px, 6vw, 104px); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.22); margin: 0 0 18px; user-select: none; }
.istr-chapter h2 { margin-bottom: 24px; }
.istr-chapter__sub { margin-top: 20px; }
.istr-caption { margin: 14px 0 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--istr-grey-3); }
@media (max-width: 899px) {
  .istr-chapter { padding-top: 72px; padding-bottom: 72px; }
  .istr-chapter__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .istr-chapter__wide, .istr-chapter--flip .istr-chapter__wide { grid-column: 1 / -1; grid-row: 1; }
  .istr-chapter__text, .istr-chapter--flip .istr-chapter__text { grid-column: 1 / -1; grid-row: 2; margin-top: 32px; padding: 0; }
  .istr-chapter__tall, .istr-chapter--flip .istr-chapter__tall { display: none; }
  .istr-chapter + .istr-chapter { padding-top: 0; }
}

/* ==========================================================================
   6. ECOSYSTEM
   ========================================================================== */
.istr-eco { overflow: hidden; }
.istr-eco__stage { position: relative; height: 100svh; min-height: 560px; }
.istr-eco__media { position: absolute; inset: 0 0 0 26%; }
.istr-eco__media::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, #000 0%, rgba(0,0,0,0) 22%); }
.istr-eco__media img { width: 100%; height: 100%; object-fit: cover; }
.istr-eco__media { overflow: hidden; }
.istr-eco__lit { position: absolute; inset: 0; opacity: 0; }
.istr-eco__lit img { width: 100%; height: 100%; object-fit: cover; filter: brightness(1.35) contrast(1.08); }
.istr-eco__spot { /* a darkness sheet with a soft hole; moved by transform only */
  position: absolute; left: -180%; top: -180%; width: 360%; height: 360%; margin: 0;
  pointer-events: none; will-change: transform;
  background: radial-gradient(circle at 50% 50%, rgba(40,30,120,0) 0, rgba(40,30,120,.06) 5%, rgba(0,0,0,.78) 11%);
}
.istr-eco__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 22%), linear-gradient(180deg, #000 0%, rgba(0,0,0,0) 18%); }
.istr-eco__text { position: absolute; left: var(--istr-gutter); top: 50%; transform: translateY(-50%); max-width: min(480px, 30vw); z-index: 3; }
.istr-eco__text h2 { margin-bottom: 28px; font-size: clamp(28px, 3.4vw, 52px); }
.istr-eco__text .istr-body + .istr-body { margin-top: 16px; }
.istr-hotspot {
  position: absolute; left: var(--hx); top: var(--hy); transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; z-index: 2;
}
.istr-hotspot__dot { position: relative; width: 16px; height: 16px; border-radius: 50%; background: var(--istr-red); box-shadow: 0 0 0 4px rgba(228,0,43,.25), 0 0 18px rgba(228,0,43,.9); flex: none; }
.istr-hotspot__dot::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(228,0,43,.6); animation: istr-ping 2.4s var(--istr-ease) 2; }
@keyframes istr-ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.istr-hotspot__label { background: rgba(0,0,0,.85); border-left: 2px solid var(--istr-red); padding: 8px 12px; white-space: nowrap; }
.istr-hotspot__label b { display: block; font-family: var(--istr-font-display); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.istr-hotspot__label small { display: block; font-size: 11px; letter-spacing: .14em; color: var(--istr-grey-2); }
.istr-hotspot:hover .istr-hotspot__label, .istr-hotspot:focus-visible .istr-hotspot__label { background: var(--istr-red); border-color: #fff; }
.istr-hotspot:hover small, .istr-hotspot:focus-visible small { color: #fff; }
.istr-eco__list { display: none; }
@media (max-width: 899px) {
  .istr-eco__stage { height: auto; min-height: 0; }
  .istr-eco__media { position: relative; inset: auto; aspect-ratio: 16 / 10; }
  .istr-eco__media::before { display: none; }
  .istr-eco__spot, .istr-eco__lit { display: none; }
  .istr-eco__shade { background: linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 30%), linear-gradient(180deg, #000 0%, rgba(0,0,0,0) 25%); }
  .istr-eco__text { position: relative; left: auto; top: auto; transform: none; max-width: none; padding: var(--istr-section-y) var(--istr-gutter) 40px; }
  .istr-hotspot { min-width: 44px; min-height: 44px; justify-content: center; }
  .istr-hotspot__label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; border: 0; }
  .istr-hotspot__dot { width: 28px; height: 28px; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
  .istr-hotspot__dot::before { content: attr(data-n); }
  .istr-eco__list { display: grid; gap: 1px; list-style: none; margin: 24px var(--istr-gutter) 0; padding: 0; counter-reset: eco; }
  .istr-eco__list a { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); text-decoration: none; }
  .istr-eco__list a::before { counter-increment: eco; content: counter(eco); width: 26px; height: 26px; border-radius: 50%; background: var(--istr-red); display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
  .istr-eco__list b { font-family: var(--istr-font-display); font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
  .istr-eco__list small { margin-left: auto; color: var(--istr-grey-2); letter-spacing: .12em; font-size: 12px; }
}

/* ==========================================================================
   7. LINEUP
   ========================================================================== */
.istr-lineup { padding: var(--istr-section-y) var(--istr-gutter); }
.istr-lineup__head { max-width: var(--istr-max); margin: 0 auto clamp(40px, 5vw, 72px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 60px; }
.istr-lineup__grid { max-width: var(--istr-max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); list-style: none; padding: 0; }
.istr-card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--istr-graphite); text-decoration: none; color: #fff; overflow: hidden; border: 1px solid rgba(255,255,255,.06); transition: border-color .4s; }
.istr-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #0b0b0c; }
.istr-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--istr-ease); }
.istr-card__body { position: relative; padding: 24px clamp(18px, 1.6vw, 26px) 26px; display: flex; flex-direction: column; flex: 1; }
.istr-card__body::before { content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--istr-red); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--istr-ease); box-shadow: 0 0 12px rgba(228,0,43,.8); }
.istr-card__sku { font-size: 12px; letter-spacing: .18em; color: var(--istr-grey-3); margin: 0 0 10px; }
.istr-card h3 { margin: 0 0 14px; font-family: var(--istr-font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(18px, 1.45vw, 22px); line-height: 1.15; letter-spacing: .02em; }
.istr-card__spec { margin: 0 0 24px; font-size: 15px; line-height: 1.55; color: var(--istr-grey-2); }
.istr-card__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.istr-card__cta svg { width: 18px; height: 18px; transition: transform .4s var(--istr-ease); }
.istr-card:hover, .istr-card:focus-visible { border-color: rgba(228,0,43,.5); }
.istr-card:hover .istr-card__media img, .istr-card:focus-visible .istr-card__media img { transform: scale(1.05); }
.istr-card:hover .istr-card__body::before, .istr-card:focus-visible .istr-card__body::before { transform: scaleX(1); }
.istr-card:hover .istr-card__cta svg, .istr-card:focus-visible .istr-card__cta svg { transform: translateX(6px); }
.istr-swipe { display: none; }
@media (max-width: 640px) { .istr-swipe { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--istr-grey-2); } .istr-swipe svg { width: 16px; height: 16px; } }
.istr-lineup__foot { max-width: var(--istr-max); margin: clamp(40px, 5vw, 64px) auto 0; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
@media (max-width: 1100px) { .istr-lineup__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .istr-lineup__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 calc(-1 * var(--istr-gutter)); padding: 0 var(--istr-gutter) 8px; scrollbar-width: none; }
  .istr-lineup__grid::-webkit-scrollbar { display: none; }
  .istr-lineup__grid > li { flex: 0 0 80%; scroll-snap-align: start; scroll-margin-left: var(--istr-gutter); }
}

/* ==========================================================================
   8. CLOSE
   ========================================================================== */
.istr-close { min-height: 92svh; display: grid; place-items: center; text-align: center; padding: var(--istr-section-y) var(--istr-gutter); overflow: hidden; }
.istr-close__media { position: absolute; inset: 0; z-index: -1; }
.istr-close__media video, .istr-close__media img { width: 100%; height: 100%; object-fit: cover; }
.istr-close__media video { opacity: .75; }
.istr-close__media::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 60%, rgba(0,0,0,.35) 0%, rgba(0,0,0,.8) 70%), linear-gradient(180deg, #000 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 75%, #000 100%); }
.istr-close__plate { position: absolute; inset: 0; z-index: -2; }
.istr-close__plate img { width: 100%; height: 100%; object-fit: cover; }
.istr-close__inner { max-width: 900px; display: flex; flex-direction: column; align-items: center; }
.istr-close__pause { position: absolute; right: var(--istr-gutter); bottom: 24px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.25); color: #fff; font: inherit; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; z-index: 2; }
.istr-close__pause svg { width: 14px; height: 14px; }
.istr-close__pause:hover { border-color: #fff; }
.istr-close__lockup { width: 200px; height: auto; margin: 0 0 36px; }
.istr-close h2 { margin-bottom: 28px; }
.istr-close .istr-lead { margin: 0 auto 44px; text-align: center; }
.istr-close__ctas { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- Video dialog ---------- */
.istr-dialog { width: min(1280px, 94vw); padding: 0; border: 0; background: #000; color: #fff; }
.istr-dialog::backdrop { background: rgba(0,0,0,.88); }
.istr-dialog video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.istr-dialog__close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; cursor: pointer; font-size: 22px; line-height: 1; }
.istr-dialog__close:hover { background: var(--istr-red); border-color: var(--istr-red); }
.istr-dialog[open] { overflow: visible; }
.istr-dialog__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 18px 20px; background: var(--istr-graphite); }
.istr-dialog__cta span { font-weight: 500; letter-spacing: .04em; }

.istr-sticky {
  position: fixed; z-index: 30; right: clamp(16px, 2vw, 32px); bottom: clamp(16px, 2vw, 28px);
  display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 20px;
  background: rgba(10,10,11,.92); border: 1px solid rgba(255,255,255,.12);
  transform: translateY(140%); opacity: 0; transition: transform .5s var(--istr-ease), opacity .5s;
}
.istr-sticky.is-on { transform: none; opacity: 1; }
.istr-sticky__label { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--istr-grey-2); }
.istr-sticky .istr-btn { min-height: 44px; padding: 10px 20px; font-size: 13px; }
.istr-sticky__tel { display: none !important; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.3); color: #fff; }
.istr-sticky__tel svg { width: 20px; height: 20px; }
@media (min-width: 900px) { .istr-sticky__label { display: none; } .istr-sticky { padding: 6px; } }
@media (max-width: 899px) {
  .istr-close__pause { bottom: 88px; }
  .istr-sticky { left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-width: 1px 0 0; }
  .istr-sticky__label { display: none; }
  .istr-sticky .istr-btn { flex: 1; }
  .istr-sticky__tel { display: grid; }
}

/* ---------- Reduced motion: everything static and visible ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .istr-eco__spot, .istr-eco__lit { display: none; }
  .istr-sticky { transition: none; }
}
