@font-face {
  font-family: "Avenir55Roman";
  src: url("/fonts/Avenir55Roman_normal_normal.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}



/* =================== SECTION 1 v2 — BOOK-FOLD (Responsive & Navbar-aware) =================== */

/* Set your navbar height once — all sizing below respects it */
#s13bookv2 { --navH: 1px; /* change to your actual navbar height */ }

#s13bookv2.theme-white {
  --fg:#000; --fg-muted:#000; --fg-subtle:#000; --fg-soft:#000; --num-dim:rgba(0,0,0,.8);
  --bg1:#fff; --bg2:#fff; --bg3:#fff; --accA:transparent; --accB:transparent;
  --panel:#fff; --panel-border:#000; --handle-bg:#000; --handle-border:#000; --shade-heavy:rgba(0,0,0,.55);
}

#s13bookv2 { width:100%; background:#fff; color:#000; }

.b13v2-card{
  position:relative; width:100%;
  background:#fff; color:#000;
  padding: clamp(12px, 2.2vw, 24px);
  padding-top: calc(var(--navH) + clamp(8px, 1.6vh, 18px));
  overflow:hidden;
  max-height: calc(100vh - 0px);
}

.b13v2-hint{
  position:absolute; left:50%; bottom:18px; transform:translateX(-50%);
  font-size:12px; color:#000; opacity:.9;
  background:#fff; border:1px solid #000;
  border-radius:999px; padding:6px 10px; pointer-events:none; z-index:6;
}

.b13v2-stage{
  position:relative; width:100%;
  min-height: clamp(340px, calc(100vh - var(--navH) - 80px), 560px);
  perspective: 1400px; perspective-origin: 50% 50%;
  isolation:isolate;
}

.b13v2-back{ position:absolute; inset:0; z-index:1; background:#fff; }
.b13v2-grid{
  position:absolute; inset:0;
  display:grid;
  grid-template-columns: 1fr 1fr;
  align-items:center;
  gap: clamp(12px, 2vw, 28px);
  padding: clamp(8px, 2vw, 16px);
}

.b13v2-media .b13v2-img{
  width: min(780px, 99%);
  max-height: clamp(700px, 75vh, 100px);
  height: auto; object-fit: contain;
  user-select:none; pointer-events:none; background:#fff;
}

.b13v2-back .b13v2-media .b13v2-img{
  width: min(640px, 96%);
  margin-left: 12px;
}

.b13v2-right{ justify-self:center; text-align:left; }
.b13v2-text{ max-width: 560px; }

.b13v2-title{ font-weight:800; line-height:1.08; font-size: clamp(22px, 2.6vw, 36px); margin: 0 0 .5rem; }
.b13v2-hero{ font-weight:800; line-height:1.02; font-size: clamp(28px, 4.6vw, 56px); margin: 0 0 .6rem; }
.b13v2-sub{ 
  color:#333; 
  font-size: clamp(13px, 1.3vw, 16px); 
  font-weight:600; 
  line-height:1.45; 
  margin:0 0 .8rem; }

.b13v2-bullets{
  list-style:none; margin:0 0 .4rem; padding:0;
  display:flex; gap:.9rem; flex-wrap:wrap; justify-content:center;
}
.b13v2-bullets li{ color:#444; font-size: clamp(12px, 1.2vw, 15px); line-height:1.45; }

.b13v2-specs{
  display:grid; 
  grid-template-columns: repeat(3, minmax(120px,1fr));
  gap: 10px 12px; 
  margin: 1.6rem 0 .9rem;
}
.b13v2-specs .num{ 
  font-weight:600; 
  font-size: clamp(16px, 2.6vw, 24px); 
  line-height:1.05; 
}
.b13v2-specs .lab{ 
  color:#555; 
  font-size: clamp(11px, 1.1vw, 14px); 
  line-height:1.35; 
  margin-top:3px; 
}

.b13v2-list{ margin:0; 
  color:#444; 
  font-size: clamp(12px, 1.2vw, 15px); 
  line-height:1.25; 
  text-align:center; 
}


.b13v2-list li + li{ margin-top:6px; }

.b13v2-book{ position:absolute; inset:0; z-index:2; transform-style:preserve-3d; }
.b13v2-hinge{
  position:absolute; top: 24px; bottom: 24px; left:50%;
  width:2px; transform: translateX(-1px); background:#000; z-index:3; pointer-events:none;
}

.leaf{
  position:absolute; top:0; bottom:0; width:50%;
  transform: translateZ(0.01px) rotateY(0deg);
  transform-origin:center; backface-visibility:hidden; -webkit-backface-visibility:hidden;
  will-change:transform; overflow:hidden; z-index:4; background:#fff;
}
.leaf-left{ left:0; transform-origin:center left; }
.leaf-right{ right:0; transform-origin:center right; }

.page-bg{ position:absolute; inset:0; background:#fff; z-index:0; }
.leaf .leaf-inner{
  position:absolute; inset:0; display:flex; flex-direction:column;
  align-items:center; justify-content:center; text-align:center; padding: clamp(8px, 2vw, 16px); z-index:1;
}

.shade{ position:absolute; inset:0; pointer-events:none; opacity:.15; z-index:2; }
.shade-left{  background: linear-gradient(90deg,  rgba(0,0,0,.55), rgba(0,0,0,0) 60%); }
.shade-right{ background: linear-gradient(270deg, rgba(0,0,0,.55), rgba(0,0,0,0) 60%); }

.b13v2-handle{
  position:absolute; top:50%; left:50%; transform: translate(-50%,-50%);
  width:44px; height:44px; border-radius:50%; z-index:5; cursor:grab;
  border:1px solid #000; background:#000; color:#fff;
}
.b13v2-handle .nub{ position:absolute; inset:0; display:grid; place-items:center; }
.b13v2-handle .nub::before{ content:"⇔"; font-size:18px; color:#fff; }

@media (max-width: 1100px){
  .b13v2-specs{ grid-template-columns: repeat(3, minmax(110px,1fr)); }
}
@media (max-width: 980px){
  .b13v2-grid{ grid-template-columns: 1fr; text-align:center; }
  .b13v2-right{ justify-self:center; padding-left:0; max-width:100%; }
  .b13v2-specs{ grid-template-columns: repeat(3, 1fr); }
  .b13v2-bullets{ justify-content:center; }
  .b13v2-back .b13v2-media .b13v2-img{ margin-left:0; width:min(620px, 96%); }
  .b13v2-stage{ min-height: clamp(340px, calc(100vh - var(--navH) - 64px), 520px); }
}
@media (max-width: 640px){
  .b13v2-specs{ grid-template-columns: 1fr 1fr; }
  .b13v2-hero{ font-size: clamp(24px, 8vw, 40px); }
}

/* ========== MOBILE VERTICAL SPLIT OVERRIDE (≤ 980px) ========== */
@media (max-width: 980px) {
  .b13v2-book {
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
  }

  .leaf {
    position: relative;
    width: 100%;
    height: 50%;                  /* half the height */
  }
  .leaf-left {
    top: 0; left: 0;
    transform-origin: top center;
  }
  .leaf-right {
    bottom: 0; left: 0;
    transform-origin: bottom center;
  }

  .leaf .leaf-inner {
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  .shade-left {
    background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0) 60%);
  }
  .shade-right {
    background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0) 60%);
  }
}
/* ===== Mobile fixes for Section 1 (≤ 980px) ===== */
@media (max-width: 980px){

  /* 1) Nudge the FRONT monitor image a bit to the right */
  /* Front image lives in the right leaf on the FRONT side */
  #b13v2LeafR .b13v2-media .b13v2-img{
    /* adjust these two to taste */
    --frontImgShiftX: 12px;      /* ← move right; use negative to move left */
    --frontImgScale: 1.00;       /* optional tiny scale tweak */

    object-position: 55% center; /* shift visual focus right (50% is center) */
    transform: translateX(var(--frontImgShiftX)) scale(var(--frontImgScale));
    transform-origin: center;
  }

  /* 2) Hide the vertical hinge line on mobile */
  .b13v2-hinge{ display:none !important; }

  /* 3) Hide the 3-up specs block on small screens */
  .b13v2-specs{ display:none !important; }
  .b13v2-handle { display: none !important; }

}




















/* ===================== SECOND SECTION — FLEX LAYOUT ===================== */
.specs-section{
  --navH: 2px;   /* navbar height */

  /* 🎛 VIDEO CROPPING CONTROLS */
  --videoFit: cover;
  --videoZoom: 1.20;
  --videoX: 50%;
  --videoY: 58%;
  --videoTX: 0px;
  --videoTY: 0px;

  --card-gap-x: 12px;
  --card-gap-y: 10px;
  background:#fff; 
  color:#000;

  margin: 0;         /* kill default section margins */
  padding: 0;        /* no internal top/bottom padding */

  /* 🔧 KEY FIX: contain child margins so they don’t leak out */
  display: flow-root;   /* OR use overflow:hidden if you prefer */
}

/* Outer container: two flex columns */
.specs__inner{
  width:min(1200px, 92%);
  margin:0 auto;
  display:flex;
  gap: clamp(6px, 1.1vw, 10px);
  height: auto;
  min-height: auto;

  align-items: stretch;   /* keep left & right equal height */
}

.specs__media{ flex: 1.05 1 0; display:flex; align-items:center; }
.specs__right{ flex: 1 1 0; display:flex; align-items:center; }

/* LEFT frame = 62% height on desktops */
.specs__frame{
  width: 100%;
  height: 62%;
  max-width: 560px;
  margin-inline: auto;
  border:1px solid rgba(0,0,0,.16);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  overflow:hidden;
  display:flex; align-items:center; justify-content:center;
}
.specs__video{
  width:100%; height:100%;
  object-fit: var(--videoFit);
  object-position: var(--videoX) var(--videoY);
  transform: translate(var(--videoTX), var(--videoTY)) scale(var(--videoZoom));
  transform-origin: var(--videoX) var(--videoY);
  background:#000;
}

/* RIGHT cards = 62% height on desktops */
.specs__grid{
  width:100%;
  height: 62%;
  display:flex; flex-wrap:wrap;
  align-content:stretch;
  gap: var(--card-gap-y) var(--card-gap-x);
  --cols: 3; --rows: 3;
}
.spec-card{
  flex: 0 0 calc((100% - (var(--cols) - 1) * var(--card-gap-x)) / var(--cols));
  height: calc((100% - (var(--rows) - 1) * var(--card-gap-y)) / var(--rows));
  display:flex; flex-direction:column; justify-content:flex-start;
  background:#fff; border:1px solid rgba(0,0,0,.16);
  border-radius:12px; box-shadow:0 12px 28px rgba(0,0,0,.08);
  padding: clamp(10px,1.2vw,14px);
  min-width:0; overflow:hidden;
  transition: box-shadow .25s, border-color .25s;
}
.spec-card:hover{ box-shadow:0 16px 36px rgba(0,0,0,.12); border-color:rgba(0,0,0,.24); }

/* 🎛 CONTROLS for RIGHT spec cards text in Section 2 */
.spec-card__heading {
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 6px;
  color: #000;
}
.spec-card__heading .stat {
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 550;
  color: #000;
}
.spec-card__desc {
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
  color: #444;
}
.spec-card__icon {
  width: 32px; height: 32px;
  font-size: 16px;
  margin-bottom: 8px;
}

/* ---------- Tablet: 2 cols, more rows ---------- */
@media (max-width: 1024px){
  .specs__grid{ --cols: 2; --rows: 5; }
}

/* ---------- Mobile: switch to 100% height (no overlap) ---------- */
@media (max-width: 700px){
  .specs__inner{
    flex-direction: column;
    height: auto;
    min-height: auto;
  }
  .specs__frame{ max-width: 440px; height: auto; }
  .specs__grid{
    --cols: 1; --rows: 9;
    height: auto;
  }
  .spec-card{
    height: auto;
    min-height: 120px;
  }
}


















/* ========== THIRD SECTION (Option A) — 3D BILLBOARD RING — CSS (responsive & overflow-safe) ========== */
#s3ring{
  --fg:#000; --sub:#444; --accent:#000;
  --border:#e5e7eb; --card:#fff;
  --shadow:0 12px 28px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.04) inset;

  /* 🎛 scale ring on small screens without touching JS or data attributes */
  --ringScale: 1;     /* desktop default */
  --ringH: clamp(360px, 48svh, 560px);   /* max ring height to fit “one view” */
  background:#fff; color:var(--fg);
}

