/* Immersive Experiences service page */
:root { --pk: #FF0A7A; --vi: #8B5CF6; }
.ie-hero > .wrap, .ie-dev-grid, .ie-try .wrap { width: 100%; }

/* ---------- hero: the Portal ---------- */
.ie-hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; background: #040304; isolation: isolate; }
/* still portal (reduced motion, no WebGL, and the first paint before the scene is ready) */
.ie-still { position: absolute; inset: 0; z-index: -3; background: radial-gradient(40% 55% at 66% 50%, rgb(139 92 246 / .16), transparent 70%), #040304; }
.ie-port { position: absolute; left: 66%; top: 50%; width: min(38vw, 68vh); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 2px rgb(255 160 210 / .9), 0 0 0 5px rgb(255 10 122 / .55), 0 0 24px 4px rgb(255 10 122 / .8), 0 0 80px 18px rgb(255 10 122 / .45), 0 0 180px 40px rgb(139 92 246 / .35), inset 0 0 60px 20px rgb(4 3 4 / .85); }
.ie-port img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; transform: scale(1.15); }
.ie-port::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(closest-side, transparent 55%, rgb(4 3 4 / .7)); }
.ie-still::after { content: ""; position: absolute; left: 66%; top: calc(50% + min(19vw, 34vh) + 26px); width: min(34vw, 60vh); height: 30px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 10 122 / .45), transparent); filter: blur(6px); }
.motion .ie-port img { animation: ie-drift 26s ease-in-out infinite alternate; }
@keyframes ie-drift { to { transform: scale(1.28) translate(-3%, 2%); } }
.ie-gl { position: absolute; inset: 0; z-index: -2; opacity: 0; transition: opacity 1.6s var(--ease); touch-action: pan-y; }
.ie-gl.on { opacity: 1; }
.ie-hero:has(.ie-gl.on) .ie-still { opacity: 0; transition: opacity 1.6s; }
.ie-gl canvas { display: block; width: 100%; height: 100%; cursor: pointer; }
.ie-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgb(4 3 4 / .94) 0%, rgb(4 3 4 / .74) 26%, rgb(4 3 4 / .12) 50%, transparent 62%), linear-gradient(0deg, rgb(4 3 4 / .9) 0%, transparent 24%), linear-gradient(180deg, rgb(4 3 4 / .6) 0%, transparent 18%);
  }

.ie-hero-in { position: relative; padding-top: calc(var(--hd, 72px) + 40px); padding-bottom: 140px; pointer-events: none; }
.ie-hero-in > * { max-width: 640px; pointer-events: auto; }
.ie-h1 { font: 900 var(--t-3xl)/.95 var(--f-display); letter-spacing: -0.035em; text-wrap: balance; }
.ie-h1 em { font-style: normal; background: linear-gradient(90deg, var(--pk), #b26bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ie-lede { margin-top: 26px; font-size: var(--t-m); line-height: 1.45; color: var(--fg-2); max-width: 470px; }
.ie-hero .actions { margin-top: 34px; }
.ie-hud { position: absolute; right: var(--pad); bottom: clamp(28px, 6vh, 60px); display: grid; gap: 10px; justify-items: end; text-align: right; }
.ie-hud-k { display: flex; align-items: center; gap: 12px; font: 400 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); }
.ie-hud-k i { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--pk); box-shadow: 0 0 10px var(--pk); animation: ie-blink 1.8s ease-in-out infinite; }
.ie-hud-k b { font: 700 var(--t-m)/1 var(--f-display); letter-spacing: -0.01em; text-transform: none; color: #fff; }
@keyframes ie-blink { 50% { opacity: .35; } }
.ie-hud-hint { font: 400 11px/1.4 var(--f-mono); letter-spacing: .08em; color: var(--fg-3); }
.ie-hint-still { display: none; }
.no-gl .ie-hint-gl { display: none; } .no-gl .ie-hint-still { display: inline; }
.ie-step { display: inline-flex; align-items: center; gap: 12px; padding: 11px 14px 11px 18px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .2); background: rgb(13 11 12 / .55); backdrop-filter: blur(10px); color: #fff; font: 600 14px/1 var(--f-body); cursor: pointer; transition: border-color .3s, background-color .3s; }
.ie-step i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--pk); box-shadow: 0 0 12px rgb(255 10 122 / .8), inset 0 0 6px rgb(255 10 122 / .8); transition: transform .5s var(--ease); }
.ie-step:hover { border-color: var(--pk); background: rgb(255 10 122 / .16); }
.ie-step[aria-pressed="true"] i { transform: scale(1.35); }
.ie-step:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.no-gl .ie-step { display: none; }

