/* /intensives/intensives.css
   The MVP Intensives layer, written in the Experiatum style on top of the REAP lab course framework.
   Loaded after /assets/course.css and /assets/brass.css, so it reuses their real classes (.ru-wrap, .ru-heading,
   .ru-brand, .ru-video-*, .ru-prevnext-*, .mom-panel, .mom-section-label, .mom-panel-num, .mom-nav-item) and adds
   only what the intensives need: the hero, the counters, the session cards, the rail strip on a phone, the
   progress bar and the motion.
   House floor: nothing under 13px, squared corners (10px ceiling), no slanted type, no round shapes.
   Motion is switched off under prefers-reduced-motion, and nothing stays hidden if the script never runs. */

.int-wrap {
  --ix-hot: #f9e6bd;
  --ix-light: #e0c592;
  --ix-brass: #d6ad66;
  --ix-rich: #b17e38;
  --ix-deep: #8f6229;
  --ix-ink: #0a0a0c;
  --ix-panel: rgba(8, 8, 12, 0.74);
  --ix-inset: rgba(0, 0, 0, 0.4);
  --ix-text: #fff;
  --ix-body: #ccc;
  --ix-muted: #9a9a9a;
  --ix-border: rgba(177, 126, 56, 0.32);
  --ix-border-soft: rgba(177, 126, 56, 0.22);
  --ix-border-faint: rgba(177, 126, 56, 0.14);
  --ix-metal: linear-gradient(135deg, #f9e6bd 0%, #e0c592 20%, #b17e38 48%, #b17e38 72%, #d9b26e 100%);
  --ix-metal-text: linear-gradient(180deg, #f9e6bd 0%, #e0c592 35%, #b17e38 75%, #8f6229 100%);
  --ix-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ix-head: 'Russo One', 'Arial Narrow', system-ui, sans-serif;
  --ix-mono: 'SF Mono', 'Menlo', 'Consolas', monospace;
  --ix-bar: var(--int-bar, 62px);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ix-body);
}
.int-wrap *, .int-wrap *::before, .int-wrap *::after { box-sizing: border-box; }
.int-wrap [id] { scroll-margin-top: calc(var(--ix-bar) + 78px); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Atmosphere: two soft brass glows and a slow gear texture behind the page. */
.int-atm { position: fixed; inset: -10%; z-index: -1; pointer-events: none; overflow: hidden;
  background: radial-gradient(40vw 40vw at 15% 20%, rgba(177, 126, 56, 0.16), transparent 70%), radial-gradient(36vw 36vw at 85% 75%, rgba(214, 173, 102, 0.1), transparent 70%);
  animation: int-drift 26s ease-in-out infinite alternate; }
.int-atm::after { content: ""; position: absolute; right: 4%; top: 50%; width: 640px; height: 640px; margin-top: -320px; opacity: 0.05;
  background: repeating-conic-gradient(from 0deg, rgba(224, 197, 146, 0.9) 0deg 3deg, transparent 3deg 16deg), repeating-radial-gradient(circle, rgba(224, 197, 146, 0.6) 0 1px, transparent 1px 46px);
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 63%); mask-image: radial-gradient(closest-side, #000 62%, transparent 63%);
  animation: int-spin 60s linear infinite; }
@keyframes int-drift { to { transform: translate(4%, -3%) scale(1.08); } }
@keyframes int-spin { to { transform: rotate(360deg); } }

/* Links and focus */
.int-wrap a:focus-visible, .int-wrap button:focus-visible, .int-wrap summary:focus-visible, .int-wrap video:focus-visible {
  outline: 2px solid #fabd59; outline-offset: 3px; border-radius: 6px; }

/* Back links */
.int-back { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0 0 6px; font-family: var(--ix-mono); font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; }
.int-wrap .int-back a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ix-light); text-decoration: none; }
.int-wrap .int-back a:hover { color: var(--ix-hot); }

/* Numbered glass panel heads: the h2 carries the number chip and the label */
.int-wrap .mom-section-label { font-size: 15px; letter-spacing: 1.8px; color: var(--ix-brass); }
.int-wrap .int-h2 { margin: 0; padding: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; text-shadow: none; line-height: 1.3; }
.int-wrap .mom-section-label .mom-panel-num, .int-wrap .mom-section-label .mom-num { font-size: 13px; margin-right: 10px; }
.int-wrap .mom-section-label .mom-num { margin-right: 0; }
.int-panel { padding: 16px clamp(16px, 2vw, 30px) 26px; border-radius: 10px; border: 1px solid var(--ix-border-soft); }
.int-wrap .mom-panel { border-radius: 10px; }
.int-panel + .int-panel { margin-top: 0; }

/* Sticky anchor rail (title page) */
.int-anchors { position: sticky; top: var(--ix-bar); z-index: 60; margin: 0 0 8px; background: rgba(8, 8, 12, 0.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--ix-border-soft); border-radius: 10px; }
.int-anchors-row { display: flex; align-items: center; gap: 4px; padding: 0 8px; overflow-x: auto; scrollbar-width: thin; }
.int-anchors a { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; color: var(--ix-light); text-decoration: none;
  font-family: var(--ix-mono); font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.int-anchors a:hover { color: var(--ix-hot); }
.int-anchors a.is-on { color: var(--ix-hot); border-bottom-color: var(--ix-rich); }
.int-anchors-sep { flex: none; width: 1px; height: 22px; margin: 0 8px; background: var(--ix-border); }
.int-jump { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.int-jump a { min-width: 44px; padding: 0 8px; font-family: var(--ix-head); letter-spacing: 0.8px; border: 1px solid transparent; border-radius: 6px; }
.int-jump a:hover { border-color: var(--ix-border); background: rgba(177, 126, 56, 0.1); }

/* Shimmer title */
.int-wrap .int-title { margin: 0 0 10px; font-family: var(--ix-head); font-weight: 400; text-transform: uppercase; letter-spacing: 0.8px; line-height: 1.06; text-wrap: balance; color: var(--ix-text); }
.int-index .int-title { font-size: clamp(40px, 6.4vw, 112px); }
.int-session .int-title { font-size: clamp(34px, 4.6vw, 76px); }
.int-shim { background: linear-gradient(100deg, #fff 0%, #f9e6bd 30%, #e0c592 46%, #fff 52%, #e0c592 58%, #d6ad66 100%); background-size: 240% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: int-shimmer 9s linear infinite; }
@keyframes int-shimmer { from { background-position: 0% center; } to { background-position: 240% center; } }

/* Hero (title page) */
.int-hero { position: relative; overflow: hidden; margin: 0 0 16px; padding: clamp(22px, 3.4vw, 54px) clamp(18px, 3vw, 56px) clamp(22px, 3vw, 44px); border-color: var(--ix-border);
  background: linear-gradient(90deg, rgba(6, 6, 9, 0.97) 0%, rgba(8, 8, 12, 0.88) 46%, rgba(8, 8, 12, 0.5) 100%), url('/assets/orb/cluster-bg.webp') center / cover no-repeat; }
@media (min-width: 901px) { .int-hero { min-height: min(600px, 74vh); display: flex; align-items: center; } .int-hero-copy { width: 100%; } }
/* Founder footage loop (only present when the generator found hero-loop.mp4 and hero-poster.jpg) */
.int-hero-video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.int-hero-scrim { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 6, 3, 0.94) 0%, rgba(24, 16, 6, 0.78) 45%, rgba(24, 16, 6, 0.45) 100%), linear-gradient(0deg, rgba(8, 6, 3, 0.7) 0%, transparent 40%); }
@media (max-width: 700px) {
  .int-hero-has-video .int-hero-video { display: none; }
  .int-hero-has-video { background: linear-gradient(180deg, rgba(8, 6, 3, 0.9) 0%, rgba(8, 6, 3, 0.8) 100%), var(--hero-poster) center / cover no-repeat; }
}
@media (prefers-reduced-motion: reduce) { .int-hero-has-video .int-hero-video { display: none; } .int-hero-has-video { background: linear-gradient(90deg, rgba(8, 6, 3, 0.92) 0%, rgba(24, 16, 6, 0.7) 100%), var(--hero-poster) center / cover no-repeat; } }

/* Session heading panel: the same glass, calmer, with the numeral behind it */
.int-shero { position: relative; overflow: hidden; margin: 0 0 16px; padding: clamp(18px, 2.6vw, 40px) clamp(18px, 3vw, 48px) clamp(14px, 2vw, 28px); border-color: var(--ix-border);
  background: linear-gradient(90deg, rgba(6, 6, 9, 0.96) 0%, rgba(8, 8, 12, 0.82) 60%, rgba(8, 8, 12, 0.6) 100%), url('/assets/orb/cluster-bg.webp') center / cover no-repeat; }
.int-shero .int-sheading { position: relative; z-index: 1; margin: 0; text-align: left; max-width: 980px; }
.int-shero .int-sheading > * { text-align: left; }
.int-ghost-num { position: absolute; right: clamp(10px, 3vw, 56px); top: 50%; transform: translateY(-50%); z-index: 0; font-family: var(--ix-head); font-size: clamp(110px, 17vw, 300px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(214, 173, 102, 0.3); pointer-events: none; user-select: none; }
.int-pending { margin: 8px 0 0; font-size: clamp(16px, 1.1vw, 19px); color: var(--ix-body); }
.int-hairline { position: absolute; top: -1px; left: 0; width: 100%; height: 2px; overflow: hidden; pointer-events: none; }
.int-hairline::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--ix-hot), transparent); animation: int-hair 4s ease-in-out infinite; }
@keyframes int-hair { 0%, 100% { transform: translateX(-60%); opacity: 0; } 50% { transform: translateX(0); opacity: 1; } }
.int-gear { position: absolute; right: clamp(-70px, -3vw, 10px); top: 50%; width: clamp(170px, 27vw, 440px); height: auto; margin-top: calc(clamp(170px, 27vw, 440px) / -2);
  opacity: 0.5; pointer-events: none; animation: int-spin 90s linear infinite; }
.int-hero-copy { position: relative; z-index: 1; max-width: 1100px; }
.int-hero-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.int-mark-logo { display: block; width: 56px; height: 56px; border-radius: 10px; border: 1px solid var(--ix-border); background: rgba(0, 0, 0, 0.5); padding: 4px; }
.int-wrap .ru-proto-num { font-size: 13px; letter-spacing: 2.4px; margin: 0 0 8px; }
.int-hero-top .ru-proto-num { margin: 0; }
.int-sub { margin: 0 0 16px; font-family: var(--ix-mono); font-size: clamp(15px, 1.3vw, 20px); letter-spacing: 1.2px; color: var(--ix-brass); }
.int-sub::first-letter { text-transform: uppercase; }
.int-lede { margin: 0 0 24px; max-width: 70ch; font-size: clamp(17px, 1.15vw, 21px); line-height: 1.62; color: var(--ix-text); }

/* Counters */
.int-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 28px); margin: 0 0 24px; max-width: 900px; }
.int-stat { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 2px solid var(--ix-rich); }
.int-stat dd { order: -1; }
.int-stat dt { margin: 0; font-family: var(--ix-mono); font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ix-muted); }
.int-stat dd { margin: 0; font-family: var(--ix-head); font-size: clamp(32px, 3.2vw, 56px); line-height: 1; background: var(--ix-metal-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; font-variant-numeric: tabular-nums; }

/* Progress bar: the REAP lab progress look */
.int-progress { max-width: 620px; margin: 0 0 20px; padding: 14px 16px; background: var(--ix-inset); border: 1px solid var(--ix-border-soft); border-radius: 10px; }
.int-progress-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.int-progress-title { font-family: var(--ix-head); font-size: 13px; letter-spacing: 0.8px; text-transform: uppercase; color: var(--ix-text); }
.int-progress-pct { font-size: 14px; font-weight: 700; color: var(--ix-brass); font-variant-numeric: tabular-nums; }
.int-progress-track { position: relative; width: 100%; height: 14px; background: rgba(255, 255, 255, 0.08); border-radius: 6px; overflow: hidden; }
.int-progress-fill { height: 100%; min-width: 4px; background: linear-gradient(90deg, #b17e38 0%, #e0c592 100%); border-radius: 6px; transition: width 0.5s var(--ix-ease); }
.int-progress-text { margin: 8px 0 0; font-size: 14px; color: var(--ix-body); }
.int-rail .int-progress { max-width: none; margin: 14px 0 0; }

/* Release line and version line: house floor of 13px */
.int-wrap .dst-version { margin: 0.9em 0 0.7em; font-size: 13px; letter-spacing: 2px; text-align: left; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; gap: 2px 0; }
.int-wrap .dst-version .dst-nb { display: inline; text-align: left; }
.int-wrap .dst-rel { margin: 0; max-width: 40em; text-align: left; }
.int-wrap .dst-rel > summary { font-size: 13px; letter-spacing: 1.2px; }
.int-wrap .dst-rel-body, .int-wrap .dst-rel-body p { font-size: 15px; }

/* Facts and running order lists */
.int-facts, .int-order { counter-reset: ix; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.int-facts li, .int-order li { counter-increment: ix; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px 16px 12px 12px; font-size: 16px; line-height: 1.55; color: var(--ix-body);
  background: var(--ix-inset); border: 1px solid var(--ix-border-faint); border-radius: 8px; transition: border-color 0.25s, background 0.25s; }
.int-facts li::before, .int-order li::before { content: counter(ix, decimal-leading-zero); display: block; padding: 3px 0; text-align: center; font-family: var(--ix-mono); font-size: 13px; letter-spacing: 1px; color: var(--ix-light); background: rgba(177, 126, 56, 0.14); border-radius: 5px; }
.int-facts li:hover, .int-order li:hover { border-color: var(--ix-border); background: rgba(177, 126, 56, 0.07); }
@media (min-width: 1100px) { .int-order { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Session cards */
.int-sessions-head { margin: 0 0 14px; padding: 16px clamp(16px, 2vw, 30px) 0; }
.int-sessions-head .mom-section-label { margin-bottom: 14px; }
.int-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .int-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .int-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1700px) { .int-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.int-grid > li { min-width: 0; display: flex; }
.int-card { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; gap: 10px; min-width: 0; overflow: hidden; padding: 18px clamp(16px, 1.6vw, 26px) 22px; border-color: var(--ix-border-soft); }
.int-card > * { position: relative; z-index: 1; }
.int-thumb { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16 / 9; min-height: 44px; overflow: hidden; border: 1px solid var(--ix-border-faint); border-radius: 5px; background: #0b0905; }
.int-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.int-thumb-empty img { width: 38%; height: auto; max-height: 80%; object-fit: contain; opacity: 0.55; }
a.int-thumb:hover { border-color: var(--ix-border); }
.int-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.int-num { font-family: var(--ix-head); font-size: clamp(38px, 3.4vw, 56px); line-height: 1; background: var(--ix-metal-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.int-state { flex: none; display: inline-flex; align-items: center; min-height: 28px; padding: 3px 10px; font-family: var(--ix-mono); font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ix-muted); border: 1px solid var(--ix-border-faint); border-radius: 5px; background: rgba(0, 0, 0, 0.35); }
.int-state-on { color: var(--ix-hot); border-color: var(--ix-border); background: rgba(177, 126, 56, 0.18); }
.int-name { margin: 0; font-family: var(--ix-head); font-weight: 400; font-size: clamp(20px, 1.6vw, 26px); line-height: 1.15; letter-spacing: 0.6px; text-transform: uppercase; color: var(--ix-text); text-wrap: balance; text-shadow: none; }
.int-name a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; background: linear-gradient(var(--ix-rich), var(--ix-rich)) 0 100% / 0 2px no-repeat; transition: background-size 0.35s var(--ix-ease), color 0.2s; }
.int-name a:hover { color: var(--ix-hot); background-size: 100% 2px; }
.int-dates { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.int-dates li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }
.int-dates b { font-family: var(--ix-body-font, 'Inter', sans-serif); font-size: 15px; font-weight: 600; color: var(--ix-light); }
.int-dates span { font-family: var(--ix-mono); font-size: 13px; letter-spacing: 0.6px; color: var(--ix-muted); }
.int-sheading .int-dates { margin: 0 0 6px; }
.int-out { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ix-body); }
.int-note { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ix-muted); }
.int-go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: auto; padding-top: 8px; }
.int-card-video { margin: 4px 0 2px; }
.int-card .ru-video-hero::before { display: none; }
.int-card .ru-video-frame { max-width: 100%; }

/* Tilt toward the pointer, with a light that follows it (set by intensives.js on fine pointers only) */
[data-tilt] { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 0.5s var(--ix-ease), border-color 0.2s, box-shadow 0.2s; transform-style: flat; }
[data-tilt]::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(224, 197, 146, 0.16), transparent 55%); }
[data-tilt].hot { border-color: var(--ix-rich); box-shadow: 0 12px 36px rgba(177, 126, 56, 0.22); transition: transform 0.08s linear, border-color 0.2s, box-shadow 0.2s; }
[data-tilt].hot::after { opacity: 1; }

/* Buttons: metal primary, ghost toggle. Squared, never round. */
.int-wrap a.int-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 26px; font-family: var(--ix-head); font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; text-decoration: none;
  color: #1a1206; background: var(--ix-metal); border: 1px solid var(--ix-deep); border-radius: 8px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.int-btn::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent); transform: skewX(-18deg); transition: left 0.65s; }
.int-wrap a.int-btn:hover { color: #1a1206; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(177, 126, 56, 0.45); }
.int-btn:hover::after { left: 130%; }
.int-mark { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; font-family: var(--ix-head); font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ix-light);
  background: transparent; border: 1px solid rgba(177, 126, 56, 0.8); border-radius: 8px; cursor: pointer; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.int-mark:hover { background: rgba(177, 126, 56, 0.14); color: var(--ix-hot); }
.int-mark[aria-pressed="true"] { color: var(--ix-hot); background: rgba(177, 126, 56, 0.24); }
.int-mark[aria-pressed="true"]::before { content: "\2713"; font-family: 'Inter', sans-serif; font-size: 15px; }
/* Replay poster component sits inside the 16:9 frame */
.ru-video-frame > .mv-replay { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; border-radius: 0; }
.int-videobar { display: flex; justify-content: flex-start; max-width: 1280px; margin: 16px auto 0; }

/* Session page: rail on the left, the replay and the working panels on the right */
.int-sheading { margin: 0 0 20px; }
.int-grid2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 901px) { .int-grid2 { grid-template-columns: 300px minmax(0, 1fr); gap: 20px; } }
@media (min-width: 1500px) { .int-grid2 { grid-template-columns: 340px minmax(0, 1fr); } }
.int-col-rail, .int-col-main { min-width: 0; }
.int-col-main { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 901px) { .int-col-rail { position: sticky; top: calc(var(--ix-bar) + 14px); max-height: calc(100vh - var(--ix-bar) - 28px); overflow-y: auto; scrollbar-width: thin; } }
.int-rail { padding: 16px 14px 18px; }
.int-rail .mom-section-label { padding-left: 6px; padding-right: 6px; }
.int-rail .mom-portal-list { max-height: none; }
.int-rail .mom-nav-item { grid-template-columns: 46px minmax(0, 1fr) 18px; min-height: 48px; align-items: center; padding: 6px 8px; }
.int-rail .nav-icon { width: 46px; height: 32px; font-family: var(--ix-head); font-size: 13px; letter-spacing: 0.5px; margin-top: 0; }
.int-rail .nav-label { font-size: 13px; letter-spacing: 0.6px; line-height: 1.3; }
.int-rail .is-ahead .nav-label { color: var(--ix-muted); }
.int-rail .int-tick { color: var(--ix-hot); font-size: 15px; line-height: 1; }
.int-rail .is-watched .nav-icon { border-color: var(--ix-rich); }
.int-panel-video .ru-video-frame { max-width: 1400px; }
.int-panel-video .ru-video-part-label { max-width: 1400px; font-size: 13px; letter-spacing: 1.6px; color: var(--ix-brass); }
.int-panel-video .ru-video-hero-multi { gap: 22px; }
.int-panel-video .ru-video-hero { margin: 0 0 4px; }
.int-centre .ru-video-frame { max-width: none; }
.int-leave .int-outcome { margin: 0; padding-left: 18px; max-width: 64ch; font-size: clamp(19px, 1.55vw, 26px); line-height: 1.45; color: var(--ix-text); border-left: 3px solid var(--ix-rich); }
.int-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 1200px) { .int-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.int-pair:empty { display: none; }
.int-pair > section { min-width: 0; }

/* Tools as linked chips, material as plain tags: all squared */
.int-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; padding: 0; list-style: none; }
.int-chips + .int-note { margin-top: 4px; }
.int-wrap .int-chip-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; color: var(--ix-hot); text-decoration: none; background: rgba(177, 126, 56, 0.12); border: 1px solid var(--ix-border); border-radius: 6px; transition: background 0.2s, border-color 0.2s, transform 0.2s; }
a.int-chip-link:hover { background: rgba(177, 126, 56, 0.24); border-color: var(--ix-rich); color: var(--ix-hot); transform: translateY(-1px); }
.int-tag { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; font-family: var(--ix-mono); font-size: 13px; letter-spacing: 0.8px; color: var(--ix-light); background: rgba(0, 0, 0, 0.4); border: 1px solid var(--ix-border-soft); border-radius: 5px; }
a.int-tag { min-height: 44px; }