#s3ring .s3ring__wrap{
  width:min(1200px,92%);
  margin:1px auto 2px;
  display:grid; justify-items:center;
}

/* Header */
#s3ring .s3ring__head{ text-align:center; }
#s3ring .s3ring__title{ font-size:clamp(22px,3.2vw,38px); margin:0 0 2px; }
#s3ring .s3ring__sub{ color:var(--sub); margin:0; }

/* Stage clips overflow so cards never leak off-screen on mobile */
#s3ring .s3ring-stage{
  width:100%;
  display:grid; place-items:center;
  perspective:1200px; perspective-origin:50% 50%;
  overflow: clip;              /* ← prevents sideways overflow */
  contain: layout paint;       /* helps perf/containment */
  max-height: calc(var(--ringH) + 120px); /* room for hint & detail */
}

/* List gets a uniform scale on small screens to keep everything inside */
#s3ring .s3ring__list{
  --rot: 0deg; --count: 6; --radius: 360px;
  position:relative;
  width:clamp(320px,68vw,880px);
  height:clamp(320px,48vw,520px);
  margin:0 auto;

  transform-style:preserve-3d;
  will-change: transform;

  /* 🔒 keep the whole ring inside the stage on narrow screens */
  transform: scale(var(--ringScale));
  transform-origin: center center;
}