/* ---------- statement ---------- */
/* no border-top here: the top fades out of the hero's #040304 so there is no hard seam */
.ie-say { padding-block: clamp(90px, 14vh, 170px); background: linear-gradient(180deg, #040304 0%, transparent 22%), radial-gradient(50% 80% at 85% 20%, oklch(0.22 0.08 320 / .45), transparent 70%), var(--ink-0); }
.ie-say-h { margin-top: 20px; font: 800 var(--t-2xl)/1.02 var(--f-display); letter-spacing: -0.03em; max-width: 19ch; text-wrap: balance; }
.ie-say-h > span { display: inline; }
.ie-dim { color: var(--fg-3); }

/* ---------- carousels ---------- */
.ie-make, .ie-work { padding-block: clamp(80px, 12vh, 140px); border-top: 1px solid var(--rule-soft); overflow: hidden; }
.ie-row-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vh, 56px); }
.ie-nav { display: flex; gap: 10px; flex: none; }
.ie-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--rule); background: none; color: var(--fg); font-size: 20px; cursor: pointer; transition: background-color .3s, border-color .3s; }
.ie-btn:hover { background: var(--pk); border-color: var(--pk); }
.ie-track { display: flex; gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--pad) 8px; scroll-padding-inline: var(--pad); cursor: grab; }
.ie-track::-webkit-scrollbar { display: none; }
.ie-track.drag { cursor: grabbing; scroll-snap-type: none; }
.ie-track.drag .ie-card { pointer-events: none; }
.ie-track:focus-visible { outline: 2px solid var(--pk); outline-offset: -2px; }
.ie-card { position: relative; flex: 0 0 clamp(270px, 32vw, 500px); aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; scroll-snap-align: start; border: 1px solid var(--rule-soft); margin: 0; background: var(--ink-1); }
.ie-card.ie-wide { flex-basis: clamp(300px, 46vw, 720px); aspect-ratio: auto; }
.ie-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); -webkit-user-drag: none; user-select: none; }
.ie-card:hover img { transform: scale(1.06); }
.ie-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .88), rgb(0 0 0 / .12) 48%, transparent 66%); }
.ie-card > div { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(20px, 2vw, 30px); }
.ie-card span { font: 400 var(--t-xs)/1 var(--f-mono); letter-spacing: .14em; color: var(--pk); text-transform: uppercase; }
.ie-card h3 { font: 700 var(--t-l)/1.08 var(--f-display); margin: 12px 0 8px; }
.ie-card p { color: var(--fg-2); line-height: 1.45; max-width: 30ch; }
.ie-work-note { margin-top: 28px; color: var(--fg-2); display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; }