/* Previous and next */
.int-wrap #ru-foot { display: block; text-align: left; }
.int-wrap .ru-prevnext-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.int-wrap .ru-prevnext-tile { min-height: 64px; padding: 12px 16px; justify-self: stretch; align-items: flex-start; text-align: left; }
.int-wrap .ru-prevnext-tile.ru-prevnext-next { align-items: flex-end; text-align: right; grid-column: 2; }
.int-wrap .ru-prevnext-prev { grid-column: 1; }
.int-wrap .ru-prevnext-eyebrow { font-size: 13px; letter-spacing: 1.4px; }
.int-wrap .ru-prevnext-title { font-size: 16px; }
.int-wrap .ru-panel-prevnext .mom-section-label { margin-bottom: 14px; }

/* Scroll reveal: hidden only while the script is running and the element has not come into view yet */
.int-js .int-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ix-ease), transform 0.7s var(--ix-ease); }
.int-js .int-reveal.in { opacity: 1; transform: none; }
.int-js .int-grid > li.int-reveal:nth-child(3n+2) { transition-delay: 0.06s; }
.int-js .int-grid > li.int-reveal:nth-child(3n) { transition-delay: 0.12s; }

/* Phone and tablet */
@media (max-width: 900px) {
  /* The replay comes first on a phone; the session strip and the progress follow it */
  .int-col-rail { order: 2; }
  .int-col-main { order: 1; }
  .int-rail .mom-portal-list { display: flex; flex-direction: row; gap: 8px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x proximity; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .int-rail .mom-nav-item { flex: 0 0 auto; min-width: 190px; margin-bottom: 0; scroll-snap-align: start; border: 1px solid var(--ix-border-faint); border-left-width: 3px; }
  .int-rail .mom-nav-item.is-active { border-color: var(--ix-border); border-left-color: var(--ix-brass); }
  .int-gear { opacity: 0.22; }
}
@media (max-width: 700px) {
  .ru-wrap.int-wrap { padding-left: 12px; padding-right: 12px; }
  .int-stats { gap: 10px; }
  .int-stat dt { letter-spacing: 0.6px; }
  .int-hero { padding: 20px 16px 22px; }
  .int-ghost-num { display: none; }
  .int-panel { padding: 14px 14px 20px; }
  .int-wrap .ru-prevnext-grid { grid-template-columns: minmax(0, 1fr); }
  .int-wrap .ru-prevnext-tile.ru-prevnext-next, .int-wrap .ru-prevnext-prev { grid-column: 1; }
  .int-wrap .ru-prevnext-tile.ru-prevnext-next { align-items: flex-start; text-align: left; }
  .int-card { padding: 16px 14px 20px; }
  .int-go .int-btn, .int-go .int-mark { flex: 1 1 100%; }
  .int-videobar .int-mark { width: 100%; }
}

/* Reel: visible thumbnail in the hero and the smaller dialog player */
.int-reel-btn { position: relative; display: block; width: min(100%, 360px); margin: 0 0 16px; padding: 0; cursor: pointer; aspect-ratio: 16 / 9; min-height: 44px; background: #000; border: 1px solid var(--ix-brass); border-radius: 0; box-shadow: none; color: var(--ix-ink); overflow: hidden; }
.int-reel-thumb { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.int-reel-mark { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--ix-brass); color: #000; border-radius: 0; }
.int-reel-label { position: absolute; left: 68px; bottom: 12px; min-height: 44px; display: inline-flex; align-items: center; font-family: var(--ix-head); font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ix-light); text-shadow: none; }
.int-reel-btn:hover { border-color: var(--ix-hot); }
.int-reel-btn:hover .int-reel-mark { background: var(--ix-hot); }
.int-reel { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.int-reel[hidden] { display: none; }
.int-reel-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); }
.int-reel-box { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }
@media (min-width: 700px) { .int-reel-box { width: min(60vw, 960px); } }
.int-reel-close { align-self: flex-end; min-height: 44px; min-width: 44px; padding: 0 22px; cursor: pointer; font-family: var(--ix-head); font-size: 14px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--ix-light); background: #000; border: 1px solid var(--ix-brass); border-radius: 0; }
.int-reel-close:hover { color: var(--ix-hot); border-color: var(--ix-hot); }
.int-reel-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--ix-brass); border-radius: 0; }
.int-wrap .int-reel-btn:focus-visible, .int-wrap .int-reel-close:focus-visible { outline: 2px solid var(--ix-hot); outline-offset: 3px; }

/* Reduced motion: everything stops, everything shows */
@media (prefers-reduced-motion: reduce) {
  .int-atm, .int-atm::after, .int-gear, .int-hairline::after { animation: none; }
  .int-shim { animation: none; background-size: 100% auto; }
  .int-js .int-reveal { opacity: 1; transform: none; transition: none; }
  [data-tilt] { transform: none; transition: none; }
  .int-btn, .int-btn::after, .int-chip-link, .int-name a, .int-progress-fill { transition: none; }
}
@media (hover: none), (pointer: coarse) { [data-tilt] { transform: none; } [data-tilt]::after { display: none; } }