/* Cards */
#s3ring .s3ring-card{
  --i:0; --angle: calc((360deg / var(--count,6)) * var(--i));
  position:absolute; top:50%; left:50%;
  width:clamp(200px,28vw,300px);   /* a touch smaller for fit */
  height:clamp(140px,20vw,200px);
  padding:5px; border-radius:10px;
  background:var(--card); box-shadow:var(--shadow);
  display:flex; flex-direction:column; justify-content:flex-end; align-items:flex-start;
  backface-visibility:hidden;

  transform:
    translate(-50%,-50%)
    rotateY(calc(var(--rot) + var(--angle)))
    translateZ(var(--radius))
    rotateY(calc(-1 * (var(--rot) + var(--angle))));
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
  will-change: transform;
}

/* Images */
#s3ring .s3ring-card img{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:contain;
  border-radius:18px; opacity:1; z-index:0; transform: translateZ(0.01px);
}

/* Title small so it never wraps out of card */
#s3ring .s3ring-card h3{
  z-index:1; margin-left:96px;
  font-size:10px;
  font-weight:700;
  color:#000;
}

/* Hide per-card paragraph (keeps layout clean) */
#s3ring .s3ring-card p{ display:none; }

/* Active card pops slightly */
#s3ring .s3ring-card.is-active{
  transform:
    translate(-50%,-50%)
    rotateY(calc(var(--rot) + var(--angle)))
    translateZ(calc(var(--radius) + 24px))
    rotateY(calc(-1 * (var(--rot) + var(--angle))));
  border-color:#000;
  box-shadow:0 18px 40px rgba(0,0,0,.14), 0 0 0 1px rgba(0,0,0,.06) inset;
}