/* ---------- try it ---------- */
.ie-try { padding-block: clamp(80px, 12vh, 140px); border-top: 1px solid var(--rule-soft); background: radial-gradient(60% 60% at 70% 55%, oklch(0.2 0.07 320 / .45), transparent 70%), var(--ink-0); }
.ie-try-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.ie-note { font: 400 var(--t-xs)/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.ie-lab { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px; }
.ie-modes { display: grid; gap: 10px; align-content: start; }
.ie-mode { text-align: left; padding: 18px 20px; border-radius: 12px; border: 1px solid var(--rule); background: var(--ink-1); color: var(--fg-2); cursor: pointer; display: grid; gap: 6px; transition: border-color .3s, color .3s, background-color .3s, transform .3s var(--ease); }
.ie-mode b { font: 700 var(--t-m)/1.15 var(--f-display); color: var(--fg); }
.ie-mode span { font-size: 14px; line-height: 1.4; }
.ie-mode:hover { transform: translateX(4px); }
.ie-mode[aria-selected="true"] { border-color: var(--pk); background: oklch(0.2 0.06 358); color: #fff; }
.ie-mode:focus-visible { outline: 2px solid var(--pk); outline-offset: 2px; }
.ie-stage { position: relative; margin: 0; min-height: 520px; border-radius: 18px; overflow: hidden; border: 1px solid var(--rule-soft); background: radial-gradient(70% 70% at 50% 45%, #1d0f22, #070507 75%); }
.ie-stage-gl { position: absolute; inset: 0; }
.ie-stage-gl canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.ie-stage-gl canvas:active { cursor: grabbing; }
.ie-ctrl { position: absolute; left: 20px; right: 20px; top: 18px; display: flex; justify-content: center; }
.ie-slide { display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-radius: 999px; background: rgb(13 11 12 / .7); border: 1px solid rgb(255 255 255 / .14); backdrop-filter: blur(10px); font: 400 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); }
.ie-slide input { width: min(240px, 40vw); accent-color: var(--pk); }
.ie-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ie-chips[hidden], .ie-slide[hidden] { display: none; }
.ie-chips button { padding: 10px 16px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .18); background: rgb(13 11 12 / .7); backdrop-filter: blur(10px); color: var(--fg-2); font: 600 14px/1 var(--f-body); cursor: pointer; transition: border-color .3s, color .3s, background-color .3s; }
.ie-chips button:hover { color: #fff; }
.ie-chips button[aria-pressed="true"] { border-color: var(--pk); background: var(--pk); color: #fff; }
.ie-chips button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ie-stage figcaption { position: absolute; left: 20px; right: 20px; bottom: 16px; display: flex; justify-content: space-between; gap: 12px; font: 400 11px/1.4 var(--f-mono); letter-spacing: .08em; color: var(--fg-2); pointer-events: none; }
.ie-stage figcaption em { font-style: normal; color: var(--fg-3); border: 1px solid var(--rule); padding: 3px 6px; border-radius: 4px; text-transform: uppercase; }
.ie-stage-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--fg-3); font: 400 12px/1.4 var(--f-mono); }

/* ---------- how we work ---------- */
.ie-how { padding-block: clamp(80px, 12vh, 140px); border-top: 1px solid var(--rule-soft); }
.ie-steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); counter-reset: s; }
.ie-steps li { position: relative; }
.ie-hexi { aspect-ratio: 1 / 1.1547; width: min(100%, 260px); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); overflow: hidden; background: var(--ink-1); margin-bottom: 26px; }
.ie-hexi img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.4s var(--ease); }
.ie-steps li:hover .ie-hexi img { transform: scale(1.22) rotate(4deg); }
.ie-steps span { font: 400 var(--t-xs)/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--pk); }
.ie-steps h3 { font: 700 var(--t-l)/1.1 var(--f-display); letter-spacing: -0.015em; margin: 12px 0 8px; }
.ie-steps p { color: var(--fg-2); line-height: 1.5; max-width: 28ch; }
.ie-steps li:nth-child(2) { margin-top: 48px; } .ie-steps li:nth-child(4) { margin-top: 48px; }