/* CTA button */
#s3ring .s3ring-card__btn{
  position:absolute; right:12px; bottom:12px; z-index:2;
  display:inline-block; padding:4px 6px; border-radius:999px; font-weight:600; font-size:8px;
  color:#fff; background:#000;
  box-shadow:0 4px 8px rgba(0,0,0,.25);
  opacity:0; transform:translateY(6px); transition:.2s ease; pointer-events:none;
}
#s3ring .s3ring-card:hover .s3ring-card__btn,
#s3ring .s3ring-card.is-active .s3ring-card__btn{
  opacity:1; transform:translateY(0); pointer-events:auto;
}

/* Detail row under ring */
#s3ring .s3ring-btn{ display:inline-block; padding:10px 16px; border-radius:999px; text-decoration:none; font-weight:600; transition:.2s ease; font-size:13px; }
#s3ring .s3ring-btn--primary{ background:#000; color:#fff; box-shadow:0 4px 8px rgba(0,0,0,.25); }
#s3ring .s3ring-btn--primary:hover{ transform:translateY(-2px); }
#s3ring .s3ring-btn--ghost{ background:#fff; border:1px solid #000; color:#000; }
#s3ring .s3ring-btn--ghost:hover{ background:#000; color:#fff; }

/* ------- Responsive: keep ring inside on small screens without touching JS ------- */
@media (max-width: 980px){
  #s3ring{ --ringScale: .85; --ringH: clamp(320px, 50svh, 520px); }
  #s3ring .s3ring__list{ width:clamp(320px, 88vw, 820px); height:clamp(320px, 58vw, 500px); }
  #s3ring .s3ring-card{ width:clamp(180px, 36vw, 260px); height:clamp(120px, 26vw, 180px); }
  #s3ring .s3ring-detail__title{ font-size:15px; }
}
@media (max-width: 720px){
  #s3ring{ --ringScale: .75; --ringH: clamp(300px, 52svh, 500px); }
  #s3ring .s3ring__list{ width:clamp(300px, 92vw, 760px); height:clamp(280px, 66vw, 460px); }
  #s3ring .s3ring-card{ width:clamp(160px, 42vw, 230px); height:clamp(110px, 30vw, 165px); }
  #s3ring .s3ring__title{ font-size:clamp(20px, 6vw, 28px); }
}
@media (max-width: 520px){
  #s3ring{ --ringScale: .66; --ringH: clamp(280px, 56svh, 460px); }
  #s3ring .s3ring__list{ width:clamp(280px, 96vw, 700px); height:clamp(260px, 76vw, 420px); }
  #s3ring .s3ring-card{ width:clamp(146px, 48vw, 210px); height:clamp(100px, 34vw, 150px); }
  #s3ring .s3ring-detail__title{ font-size:14px; }
}





















/* ========== Fourth — SLIDE FRONT/BACK (Responsive & Navbar-aware) ========== */

#s7slide{ --navH: 72px; /* ← set to your navbar height */ width:100%; }

/* Card container */
#s7slide .s7-card{
  position: relative;
  width: 100%;
  background:#fff;
  color:#000;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(0,0,0,.08);

  /* Tighter padding so most content fits at a glance */
  padding: clamp(12px, 1.8vw, 20px);

  /* Try to keep the whole section visible under the navbar */
  max-height: calc(100svh - var(--navH) - 12px);
}

/* Instruction pill */
#s7slide .s7-hint{
  position:absolute; left:50%; bottom:10px; transform: translateX(-50%);
  font-size: 12px; color:#000; opacity:.75;
  background: rgba(0,0,0,.05); border: 1px solid rgba(0,0,0,.15);
  border-radius: 999px; padding: 6px 10px;
  pointer-events: none;
}

/* Track */
#s7slide .s7-track{
  display: flex; width: 200%;
  will-change: transform;
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
  touch-action: pan-y;
}

/* Panes: balanced split */
#s7slide .s7-pane{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);

  /* Keep pane height within viewport under navbar */
  min-height: clamp(320px, calc(100svh - var(--navH) - 64px), 560px);
}

/* BACK pane: larger image, smaller text (as you had) */
#s7slide .s7-pane--back{
  grid-template-columns: 1.4fr 0.6fr;
}

/* Columns */
#s7slide .s7-col{ position:relative; }

#s7slide .s7-col--text{
  padding: clamp(6px, 1.6vw, 14px);
}

/* Typography (compact so it fits at once) */
#s7slide .s7-title{
  margin: 0 0 8px;
  line-height:1.06;
  font-weight: 800;
  font-size: clamp(20px, 3.4vw, 38px);
}
#s7slide .s7-sub{ margin:0 0 8px;
   font-weight: 600; }
#s7slide .s7-bullets,
#s7slide .s7-specs{
  margin:0; padding-left:18px; color:#222;
}
#s7slide .s7-bullets li + li,
#s7slide .s7-specs li + li{ margin-top:6px; }

/* Back text a touch smaller so image dominates */
#s7slide .s7-pane--back .s7-col--text{ max-width: 520px; }
#s7slide .s7-pane--back .s7-title{ font-size: clamp(18px, 3vw, 32px); margin-bottom: 6px; }
#s7slide .s7-pane--back .s7-sub{ color:#333; }