/* ---------- every screen ---------- */
.ie-dev { padding-block: clamp(80px, 12vh, 140px); border-top: 1px solid var(--rule-soft); }
.ie-dev-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ie-dev-chips { margin-top: 32px; }
.ie-dev-chips button { background: var(--ink-1); }
.ie-dev-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; min-height: 160px; }
.ie-dev-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: baseline; font-size: var(--t-s); line-height: 1.4; color: var(--fg); animation: ie-in .5s var(--ease) both; animation-delay: var(--d, 0s); }
.ie-dev-list li::before { content: ""; width: 10px; height: 11px; background: var(--pk); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
@keyframes ie-in { from { opacity: 0; transform: translateY(8px); } }
.ie-dev-vis { margin: 0; display: grid; place-items: center; min-height: 420px; }
.ie-dev-frame { position: relative; overflow: hidden; border: 10px solid #1b1719; border-radius: 22px; box-shadow: 0 50px 100px -40px rgb(0 0 0 / .9), 0 0 0 1px rgb(255 255 255 / .08); width: 100%; aspect-ratio: 16 / 10; transition: width .8s var(--ease), aspect-ratio .8s var(--ease), border-radius .8s var(--ease), border-width .8s var(--ease); background: #000; }
.ie-dev-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter .8s, transform 8s linear; }
.ie-dev-hex { position: absolute; inset: 0; opacity: .7; transition: opacity .6s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48.5' viewBox='0 0 28 48.5'%3E%3Cpath d='M14 0 28 8.08v16.17L14 32.33 0 24.25V8.08zM0 40.41l14 8.09 14-8.09' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 28px 48.5px; }
.ie-dev-tag { position: absolute; left: 14px; top: 14px; padding: 6px 10px; border-radius: 6px; background: rgb(13 11 12 / .8); font: 400 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; border: 1px solid rgb(255 255 255 / .16); }
.ie-dev-frame[data-d="1"] { width: min(46%, 240px); aspect-ratio: 9 / 19; border-radius: 34px; }
.ie-dev-frame[data-d="1"] .ie-dev-hex { background-size: 18px 31.2px; opacity: .5; }
.ie-dev-frame[data-d="2"] { width: 100%; aspect-ratio: 32 / 11; border-width: 6px; border-radius: 6px; }
.ie-dev-frame[data-d="2"] .ie-dev-hex { background-size: 40px 69.3px; }
.ie-dev-frame[data-d="3"] .ie-dev-hex { opacity: 0; }
.ie-dev-frame[data-d="3"] img { filter: saturate(.7) brightness(.8); }
.motion .ie-dev-frame:not([data-d="3"]) img { transform: scale(1.08); }

/* ---------- faq + related ---------- */
.sv-faq { padding-block: clamp(80px, 12vh, 140px); border-top: 1px solid var(--rule-soft); }
.sv-faq .faq { margin-top: 32px; }
.sv-faq details { border-top: 1px solid var(--rule-soft); padding: 18px 0; }
.sv-faq summary { cursor: pointer; font: 700 var(--t-m)/1.3 var(--f-display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.sv-faq summary::-webkit-details-marker { display: none; }
.sv-faq summary::after { content: "+"; color: var(--pk); font-size: 1.4em; line-height: 1; transition: transform .3s; }
.sv-faq details[open] summary::after { transform: rotate(45deg); }
.sv-faq details p { margin-top: 12px; max-width: 70ch; color: var(--fg-2); line-height: 1.65; }
.ie-rel { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: baseline; }
.ie-rel span { font: 400 var(--t-xs)/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.ie-rel a { color: var(--fg); font: 700 var(--t-m)/1.2 var(--f-display); text-decoration: none; border-bottom: 1px solid var(--rule); }
.ie-rel a:hover { border-color: var(--pk); color: var(--pk); }
.close-alt { display: flex; flex-wrap: wrap; gap: 0 32px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .ie-lab, .ie-dev-grid { grid-template-columns: 100%; }
  .ie-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ie-mode span { display: none; }
  .ie-mode b { font-size: var(--t-s); }
  .ie-stage { min-height: 440px; }
  .ie-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ie-steps li:nth-child(n) { margin-top: 0; }
  .ie-card { flex-basis: 78vw; }
  .ie-card.ie-wide { flex-basis: 86vw; aspect-ratio: 4 / 3.4; }
  .ie-dev-vis { min-height: 320px; }
}
@media (max-width: 767px) {
  .ie-hero { align-items: end; }
  .ie-still { background: radial-gradient(70% 40% at 50% 28%, rgb(139 92 246 / .18), transparent 70%), #040304; }
  .ie-port { left: 50%; top: max(250px, 24%); width: min(64vw, 34svh); }
  .ie-still::after { left: 50%; top: calc(max(250px, 24%) + min(32vw, 17svh) + 16px); width: min(56vw, 30svh); }
  .ie-shade { background: linear-gradient(0deg, rgb(4 3 4 / .97) 0%, rgb(4 3 4 / .88) 46%, rgb(4 3 4 / .2) 64%, transparent 72%), linear-gradient(180deg, rgb(4 3 4 / .55) 0%, transparent 16%); }
  .ie-hero-in { padding-top: 50svh; padding-bottom: 150px; }
  .ie-h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .ie-lede { font-size: var(--t-s); }
  .ie-hud { left: var(--pad); right: var(--pad); bottom: 28px; justify-items: start; text-align: left; }
  .ie-hud-k b { font-size: var(--t-s); }
  .ie-row-head { flex-wrap: wrap; }
  .ie-nav { display: none; }
  .ie-steps { grid-template-columns: 100%; }
  .ie-hexi { width: 180px; }
  .ie-say-h { font-size: clamp(2rem, 9vw, 2.6rem); }
  .ie-slide input { width: 38vw; }
}
@media (prefers-reduced-motion: reduce) {
  .ie-dev-frame, .ie-dev-frame img, .ie-card img, .ie-hexi img { transition: none; }
}

/* ---------- polish 24 Oct: tap targets, numbering-free step kickers ---------- */
.sv-faq summary { min-height: 44px; align-items: center; }
.ie-rel a, .crumb a { position: relative; }
.ie-rel a::before, .crumb a::before { content: ""; position: absolute; inset: -10px -4px; }
.ie-steps span::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--pk); margin-right: 10px; vertical-align: 1px; }
.ie-card h3 { text-wrap: balance; }
.cs-h2, .ie-say-h { text-wrap: balance; }
@media (max-width: 767px) {
  .ie-chips button { min-height: 44px; }
  .ie-rel { gap: 14px 22px; }
  .ie-rel span { flex-basis: 100%; }
}

/* design fix 25 Oct: no gradient text, solid magenta */
.ie-h1 em { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; color: #FF0A7A !important; -webkit-text-fill-color: currentColor !important; }

/* ---------- 13 Nov 2026: one-view fit on desktop ----------
   Four sections read as "heading + one visual/demo" and were 1.15-1.4 screens tall, so the
   visual got cut and a dead band opened below. On desktop (>=1024px) each is centred inside one
   screen; the media scales on svh so the whole card/demo and the heading show at once, with
   bottom room kept clear of the fixed chat button (56px circle, 20px from the corner). Carousels
   also start their first card on the .wrap left edge (145-152px at >1600px) instead of bleeding
   under the heading. Phones/tablets and reduced motion keep the normal flow (gated at 1024px). */
@media (min-width: 1024px) {
  .ie-make, .ie-try, .ie-how, .ie-work {
    min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
    padding-block: clamp(70px, 9vh, 120px) clamp(90px, 11vh, 120px);
  }
  /* as flex items the .wrap blocks would shrink-to-fit and drift right; keep them full width
     so the eyebrow and h2 stay on the .wrap left edge, aligned with every other section */
  .ie-make > .wrap, .ie-work > .wrap, .ie-how > .wrap { width: 100%; }

  /* carousels: fit card height to the screen, align the first card to the heading */
  .ie-make .ie-row-head, .ie-work .ie-row-head { margin-bottom: clamp(24px, 3.4vh, 48px); }
  .ie-make .ie-track, .ie-work .ie-track {
    padding-left: max(var(--pad), calc((100% - 1600px) / 2 + var(--pad)));
    scroll-padding-inline-start: max(var(--pad), calc((100% - 1600px) / 2 + var(--pad)));
  }
  .ie-make .ie-card { flex: 0 0 clamp(240px, min(30vw, 46svh), 430px); }
  .ie-work .ie-card { flex: 0 0 clamp(220px, min(26vw, 37svh), 400px); }
  .ie-work .ie-card.ie-wide { flex: 0 0 clamp(300px, min(38vw, 53svh), 600px); }
  .ie-work .ie-work-note { margin-top: clamp(16px, 2.4vh, 28px); }

  /* try it: shrink the demo frame so the caption clears the fold */
  .ie-try .ie-lab { margin-top: clamp(22px, 3vh, 40px); }
  .ie-stage { min-height: clamp(360px, 58svh, 560px); }

  /* how we work: four steps on one screen */
  .ie-how .ie-steps { margin-top: clamp(28px, 4vh, 52px); }
  .ie-how .ie-hexi { width: min(100%, clamp(150px, 15vw, 240px)); margin-bottom: clamp(14px, 1.8vh, 26px); }
  .ie-how .ie-steps li:nth-child(2), .ie-how .ie-steps li:nth-child(4) { margin-top: clamp(24px, 3vh, 48px); }
}

/* short desktop screens: tighten so everything still clears one screen and the chat button */
@media (min-width: 1024px) and (max-height: 720px) {
  .ie-make, .ie-try, .ie-how, .ie-work { padding-block: clamp(44px, 6vh, 70px) clamp(88px, 12vh, 108px); }
  .ie-make .ie-row-head, .ie-work .ie-row-head { margin-bottom: clamp(16px, 2.4vh, 28px); }
  .ie-make .ie-card, .ie-work .ie-card { flex-basis: clamp(200px, 42svh, 360px); }
  .ie-work .ie-card.ie-wide { flex-basis: clamp(280px, 58svh, 520px); }
  .ie-stage { min-height: clamp(300px, 52svh, 440px); }
  .ie-how .ie-steps { margin-top: clamp(18px, 3vh, 32px); }
  .ie-how .ie-hexi { width: min(100%, clamp(128px, 13vw, 200px)); }
}

/* review 13 Nov 2026: the one-screen sections keep their top content below the fixed header (--hd, 80px) and their
   bottom content above the chat button, so the whole view is readable when the section fills the screen */
@media (min-width: 1024px) {
  .ie-make, .ie-try, .ie-how, .ie-work { padding-top: calc(var(--hd, 80px) + clamp(10px, 2.6vh, 32px)); padding-bottom: clamp(88px, 11vh, 120px); }
}
@media (min-width: 1024px) and (max-height: 720px) {
  .ie-make, .ie-try, .ie-how, .ie-work { padding-top: calc(var(--hd, 80px) + 8px); padding-bottom: 84px; }
}
/* review 13 Nov 2026: media a little smaller to make room for the header clearance above */
@media (min-width: 1024px) {
  .ie-stage { min-height: clamp(320px, 50svh, 520px); }
  .ie-how .ie-hexi { width: min(100%, clamp(130px, min(13vw, 21svh), 220px)); }
  .ie-work .ie-card { flex-basis: clamp(200px, min(24vw, 33svh), 380px); }
  .ie-work .ie-card.ie-wide { flex-basis: clamp(280px, min(35vw, 47svh), 560px); }
}
@media (min-width: 1024px) and (max-height: 720px) {
  .ie-stage { min-height: clamp(260px, 42svh, 400px); }
  .ie-how .ie-hexi { width: min(100%, 17svh); }
  .ie-make .ie-card, .ie-work .ie-card { flex-basis: clamp(180px, 34svh, 300px); }
  .ie-work .ie-card.ie-wide { flex-basis: clamp(240px, 47svh, 420px); }
}