/* Tech numbers */
#s7slide .s7-tech{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1.6vw, 16px); margin: 8px 0 8px;
}
#s7slide .s7-techitem .num{
  font-size: clamp(14px, 2.4vw, 28px);
  font-weight:800; line-height:.98;
  color: rgba(0,0,0,.22);
}
#s7slide .s7-techitem .label{
  margin-top: 4px; font-size: clamp(12px, 1.2vw, 16px); color:#333;
}

/* Media column + images (consistent sizes with other sections) */
#s7slide .s7-col--media{ display:grid; place-items:center; padding: clamp(2px, 1vw, 7px); }
#s7slide .s7-col--media .s7-svg{
  width: min(600px, 80%);
  max-height: clamp(300px, 50vh, 600px);
  height: auto;
  object-fit: contain;
  background:#fff;
}

/* Responsive */
@media (max-width: 900px){
  #s7slide .s7-pane,
  #s7slide .s7-pane--back{
    grid-template-columns: 1fr; text-align: center;
  }
  #s7slide .s7-col--text{ order: -1; max-width:none; }
  #s7slide .s7-title{ font-size: clamp(20px, 6vw, 32px); }
  #s7slide .s7-col--media .s7-svg{
    width: min(520px, 100%);
    max-height: clamp(220px, 42vh, 460px);
    filter: drop-shadow(0 8px 20px rgba(0,0,0,.12));
  }
}

/* Extra-compact mode for short screens */
@media (max-height: 820px){
  #s7slide .s7-pane{
    min-height: clamp(300px, calc(100svh - var(--navH) - 56px), 520px);
  }
  #s7slide .s7-title{ font-size: clamp(18px, 3vw, 30px); }
  #s7slide .s7-col--media .s7-svg{ max-height: clamp(220px, 40vh, 440px); }
}
/* ===== s7slide — Subject-only "zoom & crop" (no HTML change) ===== */
/* Put this at the very end of your CSS file */

/* 0) Tweak one knob to control zoom strength */
#s7slide { --s7-zoom-desktop: 1.35;  /* 1.15–1.60 good range */
           --s7-zoom-mobile:  1.25; }

/* 1) Use the media column as a clip mask so extra white is cropped */
#s7slide .s7-col--media{
  overflow: hidden;             /* important: hides the scaled white edges */
  padding: clamp(4px, 1vw, 10px);   /* (optional) slightly tighter padding */
}

/* 2) Enlarge the image by scaling it (monitor grows, edges get cropped) */
#s7slide .s7-col--media .s7-svg{
  width: 60%;                  /* fill the media area width */
  max-height: none;             /* let transform decide the visual size */
  transform-origin: center center;
  transform: scale(var(--s7-zoom-desktop));
  /* keep your existing object-fit: contain; from base CSS */
}

/* 3) Give the media side a bit more room so text & image don't fight */
#s7slide .s7-pane{
  grid-template-columns: 0.8fr 1.2fr;  /* left=text, right=image */
}
#s7slide .s7-pane--back{
  grid-template-columns: 1.6fr 0.4fr;  /* image dominates on back pane */
}

/* 4) Mobile: slightly gentler zoom so it still fits nicely */
@media (max-width: 900px){
  #s7slide .s7-col--media .s7-svg{
    transform: scale(var(--s7-zoom-mobile));
  }
  /* Optional: tighten text a touch if needed */
  #s7slide .s7-title{ font-size: clamp(18px, 5vw, 28px); }
}



























/* ========== Fifth — STICKY SCROLL STORY (Responsive & Navbar-aware) ========== */

/* Set your fixed navbar height once so this section respects it */
#s10story {
  --navH: 72px;              /* ← change to your actual navbar height */
  width: 100%;
  --imgFadeMs: 950ms;        /* smooth cross-fade */
  --stepEase: cubic-bezier(.2,.6,.2,1);
}

/* White background, black text; extra top padding so it never hides under the navbar */
#s10story .s10-card{
  background: #ffffff;
  color: #000000;
  padding: clamp(14px, 2.2vw, 22px);
  padding-top: calc(var(--navH) + clamp(10px, 1.6vh, 18px));
  overflow: visible;         /* keep sticky working */
  position: relative;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
}

/* 50/50 split (image | text) on desktop; stacks on mobile */
#s10story .s10-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2vw, 24px);
  align-items: start;
}

/* LEFT: sticky visual — height tuned to fit in one view comfortably */
#s10story .s10-visual{ 
  min-height: 112vh;         /* ample scroll range */
}
#s10story .s10-sticky{ 
  position: sticky; 
  top: calc(var(--navH) + clamp(8px, 1.4vh, 20px)); /* never touches navbar */
}
#s10story .s10-sprite{
  position: relative;
  width: 100%;
  height: clamp(320px, 43vh, 520px);     /* ring-consistent heights */
  display: grid;
  place-items: center;
}
#s10story .s10-img{
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; transform: translateZ(0.01px); /* anti-flicker */
  opacity: 0; 
  transition: opacity var(--imgFadeMs) var(--stepEase); 
  will-change: opacity;
}
#s10story.s10-ready .s10-img.is-active{ opacity: 1; }

/* RIGHT: steps — compact text & smooth entrance */
#s10story .s10-steps{ padding: clamp(2px, 0.6vw, 8px) 0; }
#s10story .s10-step{
  margin: clamp(16px, 6vh, 72px) 0;
  opacity:.5; transform: translateY(10px);
  transition: opacity .5s var(--stepEase), transform .5s var(--stepEase);
  scroll-margin-top: calc(var(--navH) + 16px); /* for dot/keyboard scroll */
}
#s10story .s10-step.is-current{ opacity:1; transform: translateY(0); }

/* Typography (compact so most fits at a glance) */
#s10story .s10-title{
  margin: 0 0 6px; font-weight: 800;
  font-size: clamp(24px, 2.6vw, 40px);
  line-height: 1.15; color: #000;
}
#s10story .s10-sub{
  margin: 0 0 6px;
  font-size: clamp(15px, 1.0vw, 18px);
  font-weight: 600;
}
#s10story .s10-bullets{
  margin: 0; padding-left: 18px; color: #111;
  font-size: clamp(16px, 1vw, 18px);
}
#s10story .s10-bullets li + li{ margin-top: 4px; }

/* Numbers */
#s10story .s10-tech{
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(6px, 1.0vw, 12px); margin: 6px 0 6px;
}
#s10story .s10-tech .num{
  font-size: clamp(14px, 2.6vw, 34px);
  font-weight: 900; color: rgba(0,0,0,.22); line-height: .95;
}
#s10story .s10-tech .lab{
  margin-top: 4px; color:#222; font-size: clamp(11px, .9vw, 12px);
}

/* Hint pill */
#s10story .s10-hint{
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  font-size: 11px; color: #000; opacity: .85;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 999px; padding: 6px 10px;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

/* Dots */
#s10story .s10-dots{
  display: flex; gap: 10px; justify-content: center; margin-top: 10px;
}
#s10story .s10-dots .dot{
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(0,0,0,.28); cursor: pointer;
}
#s10story .s10-dots .dot.is-active{ background: #000; }

/* ---------- Mobile & small screens ---------- */
@media (max-width: 1080px){
  #s10story .s10-sprite{ height: clamp(300px, 40vh, 480px); }
}

@media (max-width: 980px){
  #s10story .s10-grid{ grid-template-columns: 1fr; }
  #s10story .s10-visual{ min-height: auto; }
  #s10story .s10-sticky{ position: static; top: auto; } /* stacking on mobile */
  #s10story .s10-sprite{ height: clamp(280px, 52vw, 440px); }
  #s10story .s10-step{ margin: clamp(14px, 6vh, 60px) 0; }
  #s10story .s10-tech{ grid-template-columns: 1fr; }
  #s10story .s10-dots .dot{ width: 10px; height: 10px; } /* larger tap target */

  /* Center-align ALL step text on mobile */
  #s10story .s10-steps{ text-align: center; }
  #s10story .s10-title,
  #s10story .s10-sub,
  #s10story .s10-bullets{
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  #s10story .s10-bullets{
    padding-left: 0;                 /* remove left indent */
    list-style-position: inside;     /* keep bullets visible when centered */
  }
}

@media (max-width: 560px){
  #s10story .s10-sprite{ height: clamp(240px, 56vw, 400px); }
  #s10story .s10-title{ font-size: clamp(14px, 5vw, 18px); }
  #s10story .s10-sub, 
  #s10story .s10-bullets{ font-size: clamp(12px, 3.4vw, 13px); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  #s10story .s10-img{ transition: none !important; }
  #s10story .s10-step{ transition: none !important; transform:none !important; opacity: 1 !important; }
}




















/* ========== sixth — HOTSPOT REVEAL (CSS, Responsive & Adjustable) ========== */
#s12hotspots { width:100%; }

/* Card */
#s12hotspots .hs12-card{
  position:relative; width:100%;
  background:#ffffff; color:#000000;
  padding: clamp(16px, 2.4vw, 26px);
  overflow:hidden;
}

/* Grid layout */
#s12hotspots .hs12-grid{
  display:grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(18px, 2vw, 36px); align-items:center;
}

/* LEFT text */
#s12hotspots .hs12-copy{
  padding: clamp(6px, 1.6vw, 16px);
  margin-left: clamp(8px, 2vw, 28px);
}
#s12hotspots .hs12-title{ font-size: clamp(22px, 3.6vw, 44px); margin:0 0 8px; font-weight:900; }
#s12hotspots .hs12-sub{ margin:0 0 10px; color:#222; }
#s12hotspots .hs12-list{ margin:0; padding-left:18px; color:#111; }
#s12hotspots .hs12-list li + li{ margin-top:6px; }

/* RIGHT visual */
#s12hotspots .hs12-visual{
  position:relative; display:grid; place-items:center;
  min-height: clamp(360px, 48vw, 600px);
  transform: rotateY(var(--tilt, 0deg));
  transition: transform .25s ease;
  background:#ffffff;
}

/* Monitor image */
#s12hotspots .hs12-img{
  width: min(560px, 90%);
  height:auto;
  object-fit: contain;
  background:#ffffff;
  transform: translateZ(.01px);

  /* 🎯 HOTSPOT POSITION ADJUSTMENTS:
     You can nudge the whole image up/down/left/right here.
     Example: transform: translate(0, -20px); */
}

/* Pins container */
#s12hotspots .hs12-pins{
  position:absolute; inset:0; pointer-events:none;
  /* 🎯 HOTSPOT PIN POSITION ADJUSTMENTS:
     To move pins relative to image, add transforms here.
     Example: transform: translateY(-10px); */
}

/* Pins */
#s12hotspots .hs12-pin{
  position:absolute; transform: translate(-50%,-50%) translateZ(.01px);
  width:14px; height:14px; border-radius:50%;
  background:#000; border:1px solid #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,.15);
  cursor:pointer; pointer-events:auto;
}
#s12hotspots .hs12-pin::after{
  content:""; position:absolute; inset:-10px; border-radius:50%;
  box-shadow: 0 0 0 0 rgba(0,0,0,.18);
  animation: hs12pulse 1.8s ease-out infinite;
}
#s12hotspots .hs12-pin.is-active{ width:18px; height:18px; }
@keyframes hs12pulse { to { box-shadow: 0 0 0 20px rgba(0,0,0,0); } }

/* Dots */
#s12hotspots .hs12-dots{
  display:flex; gap:8px; justify-content:center; margin-top:12px;
}
#s12hotspots .hs12-dots .dot{
  width:8px; height:8px; border-radius:50%;
  background: rgba(0,0,0,.24); cursor:pointer;
}
#s12hotspots .hs12-dots .dot.is-active{ background:#000; }

/* Hint pill */
#s12hotspots .hs12-hint{
  position:absolute; left:50%; bottom:12px; transform:translateX(-50%);
  font-size:12px; color:#222; opacity:.9;
  background: rgba(0,0,0,.06);
  border:1px solid rgba(0,0,0,.12);
  border-radius:999px; padding:6px 10px; backdrop-filter: blur(6px);
  pointer-events:none; z-index: 2;
}

/* Drag affordance */
#s12hotspots .hs12-visual.is-drag{ cursor: grabbing; }

/* Responsive */
@media (max-width: 980px){
  #s12hotspots .hs12-grid{ grid-template-columns: 1fr; text-align:center; }
  #s12hotspots .hs12-copy{ order: 2; margin-left:0; }
  #s12hotspots .hs12-visual{ order: 1; }
  #s12hotspots .hs12-title{ font-size: clamp(20px, 6vw, 34px); }
  #s12hotspots .hs12-img{ width: min(480px, 100%); }
}
