/* Starbridge Media - immersive style layer (preview). Adds layout and motion only:
   no words, colours outside the existing palette, URLs or forms change. Two looks: atlas, chapters. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: imm-vt-out .32s cubic-bezier(.5,0,.2,1) both; }
::view-transition-new(root) { animation: imm-vt-in .55s cubic-bezier(.5,0,.2,1) both; }
@keyframes imm-vt-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes imm-vt-in { from { opacity: 0; transform: translateY(22px); } }

/* ---------- shared: paper grain (tactile, print-like) ---------- */
html.imm body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 9998; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .45 0 0 0 0 .35 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- shared: giant chapter numerals from the existing section numbers ---------- */
html.imm .imm-num { position: relative; isolation: isolate; }
html.imm .imm-num::before { content: attr(data-n); position: absolute; z-index: -1; pointer-events: none; top: clamp(18px, 4vw, 56px); right: clamp(8px, 4vw, 64px);
  font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(7rem, 21vw, 21rem); line-height: .78; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px currentColor; opacity: .13; }
html.imm .sec.dark.imm-num::before, html.imm .imm-nightshelf.imm-num::before { -webkit-text-stroke-color: var(--gold3); opacity: .16; }

/* ---------- shared: reveals (only when JS runs and motion is allowed) ---------- */
html.imm-motion .imm-r { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
html.imm-motion .imm-r.imm-on { opacity: 1; transform: none; }
html.imm .imm-wl { display: block; }
html.imm-motion .imm-wipe .imm-wl { clip-path: inset(0 0 100% 0); transform: translateY(.28em); transition: clip-path 1.1s var(--ease), transform 1.1s var(--ease); }
html.imm-motion .imm-wipe.imm-on .imm-wl { clip-path: inset(-10% -2% -18% -2%); transform: none; }
html.imm-motion .hero h1 > span { clip-path: inset(0 0 100% 0); transform: translateY(.35em); animation: imm-line 1.15s var(--ease) forwards; }
html.imm-motion .hero h1 > span:nth-child(2) { animation-delay: .14s; } html.imm-motion .hero h1 > span:nth-child(3) { animation-delay: .28s; }
@keyframes imm-line { to { clip-path: inset(-10% -2% -20% -2%); transform: none; } }

/* ---------- shared: book covers react to the pointer ---------- */
html.imm .imm-tilt { transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s var(--ease); will-change: transform; position: relative; }
html.imm .imm-tilt.imm-live { transition: transform .08s linear; }
html.imm .imm-tilt::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s;
  background: radial-gradient(60% 50% at var(--sx, 50%) var(--sy, 30%), rgba(255, 244, 214, .42), transparent 70%); mix-blend-mode: soft-light; }
html.imm .imm-tilt.imm-live::after { opacity: 1; }

/* ---------- shared: buttons that lean toward the pointer ---------- */
html.imm .imm-mag { transition: transform .35s var(--ease); }

/* ---------- shared: What we do becomes a sticky index ---------- */
@media (min-width: 1000px) {
  html.imm #services .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 6vw; align-items: start; }
  html.imm #services .mh { position: sticky; top: calc(var(--hh) + 48px); }
  html.imm #services .slist { margin-top: 6px !important; }
}
html.imm .slist li { transition: background-color .45s var(--ease), padding .45s var(--ease); }
html.imm .slist li .n { display: inline-block; transition: transform .45s var(--ease), color .45s; transform-origin: left center; }
html.imm .slist li h3 { transition: transform .45s var(--ease), color .45s; }
@media (hover: hover) {
  html.imm .slist li:hover { background-color: rgba(184, 134, 43, .07); }
  html.imm .slist li:hover .n { transform: scale(1.6); color: var(--gold); }
  html.imm .slist li:hover h3 { transform: translateX(10px); }
}

/* ---------- ATLAS look: cinematic, story-led ---------- */
html.imm:is([data-look="atlas"],[data-look="cinema"]) .imm-glow { position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .6s;
  background: radial-gradient(520px circle at var(--gx, 50%) var(--gy, 40%), rgba(230, 195, 111, .10), transparent 60%); }
html.imm:is([data-look="atlas"],[data-look="cinema"]) .imm-glowhost:hover .imm-glow { opacity: 1; }
html.imm:is([data-look="atlas"],[data-look="cinema"]) .imm-glowhost { position: relative; }
html.imm:is([data-look="atlas"],[data-look="cinema"]) .imm-glowhost > .wrap, html.imm:is([data-look="atlas"],[data-look="cinema"]) .imm-glowhost > .fwrap { position: relative; z-index: 1; }

/* words light up as you read */
html.imm:is([data-look="atlas"],[data-look="cinema"]) .imm-words .w { opacity: .2; transition: opacity .35s linear; }
html.imm:is([data-look="atlas"],[data-look="cinema"]) .imm-words .w.lit { opacity: 1; }

/* the Made at Starbridge shelf sits in front of the Book One world */
html.imm:is([data-look="atlas"],[data-look="cinema"]) .imm-nightshelf { background: var(--ink); color: var(--ivory); overflow: hidden; }
html.imm:is([data-look="atlas"],[data-look="cinema"]) .imm-nightshelf .imm-backdrop { position: absolute; inset: -12% 0; z-index: -1; background-size: cover; background-position: center 40%; opacity: .42; will-change: transform; }
html.imm:is([data-look="atlas"],[data-look="cinema"]) .imm-nightshelf .imm-backdrop::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(11, 18, 48, .55) 30%, rgba(11, 18, 48, .7) 70%, var(--ink) 100%); }
html.imm:is([data-look="atlas"],[data-look="cinema"]) .imm-nightshelf h2 { color: var(--ivory); }
html.imm:is([data-look="atlas"],[data-look="cinema"]) .imm-nightshelf h2 em { color: var(--gold3); }
html.imm:is([data-look="atlas"],[data-look="cinema"]) .imm-nightshelf p, html.imm:is([data-look="atlas"],[data-look="cinema"]) .imm-nightshelf figcaption, html.imm:is([data-look="atlas"],[data-look="cinema"]) .imm-nightshelf small { color: #d6d3e2; }
html.imm:is([data-look="atlas"],[data-look="cinema"]) .imm-nightshelf a { color: var(--gold3); }
html.imm:is([data-look="atlas"],[data-look="cinema"]) .imm-nightshelf .lab { color: var(--gold3); }
html.imm:is([data-look="atlas"],[data-look="cinema"]) .imm-nightshelf figcaption b, html.imm:is([data-look="atlas"],[data-look="cinema"]) .imm-nightshelf .mk b, html.imm:is([data-look="atlas"],[data-look="cinema"]) .imm-nightshelf .mk strong { color: var(--ivory); }

/* constellation progress rail */
.imm-rail { display: none; }
@media (min-width: 1280px) {
  html.imm:is([data-look="atlas"],[data-look="cinema"]) .imm-rail { display: block; position: fixed; left: 22px; top: 50%; transform: translateY(-50%); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .5s; }
  html.imm:is([data-look="atlas"],[data-look="cinema"]) .imm-rail.show { opacity: 1; pointer-events: auto; }
}
.imm-rail ol { list-style: none; margin: 0; padding: 0; position: relative; }
.imm-rail ol::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: rgba(184, 134, 43, .35); }
.imm-rail .fill { position: absolute; left: 5px; top: 6px; width: 1px; background: var(--gold3); height: var(--p, 0%); transition: height .2s linear; }
.imm-rail li { position: relative; margin: 0 0 26px; }
.imm-rail li:last-child { margin: 0; }
.imm-rail button { all: unset; cursor: pointer; display: flex; align-items: center; gap: 12px; }
.imm-rail .dot { width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--gold); background: var(--ink); box-sizing: border-box; transition: background .3s, transform .3s, box-shadow .3s; }
.imm-rail .t { font: 600 10px/1 'Inter', system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s;
  background: rgba(11, 18, 48, .88); padding: 6px 9px; border-radius: 3px; }
.imm-rail li.on .dot { background: var(--gold3); box-shadow: 0 0 0 5px rgba(184, 134, 43, .18); transform: scale(1.15); }
.imm-rail li.on .t, .imm-rail button:hover .t, .imm-rail button:focus-visible .t { opacity: 1; transform: none; }
.imm-rail button:focus-visible .dot { outline: 2px solid var(--gold3); outline-offset: 3px; }

/* ---------- CHAPTERS look: calm, editorial, print-like ---------- */
html.imm[data-look="chapters"] .sec { padding-top: max(120px, 11vw); padding-bottom: max(120px, 11vw); }
html.imm[data-look="chapters"] .imm-num::before { right: auto; left: clamp(8px, 3vw, 48px); top: clamp(10px, 3vw, 40px); font-size: clamp(6rem, 15vw, 15rem); opacity: .09; }
html.imm[data-look="chapters"] .lab { display: flex; align-items: center; gap: 14px; }
html.imm[data-look="chapters"] .lab::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .35; max-width: 220px; }
html.imm[data-look="chapters"] .sec:not(.hero) .lede::first-letter { font-family: 'Instrument Serif', Georgia, serif; float: left; font-size: 3.6em; line-height: .82; padding: .06em .1em 0 0; color: var(--gold); }
html.imm[data-look="chapters"] .imm-folio { position: fixed; right: 26px; bottom: 22px; z-index: 60; font: 600 10px/1 'Inter', system-ui, sans-serif; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); background: rgba(243, 236, 220, .92); padding: 8px 12px; border-radius: 2px; box-shadow: 0 1px 0 rgba(15, 26, 61, .08); opacity: 0; transition: opacity .4s; }
html.imm[data-look="chapters"] .imm-folio.show { opacity: 1; }
@media (max-width: 900px) { html.imm[data-look="chapters"] .imm-folio { display: none; } }

/* ---------- preview-only look switcher ---------- */
.imm-switch { position: fixed; left: 16px; bottom: 16px; z-index: 9999; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(11, 18, 48, .9); box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  font: 600 11px/1 'Inter', system-ui, sans-serif; letter-spacing: .08em; }
.imm-switch span { color: #aeabc4; padding: 9px 10px 9px 12px; text-transform: uppercase; }
.imm-switch a { color: #e7dfc8; text-decoration: none; padding: 9px 12px; border-radius: 999px; }
.imm-switch a[aria-current="true"] { background: var(--gold3); color: #1b1406; }
html.imm-shot .imm-switch { display: none; }

@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* ---------- v2: bolder moments ---------- */
html.imm .imm-num:not(.dark):not(.imm-nightshelf)::before { -webkit-text-stroke-color: var(--gold); opacity: .26; }
@media (min-width: 1000px) {
  html.imm #services .slist li { grid-template-columns: 64px 1fr; }
  html.imm #services .slist p { grid-column: 2; }
}
/* Atlas: the studio statement fills the screen and is read in place */
html.imm:is([data-look="atlas"],[data-look="cinema"]) .hero { min-height: max(100svh, 640px); }
html.imm:is([data-look="atlas"],[data-look="cinema"]) #studio { min-height: 165vh; padding-bottom: 0; }
html.imm:is([data-look="atlas"],[data-look="cinema"]) #studio > .wrap { position: sticky; top: calc(var(--hh) + 6vh); }
html.imm:is([data-look="atlas"],[data-look="cinema"]) #studio .bigtxt { font-size: clamp(2.6rem, 6.2vw, 5.6rem); line-height: 1.02; }
html.imm:is([data-look="atlas"],[data-look="cinema"]) #studio .lede { font: 400 clamp(1.45rem, 2.5vw, 2.25rem)/1.3 'Instrument Serif', Georgia, serif; color: var(--navy); max-width: 34ch; }
html.imm:is([data-look="atlas"],[data-look="cinema"]) #studio .disc.imm-marq { display: block; width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; border-top: 1px solid #0f1a3d26; border-bottom: 1px solid #0f1a3d26; padding: 18px 0; margin-top: 7vh; }
html.imm:is([data-look="atlas"],[data-look="cinema"]) .imm-track { display: flex; width: max-content; gap: 0; animation: imm-marq 46s linear infinite; }
html.imm:is([data-look="atlas"],[data-look="cinema"]) .imm-marq li { font: 400 clamp(2.4rem, 5vw, 4.4rem)/1 'Instrument Serif', Georgia, serif; letter-spacing: -.01em; text-transform: none; padding: 0 .5em; white-space: nowrap; color: var(--navy); }
html.imm:is([data-look="atlas"],[data-look="cinema"]) .imm-marq li:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--gold); font-style: italic; }
html.imm:is([data-look="atlas"],[data-look="cinema"]) .imm-marq li::after { content: "\2726" !important; font-size: .35em; vertical-align: middle; margin-left: 1em !important; color: var(--gold) !important; -webkit-text-stroke: 0; }
@keyframes imm-marq { to { transform: translateX(-50%); } }
html.imm-shot .imm-track, html:not(.imm-motion) .imm-track { animation: none; }
@media (max-width: 900px) { html.imm:is([data-look="atlas"],[data-look="cinema"]) #studio { min-height: 0; padding-bottom: 80px; } html.imm:is([data-look="atlas"],[data-look="cinema"]) #studio > .wrap { position: static; } }
html.imm-shot:is([data-look="atlas"],[data-look="cinema"]) #studio { min-height: 0; padding-bottom: max(90px, 8vw); }
html.imm-shot:is([data-look="atlas"],[data-look="cinema"]) #studio > .wrap { position: static; }
/* the star-bridge arc carried onto every inner page */
html.imm .imm-archost { position: relative; }
html.imm .imm-arc { position: absolute; right: clamp(12px, 5vw, 90px); bottom: clamp(36px, 5vw, 80px); width: clamp(200px, 26vw, 420px); height: auto; pointer-events: none; z-index: 0; opacity: .75; }
html.imm .imm-arc path, html.imm .imm-arc line { fill: none; stroke: var(--gold); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
html.imm .imm-arc .hang { stroke-width: .8; opacity: .55; }
html.imm .imm-arc circle { fill: var(--gold3); }
html.imm-motion .imm-arc .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: imm-draw 2.2s .3s var(--ease) forwards; }
html.imm-motion .imm-arc circle { opacity: 0; animation: imm-pop .5s var(--ease) forwards; }
html.imm-motion .imm-arc circle:nth-of-type(1) { animation-delay: .5s } html.imm-motion .imm-arc circle:nth-of-type(2) { animation-delay: .9s } html.imm-motion .imm-arc circle:nth-of-type(3) { animation-delay: 1.3s } html.imm-motion .imm-arc circle:nth-of-type(4) { animation-delay: 1.7s } html.imm-motion .imm-arc circle:nth-of-type(5) { animation-delay: 2.1s }
@keyframes imm-draw { to { stroke-dashoffset: 0; } } @keyframes imm-pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
html.imm .imm-arc circle { transform-box: fill-box; transform-origin: center; }
html.imm .imm-archost > .wrap { position: relative; z-index: 1; }
@media (max-width: 900px) { html.imm .imm-arc { display: none; } }

/* =====================================================================================
   NIGHT (cinema) look: the whole site under the Starbridge night sky. Same palette, same words.
   ===================================================================================== */
html.imm[data-look="cinema"] body { background: #070b1f; color: #ece6d6; }
html.imm[data-look="cinema"] .hdr, html.imm[data-look="cinema"] .hdr.dk.sc, html.imm[data-look="cinema"] .hdr.sc { background: rgba(7, 11, 31, .78); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); color: #f3ecdc; border-color: rgba(217, 178, 90, .18); }
html.imm[data-look="cinema"] .hdr.dk:not(.sc) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-color: transparent; }
/* light sections become night sections; light cards stay as lit paper on top */
html.imm[data-look="cinema"] .sec:not(.dark):not(.hero), html.imm[data-look="cinema"] .paper, html.imm[data-look="cinema"] .phead, html.imm[data-look="cinema"] .cs-sec:not(.dark) {
  --navy: #f3ecdc; --mute: #b9b6cb; --gold: #d9b25a; color: #ece6d6;
  background: radial-gradient(90% 60% at 85% 0%, rgba(59, 42, 110, .28), transparent 60%), radial-gradient(70% 50% at 0% 100%, rgba(29, 59, 122, .22), transparent 60%), linear-gradient(180deg, #0b1233, #090f2a); }
html.imm[data-look="cinema"] .sec.dark { background: radial-gradient(80% 60% at 20% 0%, rgba(29, 59, 122, .25), transparent 60%), #060a1d; }
html.imm[data-look="cinema"] .sec + .sec { box-shadow: inset 0 1px 0 rgba(217, 178, 90, .14); }
html.imm[data-look="cinema"] :is(.cost2 > div, .cfbcard, .next, .labels > div, .sheet, .msheet, .big-q, .esum, .fallback, .review, .pgimg, .ap-paper, .ap-card, .ap-fig, .ap-frame, .ap-rev, .ap-tabs, .ap-tk, .ap-cover, .ap-deliv li, .ap-pc, .ap-plabel, .exc) {
  --navy: #0f1a3d; --mute: #565c72; --gold: #b8862b; color: #0f1a3d; box-shadow: 0 0 0 1px rgba(217, 178, 90, .35), 0 24px 60px rgba(0, 0, 0, .45); }
html.imm[data-look="cinema"] form { --navy: #f3ecdc; --mute: #b9b6cb; }
html.imm[data-look="cinema"] form :is(input, select, textarea):not(.sf *) { --navy: #0f1a3d; color: #0f1a3d; }
html.imm[data-look="cinema"] :is(.nb:hover, .mkc img, .chips input:checked + span, #zt, .sheet::before, .aph, .ap-tools, .ap-final, .ap-tablist button[aria-selected=true], .ap-plabel.navy) { background: #0f1a3d; }
html.imm[data-look="cinema"] .nb { border-color: rgba(243, 236, 220, .55); color: #f3ecdc; }
html.imm[data-look="cinema"] .nb:hover { border-color: #e6c36f; color: #e6c36f; }
html.imm[data-look="cinema"] :is(.slist, .slist li, .disc, .disc.imm-marq) { border-color: rgba(217, 178, 90, .2) !important; }
html.imm[data-look="cinema"] .imm-marq li { color: #f3ecdc; }
html.imm[data-look="cinema"] #studio .lede { color: #ece6d6; }
html.imm[data-look="cinema"] .imm-words .w { opacity: .18; }
html.imm[data-look="cinema"] .imm-num::before { -webkit-text-stroke-color: #e6c36f !important; opacity: .16 !important; }
html.imm[data-look="cinema"] .slist li:hover { background-color: rgba(217, 178, 90, .08); }
html.imm[data-look="cinema"] h1 em, html.imm[data-look="cinema"] h2 em { color: #e6c36f; }
html.imm[data-look="cinema"] main img:not([src*=".svg"]) { transition: box-shadow .5s var(--ease), transform .6s var(--ease); }
html.imm[data-look="cinema"] :is(.mkc, .cvw, figure img, .zm) { box-shadow: 0 0 0 1px rgba(217, 178, 90, .22), 0 30px 70px rgba(0, 0, 0, .5); }
html.imm[data-look="cinema"] :is(.mkc, .cvw):hover { box-shadow: 0 0 0 1px rgba(230, 195, 111, .7), 0 0 40px rgba(230, 195, 111, .22), 0 40px 90px rgba(20, 30, 90, .6); }
html.imm[data-look="cinema"] .imm-nightshelf { background: transparent; }

/* the night-sky scene (hero on Home, top of every inner page) */
html.imm[data-look="cinema"] .imm-scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
html.imm[data-look="cinema"] .imm-scenehost { position: relative; overflow: hidden; isolation: isolate; }
html.imm[data-look="cinema"] .imm-scenehost > :is(.wrap,.aph-copy,.aph-art) { position: relative; z-index: 2; }
html.imm[data-look="cinema"] .hero > .hcopy { z-index: 3; }
html.imm[data-look="cinema"] .imm-scenehost .imm-arc { display: none; }
html.imm[data-look="cinema"] .imm-scenehost:not(.hero)::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent, #0a1130); }
html.imm[data-look="cinema"] .hero { min-height: max(100svh, 720px); background: #050817; }
html.imm[data-look="cinema"] .hero .chart, html.imm[data-look="cinema"] .hero #hsky { display: none; }
html.imm[data-look="cinema"] .hero h1 { text-shadow: 0 2px 30px rgba(5, 8, 23, .8); }
html.imm[data-look="cinema"] .hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(5, 8, 23, .82) 0%, rgba(5, 8, 23, .45) 38%, transparent 62%), radial-gradient(ellipse 80% 75% at 50% 45%, transparent 55%, rgba(2, 3, 10, .5)); }

/* floating artwork cards */
html.imm[data-look="cinema"] .imm-cards { position: absolute; z-index: 1; inset: 0; perspective: 1600px; pointer-events: none; transition: transform .6s var(--ease); }
html.imm[data-look="cinema"] .imm-card { position: absolute; width: clamp(104px, 10.2vw, 168px); aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; transform-style: preserve-3d;
  box-shadow: 0 0 0 1px rgba(230, 195, 111, .55), 0 0 26px rgba(120, 150, 255, .35), 0 30px 60px rgba(0, 0, 0, .55); background: #0b1233;
  transform: translateZ(var(--z)) rotateY(var(--ry)) rotateX(var(--rx)) rotateZ(var(--rz)); animation: imm-float 7s ease-in-out infinite; animation-delay: var(--d); }
html.imm[data-look="cinema"] .imm-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
html.imm[data-look="cinema"] .imm-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(140deg, rgba(255, 255, 255, .22), transparent 40%, transparent 70%, rgba(120, 150, 255, .18)); }
@keyframes imm-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
html.imm-shot .imm-card, html:not(.imm-motion) .imm-card { animation: none; }
@media (max-width: 900px) { html.imm[data-look="cinema"] .imm-cards { display: none; } html.imm[data-look="cinema"] .hero::before { background: linear-gradient(180deg, rgba(5, 8, 23, .2), rgba(5, 8, 23, .75)); } }

/* service icon strip in the hero (uses the existing service titles) */
html.imm[data-look="cinema"] .imm-strip { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 34px 0 0; padding: 0; list-style: none; max-width: min(760px, 100%);
  border-top: 1px solid rgba(217, 178, 90, .22); }
html.imm[data-look="cinema"] .imm-strip li > span { display: flex; align-items: center; gap: 14px; padding: 18px 18px 6px 0; color: #ece6d6; text-decoration: none; font: 500 .86rem/1.3 'Instrument Sans', system-ui, sans-serif; }
html.imm[data-look="cinema"] .imm-strip svg { flex: none; width: 34px; height: 34px; stroke: #e6c36f; fill: none; stroke-width: 1.4; transition: transform .4s var(--ease), filter .4s; }
html.imm[data-look="cinema"] .imm-strip li:hover svg { transform: translateY(-3px); filter: drop-shadow(0 0 8px rgba(230, 195, 111, .6)); }
html.imm[data-look="cinema"] .imm-strip li:hover > span { color: #e6c36f; }
@media (max-width: 900px) { html.imm[data-look="cinema"] .imm-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Night: "What we do" as glowing image cards (artwork from the studio's own projects) */
@media (min-width: 700px) {
  html.imm[data-look="cinema"] #services .wrap { display: block; }
  html.imm[data-look="cinema"] #services .mh { position: static; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 6vw; align-items: end; }
  html.imm[data-look="cinema"] #services .mh .lab { grid-column: 1 / -1; }
  html.imm[data-look="cinema"] #services .mh h2 { grid-column: 1; margin-bottom: 0; }
  html.imm[data-look="cinema"] #services .mh > p:not(.lab) { grid-column: 2; margin: 0; }
}
html.imm[data-look="cinema"] #services .slist { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; border: 0; margin-top: 48px !important; }
html.imm[data-look="cinema"] #services .slist li { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 0 0 24px !important; border: 1px solid rgba(217, 178, 90, .28) !important; border-radius: 14px; overflow: hidden;
  background: linear-gradient(180deg, #111a46, #0a1131); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); transition: transform .5s var(--ease), box-shadow .5s, border-color .5s; }
html.imm[data-look="cinema"] #services .slist li::before { display: none; }
html.imm[data-look="cinema"] #services .slist li:hover { transform: translateY(-6px); background-color: transparent; border-color: rgba(230, 195, 111, .7) !important; box-shadow: 0 0 0 1px rgba(230, 195, 111, .25), 0 0 40px rgba(230, 195, 111, .18), 0 26px 60px rgba(0, 0, 0, .45); }
html.imm[data-look="cinema"] #services .slist li:hover h3 { transform: none; color: #e6c36f; }
html.imm[data-look="cinema"] #services .slist li:hover .n { transform: none; }
html.imm[data-look="cinema"] .imm-sart { aspect-ratio: 16 / 10; max-width: 100%; background-size: cover; background-position: center; position: relative; margin-bottom: 6px; transition: transform .8s var(--ease); }
html.imm[data-look="cinema"] .imm-sart::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 17, 49, 0) 45%, #0f1840); }
html.imm[data-look="cinema"] #services .slist li:hover .imm-sart { transform: scale(1.04); }
html.imm[data-look="cinema"] #services .slist :is(.n, h3, p) { padding: 0 22px; grid-column: auto; }
html.imm[data-look="cinema"] #services .slist .n { font-size: 1.15rem; }
html.imm[data-look="cinema"] #services .slist h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); }
html.imm[data-look="cinema"] #services .slist p { font-size: .9rem; }
@media (max-width: 1100px) { html.imm[data-look="cinema"] #services .slist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { html.imm[data-look="cinema"] #services .slist { grid-template-columns: minmax(0, 1fr); } }

/* Night: readable text and fields on the dark ground */
html.imm[data-look="cinema"] :is(.phead, .bhero) .lede { color: #d9d5e6; }
html.imm[data-look="cinema"] .sf :is(input[type=text], input[type=email], input[type=tel], input[type=url], input[type=number], select) { color: #f3ecdc; border-bottom-color: rgba(243, 236, 220, .38); background-color: rgba(255, 255, 255, .025); padding-left: 10px; }
html.imm[data-look="cinema"] .sf textarea { color: #f3ecdc; background: rgba(255, 255, 255, .04); border-color: rgba(243, 236, 220, .3); }
html.imm[data-look="cinema"] .sf :is(input, textarea)::placeholder { color: rgba(243, 236, 220, .45); }
html.imm[data-look="cinema"] .sf select option { color: #0f1a3d; background: #fbf7ec; }
html.imm[data-look="cinema"] .sf :is(input, select, textarea):focus { border-color: #e6c36f; box-shadow: 0 1px 0 #e6c36f, 0 10px 30px rgba(230, 195, 111, .08); }

/* =====================================================================================
   WOW layer (Night look): starfield, glitter, carousels, CTA cards. Decoration only.
   ===================================================================================== */
@property --imm-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
html.imm[data-look="cinema"] { background: #070b1f; }
html.imm[data-look="cinema"] body { background: transparent; overflow-x: clip; }
.imm-sky, .imm-skyl, .imm-fx, .imm-cur, .imm-ring, .imm-prog, .imm-curtain, .imm-leave, .imm-wave { display: none; }
html.imm[data-look="cinema"] .imm-skyl { display: block; position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
html.imm[data-look="cinema"] .imm-skyl i { position: absolute; left: 0; top: 0; width: 100%; height: 200%; background-repeat: repeat; will-change: transform; }
html.imm[data-look="cinema"] .imm-sky { display: block; position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; }
html.imm[data-look="cinema"] .imm-fx { display: block; position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 9990; pointer-events: none; }

/* sections let the sky show through */
html.imm[data-look="cinema"] .sec:not(.dark):not(.hero), html.imm[data-look="cinema"] .paper, html.imm[data-look="cinema"] .phead, html.imm[data-look="cinema"] .cs-sec:not(.dark) {
  background: radial-gradient(90% 60% at 85% 0%, rgba(59, 42, 110, .30), transparent 60%), radial-gradient(70% 50% at 0% 100%, rgba(29, 59, 122, .24), transparent 60%), linear-gradient(180deg, rgba(11, 18, 51, .74), rgba(9, 15, 42, .80)); }
html.imm[data-look="cinema"] .sec.dark, html.imm[data-look="cinema"] .cs-sec.dark { background: radial-gradient(80% 60% at 20% 0%, rgba(29, 59, 122, .28), transparent 60%), rgba(6, 10, 29, .78); }
html.imm[data-look="cinema"] main section[style*="background"] { background: radial-gradient(70% 60% at 80% 10%, rgba(80, 52, 150, .22), transparent 60%), rgba(9, 14, 42, .78) !important; }
html.imm[data-look="cinema"] .bhero { background-color: rgba(7, 11, 31, .55); }
html.imm[data-look="cinema"] .foot { background: rgba(5, 8, 23, .86); }

/* gold that shimmers */
html.imm[data-look="cinema"] :is(h1, h2) em, html.imm[data-look="cinema"] .bigtxt em {
  background: linear-gradient(100deg, #c8962e 0%, #f3d488 22%, #fff7dc 32%, #e6c36f 44%, #c8962e 60%, #f3d488 80%, #c8962e 100%); background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: imm-goldflow 7s linear infinite; }
html.imm[data-look="cinema"] .hero h1 em { filter: drop-shadow(0 0 18px rgba(230, 195, 111, .35)); text-shadow: none; }
@keyframes imm-goldflow { from { background-position: 0% 50%; } to { background-position: 260% 50%; } }

/* star cursor */
html.imm-cursor[data-look="cinema"], html.imm-cursor[data-look="cinema"] *:not(input):not(textarea):not(select) { cursor: none !important; }
html.imm-cursor[data-look="cinema"] .imm-cur { display: block; position: fixed; left: -5px; top: -5px; width: 10px; height: 10px; z-index: 9999; pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, #fff8e1 0 30%, #e6c36f 60%, transparent 72%); box-shadow: 0 0 14px 4px rgba(230, 195, 111, .55); transition: opacity .3s; }
html.imm-cursor[data-look="cinema"] .imm-ring { display: block; position: fixed; left: -19px; top: -19px; width: 38px; height: 38px; z-index: 9998; pointer-events: none; border-radius: 50%;
  border: 1px solid rgba(230, 195, 111, .55); transition: width .35s, height .35s, left .35s, top .35s, background .35s, border-color .35s, opacity .3s; }
html.imm-cursor[data-look="cinema"] .imm-ring.on { width: 64px; height: 64px; left: -32px; top: -32px; background: rgba(230, 195, 111, .10); border-color: rgba(255, 236, 190, .9); box-shadow: 0 0 24px rgba(230, 195, 111, .35); }
html.imm[data-look="cinema"] .imm-wave { display: block; position: fixed; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; border: 2px solid rgba(255, 226, 150, .9); z-index: 9991; pointer-events: none; animation: imm-wave .85s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes imm-wave { to { transform: scale(14); opacity: 0; border-width: .5px; } }

/* scroll progress */
html.imm[data-look="cinema"] .imm-prog { display: block; position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 9989; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, #c8962e, #fff3c4, #e6c36f); box-shadow: 0 0 12px rgba(230, 195, 111, .8); pointer-events: none; }

/* arrival curtain and page-leave sweep */
html.imm[data-look="cinema"] .imm-curtain { display: grid; place-items: center; position: fixed; inset: 0; z-index: 10000; background: radial-gradient(60% 50% at 50% 50%, #141c4a, #050817 70%); pointer-events: none; transition: opacity .9s cubic-bezier(.6, 0, .2, 1); }
html.imm[data-look="cinema"] .imm-curtain.quick { transition-duration: .7s; }
html.imm[data-look="cinema"] .imm-curtain.quick .imm-cmark { display: none; }
html.imm[data-look="cinema"] .imm-curtain.out { opacity: 0; }
.imm-cmark { position: relative; display: grid; place-items: center; }
.imm-cmark img { width: 110px; height: 110px; animation: imm-logo 1.2s cubic-bezier(.2, .8, .2, 1) both; filter: drop-shadow(0 0 30px rgba(230, 195, 111, .55)); }
.imm-cmark i { position: absolute; top: 132px; height: 1px; width: 260px; background: linear-gradient(90deg, transparent, #e6c36f, transparent); transform: scaleX(0); animation: imm-line2 1.1s .25s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes imm-logo { from { opacity: 0; transform: scale(.6) rotate(-12deg); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes imm-line2 { to { transform: scaleX(1); } }
html.imm[data-look="cinema"] .imm-leave { display: block; position: fixed; inset: 0; z-index: 10000; pointer-events: none; opacity: 0; transition: opacity .38s ease;
  background: radial-gradient(circle at 50% 50%, rgba(255, 226, 150, .35), transparent 30%), radial-gradient(70% 60% at 50% 50%, #141c4a, #050817 75%); }
html.imm[data-look="cinema"] .imm-leave.on { opacity: 1; }

/* gold buttons: a travelling shine */
html.imm[data-look="cinema"] .imm-shine { position: relative; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 236, 190, .25), 0 10px 30px rgba(200, 150, 46, .25); }
html.imm[data-look="cinema"] .imm-shine::after { content: ""; position: absolute; top: -20%; bottom: -20%; width: 40%; left: -60%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent); animation: imm-shine 3.6s ease-in-out infinite; pointer-events: none; }
html.imm[data-look="cinema"] .imm-shine:hover { box-shadow: 0 0 0 1px rgba(255, 236, 190, .6), 0 0 34px rgba(230, 195, 111, .55), 0 14px 40px rgba(200, 150, 46, .35); }
@keyframes imm-shine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
html.imm[data-look="cinema"] main .gl2 { border-color: rgba(230, 195, 111, .55); }
html.imm[data-look="cinema"] main .gl2:hover { border-color: #e6c36f; box-shadow: 0 0 24px rgba(230, 195, 111, .3), inset 0 0 18px rgba(230, 195, 111, .12); color: #ffe7a8; }

/* spotlight cards */
html.imm[data-look="cinema"] .imm-spot { position: relative; isolation: isolate; }
html.imm[data-look="cinema"] .imm-spotl { position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 226, 150, .16), transparent 60%); }
html.imm[data-look="cinema"] .imm-spot:hover > .imm-spotl { opacity: 1; }

/* holographic glare on covers */
html.imm[data-look="cinema"] .imm-glare { position: absolute; inset: 0; pointer-events: none; z-index: 4; mix-blend-mode: color-dodge; opacity: 0; transition: opacity .4s;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 230, 170, .45) 45%, rgba(140, 170, 255, .35) 52%, transparent 66%); background-size: 220% 220%; background-position: var(--sx, 50%) var(--sy, 50%); }
html.imm[data-look="cinema"] .imm-tilt.imm-live .imm-glare, html.imm[data-look="cinema"] .cvw:hover .imm-glare { opacity: 1; }

/* call-to-action cards */
html.imm[data-look="cinema"] .imm-ctahost { padding-block: clamp(70px, 9vw, 130px); }
html.imm[data-look="cinema"] .imm-cta { position: relative; isolation: isolate; border-radius: 28px; padding: clamp(34px, 5vw, 76px) clamp(22px, 5vw, 76px); overflow: hidden;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 226, 150, .14), transparent 60%), radial-gradient(120% 90% at 50% 0%, rgba(84, 62, 170, .40), transparent 62%), linear-gradient(180deg, rgba(18, 26, 70, .92), rgba(8, 12, 34, .95));
  box-shadow: 0 0 0 1px rgba(230, 195, 111, .22), 0 40px 120px rgba(0, 0, 0, .55), 0 0 80px rgba(120, 100, 255, .12); }
html.imm[data-look="cinema"] .imm-cta::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.6px; z-index: 5; pointer-events: none;
  background: conic-gradient(from var(--imm-a), transparent 0 58%, rgba(230, 195, 111, .2) 64%, #e6c36f 72%, #fff6d6 76%, #e6c36f 80%, transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: imm-spin 6s linear infinite; }
html.imm[data-look="cinema"] .imm-cta::after { content: ""; position: absolute; inset: -30%; z-index: -1; pointer-events: none; opacity: .55; filter: blur(50px);
  background: radial-gradient(30% 30% at 25% 35%, rgba(110, 70, 220, .55), transparent 70%), radial-gradient(28% 28% at 75% 60%, rgba(40, 110, 230, .45), transparent 70%), radial-gradient(22% 22% at 55% 20%, rgba(230, 180, 90, .35), transparent 70%);
  animation: imm-aurora 16s ease-in-out infinite alternate; }
@keyframes imm-spin { to { --imm-a: 360deg; } }
@keyframes imm-aurora { 0% { transform: translate(-4%, -3%) rotate(0deg) scale(1); } 50% { transform: translate(5%, 4%) rotate(14deg) scale(1.08); } 100% { transform: translate(-2%, 6%) rotate(-10deg) scale(1.02); } }
html.imm[data-look="cinema"] .imm-cta > :not(.imm-tw) { position: relative; z-index: 2; }
html.imm[data-look="cinema"] .imm-tw { position: absolute; width: 3px; height: 3px; z-index: 1; border-radius: 50%; background: #fff6d6; box-shadow: 0 0 8px 2px rgba(230, 195, 111, .8); transform: scale(var(--s));
  animation: imm-tw 3.2s ease-in-out infinite; animation-delay: var(--d); pointer-events: none; }
html.imm[data-look="cinema"] .imm-tw::before, html.imm[data-look="cinema"] .imm-tw::after { content: ""; position: absolute; left: 50%; top: 50%; background: rgba(255, 240, 200, .8); transform: translate(-50%, -50%); }
html.imm[data-look="cinema"] .imm-tw::before { width: 14px; height: 1px; } html.imm[data-look="cinema"] .imm-tw::after { width: 1px; height: 14px; }
@keyframes imm-tw { 0%, 100% { opacity: 0; transform: scale(calc(var(--s) * .3)) rotate(0deg); } 50% { opacity: 1; transform: scale(var(--s)) rotate(45deg); } }
html.imm-shot .imm-tw { animation: none; opacity: .8; }
html.imm[data-look="cinema"] #authors .imm-cta { display: grid; }

/* carousels */
html.imm[data-look="cinema"] .imm-car { position: relative; margin-top: 44px; }
html.imm[data-look="cinema"] .imm-car .imm-ctrack { position: relative; display: flex !important; gap: 26px; overflow-x: auto; overflow-y: visible; scrollbar-width: none; padding: 40px max(6vw, calc(50vw - 180px)) 50px; margin: 0 calc(50% - 50vw); width: 100vw; max-width: none;
  perspective: 1600px; outline: none; cursor: grab; -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
html.imm[data-look="cinema"] .imm-car .imm-ctrack::-webkit-scrollbar { display: none; }
html.imm[data-look="cinema"] .imm-car.drag .imm-ctrack { cursor: grabbing; user-select: none; }
html.imm[data-look="cinema"] .imm-car .imm-ctrack > * { flex: 0 0 auto; }
html.imm[data-look="cinema"] .imm-flow .imm-ctrack > * { transform: translateZ(var(--tz, 0)) rotateY(var(--rot, 0deg)) scale(var(--sc, 1)) !important; opacity: var(--op, 1) !important; transition: box-shadow .5s, border-color .5s, filter .5s; transform-style: preserve-3d; }
html.imm[data-look="cinema"] .imm-flow .imm-ctrack > .imm-act { box-shadow: 0 0 0 1px rgba(230, 195, 111, .7), 0 0 50px rgba(230, 195, 111, .22), 0 40px 90px rgba(0, 0, 0, .6) !important; }
html.imm[data-look="cinema"] .imm-flow .imm-ctrack > :not(.imm-act) { filter: saturate(.75) brightness(.8); }
@media (hover: none) { html.imm[data-look="cinema"] .imm-car .imm-ctrack { scroll-snap-type: x mandatory; } html.imm[data-look="cinema"] .imm-car .imm-ctrack > * { scroll-snap-align: center; } html.imm[data-look="cinema"] .imm-car.glide .imm-ctrack { scroll-snap-type: none; } }
html.imm[data-look="cinema"] .imm-carui { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 6px; }
html.imm[data-look="cinema"] .imm-arw { all: unset; box-sizing: border-box; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(230, 195, 111, .55); background: radial-gradient(circle at 50% 30%, rgba(230, 195, 111, .18), rgba(10, 16, 46, .9)); box-shadow: 0 0 20px rgba(230, 195, 111, .15); transition: transform .3s, box-shadow .3s, background .3s; }
html.imm[data-look="cinema"] .imm-arw svg { width: 22px; height: 22px; fill: none; stroke: #f3d488; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html.imm[data-look="cinema"] .imm-arw:hover { transform: scale(1.1); box-shadow: 0 0 34px rgba(230, 195, 111, .5); background: radial-gradient(circle at 50% 30%, rgba(230, 195, 111, .4), rgba(10, 16, 46, .9)); }
html.imm[data-look="cinema"] .imm-dots { display: flex; gap: 10px; }
html.imm[data-look="cinema"] .imm-dots i { width: 8px; height: 8px; border-radius: 8px; background: rgba(243, 236, 220, .25); cursor: pointer; transition: width .45s cubic-bezier(.2, .8, .2, 1), background .45s, box-shadow .45s; }
html.imm[data-look="cinema"] .imm-dots i.on { width: 34px; background: linear-gradient(90deg, #e6c36f, #fff3c4); box-shadow: 0 0 12px rgba(230, 195, 111, .8); }
/* services carousel cards */
html.imm[data-look="cinema"] .imm-svc .imm-ctrack { padding-inline: max(4vw, calc(50vw - min(190px, 39vw))); }
html.imm[data-look="cinema"] .imm-world .imm-ctrack { padding-inline: max(4vw, calc(50vw - min(165px, 37vw))); }
html.imm[data-look="cinema"] .imm-gal .imm-ctrack { padding-inline: max(4vw, calc(50vw - min(280px, 41vw))); }
html.imm[data-look="cinema"] .imm-svc .imm-ctrack > li { width: min(380px, 78vw); }
html.imm[data-look="cinema"] .imm-svc .imm-ctrack > li .imm-sart { aspect-ratio: 16 / 11; }
html.imm[data-look="cinema"] .imm-svc .imm-ctrack > li h3 { font-size: clamp(1.45rem, 2vw, 1.8rem) !important; }
html.imm[data-look="cinema"] .imm-svc .imm-ctrack > li p { font-size: .98rem !important; }
html.imm[data-look="cinema"] #services .imm-svc .slist li:hover { transform: translateZ(var(--tz, 0)) rotateY(var(--rot, 0deg)) scale(var(--sc, 1)) !important; }
/* story world + gallery carousels */
html.imm[data-look="cinema"] .imm-world .imm-ctrack > .wp { width: min(330px, 74vw); display: flex; flex-direction: column; gap: 14px; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #121a48, #0a1131); border: 1px solid rgba(230, 195, 111, .25); }
html.imm[data-look="cinema"] .imm-world .imm-ctrack > .wp .wimg { border: 0; }
html.imm[data-look="cinema"] .imm-world .imm-ctrack > .wp figcaption { padding: 0 20px 22px; }
html.imm[data-look="cinema"] .imm-gal .imm-ctrack > .gi { width: min(560px, 82vw); border-radius: 16px; border: 1px solid rgba(230, 195, 111, .25); }
html.imm[data-look="cinema"] .imm-car img { -webkit-user-drag: none; user-select: none; }

/* hero cards respond to the pointer */
html.imm[data-look="cinema"] .imm-card { pointer-events: auto; transition: box-shadow .5s, filter .5s; }
html.imm[data-look="cinema"] .imm-card:hover { box-shadow: 0 0 0 1.5px #ffe7a8, 0 0 50px rgba(230, 195, 111, .55), 0 30px 70px rgba(0, 0, 0, .55); filter: brightness(1.12) saturate(1.1); z-index: 3; }

@media (prefers-reduced-motion: reduce) { html.imm[data-look="cinema"] :is(h1, h2) em, html.imm[data-look="cinema"] .imm-shine::after, html.imm[data-look="cinema"] .imm-cta::before, html.imm[data-look="cinema"] .imm-cta::after, html.imm[data-look="cinema"] .imm-tw { animation: none; } }
html.imm-shot :is(h1, h2) em, html.imm-shot .imm-shine::after { animation: none !important; }
html.imm-shot .imm-cta::before { animation: none; --imm-a: 200deg; }
html.imm[data-look="cinema"] .subnav, html.imm[data-look="cinema"] .subnav.light { background: rgba(9, 14, 40, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(217, 178, 90, .25); color: #f3ecdc; }
html.imm[data-look="cinema"] .subnav.light a.on, html.imm[data-look="cinema"] .subnav.light a:hover { color: #e6c36f; }

/* =====================================================================================
   Client-first hero options + showcase features (Night look)
   ===================================================================================== */
/* preview pill: hero choice */
.imm-switch .imm-hsw { display: inline-flex; align-items: center; gap: 2px; margin-left: 8px; padding-left: 10px; border-left: 1px solid rgba(243, 236, 220, .2); }
.imm-switch .imm-hsw > span { font: 600 10px/1 'Instrument Sans', system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: rgba(243, 236, 220, .6); margin-right: 6px; }

/* --- Bridge hero: the author's journey, each service a station on the way across --- */
html.imm[data-look="cinema"] .imm-stns { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
html.imm[data-look="cinema"] .imm-stn { position: absolute; width: 0; height: 0; pointer-events: auto; cursor: pointer; }
html.imm[data-look="cinema"] .imm-stn b { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; }
html.imm[data-look="cinema"] .imm-stn .nm { position: absolute; bottom: 16px; width: 150px; font: 700 10.5px/1.35 'Instrument Sans', system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(243, 236, 220, .72); text-shadow: 0 2px 10px rgba(5, 8, 23, .9); transition: color .4s, transform .4s; }
html.imm[data-look="cinema"] .imm-stn.l .nm { right: 12px; text-align: right; } html.imm[data-look="cinema"] .imm-stn.r .nm { left: 12px; }
html.imm[data-look="cinema"] .imm-stn.lit .nm, html.imm[data-look="cinema"] .imm-stn:hover .nm { color: #ffe7a8; transform: translateY(-3px); text-shadow: 0 0 18px rgba(230, 195, 111, .7), 0 2px 10px rgba(5, 8, 23, .9); }
html.imm[data-look="cinema"] .imm-stn .tip { position: absolute; top: 20px; width: 250px; padding: 14px 16px; border-radius: 12px; font: 400 13px/1.5 'Instrument Sans', system-ui, sans-serif; color: #ece6d6;
  background: rgba(9, 13, 38, .92); border: 1px solid rgba(230, 195, 111, .45); box-shadow: 0 20px 50px rgba(0, 0, 0, .5), 0 0 30px rgba(230, 195, 111, .15); opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; pointer-events: none; }
html.imm[data-look="cinema"] .imm-stn.l .tip { right: -20px; } html.imm[data-look="cinema"] .imm-stn.r .tip { left: -20px; }
html.imm[data-look="cinema"] .imm-stn:hover .tip { opacity: 1; transform: none; }
html.imm[data-look="cinema"] .imm-ends i { position: absolute; width: 34px; height: 34px; margin: -44px 0 0 -17px; display: grid; place-items: center; border-radius: 10px;
  background: rgba(9, 13, 38, .85); border: 1px solid rgba(230, 195, 111, .5); box-shadow: 0 0 22px rgba(230, 195, 111, .3); }
html.imm[data-look="cinema"] .imm-ends svg { width: 20px; height: 20px; fill: none; stroke: #f3d488; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }


/* --- Studio hero: a designer's desk floating in space --- */
html.imm[data-look="cinema"] .imm-desk { position: absolute; z-index: 1; right: 1.5vw; top: 13%; width: min(47vw, 760px); height: 74%; perspective: 1500px; transform-style: preserve-3d; pointer-events: none; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
html.imm[data-look="cinema"] .imm-desk .links { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(230, 195, 111, .45); stroke-width: 1.2; stroke-dasharray: 3 7; filter: drop-shadow(0 0 4px rgba(230, 195, 111, .6)); animation: imm-dash 30s linear infinite; }
@keyframes imm-dash { to { stroke-dashoffset: -600; } }
html.imm[data-look="cinema"] .imm-desk .pc { position: absolute; left: var(--x); top: var(--y); transform: translateZ(var(--z)) rotate(var(--r)); border-radius: 10px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(230, 195, 111, .35), 0 30px 70px rgba(0, 0, 0, .55), 0 0 40px rgba(120, 140, 255, .12); animation: imm-bob 8s ease-in-out infinite; animation-delay: var(--d); pointer-events: auto; transition: box-shadow .4s, filter .4s; }
html.imm[data-look="cinema"] .imm-desk .pc:hover { box-shadow: 0 0 0 1.5px #ffe7a8, 0 0 50px rgba(230, 195, 111, .45), 0 30px 70px rgba(0, 0, 0, .55); filter: brightness(1.08); }
@keyframes imm-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
html.imm-shot .imm-desk .pc, html:not(.imm-motion) .imm-desk .pc, html.imm-shot .imm-desk .links { animation: none; }
.imm-desk .ln { display: grid; gap: 7px; } .imm-desk .ln i { display: block; height: 5px; border-radius: 3px; background: rgba(15, 26, 61, .22); }
.imm-desk .ln.thin { gap: 5px; } .imm-desk .ln.thin i { height: 3px; }
.imm-desk .ms { width: 27%; aspect-ratio: 3 / 4; background: #f7f1e3; padding: 9% 9%; display: grid; align-content: start; gap: 10px; }
.imm-desk .ms .mk { display: block; height: 0; border-top: 2px solid #c0392b; width: 46%; transform: rotate(-2deg); margin: -14px 0 0 18%; opacity: .85; }
.imm-desk .ms .m2 { width: 30%; margin-left: 52%; transform: rotate(3deg); }
.imm-desk .ms .pil { position: absolute; right: 8%; top: 6%; font: 400 22px/1 'Instrument Serif', serif; color: #c0392b; }
.imm-desk .sp { width: 40%; aspect-ratio: 16 / 10; background: #fbf7ec; display: grid; grid-template-columns: 1fr 1fr; }
.imm-desk .sp .pg { padding: 9%; display: grid; align-content: start; gap: 8px; position: relative; }
.imm-desk .sp .pg.l { border-right: 1px solid rgba(15, 26, 61, .15); box-shadow: inset -12px 0 18px -14px rgba(15, 26, 61, .35); }
.imm-desk .sp .img { aspect-ratio: 4 / 3; border-radius: 2px; background: linear-gradient(160deg, #d9e3f5, #b9c6e4); display: grid; place-items: end center; overflow: hidden; outline: 1px dashed rgba(0, 174, 239, .7); outline-offset: -1px; }
.imm-desk .sp .img svg { width: 100%; height: 100%; } .imm-desk .sp .img path { fill: #8796c4; } .imm-desk .sp .img circle { fill: #e6c36f; }
.imm-desk .sp .cap { font: 400 18px/1 'Instrument Serif', serif; color: #b8862b; text-align: center; margin-bottom: 4px; }
.imm-desk .sp .grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(0, 174, 239, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 174, 239, .18) 1px, transparent 1px); background-size: 100% 12.5%, 12.5% 100%; mix-blend-mode: multiply; }
.imm-desk .ty { width: 22%; aspect-ratio: 1; background: linear-gradient(160deg, #142057, #0b1233); display: grid; place-items: center; align-content: center; gap: 6px; }
.imm-desk .ty .aa { font: 400 clamp(46px, 5.4vw, 84px)/1 'Instrument Serif', serif; color: #f3ecdc; }
.imm-desk .ty .aa::first-letter { color: #e6c36f; }
.imm-desk .ty .gl { font: 600 11px/1 'Instrument Sans', sans-serif; letter-spacing: .3em; color: rgba(243, 236, 220, .6); }
.imm-desk .ty .rule { width: 50%; height: 1px; background: linear-gradient(90deg, transparent, #e6c36f, transparent); }
.imm-desk .sw { width: 22%; display: grid; grid-template-columns: repeat(4, 1fr); background: #0b1233; }
.imm-desk .sw i { display: block; aspect-ratio: 1 / 1.6; background: var(--c); }
.imm-desk .sw span { font: 600 8.5px/1 'Instrument Sans', sans-serif; letter-spacing: .06em; color: rgba(243, 236, 220, .75); padding: 8px 0 9px; text-align: center; }
.imm-desk .pen { width: 26%; aspect-ratio: 220 / 120; background: rgba(9, 13, 38, .9); padding: 4%; }
.imm-desk .pen svg { width: 100%; height: 100%; overflow: visible; }
.imm-desk .pen .cv { fill: none; stroke: #e6c36f; stroke-width: 2.4; stroke-dasharray: 420; stroke-dashoffset: 420; animation: imm-draw 5s ease-in-out infinite alternate; filter: drop-shadow(0 0 6px rgba(230, 195, 111, .7)); }
.imm-desk .pen .hd { fill: none; stroke: rgba(140, 180, 255, .7); stroke-width: 1; }
.imm-desk .pen rect { fill: #0b1233; stroke: #8cb4ff; stroke-width: 1.2; } .imm-desk .pen circle { fill: #8cb4ff; }
@keyframes imm-draw { 0% { stroke-dashoffset: 420; } 70%, 100% { stroke-dashoffset: 0; } }
html.imm-shot .imm-desk .pen .cv, html:not(.imm-motion) .imm-desk .pen .cv { animation: none; stroke-dashoffset: 0; }
.imm-desk .md { width: 30%; background: #070b1f; padding: 3%; display: grid; gap: 8px; }
.imm-desk .md .scr { aspect-ratio: 16 / 8; border-radius: 6px; background: radial-gradient(circle at 30% 30%, #2c3a8c, #0b1233 70%); display: grid; place-items: center; }
.imm-desk .md .scr b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: #0f1a3d; background: linear-gradient(135deg, #e6c36f, #c8962e); box-shadow: 0 0 20px rgba(230, 195, 111, .6); }
.imm-desk .md .tl { position: relative; display: grid; grid-template-columns: 2fr 1fr 3fr 1.5fr 2fr; gap: 3px; height: 14px; }
.imm-desk .md .tl i { border-radius: 3px; background: linear-gradient(180deg, #3b4fa8, #26357a); } .imm-desk .md .tl i:nth-child(2n) { background: linear-gradient(180deg, #c8962e, #8a6420); }
.imm-desk .md .ph { position: absolute; top: -4px; bottom: -4px; width: 2px; background: #fff3c4; box-shadow: 0 0 8px #e6c36f; left: 0; animation: imm-play 6s linear infinite; }
@keyframes imm-play { to { left: 100%; } }
.imm-desk .md .wv { width: 100%; height: 22px; fill: none; stroke: rgba(140, 180, 255, .8); stroke-width: 1.2; }
.imm-desk .bk { width: 17%; aspect-ratio: 3 / 4.1; overflow: visible !important; background: transparent; box-shadow: none !important; transform-style: preserve-3d; transform: translateZ(var(--z)) rotateY(-28deg) rotate(var(--r)); }
.imm-desk .bk .cvr { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14%; background: radial-gradient(90% 70% at 50% 30%, #23306f, #0b1233 75%); border-radius: 2px 6px 6px 2px; box-shadow: 0 0 0 1px rgba(230, 195, 111, .45), 22px 30px 50px rgba(0, 0, 0, .6); }
.imm-desk .bk .spn { position: absolute; left: 0; top: 0; bottom: 0; width: 14px; transform-origin: left; transform: rotateY(90deg); background: linear-gradient(90deg, #0b1233, #1d2a6a); }
.imm-desk .bk .pgs { position: absolute; right: -10px; top: 3px; bottom: 3px; width: 10px; background: repeating-linear-gradient(90deg, #f3ecdc 0 1px, #d9d0bb 1px 2px); transform-origin: left; transform: rotateY(90deg); }
.imm-desk .crop { width: 15%; aspect-ratio: 3 / 4; background: #fbf7ec; display: grid; grid-template-columns: repeat(4, 1fr); align-content: end; padding: 18% 14% 14%; gap: 4px; }
.imm-desk .crop i { display: block; aspect-ratio: 1; background: var(--c); }
.imm-desk .crop .c { position: absolute; width: 14px; height: 14px; border: 0 solid #231f20; }
.imm-desk .crop .tl2 { left: 6px; top: 6px; border-width: 1px 0 0 1px; } .imm-desk .crop .tr { right: 6px; top: 6px; border-width: 1px 1px 0 0; }
.imm-desk .crop .bl { left: 6px; bottom: 6px; border-width: 0 0 1px 1px; } .imm-desk .crop .br { right: 6px; bottom: 6px; border-width: 0 1px 1px 0; }
.imm-desk .crop .reg { position: absolute; left: 50%; top: 14%; width: 18px; height: 18px; margin-left: -9px; border: 1px solid #231f20; border-radius: 50%;
  background: linear-gradient(#231f20, #231f20) center / 1px 100% no-repeat, linear-gradient(#231f20, #231f20) center / 100% 1px no-repeat; }
@media (max-width: 900px) { html.imm[data-look="cinema"] .imm-desk { position: relative; right: auto; top: auto; width: 100%; height: 300px; order: 3; margin-top: 10px; } }

/* --- "What we do" line illustrations --- */
html.imm[data-look="cinema"] .imm-ill { display: grid; place-items: center; background: radial-gradient(80% 90% at 50% 20%, rgba(84, 62, 170, .35), transparent 70%), linear-gradient(180deg, #121b4a, #0b1233); }
html.imm[data-look="cinema"] .imm-ill::after { background: linear-gradient(180deg, rgba(10, 17, 49, 0) 70%, #0f1840); }
html.imm[data-look="cinema"] .imm-ill svg { width: 86%; height: 86%; fill: none; stroke: rgba(230, 195, 111, .85); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
html.imm[data-look="cinema"] .imm-ill svg .t { stroke: rgba(243, 236, 220, .55); stroke-width: 1.4; }
html.imm[data-look="cinema"] .imm-ill svg .red { stroke: #8cb4ff; }
html.imm-motion[data-look="cinema"] .imm-ill svg * { stroke-dasharray: var(--len, 400); stroke-dashoffset: 0; }
html.imm[data-look="cinema"] li:not(.imm-act) > .imm-ill svg { opacity: .55; }
html.imm-motion[data-look="cinema"] .imm-act > .imm-ill svg *, html.imm-motion[data-look="cinema"] li:hover > .imm-ill svg * { animation: imm-redraw 1.9s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes imm-redraw { from { stroke-dashoffset: var(--len, 400); } to { stroke-dashoffset: 0; } }
html.imm-motion[data-look="cinema"] .imm-act .imm-ill svg { filter: drop-shadow(0 0 6px rgba(230, 195, 111, .45)); }

/* --- For Authors: the steps as a lit timeline --- */
@media (min-width: 800px) {
  html.imm[data-look="cinema"] .steps.imm-tl { display: block; position: relative; padding: 10px 0; }
  html.imm[data-look="cinema"] .steps.imm-tl::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(230, 195, 111, .2); }
  html.imm[data-look="cinema"] .steps.imm-tl .imm-tlfill { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1px; border-radius: 3px; transform-origin: top; transform: scaleY(0); z-index: 1;
    background: linear-gradient(180deg, #fff3c4, #e6c36f 40%, #c8962e); box-shadow: 0 0 14px rgba(230, 195, 111, .8); }
  html.imm[data-look="cinema"] .steps.imm-tl li { width: calc(50% - 46px); position: relative; border: 1px solid rgba(230, 195, 111, .18) !important; border-radius: 14px; padding: 16px 20px !important; margin: 0 0 18px; background: rgba(12, 18, 50, .7);
    opacity: .45; transform: translateY(14px) scale(.98); transition: opacity .7s, transform .7s cubic-bezier(.2, .8, .2, 1), box-shadow .7s, border-color .7s; }
  html.imm[data-look="cinema"] .steps.imm-tl li:nth-of-type(even) { margin-left: calc(50% + 46px); margin-top: -40px; }
  html.imm[data-look="cinema"] .steps.imm-tl li::after { content: ""; position: absolute; top: 22px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(230, 195, 111, .5); background: #0b1233; z-index: 2; transition: background .5s, box-shadow .5s, transform .5s; }
  html.imm[data-look="cinema"] .steps.imm-tl li:nth-of-type(odd)::after { right: -54px; } html.imm[data-look="cinema"] .steps.imm-tl li:nth-of-type(even)::after { left: -54px; }
  html.imm[data-look="cinema"] .steps.imm-tl li.lit { opacity: 1; transform: none; border-color: rgba(230, 195, 111, .55) !important; box-shadow: 0 0 34px rgba(230, 195, 111, .14), 0 20px 50px rgba(0, 0, 0, .35); }
  html.imm[data-look="cinema"] .steps.imm-tl li.lit::after { background: #ffe7a8; box-shadow: 0 0 0 6px rgba(230, 195, 111, .18), 0 0 18px #e6c36f; transform: scale(1.15); }
  html.imm[data-look="cinema"] .steps.imm-tl li.lit::before { text-shadow: 0 0 16px rgba(230, 195, 111, .7); }
  html.imm-shot[data-look="cinema"] .steps.imm-tl li { opacity: 1; transform: none; }
}

/* --- before / after compare --- */
html.imm[data-look="cinema"] .imm-cmp { position: relative; width: 100%; max-width: 980px; margin: 36px auto 22px; border-radius: 14px; overflow: hidden; cursor: ew-resize; user-select: none; touch-action: pan-y;
  box-shadow: 0 0 0 1px rgba(230, 195, 111, .4), 0 40px 90px rgba(0, 0, 0, .55); }
html.imm[data-look="cinema"] .imm-cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; pointer-events: none; }
html.imm[data-look="cinema"] .imm-cmp .clip { position: absolute; inset: 0; }
html.imm[data-look="cinema"] .imm-cmp .hdl { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: linear-gradient(180deg, transparent, #ffe7a8 12%, #ffe7a8 88%, transparent); box-shadow: 0 0 16px #e6c36f; pointer-events: none; }
html.imm[data-look="cinema"] .imm-cmp .hdl i { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(9, 13, 38, .85); border: 1px solid #e6c36f; box-shadow: 0 0 24px rgba(230, 195, 111, .6); }
html.imm[data-look="cinema"] .imm-cmp .hdl i::before, html.imm[data-look="cinema"] .imm-cmp .hdl i::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border: solid #ffe7a8; border-width: 0 0 2px 2px; }
html.imm[data-look="cinema"] .imm-cmp .hdl i::before { left: 11px; transform: rotate(45deg); } html.imm[data-look="cinema"] .imm-cmp .hdl i::after { right: 11px; transform: rotate(-135deg); }
/* the two original figures keep their labels and captions; their pictures now live in the slider above (still read out by screen readers) */
html.imm[data-look="cinema"] .imm-cmphost figure > img { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
html.imm[data-look="cinema"] .imm-cmphost figure { min-height: 0 !important; aspect-ratio: auto !important; }

.imm-desk .bk .cvr img { width: 46%; height: auto; filter: drop-shadow(0 0 14px rgba(230, 195, 111, .6)); }
.imm-desk .bk .cvr i { width: 54%; height: 1px; background: linear-gradient(90deg, transparent, #e6c36f, transparent); }
html.imm .imm-switch { align-items: center; }
html.imm .imm-switch a { align-self: center; }
html.imm[data-look="cinema"] .imm-cmp.tall { max-width: 560px; }
html.imm[data-look="cinema"] .hero .imm-stns { z-index: 4; }
html.imm[data-look="cinema"] .imm-cmphost .ap-fig { background: transparent !important; box-shadow: none !important; border: 0 !important; padding: 0 !important; --navy: #f3ecdc; --mute: #b9b6cb; color: #d9d5e6; }
html.imm[data-look="cinema"] .imm-cmphost .ap-fig .ap-flab { position: static; display: inline-block; margin-bottom: 6px; }
html.imm[data-look="cinema"] .imm-cmphost .ap-fig figcaption { color: #b9b6cb; }
html.imm[data-look="cinema"] .imm-stn:hover { z-index: 6; }
html.imm[data-look="cinema"] .imm-stn .tip { background: #0a0f2e; z-index: 6; }

/* --- stages read as clickable: pulsing rings, arrow chips, a guided preview, real focus states --- */
html.imm[data-look="cinema"] .imm-stn { text-decoration: none; color: inherit; outline: none; }
html.imm[data-look="cinema"] .imm-stn b { display: block; }
html.imm[data-look="cinema"] .imm-stn b i { position: absolute; inset: 6px; border-radius: 50%; border: 1.5px solid rgba(255, 231, 168, .9); animation: imm-stnping 2.6s ease-out infinite; animation-delay: calc(var(--i) * .35s); pointer-events: none; }
@keyframes imm-stnping { 0% { transform: scale(.55); opacity: .95; } 70%, 100% { transform: scale(1.9); opacity: 0; } }
html.imm[data-look="cinema"] .imm-stns.used .imm-stn b i { animation-duration: 4.5s; opacity: .5; }
html.imm-shot .imm-stn b i, html:not(.imm-motion) .imm-stn b i { animation: none; opacity: .7; transform: scale(1.2); }
html.imm[data-look="cinema"] .imm-stn .nm { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; margin-bottom: -6px; border-radius: 999px; width: max-content; max-width: 210px; white-space: normal;
  background: rgba(9, 13, 38, .55); border: 1px solid rgba(230, 195, 111, .28); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: color .35s, transform .35s, background .35s, border-color .35s, box-shadow .35s; }
html.imm[data-look="cinema"] .imm-stn.l .nm { right: 4px; flex-direction: row-reverse; } html.imm[data-look="cinema"] .imm-stn.r .nm { left: 4px; }
html.imm[data-look="cinema"] .imm-stn .nm::after { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: rgba(230, 195, 111, .9)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M5 3.5 8.5 7 5 10.5' fill='none' stroke='%230b1233' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .35s; }
html.imm[data-look="cinema"] .imm-stn.l .nm::after { transform: rotate(180deg) scaleX(-1); transform: none; }
html.imm[data-look="cinema"] .imm-stn:hover .nm, html.imm[data-look="cinema"] .imm-stn:focus-visible .nm, html.imm[data-look="cinema"] .imm-stn.tour .nm, html.imm[data-look="cinema"] .imm-stn.lit .nm {
  background: rgba(20, 26, 70, .85); border-color: rgba(255, 231, 168, .85); box-shadow: 0 0 24px rgba(230, 195, 111, .35); }
html.imm[data-look="cinema"] .imm-stn:hover .nm::after, html.imm[data-look="cinema"] .imm-stn:focus-visible .nm::after { transform: translateX(3px); }
html.imm[data-look="cinema"] .imm-stn:focus-visible b { box-shadow: 0 0 0 2px #0b1233, 0 0 0 4px #ffe7a8; }
html.imm[data-look="cinema"] .imm-stn:focus-visible .tip, html.imm[data-look="cinema"] .imm-stn.tour .tip { opacity: 1; transform: none; }
html.imm[data-look="cinema"] .imm-stn.tour { z-index: 6; }
html.imm[data-look="cinema"] .imm-stn .tip { top: 24px; }
@media (max-width: 1100px) {
  html.imm[data-look="cinema"] .imm-stn b { left: -20px; top: -20px; width: 40px; height: 40px; }   /* bigger tap targets on tablets and phones */
  html.imm[data-look="cinema"] .imm-stn b i { inset: 12px; }
}
html.imm[data-look="cinema"] .imm-stn.l .tip { right: auto; left: -20px; }

/* tablets (10 inch and up) get the full experience; small chips; tips open toward the middle; phones keep just the dots */
html.imm[data-look="cinema"] .imm-stn.tl .tip { left: auto; right: -20px; }
html.imm[data-look="cinema"] .imm-stn.tr .tip { right: auto; left: -20px; }
@media (max-width: 1300px) {
  html.imm[data-look="cinema"] .imm-stn .nm { font-size: 9.5px; max-width: 158px; padding: 5px 8px; gap: 6px; letter-spacing: .12em; }
  html.imm[data-look="cinema"] .imm-stn .nm::after { width: 12px; height: 12px; background-size: 12px; }
  html.imm[data-look="cinema"] .imm-stn .tip { width: 220px; font-size: 12.5px; }
}
@media (orientation: portrait) and (max-width: 1100px) {
  html.imm[data-look="cinema"] .hero::before { background: linear-gradient(180deg, rgba(5, 8, 23, .7) 0%, rgba(5, 8, 23, .35) 42%, transparent 58%), radial-gradient(ellipse 90% 70% at 50% 55%, transparent 55%, rgba(2, 3, 10, .45)); }
}
@media (max-width: 767px) { html.imm[data-look="cinema"] .imm-stn .nm, html.imm[data-look="cinema"] .imm-stn .tip, html.imm[data-look="cinema"] .imm-ends { display: none !important; } }

@media (max-width: 767px) { html.imm[data-look="cinema"][data-hero="journey"] .hero { min-height: calc(100svh + 240px); } }

/* ===== Round 3 ===== */
/* trailer cinema mode */
html.imm[data-look="cinema"] .cine { transition: box-shadow 1s ease, transform 1s cubic-bezier(.2, .8, .2, 1); border-radius: 12px; }
html.imm[data-look="cinema"] .cine video { border-radius: 12px; }
html.imm[data-look="cinema"] main > section, html.imm[data-look="cinema"] header, html.imm[data-look="cinema"] footer, html.imm[data-look="cinema"] .imm-sky, html.imm[data-look="cinema"] .imm-cinehost .wrap > *:not(.cine) { transition: filter 1.1s ease, opacity 1.1s ease; }
html.imm-cinema-on[data-look="cinema"] main > section:not(.imm-cinehost), html.imm-cinema-on[data-look="cinema"] header, html.imm-cinema-on[data-look="cinema"] footer, html.imm-cinema-on[data-look="cinema"] .subnav, html.imm-cinema-on[data-look="cinema"] .imm-rail { filter: brightness(.16) saturate(.6); }
html.imm-cinema-on[data-look="cinema"] .imm-sky, html.imm-cinema-on[data-look="cinema"] .imm-skyl { opacity: .25; }
html.imm-cinema-on[data-look="cinema"] .imm-cinehost .wrap > *:not(.cine) { opacity: .12; }
html.imm-cinema-on[data-look="cinema"] .imm-cinehost { background: #020309 !important; }
html.imm-cinema-on[data-look="cinema"] .imm-cinehost .cine { transform: scale(1.03); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 0 90px 24px var(--amb, rgba(90, 110, 220, .7)), 0 0 260px 90px var(--amb, rgba(90, 110, 220, .45)); }
html.imm-cinema-on[data-look="cinema"] .imm-cinehost, html.imm-cinema-on[data-look="cinema"] .imm-cinehost .wrap { overflow: visible !important; }
html.imm-cinema-on .imm-badge, html.imm-cinema-on .imm-mbar, html.imm-cinema-on .imm-switch { opacity: 0 !important; pointer-events: none; }

/* page-turn reader */
html.imm[data-look="cinema"] .imm-turnbox { position: relative; perspective: 2200px; }
html.imm[data-look="cinema"] .imm-turnbox #pgimg { cursor: grab; }
html.imm[data-look="cinema"] .imm-leaf { position: absolute; z-index: 5; transform-style: preserve-3d; pointer-events: none; will-change: transform; }
html.imm[data-look="cinema"] .imm-leaf .f, html.imm[data-look="cinema"] .imm-leaf .b { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 2px; overflow: hidden; }
html.imm[data-look="cinema"] .imm-leaf .f { background-size: cover; background-position: center; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
html.imm[data-look="cinema"] .imm-leaf .b { transform: rotateY(180deg); background: linear-gradient(90deg, #e9dfc8, #f7f1e3 35%, #efe6d2); }
html.imm[data-look="cinema"] .imm-leaf .b::before { content: ""; position: absolute; inset: 0; background: var(--img) center / cover; transform: scaleX(-1); opacity: .13; filter: grayscale(1) contrast(1.4); }
html.imm[data-look="cinema"] .imm-leaf .f .sh { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, calc(var(--k, 0) * .55)) 70%, rgba(255, 255, 255, calc(var(--k, 0) * .25))); }
html.imm[data-look="cinema"] .imm-leaf .b .sh { position: absolute; inset: 0; background: linear-gradient(270deg, rgba(0, 0, 0, calc((1 - var(--k, 0)) * .45)), rgba(0, 0, 0, 0) 60%); }
html.imm[data-look="cinema"] .imm-leaf::after { content: ""; position: absolute; top: 2%; bottom: 2%; left: 0; width: 100%; box-shadow: 0 30px 60px rgba(0, 0, 0, calc(var(--k, 0) * .6)); pointer-events: none; }

/* now-accepting badge */
.imm-badge, .imm-mbar { display: none; }
html.imm[data-look="cinema"] .imm-badge { display: flex; align-items: center; gap: 10px; position: fixed; z-index: 95; right: max(18px, env(safe-area-inset-right, 0px)); top: calc(var(--hh, 72px) + 14px);
  padding: 10px 16px 10px 14px; border-radius: 999px; text-decoration: none; font: 600 12.5px/1.2 'Instrument Sans', system-ui, sans-serif; color: #f3ecdc;
  background: rgba(9, 13, 38, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(230, 195, 111, .55); box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 24px rgba(230, 195, 111, .18);
  opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .5s, transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s; }
html.imm[data-look="cinema"] .imm-badge.show { opacity: 1; transform: none; pointer-events: auto; }
html.imm[data-look="cinema"] .imm-badge:hover { border-color: #ffe7a8; box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 34px rgba(230, 195, 111, .45); }
html.imm[data-look="cinema"] .imm-badge i { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #7ee2a8; box-shadow: 0 0 10px #7ee2a8; flex: none; }
html.imm[data-look="cinema"] .imm-badge i::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid #7ee2a8; animation: imm-ping 2s ease-out infinite; }
@keyframes imm-ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
html.imm-shot .imm-badge i::after { animation: none; opacity: 0; }

/* phone action bar */
@media (max-width: 760px) {
  html.imm[data-look="cinema"] .imm-badge { display: none; }
  html.imm[data-look="cinema"] .imm-mbar { display: block; position: fixed; z-index: 95; left: 0; right: 0; bottom: 0; padding: 10px max(14px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px));
    background: linear-gradient(180deg, rgba(7, 11, 31, 0), rgba(7, 11, 31, .92) 35%); transform: translateY(110%); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
  html.imm[data-look="cinema"] .imm-mbar.show { transform: none; }
  html.imm[data-look="cinema"] .imm-mbar .gb { display: block; width: 100%; padding: 16px 20px; border-radius: 10px; }
  html.imm-barup[data-look="cinema"] .imm-switch { bottom: 82px; }
  html.imm-barup[data-look="cinema"] .totop, html.imm-barup[data-look="cinema"] [class*="top"][aria-label*="top" i] { bottom: 86px !important; }
}

/* ===================== Round 4 ===================== */
.imm-draft { display: inline-flex; align-items: center; gap: 6px; font: 700 10px/1 'Instrument Sans', system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #1a1205;
  background: repeating-linear-gradient(135deg, #ffd66b 0 10px, #ffcb45 10px 20px); padding: 6px 10px; border-radius: 4px; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.imm-draft::before { content: "\270E"; font-size: 12px; }

/* --- For Authors: constellation of the 14 areas --- */
html.imm .imm-const { position: relative; height: 430px; margin: 34px 0 10px; border-radius: 22px; overflow: hidden;
  background: radial-gradient(70% 90% at 50% 10%, rgba(84, 62, 170, .35), transparent 65%), linear-gradient(180deg, #0f1745, #080d29); box-shadow: 0 0 0 1px rgba(230, 195, 111, .25), 0 30px 80px rgba(0, 0, 0, .45); }
html.imm .imm-const > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; }
html.imm .imm-const > svg path { stroke: rgba(230, 195, 111, .55); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 3 6; filter: drop-shadow(0 0 3px rgba(230, 195, 111, .7)); animation: imm-dash 40s linear infinite; }
html.imm .imm-cstar { all: unset; position: absolute; width: 0; height: 0; cursor: pointer; }
html.imm .imm-cstar i { position: absolute; left: -6px; top: -6px; }
html.imm .imm-cstar span { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); width: 110px; }
html.imm .imm-cstar i { width: 12px; height: 12px; border-radius: 50%; background: #ffe7a8; box-shadow: 0 0 0 4px rgba(230, 195, 111, .15), 0 0 16px 4px rgba(230, 195, 111, .55); transition: transform .35s, box-shadow .35s; opacity: 0; transform: scale(.2); }
html.imm .imm-const.lit .imm-cstar i { opacity: 1; transform: scale(1); transition-delay: calc(var(--i) * 70ms); }
html.imm .imm-cstar span { font: 700 10px/1.25 'Instrument Sans', system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: rgba(243, 236, 220, .78); text-align: center; max-width: 110px; text-shadow: 0 2px 8px #050817; transition: color .3s; }
html.imm .imm-cstar:hover i, html.imm .imm-cstar.on i { transform: scale(1.6); box-shadow: 0 0 0 6px rgba(230, 195, 111, .22), 0 0 28px 8px rgba(255, 220, 140, .8); }
html.imm .imm-cstar:hover span, html.imm .imm-cstar.on span { color: #ffe7a8; }
html.imm .imm-cpanel { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%) translateY(10px); width: min(620px, 70%); text-align: center; padding: 16px 18px; border-radius: 14px; background: rgba(9, 13, 38, .9); border: 1px solid rgba(230, 195, 111, .45);
  color: #ece6d6; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s; pointer-events: none; }
html.imm .imm-cpanel.show { opacity: 1; transform: translateX(-50%); }
html.imm .imm-cpanel .n { font: italic 400 1.3rem 'Instrument Serif', serif; color: #e6c36f; margin-right: 10px; }
html.imm .imm-cpanel b { font: 400 1.35rem/1.2 'Instrument Serif', serif; color: #f3ecdc; }
html.imm .imm-cpanel p { margin: 8px 0 0; font-size: .92rem; color: #cfcbe0; }
html.imm #approach .slist li.imm-hl { background: rgba(230, 195, 111, .1) !important; box-shadow: inset 3px 0 0 #e6c36f; }
html.imm #approach .slist li { transition: background .4s, box-shadow .4s; }

/* --- For Authors: kinds of project as cards --- */
html.imm ul.plist.imm-kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border: 0 !important; }
html.imm ul.plist.imm-kinds > li { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto 1fr; column-gap: 14px; padding: 20px !important; border-radius: 16px; border: 1px solid rgba(230, 195, 111, .25) !important;
  background: linear-gradient(160deg, rgba(23, 32, 84, .85), rgba(10, 15, 44, .9)); transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s, border-color .45s; }
html.imm ul.plist.imm-kinds > li > * { grid-column: 2; } html.imm ul.plist.imm-kinds > li > .imm-kic { grid-column: 1; grid-row: 1 / 3; }
html.imm ul.plist.imm-kinds > li h3 { color: #f3ecdc !important; margin: 2px 0 6px; } html.imm ul.plist.imm-kinds > li p { color: #c9c5da !important; margin: 0; }
html.imm ul.plist.imm-kinds > li:hover { transform: translateY(-6px) rotate(-.4deg); border-color: rgba(255, 231, 168, .8) !important; box-shadow: 0 0 34px rgba(230, 195, 111, .22), 0 26px 50px rgba(0, 0, 0, .4); }
html.imm .imm-kic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: radial-gradient(circle at 40% 30%, rgba(230, 195, 111, .35), rgba(230, 195, 111, .06)); border: 1px solid rgba(230, 195, 111, .4); }
html.imm .imm-kic svg { width: 26px; height: 26px; fill: none; stroke: #f3d488; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s; }
html.imm ul.plist.imm-kinds > li:hover .imm-kic svg { transform: scale(1.15) rotate(-6deg); }
@media (max-width: 900px) { html.imm ul.plist.imm-kinds { grid-template-columns: minmax(0, 1fr); } }

/* --- For Authors: finder --- */
html.imm .imm-finder { position: relative; grid-column: 1 / -1; margin-top: 40px; padding: clamp(24px, 4vw, 44px); border-radius: 24px; color: #ece6d6;
  background: radial-gradient(80% 90% at 85% 0%, rgba(110, 70, 220, .35), transparent 60%), linear-gradient(180deg, #121a4c, #090e2c); box-shadow: 0 0 0 1px rgba(230, 195, 111, .35), 0 40px 100px rgba(0, 0, 0, .5); overflow: hidden; }
html.imm .imm-finder > .imm-draft { position: absolute; top: 16px; right: 16px; }
html.imm .imm-finder .fh h3 { font: 400 clamp(1.8rem, 3.4vw, 2.6rem)/1.05 'Instrument Serif', serif; color: #f3ecdc; margin: 8px 0 6px; }
html.imm .imm-finder .fh p { color: #c9c5da; margin: 0; max-width: 56ch; } html.imm .imm-finder .kick { color: #e6c36f; font-size: 1.3rem; }
html.imm .imm-finder .fbar { height: 3px; border-radius: 3px; background: rgba(243, 236, 220, .12); margin: 22px 0; overflow: hidden; }
html.imm .imm-finder .fbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #c8962e, #fff3c4); box-shadow: 0 0 10px #e6c36f; transition: width .6s cubic-bezier(.2, .8, .2, 1); }
html.imm .imm-finder .fstep { position: relative; animation: imm-fin .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes imm-fin { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
html.imm .imm-finder .fn { font: 700 11px/1 'Instrument Sans', sans-serif; letter-spacing: .2em; color: #e6c36f; }
html.imm .imm-finder h4 { font: 400 1.6rem/1.2 'Instrument Serif', serif; color: #f3ecdc; margin: 8px 0 16px; }
html.imm .imm-finder .fopts { display: flex; flex-wrap: wrap; gap: 10px; }
html.imm .imm-finder .fopt, html.imm .imm-finder .fagain, html.imm .imm-finder .fback { all: unset; cursor: pointer; padding: 13px 18px; border-radius: 999px; font: 600 .92rem/1.2 'Instrument Sans', sans-serif; color: #f3ecdc;
  border: 1px solid rgba(230, 195, 111, .45); background: rgba(255, 255, 255, .03); transition: background .3s, border-color .3s, transform .3s, box-shadow .3s; }
html.imm .imm-finder .fopt:hover, html.imm .imm-finder .fopt:focus-visible { background: rgba(230, 195, 111, .16); border-color: #ffe7a8; transform: translateY(-2px); box-shadow: 0 0 22px rgba(230, 195, 111, .25); }
html.imm .imm-finder .fback { position: absolute; right: 0; top: -6px; padding: 8px 14px; }
html.imm .imm-finder .fres h4 { margin-top: 0; }
html.imm .imm-finder .fres ol { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
html.imm .imm-finder .fres li { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(230, 195, 111, .25); animation: imm-fin .55s both; animation-delay: calc(var(--i) * 110ms); }
html.imm .imm-finder .fres li b { display: block; color: #ffe7a8; font-weight: 700; } html.imm .imm-finder .fres li span { color: #cfcbe0; font-size: .92rem; }
html.imm .imm-finder .fres .btns { display: inline-flex; margin-right: 14px; }

/* --- FAQ search --- */
html.imm .imm-faqsearch { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(230, 195, 111, .4); background: rgba(9, 13, 38, .6); position: relative; }
html.imm .imm-faqsearch svg { width: 18px; height: 18px; fill: none; stroke: #e6c36f; stroke-width: 2; flex: none; }
html.imm .imm-faqsearch input { all: unset; flex: 1; color: #f3ecdc; font: 400 1rem 'Instrument Sans', sans-serif; }
html.imm .imm-faqsearch input::placeholder { color: rgba(243, 236, 220, .5); }
html.imm .imm-faqsearch .cnt { font: 700 11px 'Instrument Sans', sans-serif; letter-spacing: .14em; color: #e6c36f; }
html.imm .imm-faqsearch:focus-within { border-color: #ffe7a8; box-shadow: 0 0 22px rgba(230, 195, 111, .25); }
html.imm .imm-faqsearch::after { content: "DRAFT"; position: absolute; right: 14px; top: -9px; font: 700 9px/1 'Instrument Sans', sans-serif; letter-spacing: .16em; color: #1a1205; background: #ffd66b; padding: 3px 6px; border-radius: 3px; }
html.imm .faq details { transition: background .3s; } html.imm .faq details[open] { background: rgba(230, 195, 111, .06); }

/* --- Book One: star map --- */
html.imm .imm-map { margin: 46px auto 10px; max-width: 820px; }
html.imm .imm-map .mimg { position: relative; border-radius: 16px; overflow: visible; box-shadow: 0 0 0 1px rgba(230, 195, 111, .45), 0 40px 90px rgba(0, 0, 0, .55); }
html.imm .imm-map .mimg > img { display: block; width: 100%; height: auto; border-radius: 16px; }
html.imm .imm-map .mlines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #ffe7a8; stroke-width: .5; filter: drop-shadow(0 0 2px #ffd36a) drop-shadow(0 0 6px #e6c36f); stroke-dasharray: 60; stroke-dashoffset: 60; pointer-events: none; }
html.imm .imm-map.go .mlines path { animation: imm-race 2.4s ease-in-out infinite; } html.imm .imm-map.go .mlines path:nth-child(2) { animation-delay: .8s; } html.imm .imm-map.go .mlines path:nth-child(3) { animation-delay: 1.6s; }
@keyframes imm-race { 0% { stroke-dashoffset: 60; opacity: 0; } 15% { opacity: 1; } 70% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
html.imm .imm-map .mflash { position: absolute; left: 34.5%; top: 70.5%; width: 90px; height: 90px; margin: -45px 0 0 -45px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 250, 230, .95), rgba(255, 214, 120, .5) 25%, transparent 65%); opacity: 0; }
html.imm .imm-map.go .mflash { animation: imm-flash 2.4s ease-out infinite; }
@keyframes imm-flash { 0%, 100% { opacity: 0; transform: scale(.4); } 8% { opacity: 1; transform: scale(1.1); } 30% { opacity: 0; transform: scale(1.6); } }
html.imm .imm-spot2 { all: unset; position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; cursor: pointer; z-index: 2; }
html.imm .imm-spot2 > i { position: absolute; inset: 9px; border-radius: 50%; background: #fff6d6; box-shadow: 0 0 0 3px rgba(9, 13, 38, .6), 0 0 16px 4px rgba(255, 214, 120, .9); }
html.imm .imm-spot2 > i::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1.5px solid #ffe7a8; animation: imm-stnping 2.4s ease-out infinite; animation-delay: calc(var(--i) * .4s); }
html.imm .imm-spot2 .tipb { position: absolute; left: 50%; bottom: 40px; width: 240px; margin-left: -120px; padding: 12px 14px; border-radius: 12px; background: #0a0f2e; border: 1px solid rgba(230, 195, 111, .7); color: #ece6d6;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .5), 0 0 24px rgba(230, 195, 111, .2); opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .3s, transform .3s; pointer-events: none; text-align: left; }
html.imm .imm-spot2 .tipb b { display: block; font: 400 1.15rem/1.2 'Instrument Serif', serif; color: #ffe7a8; margin-bottom: 4px; } html.imm .imm-spot2 .tipb em { font: 400 .86rem/1.45 'Instrument Sans', sans-serif; color: #cfcbe0; }
html.imm .imm-spot2:hover .tipb, html.imm .imm-spot2:focus-visible .tipb, html.imm .imm-spot2.open .tipb { opacity: 1; transform: none; }
html.imm .imm-spot2:hover > i, html.imm .imm-spot2.open > i { background: #ffe7a8; box-shadow: 0 0 0 3px rgba(9, 13, 38, .6), 0 0 26px 8px rgba(255, 214, 120, 1); }

/* --- Book One: flip cards --- */
html.imm .imm-flip { position: relative; perspective: 1400px; aspect-ratio: 3 / 4; cursor: pointer; }
html.imm .imm-flip > div { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 14px; overflow: hidden; transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
html.imm .imm-ffront img { width: 100%; height: 100%; object-fit: cover; }
html.imm .imm-fback { transform: rotateY(180deg); display: grid; align-content: center; gap: 8px; padding: 24px; text-align: center; color: #ece6d6;
  background: radial-gradient(90% 70% at 50% 0%, rgba(110, 70, 220, .45), transparent 70%), linear-gradient(180deg, #141c50, #0a0f2e); box-shadow: inset 0 0 0 1px rgba(230, 195, 111, .55); }
html.imm .imm-fback small { font: 700 10px/1 'Instrument Sans', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #e6c36f; }
html.imm .imm-fback b { font: 400 2rem/1 'Instrument Serif', serif; color: #f3ecdc; } html.imm .imm-fback p { font-size: .92rem; color: #cfcbe0; margin: 0; }
html.imm .imm-fback .sp { color: #e6c36f; font-size: 1.4rem; text-shadow: 0 0 12px #e6c36f; }
@media (hover: hover) { html.imm .imm-flip:hover .imm-ffront { transform: rotateY(-180deg); } html.imm .imm-flip:hover .imm-fback { transform: rotateY(0deg); } }
html.imm .imm-flip.flipped .imm-ffront { transform: rotateY(-180deg); } html.imm .imm-flip.flipped .imm-fback { transform: rotateY(0deg); }

/* --- Book One: 3D book in the buy box --- */
html.imm .buybox.imm-hasbook { position: relative; padding-right: clamp(24px, 30%, 330px) !important; }
html.imm .buybox.imm-hasbook > .imm-book3d { position: absolute !important; right: clamp(20px, 5%, 60px); top: 50%; width: clamp(150px, 20%, 220px); aspect-ratio: 1; transform: translateY(-50%); perspective: 1200px; cursor: grab; z-index: 3; touch-action: pan-y; }
html.imm .imm-book3d .bk { position: absolute; inset: 0; transform-style: preserve-3d; }
html.imm .imm-book3d .bk i { position: absolute; display: block; }
html.imm .imm-book3d .fr { inset: 0; background-size: cover; border-radius: 2px 6px 6px 2px; transform: translateZ(14px); box-shadow: inset 4px 0 8px rgba(0, 0, 0, .35); }
html.imm .imm-book3d .ba { inset: 0; transform: rotateY(180deg) translateZ(14px); background: radial-gradient(80% 60% at 50% 40%, #23306f, #0b1233); border-radius: 6px 2px 2px 6px; display: grid; place-items: center; }
html.imm .imm-book3d .ba img { width: 40%; }
html.imm .imm-book3d .sp { top: 0; bottom: 0; left: 0; width: 28px; transform: rotateY(-90deg) translateZ(14px); transform-origin: center; margin-left: -14px; background: linear-gradient(90deg, #0b1233, #1d2a6a 50%, #0b1233); display: grid; place-items: center; overflow: hidden; }
html.imm .imm-book3d .sp span { writing-mode: vertical-rl; transform: rotate(180deg); font: 600 7px/1 'Instrument Sans', sans-serif; letter-spacing: .1em; color: #e6c36f; white-space: nowrap; }
html.imm .imm-book3d .pg { top: 3px; bottom: 3px; right: 0; width: 26px; margin-right: -13px; transform: rotateY(90deg) translateZ(0); background: repeating-linear-gradient(90deg, #f3ecdc 0 1px, #d9d0bb 1px 2px); }
html.imm .imm-book3d .tp { left: 0; right: 0; top: 0; height: 26px; margin-top: -13px; transform: rotateX(90deg); background: repeating-linear-gradient(0deg, #f3ecdc 0 1px, #d9d0bb 1px 2px); }
html.imm .imm-book3d .shd { position: absolute; left: 10%; right: 10%; bottom: -14%; height: 14%; background: radial-gradient(ellipse, rgba(0, 0, 0, .55), transparent 70%); filter: blur(4px); }
@media (max-width: 760px) { html.imm .buybox.imm-hasbook { padding-right: 22px !important; padding-top: 240px !important; } html.imm .imm-book3d { top: 30px; right: 50%; transform: translateX(50%); width: 170px; } }

/* --- Book Two: colour returns as you scroll --- */
html.imm img.imm-colour { filter: grayscale(calc(1 - var(--col, 0))) saturate(calc(.6 + var(--col, 0) * .8)) brightness(calc(.85 + var(--col, 0) * .2)); transition: filter .15s linear; }
/* --- Book Two: Heart Crystal --- */
html.imm .edtri.imm-hascrystal { position: relative; }
html.imm .imm-crystal { position: absolute; right: -2%; top: -10px; width: 120px; height: 180px; pointer-events: auto; cursor: pointer; filter: drop-shadow(0 0 18px rgba(120, 200, 255, .8)); animation: imm-hover 5s ease-in-out infinite; }
html.imm .imm-crystal svg { width: 100%; height: 100%; animation: imm-pulse 2.6s ease-in-out infinite; }
@keyframes imm-hover { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes imm-pulse { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.35); } }
html.imm .imm-crystal .ring { position: absolute; left: 50%; top: 55%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; border: 1.5px solid rgba(160, 225, 255, .8); animation: imm-ring 2.6s ease-out infinite; }
html.imm .imm-crystal .r2 { animation-delay: .86s; } html.imm .imm-crystal .r3 { animation-delay: 1.72s; }
@keyframes imm-ring { from { transform: scale(.5); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
html.imm .imm-crystal .beam { position: absolute; left: 50%; top: 50%; height: 2px; width: 0; transform-origin: 0 50%; background: linear-gradient(90deg, rgba(160, 225, 255, .9), transparent); transition: width .9s cubic-bezier(.2, .8, .2, 1); }
html.imm .imm-crystal .b1 { transform: rotate(-160deg); } html.imm .imm-crystal .b2 { transform: rotate(160deg); } html.imm .imm-crystal .b3 { transform: rotate(-200deg) translateY(30px); }
html.imm .imm-crystal:hover .beam { width: 420px; } html.imm .imm-crystal:hover { filter: drop-shadow(0 0 34px rgba(160, 225, 255, 1)); }
@media (max-width: 900px) { html.imm .imm-crystal { position: relative; right: auto; top: auto; margin: 20px auto 0; display: block; } }
/* --- Book Two: red pen --- */
html.imm .imm-pen del { text-decoration: none; background-image: linear-gradient(#d23a2e, #d23a2e); background-repeat: no-repeat; background-position: 0 58%; background-size: 0% 2.5px; transition: background-size 1.1s cubic-bezier(.6, 0, .2, 1); }
html.imm .imm-pen.drawn del { background-size: 100% 2.5px; }
html.imm .imm-pen .cur { opacity: .2; transform: translateY(6px); transition: opacity .8s .9s, transform .8s .9s; }
html.imm .imm-pen.drawn .cur { opacity: 1; transform: none; }
html.imm-shot .imm-pen del { background-size: 100% 2.5px; } html.imm-shot .imm-pen .cur { opacity: 1; transform: none; }

/* --- Book Two: Zylas dossier --- */
html.imm .imm-zylas { position: relative; }
html.imm .imm-zylas .imm-draft { margin-bottom: 18px; }
html.imm .imm-zylas .zhead h2 { margin-bottom: 4px; }
html.imm .imm-zylas .zrole { font: 700 12px/1 'Instrument Sans', sans-serif; letter-spacing: .24em; text-transform: uppercase; color: #8fd8ff; margin: 6px 0 14px; text-shadow: 0 0 12px rgba(143, 216, 255, .5); }
html.imm .imm-zylas .zlede { max-width: 60ch; font-size: 1.12rem; color: #e2dff0; }
html.imm .imm-zylas .zgrid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; margin-top: 30px; align-items: start; }
html.imm .imm-zylas .zport { position: relative; margin: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px rgba(143, 216, 255, .45), 0 40px 90px rgba(0, 0, 0, .55), 0 0 60px rgba(120, 200, 255, .2); }
html.imm .imm-zylas .zport img { width: 100%; display: block; transform: scale(1.06); transition: transform 1.6s cubic-bezier(.2, .8, .2, 1); }
html.imm .imm-zylas.in .zport img { transform: none; }
html.imm .imm-zylas .zglow { position: absolute; inset: 0; background: radial-gradient(40% 30% at 52% 20%, rgba(160, 225, 255, .35), transparent 70%); mix-blend-mode: screen; animation: imm-pulse 3s ease-in-out infinite; pointer-events: none; }
html.imm .imm-zylas .zblock { margin-top: 26px; } html.imm .imm-zylas .zside .zblock:first-child { margin-top: 0; }
html.imm .imm-zylas .zblock h3 { font: 700 11px/1 'Instrument Sans', sans-serif; letter-spacing: .24em; text-transform: uppercase; color: #e6c36f; margin: 0 0 12px; display: flex; align-items: center; gap: 12px; }
html.imm .imm-zylas .zblock h3::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(230, 195, 111, .5), transparent); }
html.imm .imm-zylas .zexpr { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
html.imm .imm-zylas .zx { all: unset; cursor: pointer; border-radius: 12px; overflow: hidden; position: relative; border: 1px solid rgba(143, 216, 255, .25); transition: transform .3s, border-color .3s, box-shadow .3s; }
html.imm .imm-zylas .zx img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.7) brightness(.8); transition: filter .3s; }
html.imm .imm-zylas .zx span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 4px 5px; font: 700 9px/1 'Instrument Sans', sans-serif; letter-spacing: .14em; text-transform: uppercase; text-align: center; color: #f3ecdc; background: linear-gradient(transparent, rgba(5, 8, 23, .9)); }
html.imm .imm-zylas .zx.on { border-color: #8fd8ff; box-shadow: 0 0 22px rgba(143, 216, 255, .45); transform: translateY(-4px); } html.imm .imm-zylas .zx.on img, html.imm .imm-zylas .zx:hover img { filter: none; }
html.imm .imm-zylas .zexview { display: none; }
html.imm .imm-zylas .zturn { position: relative; display: grid; place-items: center; height: 340px; overflow: hidden; border-radius: 18px; cursor: ew-resize; touch-action: pan-y; user-select: none;
  background: radial-gradient(50% 40% at 50% 92%, rgba(143, 216, 255, .25), transparent 70%), linear-gradient(180deg, #0c1238, #070b24); box-shadow: inset 0 0 0 1px rgba(143, 216, 255, .25); }
html.imm .imm-zylas .zturn img { position: absolute; top: 34px; bottom: 30px; left: 0; right: 0; margin: auto; height: calc(100% - 64px); max-width: 92%; width: auto; object-fit: contain; -webkit-user-drag: none; pointer-events: none; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .6)); }
html.imm .imm-zylas .zdots { position: absolute; bottom: 12px; display: flex; gap: 6px; } html.imm .imm-zylas .zdots i { width: 7px; height: 7px; border-radius: 7px; background: rgba(243, 236, 220, .3); transition: width .3s, background .3s; }
html.imm .imm-zylas .zdots i.on { width: 22px; background: #8fd8ff; box-shadow: 0 0 10px #8fd8ff; }
html.imm .imm-zylas .zhint { position: absolute; top: 12px; right: 14px; font: 700 10px/1 'Instrument Sans', sans-serif; letter-spacing: .18em; text-transform: uppercase; color: rgba(143, 216, 255, .8); }
html.imm .imm-zylas .zdet { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
html.imm .imm-zylas .zd { margin: 0; }
html.imm .imm-zylas .zlens { border-radius: 50%; overflow: hidden; aspect-ratio: 1; border: 2px solid rgba(143, 216, 255, .55); box-shadow: 0 0 26px rgba(143, 216, 255, .3), inset 0 0 20px rgba(0, 0, 0, .5); cursor: zoom-in; }
html.imm .imm-zylas .zlens img { width: 100%; height: 100%; object-fit: cover; transform-origin: var(--zx, 50%) var(--zy, 50%); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
html.imm .imm-zylas .zlens:hover img { transform: scale(2.1); }
html.imm .imm-zylas .zd figcaption { text-align: center; margin-top: 10px; } html.imm .imm-zylas .zd b { display: block; font: 700 11px/1.3 'Instrument Sans', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #f3ecdc; }
html.imm .imm-zylas .zd span { font-size: .86rem; color: #b9b6cb; }
html.imm .imm-zylas .zmom { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
html.imm .imm-zylas .zmo { margin: 0; border-radius: 16px; overflow: hidden; background: #0a0f2e; border: 1px solid rgba(143, 216, 255, .22); transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s;
  opacity: 0; transform: translateY(24px); }
html.imm .imm-zylas.in .zmo { opacity: 1; transform: none; transition-delay: calc(var(--i) * 120ms); }
html.imm .imm-zylas .zmo:hover { transform: translateY(-6px) !important; box-shadow: 0 0 30px rgba(143, 216, 255, .3); }
html.imm .imm-zylas .zmo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
html.imm .imm-zylas .zmo figcaption { padding: 12px 14px 14px; } html.imm .imm-zylas .zmo b { display: block; font: 700 11px/1.3 'Instrument Sans', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #f3ecdc; }
html.imm .imm-zylas .zmo span { font-size: .88rem; color: #b9b6cb; }
html.imm-shot .imm-zylas .zmo { opacity: 1; transform: none; }
@media (max-width: 900px) { html.imm .imm-zylas .zgrid { grid-template-columns: minmax(0, 1fr); } html.imm .imm-zylas .zdet, html.imm .imm-zylas .zmom { grid-template-columns: repeat(2, minmax(0, 1fr)); } html.imm .imm-zylas .zexpr { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* --- Book Three: sealed vault --- */
html.imm .imm-vaulted { position: relative; overflow: hidden; border-radius: 6px; }
html.imm .imm-vault { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
html.imm .imm-vault .gl { position: absolute; top: 0; bottom: 0; width: 50.5%; background: linear-gradient(135deg, rgba(200, 220, 255, .35), rgba(90, 110, 200, .55) 45%, rgba(20, 26, 70, .8));
  -webkit-backdrop-filter: blur(10px) saturate(.6); backdrop-filter: blur(10px) saturate(.6); box-shadow: inset 0 0 0 1px rgba(230, 195, 111, .45); transition: transform 1.1s cubic-bezier(.7, 0, .2, 1); }
html.imm .imm-vault .gl.l { left: 0; } html.imm .imm-vault .gl.r { right: 0; }
html.imm .imm-vault .gl::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .35) 50%, transparent 60%); background-size: 250% 100%; animation: imm-sheen 4s linear infinite; }
@keyframes imm-sheen { from { background-position: 150% 0; } to { background-position: -100% 0; } }
html.imm .imm-vault .lock { position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; display: grid; place-items: center; z-index: 2;
  background: radial-gradient(circle at 40% 30%, #3a4596, #0b1233); border: 2px solid #e6c36f; box-shadow: 0 0 30px rgba(230, 195, 111, .55); transition: transform .8s cubic-bezier(.7, 0, .2, 1), opacity .6s .2s; }
html.imm .imm-vault .lock svg { width: 30px; height: 30px; fill: none; stroke: #ffe7a8; stroke-width: 1.8; }
html.imm .imm-vaulted.open .gl.l { transform: translateX(-102%); } html.imm .imm-vaulted.open .gl.r { transform: translateX(102%); }
html.imm .imm-vaulted.open .lock { transform: scale(1.6) rotate(20deg); opacity: 0; }
html.imm .imm-vaulted.open img { filter: drop-shadow(0 0 40px rgba(230, 195, 111, .5)); }

/* --- Behind the Book: live journey line --- */
html.imm ol.jline.imm-jl { position: relative; cursor: grab; }
html.imm .imm-jfill { position: absolute; left: 0; top: 5px; height: 3px; width: 0; border-radius: 3px; background: linear-gradient(90deg, #c8962e, #fff3c4); box-shadow: 0 0 12px #e6c36f; transition: width .5s cubic-bezier(.2, .8, .2, 1); pointer-events: none; z-index: 1; }
html.imm ol.jline.imm-jl li { position: relative; z-index: 2; transition: transform .3s; }
html.imm ol.jline.imm-jl li.done a { color: #ffe7a8 !important; } html.imm ol.jline.imm-jl li.cur { transform: translateY(-3px); }
html.imm ol.jline.imm-jl li.cur::before { box-shadow: 0 0 0 5px rgba(230, 195, 111, .25), 0 0 16px #e6c36f !important; background: #ffe7a8 !important; }

/* --- bookshelf books with a spine you can see --- */
html.imm .imm-bk3 { transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2, .8, .2, 1) !important; }
html.imm .imm-bk3 .imm-bkspine { position: absolute; top: 0; bottom: 0; left: 0; width: 22px; transform-origin: left center; transform: rotateY(90deg); background: linear-gradient(90deg, #070b24, #1e2a6c 45%, #0b1233); box-shadow: inset 0 0 0 1px rgba(230, 195, 111, .3); pointer-events: none; }
html.imm .imm-bk3 .imm-bkpages { position: absolute; top: 3px; bottom: 3px; right: 0; width: 20px; transform-origin: right center; transform: rotateY(-90deg); background: repeating-linear-gradient(90deg, #f3ecdc 0 1px, #d6ccb4 1px 2px); pointer-events: none; }
@media (hover: hover) { html.imm .shelf figure:hover .imm-bk3 { transform: perspective(1100px) rotateY(24deg) translateZ(10px) !important; } }

/* --- new art: Media gallery + phone hero --- */
html.imm .gi.imm-newgi { aspect-ratio: auto; }
html.imm .gi.imm-newgi img { aspect-ratio: 9 / 16; object-fit: cover; }
html.imm[data-look="cinema"] .imm-gal .imm-ctrack > .gi.imm-newgi { width: min(300px, 70vw); }
html.imm .gi.imm-newgi::after { content: "DRAFT CAPTION"; position: absolute; top: 10px; left: 10px; font: 700 9px/1 'Instrument Sans', sans-serif; letter-spacing: .16em; color: #1a1205; background: #ffd66b; padding: 4px 6px; border-radius: 3px; }
.imm-lb { position: fixed; inset: 0; z-index: 10001; display: grid; place-items: center; background: rgba(3, 5, 15, .92); cursor: zoom-out; animation: imm-fin .3s; }
.imm-lb img { max-width: 92vw; max-height: 92vh; border-radius: 10px; box-shadow: 0 0 80px rgba(120, 140, 255, .3); }
.imm-phart { display: none; }
@media (max-width: 767px) {
  html.imm .hero .imm-phart { display: block; position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: 50% 30%; opacity: .5; pointer-events: none;
    -webkit-mask: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 40%, transparent 72%); mask: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 40%, transparent 72%); }
  html.imm[data-look="cinema"] .hero .imm-scene { z-index: 0; }
}

/* --- footer constellation --- */
html.imm footer nav.imm-fnav { position: relative; }
html.imm .imm-fconst { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 0; }
html.imm .imm-fconst path { fill: none; stroke: rgba(230, 195, 111, .28); stroke-width: 1; stroke-dasharray: 2 5; }
html.imm .imm-fconst circle { fill: #e6c36f; filter: drop-shadow(0 0 4px #e6c36f); transition: r .3s; }
html.imm .imm-fconst circle.on { r: 4.5; fill: #fff3c4; }
html.imm footer nav.imm-fnav a { position: relative; z-index: 1; }

/* --- sound toggle --- */
.imm-snd { display: none; }
html.imm .imm-snd { display: grid; place-items: center; position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 96; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(230, 195, 111, .55); background: rgba(9, 13, 38, .8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 8px 24px rgba(0, 0, 0, .35); transition: transform .3s, box-shadow .3s; }
html.imm .imm-snd:hover { transform: scale(1.08); box-shadow: 0 0 24px rgba(230, 195, 111, .4); }
html.imm .imm-snd svg { width: 20px; height: 20px; fill: none; stroke: #f3d488; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
html.imm .imm-snd .w1, html.imm .imm-snd .w2 { display: none; } html.imm .imm-snd.on .w1, html.imm .imm-snd.on .w2 { display: inline; } html.imm .imm-snd.on .x { display: none; }
html.imm .imm-snd.on { box-shadow: 0 0 0 4px rgba(230, 195, 111, .15), 0 0 24px rgba(230, 195, 111, .4); }
html.imm-barup .imm-snd { bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }

/* ===================== LANTERN look ===================== */
html.imm-lantern { background: #efe3c6; }
html.imm-lantern body { background:
    radial-gradient(120% 80% at 85% -10%, rgba(255, 196, 96, .35), transparent 55%),
    radial-gradient(140% 120% at 50% 50%, transparent 60%, rgba(74, 44, 14, .28)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .32 0 0 0 0 .16 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #f3e8cc, #ecdcb9); background-attachment: fixed; color: #2b2116; }
html.imm-lantern main > section:is(.sec, .phead, .cs-sec):not(.dark):not(.lumora-body):not(.legacy-body):not(.bhero):not([style*="background"]), html.imm-lantern .paper { background: transparent !important; }
html.imm-lantern { --navy: #1c1a3a; --mute: #5a4b3a; --gold: #a8741c; }
html.imm-lantern main > section.imm-page { transform-origin: 50% 0%; }
html.imm-lantern main > section.imm-page:is(.lumora-body, .legacy-body, [style*="background"]) { box-shadow: inset 0 0 0 10px rgba(0, 0, 0, .0); }
html.imm-lantern.imm-motion main > section.imm-page > .wrap { opacity: 0; transform: perspective(1400px) rotateX(14deg) translateY(50px); transform-origin: 50% 100%; transition: opacity 1.1s cubic-bezier(.2, .8, .2, 1), transform 1.3s cubic-bezier(.2, .8, .2, 1); }
html.imm-lantern.imm-motion main > section.imm-page.risen > .wrap { opacity: 1; transform: none; }
html.imm-lantern main > section.imm-page + section.imm-page { box-shadow: none; }
html.imm-lantern main > section.imm-page::before { content: ""; position: absolute; left: 6%; right: 6%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(168, 116, 28, .55), transparent); }
html.imm-lantern main > section.imm-page { position: relative; }
html.imm-lantern :is(h1, h2) em, html.imm-lantern .bigtxt em { background: linear-gradient(100deg, #8a5a12 0%, #d9a640 25%, #ffe9a8 35%, #c08a2a 50%, #8a5a12 70%, #d9a640 100%); background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: imm-goldflow 8s linear infinite; }
html.imm-lantern .sec.dark, html.imm-lantern .ctab { background: radial-gradient(70% 90% at 80% 0%, rgba(255, 190, 90, .14), transparent 60%), linear-gradient(180deg, #1d1a36, #12112a) !important; color: #efe3c6;
  box-shadow: inset 0 0 0 10px #1b1832, inset 0 0 0 11px rgba(214, 170, 80, .55), inset 0 0 0 16px #1b1832, inset 0 0 0 17px rgba(214, 170, 80, .3); }
html.imm-lantern .hero { background: radial-gradient(60% 70% at 82% 18%, rgba(255, 186, 90, .55), transparent 60%), radial-gradient(90% 90% at 70% 30%, #3a2a4a, #15122a 70%) !important; }
html.imm-lantern .imm-beam { position: fixed; inset: -10% -10% auto auto; width: 80vw; height: 130vh; z-index: 0; pointer-events: none; transform: rotate(28deg); transform-origin: 100% 0;
  background: linear-gradient(90deg, transparent, rgba(255, 214, 140, .14) 40%, rgba(255, 226, 170, .2) 50%, rgba(255, 214, 140, .14) 60%, transparent); mix-blend-mode: soft-light; animation: imm-flicker 6s ease-in-out infinite; }
@keyframes imm-flicker { 0%, 100% { opacity: .85; } 40% { opacity: 1; } 55% { opacity: .78; } 70% { opacity: .95; } }
html.imm-lantern .imm-dust { position: fixed; inset: 0; z-index: 9989; pointer-events: none; }
html.imm-lantern.imm-motion, html.imm-lantern.imm-motion a, html.imm-lantern.imm-motion button { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M30 2C18 4 9 12 5 24l3 1C11 15 19 8 30 2z' fill='%23c08a2a' stroke='%235a3a0c' stroke-width='1'/%3E%3Cpath d='M5 24l-3 6 6-3' fill='%232b2116'/%3E%3C/svg%3E") 2 30, auto; }
html.imm-lantern .slist li, html.imm-lantern .plist li, html.imm-lantern .cost2 > div, html.imm-lantern .labels > div { background: rgba(255, 250, 238, .55); border-color: rgba(168, 116, 28, .3) !important; }
html.imm-lantern .cvw, html.imm-lantern figure img { box-shadow: 0 2px 0 #fff8e8, 0 18px 40px rgba(74, 44, 14, .28); }
html.imm-lantern .hdr.sc:not(.dk), html.imm-lantern .hdr:not(.dk) { background: rgba(243, 232, 204, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(168, 116, 28, .3); }
html.imm-lantern .hdr.dk.sc { background: rgba(28, 26, 58, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
html.imm-lantern .hero .imm-arc { opacity: .9; }
html.imm-lantern .gb { box-shadow: 0 0 0 1px rgba(255, 236, 190, .4), 0 10px 26px rgba(168, 116, 28, .35); }
html.imm-lantern .imm-num::before { -webkit-text-stroke-color: rgba(168, 116, 28, .5) !important; }
html.imm-lantern .foot { background: #15122a; }
html.imm-shot.imm-lantern main > section.imm-page > .wrap { opacity: 1; transform: none; }
html.imm-shot img.imm-colour { --col: 1 !important; }
/* ===== Round 5: the finished Night site ===== */
/* keyboard focus that is easy to see everywhere */
html.imm :is(a, button, summary, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid #ffe7a8 !important; outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 6px rgba(230, 195, 111, .18); }

/* ---------- FAQ ---------- */
html.imm #faq.imm-faq5 > .wrap.two { display: block; }
html.imm #faq.imm-faq5 > .wrap.two > div:first-child { max-width: 760px; margin-bottom: 8px; }
html.imm #faq.imm-faq5 > .wrap.two > div:last-child > p:first-child { max-width: 70ch; }
html.imm #faq.imm-faq5 .faq { max-width: none; margin-top: 18px; display: grid; gap: 12px; }
html.imm .imm-fqbar { position: sticky; top: calc(var(--hh, 72px) + 10px); z-index: 5; margin-top: 30px; padding: 16px; border-radius: 20px; background: rgba(8, 12, 36, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(230, 195, 111, .28); box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
html.imm .imm-fqsearch { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 999px; background: rgba(243, 236, 220, .06); border: 1px solid rgba(230, 195, 111, .4); transition: border-color .3s, box-shadow .3s; }
html.imm .imm-fqsearch:focus-within { border-color: #ffe7a8; box-shadow: 0 0 26px rgba(230, 195, 111, .25); }
html.imm .imm-fqsearch svg { width: 20px; height: 20px; fill: none; stroke: #e6c36f; stroke-width: 2; flex: none; }
html.imm .imm-fqsearch input { all: unset; flex: 1; min-width: 0; color: #f3ecdc; font: 400 1.05rem 'Instrument Sans', system-ui, sans-serif; }
html.imm .imm-fqsearch input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
html.imm .imm-fqsearch input::placeholder { color: rgba(243, 236, 220, .55); }
html.imm .imm-fqsearch input:focus-visible { outline: none !important; box-shadow: none; }
html.imm .imm-fqsearch .clr { all: unset; cursor: pointer; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #e6c36f; font-size: 20px; background: rgba(230, 195, 111, .12); }
html.imm .imm-fqcats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
html.imm .imm-fqcats button { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 14px; border-radius: 999px; border: 1px solid rgba(230, 195, 111, .32); color: #e9e3d3; font: 600 13px/1.2 'Instrument Sans', system-ui, sans-serif; transition: background .25s, border-color .25s, color .25s, transform .25s; }
html.imm .imm-fqcats button i { font-style: normal; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; display: grid; place-items: center; font-size: 11.5px; background: rgba(230, 195, 111, .16); color: #ffe7a8; }
html.imm .imm-fqcats button:hover { border-color: #ffe7a8; transform: translateY(-1px); }
html.imm .imm-fqcats button[aria-pressed="true"] { background: linear-gradient(135deg, #e6c36f, #c8962e); border-color: transparent; color: #0b1230; }
html.imm .imm-fqcats button[aria-pressed="true"] i { background: rgba(11, 18, 48, .18); color: #0b1230; }
html.imm .imm-fqcount { margin: 10px 4px 0; font: 700 11.5px 'Instrument Sans', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #e6c36f; }
html.imm #faq.imm-faq5 .faq details { border: 1px solid rgba(230, 195, 111, .2) !important; border-radius: 16px; background: linear-gradient(180deg, rgba(20, 28, 70, .55), rgba(10, 15, 44, .55)); transition: border-color .3s, background .3s, box-shadow .3s; overflow: hidden; }
html.imm #faq.imm-faq5 .faq details:hover { border-color: rgba(230, 195, 111, .5) !important; }
html.imm #faq.imm-faq5 .faq details[open] { border-color: rgba(230, 195, 111, .65) !important; box-shadow: inset 3px 0 0 #e6c36f, 0 16px 40px rgba(0, 0, 0, .3); background: linear-gradient(180deg, rgba(36, 40, 92, .6), rgba(12, 18, 50, .6)); }
html.imm #faq.imm-faq5 .faq summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 20px 64px 20px 24px; color: #f3ecdc; font: 400 1.32rem/1.25 'Instrument Serif', Georgia, serif; }
html.imm #faq.imm-faq5 .faq summary::after { content: ""; right: 22px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; border: 1px solid rgba(230, 195, 111, .55);
  background: linear-gradient(#e6c36f, #e6c36f) center / 12px 1.6px no-repeat, linear-gradient(#e6c36f, #e6c36f) center / 1.6px 12px no-repeat; transition: transform .35s cubic-bezier(.2, .8, .2, 1), background-color .3s; }
html.imm #faq.imm-faq5 .faq details[open] summary::after { content: ""; transform: rotate(135deg); background-color: rgba(230, 195, 111, .15); }
html.imm #faq.imm-faq5 .imm-fqq { flex: 1 1 320px; min-width: 0; }
html.imm #faq.imm-faq5 .imm-fqq mark { background: none; color: #ffe7a8; box-shadow: inset 0 -.38em 0 rgba(230, 195, 111, .35); border-radius: 2px; }
html.imm .imm-fqtag { font: 700 11.5px/1 'Instrument Sans', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #e6c36f; opacity: .85; }
html.imm .imm-fqdraft { font: 700 10.5px/1 'Instrument Sans', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #0b1230; background: #f1c84b; padding: 4px 7px; border-radius: 5px; }
html.imm #faq.imm-faq5 .imm-fqa { padding: 0 24px 4px; }
html.imm #faq.imm-faq5 .imm-fqa p { color: #d6d2e4 !important; font-size: 1.02rem; line-height: 1.7; max-width: 72ch; margin: 0 0 20px; }
html.imm #faq.imm-faq5 .imm-fqa a, html.imm .imm-fqmore a:not(.gb), html.imm .imm-fqempty a { color: #ffe7a8; text-decoration: underline; text-decoration-color: rgba(230, 195, 111, .5); text-underline-offset: 3px; }
html.imm .imm-fqempty { margin: 18px 4px; color: #d6d2e4; }
html.imm .imm-fqmore { margin-top: 34px; padding: 26px 28px; border-radius: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; border: 1px solid rgba(230, 195, 111, .35); background: radial-gradient(120% 140% at 0% 0%, rgba(80, 60, 170, .35), rgba(10, 15, 44, .6)); }
html.imm .imm-fqmore .h { margin: 0; flex: 1 1 100%; font: 400 1.7rem/1.1 'Instrument Serif', Georgia, serif; color: #f3ecdc; }
html.imm .imm-fqmore .ln { display: flex; flex-wrap: wrap; gap: 10px 22px; flex: 1 1 420px; }
html.imm .imm-fqmore .ln a { font: 600 .95rem 'Instrument Sans', sans-serif; }
html.imm-motion #faq.imm-faq5 .faq details:not([hidden]) { animation: imm-fqin .45s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes imm-fqin { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 700px) {
  html.imm .imm-fqbar { position: static; padding: 12px; }
  html.imm .imm-fqcats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -12px; padding-right: 12px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  html.imm .imm-fqcats button { flex: none; padding: 10px 12px 10px 14px; }
  html.imm #faq.imm-faq5 .faq summary { padding: 18px 56px 18px 18px; font-size: 1.18rem; }
  html.imm #faq.imm-faq5 .faq summary::after { right: 14px; }
  html.imm #faq.imm-faq5 .imm-fqa { padding: 0 18px 2px; }
}

/* ---------- For Authors: a larger, clearer constellation ---------- */
html.imm .imm-const { height: clamp(460px, 38vw, 560px) !important; }
html.imm .imm-cstar span { font-size: 12px !important; width: 128px !important; max-width: 128px !important; color: rgba(243, 236, 220, .9) !important; }
html.imm .imm-cstar i { width: 14px !important; height: 14px !important; left: -7px !important; top: -7px !important; }
html.imm .imm-cstar::before { content: ""; position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; }
html.imm .imm-cstar:focus-visible { outline: none !important; box-shadow: none; }
html.imm .imm-cstar:focus-visible i { transform: scale(1.7); box-shadow: 0 0 0 3px #0b1230, 0 0 0 5px #ffe7a8, 0 0 28px 8px rgba(255, 220, 140, .8); }
html.imm .imm-cstar:focus-visible span { color: #ffe7a8 !important; }
html.imm .imm-cpanel b { font-size: 1.5rem !important; } html.imm .imm-cpanel p { font-size: 1rem !important; }

/* ---------- home: the bridge stages read more easily and answer the keyboard ---------- */
html.imm[data-look="cinema"] .imm-stn .nm { font-size: 11.5px; color: rgba(243, 236, 220, .92); }
html.imm[data-look="cinema"] .imm-stn .tip { transition: opacity .35s cubic-bezier(.2, .8, .2, 1), transform .35s cubic-bezier(.2, .8, .2, 1); font-size: 14px; }
html.imm[data-look="cinema"] .imm-stn.kb { z-index: 6; }
html.imm[data-look="cinema"] .imm-stn.kb .tip { opacity: 1; transform: none; }
html.imm[data-look="cinema"] .imm-stn.kb .nm { color: #ffe7a8; }
html.imm[data-look="cinema"] .imm-stn.kb b { box-shadow: 0 0 0 2px #ffe7a8; }

/* ---------- carousels: clearer controls ---------- */
html.imm[data-look="cinema"] .imm-arw { border: 1.5px solid rgba(230, 195, 111, .75) !important; background: rgba(10, 16, 46, .85); }
html.imm[data-look="cinema"] .imm-dots i { position: relative; }
html.imm[data-look="cinema"] .imm-dots i::before { content: ""; position: absolute; inset: -8px -4px; }
html.imm[data-look="cinema"] .imm-flow .imm-ctrack > *:not(.imm-act) { filter: saturate(.9) brightness(.9); }

/* ---------- Books: bigger covers and a clear available / in development label ---------- */
html.imm .shelf { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.2vw, 48px); align-items: start; }
html.imm .shelf .mk { margin-top: 0 !important; }
html.imm .shelf .mk .cvw { width: 100%; }
html.imm .shelf .mk em { display: inline-block; margin-bottom: 10px; padding: 6px 11px; border-radius: 999px; font-size: 11.5px; letter-spacing: .14em; border: 1px solid rgba(190, 170, 255, .55); color: #ddd3ff; background: rgba(120, 90, 220, .16); }
html.imm .shelf .mk:first-child em { border-color: transparent; color: #0b1230; background: linear-gradient(135deg, #f0cf7c, #c8962e); box-shadow: 0 0 18px rgba(230, 195, 111, .45); }
html.imm .shelf .mk b { font-size: 2rem; }
@media (min-width: 1100px) { html.imm section:has(> .wrap > .shelf) > .wrap { max-width: 1320px; } }
@media (max-width: 900px) { html.imm .shelf { display: flex !important; } }

/* ---------- Book One: character cards answer the keyboard ---------- */
html.imm .imm-flip:focus-visible .imm-ffront { transform: rotateY(-180deg); }
html.imm .imm-flip:focus-visible .imm-fback { transform: rotateY(0deg); }
html.imm .imm-flip.flipped .imm-ffront { transform: rotateY(-180deg); }
html.imm .imm-flip.flipped .imm-fback { transform: rotateY(0deg); }

/* ---------- Book Two: the turnaround can be turned with the arrow keys ---------- */
html.imm .imm-zylas .zturn:focus-visible { outline-offset: 4px; }

/* ---------- lighter effects on phones (smoother scrolling, longer battery) ---------- */
html.imm-lite .imm-fx, html.imm-lite .imm-cursor { display: none !important; }
html.imm-lite .imm-book3d { animation: none !important; }
html.imm-lite .imm-map .mlines path { animation: none !important; }

/* ---------- Book Two: the Heart Crystal no longer sits over the words, and answers a tap too ---------- */
@media (min-width: 901px) { html.imm .imm-hascrystal { padding-right: 170px !important; } }
html.imm .imm-crystal.on .beam { width: 420px; }
html.imm .imm-crystal.on { filter: drop-shadow(0 0 34px rgba(160, 225, 255, 1)); }
@media (max-width: 900px) { html.imm .imm-crystal.on .beam { width: 42vw; } }

/* ---------- home: stage descriptions never run off either side of the screen ---------- */
html.imm[data-look="cinema"] .imm-stn.fl .tip { left: auto !important; right: -20px !important; }
html.imm[data-look="cinema"] .imm-stn.fr .tip { right: auto !important; left: -20px !important; }

/* ---------- visual book examples ---------- */
html.imm .imm-show { grid-column: 1 / -1; display: grid; gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(34px, 4vw, 54px); grid-template-columns: repeat(4, minmax(0, 1fr)); }
html.imm .imm-show.five { grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 30px 0 10px; }
html.imm .imm-show.wide { grid-column: 1 / -1; }
html.imm .imm-sc { margin: 0; display: grid; grid-template-rows: auto 1fr; border-radius: 16px; overflow: hidden; text-decoration: none; background: linear-gradient(180deg, rgba(22, 30, 74, .7), rgba(10, 15, 44, .75)); border: 1px solid rgba(230, 195, 111, .22); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); transition: transform .45s cubic-bezier(.2, .8, .2, 1), border-color .35s, box-shadow .45s; }
html.imm .imm-sc:hover, html.imm .imm-sc:focus-within { transform: translateY(-6px); border-color: rgba(255, 231, 168, .7); box-shadow: 0 26px 60px rgba(0, 0, 0, .45), 0 0 30px rgba(230, 195, 111, .18); }
html.imm .imm-sc .th { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #070b22; cursor: zoom-in; }
html.imm a.imm-sc .th { cursor: pointer; }
html.imm .imm-sc .th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
html.imm .imm-sc:hover .th img { transform: scale(1.05); }
html.imm .imm-sc .zz { all: unset; position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(9, 13, 38, .85); border: 1px solid rgba(230, 195, 111, .55); cursor: pointer; }
html.imm .imm-sc .zz svg { width: 16px; height: 16px; fill: none; stroke: #ffe7a8; stroke-width: 1.8; stroke-linecap: round; }
html.imm .imm-sc .cp { display: grid; gap: 4px; padding: 14px 16px 16px; }
html.imm .imm-sc .cp em { font: 700 11.5px/1.2 'Instrument Sans', sans-serif; font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: #e6c36f; }
html.imm .imm-sc .cp b { font: 400 1.2rem/1.2 'Instrument Serif', Georgia, serif; color: #f3ecdc; }
html.imm .imm-sc .cp span { font-size: .9rem; line-height: 1.45; color: #c9c5da; }
html.imm .imm-sc .th.doc { background: #fbf7ee; display: grid; place-items: center; padding: 8%; cursor: pointer; }
html.imm .imm-sc .pgmini { width: 100%; font-size: 11.5px; line-height: 1.45; color: #2b2b33; }
html.imm .imm-sc .pgmini .tg { display: block; font: 700 9.5px/1 'Instrument Sans', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #9a7a3a; margin: 6px 0 4px; font-style: normal; }
html.imm .imm-sc .pgmini s { color: #b3261e; text-decoration-thickness: 1.5px; }
html.imm .imm-sc .pgmini p { margin: 0; color: #1d1d24 !important; font-weight: 600; }
html.imm .imm-show::before { content: "Draft captions \2014 for approval"; grid-column: 1 / -1; justify-self: start; font: 700 10.5px/1 'Instrument Sans', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #0b1230; background: #f1c84b; padding: 5px 8px; border-radius: 5px; }
/* Books page: each entry has its picture */
html.imm #in-this-section li.imm-hasthumb { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 24px; align-items: center; }
html.imm #in-this-section li.imm-hasthumb > * { grid-column: 2; }
html.imm #in-this-section li.imm-hasthumb > .imm-lithumb { grid-column: 1; grid-row: 1 / span 2; display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 1px solid rgba(230, 195, 111, .3); box-shadow: 0 14px 30px rgba(0, 0, 0, .4); }
html.imm #in-this-section .imm-lithumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
html.imm #in-this-section li:hover .imm-lithumb img { transform: scale(1.06); }
@media (max-width: 1100px) { html.imm .imm-show, html.imm .imm-show.five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { html.imm .imm-show, html.imm .imm-show.five { grid-template-columns: repeat(2, minmax(0, 1fr)); } html.imm .imm-sc .cp { padding: 12px; } html.imm .imm-sc .cp span { font-size: .84rem; }
  html.imm #in-this-section li.imm-hasthumb { grid-template-columns: 84px minmax(0, 1fr); column-gap: 16px; } }
@media (max-width: 420px) { html.imm .imm-show.four, html.imm .imm-show.five { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* ===== Big screens (large monitors and 4K TVs): the layout grows with the screen instead of sitting in a narrow column.
   Laptops and normal desktops (under 2000px wide) are untouched. Words, colours and artwork are unchanged; only the size. ===== */
@media (min-width: 2000px) { html:not([data-look="original"]) { --z: 1.15; } }
@media (min-width: 2300px) { html:not([data-look="original"]) { --z: 1.3; } }
@media (min-width: 2600px) { html:not([data-look="original"]) { --z: 1.45; } }
@media (min-width: 3000px) { html:not([data-look="original"]) { --z: 1.65; } }
@media (min-width: 3400px) { html:not([data-look="original"]) { --z: 1.9; } }
@media (min-width: 3800px) { html:not([data-look="original"]) { --z: 2.15; } }
@media (min-width: 4400px) { html:not([data-look="original"]) { --z: 2.4; } }
@media (min-width: 2000px) {
  html:not([data-look="original"]) { --hh: calc(72px * var(--z)) !important; }
  html:not([data-look="original"]) .hero { --chw: min(50vw, calc(800px * var(--z))); }
  /* content columns scale as a whole: type, spacing, cards and pictures together */
  html:not([data-look="original"]) :is(.wrap, .hcopy, .fwrap, .fcontact, .fc, .subnav ul, .aph) { zoom: var(--z); }
  html:not([data-look="original"]) .wrap { padding-left: calc(max(5vw, 20px) / var(--z)); padding-right: calc(max(5vw, 20px) / var(--z)); }
  html:not([data-look="original"]) .hcopy { padding-top: calc((var(--hh) + clamp(36px, 7vh, 80px)) / var(--z)); padding-left: calc(max(5vw, 20px) / var(--z)); padding-right: calc(max(5vw, 20px) / var(--z)); }
  html:not([data-look="original"]) .subnav { height: calc(50px * var(--z)); }
  html:not([data-look="original"]) .subnav ul { padding-left: calc(max(5vw, 20px) / var(--z)); padding-right: calc(max(5vw, 20px) / var(--z)); }
  html:not([data-look="original"]) .aph { min-height: calc(min(72vh, 580px * var(--z)) / var(--z)); }
  /* header: same bar, bigger logo and links */
  html:not([data-look="original"]) .hdr > * { zoom: var(--z); }
  /* section spacing grows too */
  html:not([data-look="original"]) .sec { padding-top: clamp(64px, 9vw, calc(128px * var(--z))); padding-bottom: clamp(64px, 9vw, calc(128px * var(--z))); }
  html:not([data-look="original"]) .foot { padding-top: calc(70px * var(--z)); padding-bottom: calc(36px * var(--z)); }
  /* wide banners: centred and allowed to grow */
  html:not([data-look="original"]) .banner { max-height: calc(560px * var(--z)); margin-left: auto; margin-right: auto; }
  /* floating controls */
  html:not([data-look="original"]) :is(.totop, .imm-switch, .imm-badge, .imm-snd, .imm-rail, .imm-folio, #lb > *) { zoom: var(--z); }
  /* bridge stages: the positions come from the scene in screen pixels, so only the labels themselves are enlarged */
  html:not([data-look="original"]) .imm-stn > * { zoom: var(--z); }
  html:not([data-look="original"]) .imm-ends > i { scale: var(--z); }
}
@media (min-width: 2000px) {
  /* things measured from the screen size inside a scaled column are divided back, so they still fit the screen */
  html.imm:is([data-look="atlas"],[data-look="cinema"]) #studio > .wrap { top: calc((var(--hh) + 6vh) / var(--z)); }
  html.imm:is([data-look="atlas"],[data-look="cinema"]) #studio .disc.imm-marq { width: calc(100vw / var(--z)); margin-left: calc(50% - 50vw / var(--z)); margin-top: calc(7vh / var(--z)); }
  html.imm[data-look="cinema"] .imm-car .imm-ctrack { width: calc(100vw / var(--z)); margin-left: calc(50% - 50vw / var(--z)); margin-right: calc(50% - 50vw / var(--z)); }
  html.imm[data-look="cinema"] .imm-svc .imm-ctrack { padding-inline: calc(50vw / var(--z) - 190px); }
  html.imm[data-look="cinema"] .imm-world .imm-ctrack { padding-inline: calc(50vw / var(--z) - 165px); }
  html.imm[data-look="cinema"] .imm-gal .imm-ctrack { padding-inline: calc(50vw / var(--z) - 280px); }
}
/* wide screens: the home-page headline sits on the left so it never runs into the bridge on the right */
@media (min-width: 1500px) { html.imm .hero .hcopy { margin-left: 0; } }
/* nothing may push the page sideways at any size */
html.imm, html.imm body { overflow-x: clip; }
/* ===== Round 6: Stage 1 corrections (layout only: no words, colours or artwork change) ===== */
/* Book One key art: shown whole so the full title "Nebula and the Glimmernauts - Book One: The Signal in the Stars" and the characters are never cropped */
html.imm .banner:not(.dim) { aspect-ratio: 1773 / 887 !important; max-height: none !important; }
html.imm .banner:not(.dim) img { object-position: 50% 50%; }
/* gallery thumbnails that carry titles: whole picture on a blurred backdrop */
html.imm .imm-sc .th.whole img.bk { object-fit: cover; filter: blur(16px) brightness(.5) saturate(1.2); transform: scale(1.18); }
html.imm .imm-sc .th.whole img.fg { object-fit: contain; padding: 8px; box-sizing: border-box; filter: drop-shadow(0 8px 18px rgba(0,0,0,.55)); }
html.imm .imm-sc:hover .th.whole img.fg { transform: scale(1.03); }
/* section menus that scroll sideways show soft edges, so a cut-off word reads as "more this way" rather than a mistake */
html.imm .subnav ul.imm-ovs { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
html.imm .subnav ul.imm-ove { -webkit-mask-image: linear-gradient(90deg, transparent, #000 44px); mask-image: linear-gradient(90deg, transparent, #000 44px); }
html.imm .subnav ul.imm-ovs.imm-ove { -webkit-mask-image: linear-gradient(90deg, transparent, #000 44px, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, transparent, #000 44px, #000 calc(100% - 44px), transparent); }
@media (min-width: 1024px) { html.imm .subnav a { padding-left: 11px; padding-right: 11px; } }
/* the "now accepting" badge sits below a page's section menu instead of on top of it */
html.imm.imm-hassub[data-look="cinema"] .imm-badge { top: calc(var(--hh, 72px) + 50px * var(--z, 1) + 14px); }
/* tablets: character sheets keep the picture beside the notes instead of leaving a wide empty column */
@media (min-width: 600px) and (max-width: 1000px) { html.imm .crow { grid-template-columns: minmax(0, 240px) 1fr; gap: 28px; } html.imm .crow figure { max-width: none; } }
/* phones: the sound switch moves up into the header bar, beside the menu button, so it never sits on top of page text */
@media (max-width: 760px) {
  html.imm .imm-snd, html.imm-barup .imm-snd { top: calc((var(--hh, 64px) - 40px) / 2); bottom: auto; right: calc(max(5vw, 20px) + 44px); width: 40px; height: 40px; z-index: 101; }
  html.imm body.navopen ~ .imm-snd, html.imm body.navopen .imm-snd { opacity: 0; pointer-events: none; }
}
/* phones: when the Submit bar is up, the back-to-top button sits inside the bar on the right instead of floating over the text */
@media (max-width: 760px) {
  html.imm-barup[data-look="cinema"] .imm-mbar { padding-right: calc(max(14px, env(safe-area-inset-right, 0px)) + 58px); }
  html.imm-barup[data-look="cinema"] .totop, html.imm-barup[data-look="cinema"] [class*="top"][aria-label*="top" i] { bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important; right: max(14px, env(safe-area-inset-right, 0px)) !important; z-index: 97; }
}

/* phone menu: a blurred header would trap the full-screen menu inside its 63px height, so drop the blur while the menu is open */
html.imm body.navopen .hdr { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
/* Author Projects: menu groups and status labels, project cards, the "Your Story Could Be Next." call to action. Night palette only. */
.ap-sub .ap-grp{display:block;padding:12px 18px 4px;font:700 .6rem 'Instrument Sans',sans-serif;letter-spacing:.22em;text-transform:uppercase;color:#d9b25a;opacity:.85;border-top:1px solid #ffffff14;margin-top:6px}
.ap-sub a+.ap-grp{margin-top:6px}
.ap-sub .ap-st{display:inline-block;margin-left:8px;padding:2px 6px;border-radius:4px;font:700 .55rem 'Instrument Sans',sans-serif;letter-spacing:.12em;vertical-align:1px;white-space:nowrap}
.ap-st.ap-completed{background:#e6c36f;color:#0b1230}
.ap-st.ap-development{background:#2b3c86;color:#dfe6ff;border:1px solid #6f86e0}
@media (min-width:1024px){.ap-dd .ap-sub{min-width:330px;max-height:min(72vh,560px);overflow-y:auto;overscroll-behavior:contain}}
@media (max-width:1023px){.ap-sub .ap-grp{padding:10px 0 2px;border-top:0;margin-top:4px}}
/* project cards (Author Projects page and Books page) */
.ap-wrap{margin-top:44px}
.ap-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,520px),1fr));gap:28px;margin-top:22px}
.ap-card{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);border-radius:18px;overflow:hidden;border:1px solid rgba(230,195,111,.4);background:rgba(16,22,60,.82);box-shadow:0 30px 70px rgba(0,0,0,.4);text-decoration:none;color:inherit;transition:transform .5s cubic-bezier(.2,.8,.2,1),border-color .4s}
.ap-card:hover,.ap-card:focus-visible{transform:translateY(-6px);border-color:rgba(255,231,168,.85)}
.ap-card .im{position:relative;min-height:240px;background:#070b22}
.ap-card .im img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ap-card .tx{padding:26px 28px;display:grid;gap:10px;align-content:center}
.ap-card .ap-st{justify-self:start;font:700 .62rem 'Instrument Sans',sans-serif;letter-spacing:.16em;text-transform:uppercase;padding:6px 10px;border-radius:5px}
.ap-card .k{font:700 .66rem 'Instrument Sans',sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#e6c36f;margin:0}
.ap-card h3{font:400 2.1rem/1.05 'Instrument Serif',serif;color:#f3ecdc;margin:0}
.ap-card p{margin:0;color:#c9c5da;line-height:1.6}
.ap-card .ap-tags{list-style:none;display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 0;padding:0}
.ap-card .ap-tags li{font:600 .66rem 'Instrument Sans',sans-serif;letter-spacing:.06em;color:#e9e3d3;border:1px solid #ffffff2a;border-radius:999px;padding:3px 9px}
.ap-card .go{color:#ffe7a8;font:600 .95rem 'Instrument Sans',sans-serif}
@media (max-width:820px){.ap-card{grid-template-columns:1fr}.ap-card .im{min-height:0;aspect-ratio:1012/528}}
/* Books page: client author projects band */
.ap-books{background:radial-gradient(60% 80% at 85% 0%,#2a2f6a55,transparent),linear-gradient(180deg,#0b1230,#0f1a3d);color:#e9e3d3}
.ap-books h2{color:#f3ecdc}.ap-books h2 em{color:#e6c36f}
.ap-books .ap-intro{max-width:64ch;color:#c9c5da;margin:0}
/* call to action on every approved author showcase */
.ap-cta{border-top:1px solid rgba(230,195,111,.35)}
.ap-cta h2 em{color:#e6c36f}
.ap-cta .gb{font-size:1rem;padding:16px 30px}

/* website submission form: personalised confirmation line */
.done-panel .done-ref{color:#ffe7a8;font-weight:600}
.done-panel .done-ref strong{letter-spacing:.06em;white-space:nowrap}

/* ===== V4 refinement (preview only) ===== */
/* 1. Home page: the eight approved service photographs. 4:3 frame = the photos' own shape, so nothing is cropped or stretched. */
html.imm[data-look="cinema"] .imm-sart.imm-photo,
html.imm[data-look="cinema"] .imm-svc .imm-ctrack > li .imm-sart.imm-photo { aspect-ratio: 4 / 3; background: #0b1233; overflow: hidden; }
html.imm .imm-photo picture, html.imm .imm-photo img { display: block; width: 100%; height: 100%; }
html.imm .imm-photo img { object-fit: cover; object-position: center; }
/* a soft navy fade only along the bottom edge, so the card number and title below always sit on navy */
html.imm[data-look="cinema"] .imm-sart.imm-photo::after { background: linear-gradient(180deg, rgba(15, 24, 64, 0) 78%, rgba(15, 24, 64, .85) 100%); pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  html.imm[data-look="cinema"] .imm-sart.imm-photo { transition: none !important; }
  html.imm[data-look="cinema"] #services .slist li:hover .imm-sart.imm-photo { transform: none !important; }
}

/* 2. Stray light panels on dark pages become navy with a gold border (book pages, manuscript sheets and artwork stay light on purpose) */
html.imm :is(.next, .labels > div, .cost2 > div, .ap-tk, .cfbcard) {
  background: linear-gradient(180deg, rgba(27, 36, 92, .92), rgba(15, 24, 64, .96)) !important;
  border: 1px solid rgba(230, 195, 111, .55) !important; border-radius: 14px; color: #d9d4e6;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 231, 168, .08);
}
html.imm :is(.next h2, .labels dt, .cost2 h3, .ap-tk h3) { color: #f3ecdc !important; }
html.imm :is(.next ol, .next li) { color: #ece6d6 !important; }
html.imm .next ol li::marker { color: #e6c36f; }
html.imm :is(.next p, .labels dd, .cost2 ul, .cost2 li, .ap-tk li, .cfbcard p) { color: #cfcade !important; }
html.imm :is(.cost2 li b, .ap-tk li b) { color: #f3ecdc !important; }
html.imm :is(.next a, .cfbcard a) { color: #e6c36f !important; text-decoration-color: rgba(230, 195, 111, .55); }
html.imm :is(.next a, .cfbcard a):hover { color: #ffe7a8 !important; }
html.imm .ap-tk :is(.tk-ben, .ap-tkn) { color: #cfcade !important; border-color: rgba(230, 195, 111, .25) !important; }
html.imm .ap-tk .tk-ben b { color: #e6c36f !important; }
html.imm .ap-tk .tk-ic { outline: 1px solid rgba(243, 236, 220, .18); border-radius: 7px; }

/* 3. Footer: LinkedIn sits directly beneath Facebook, same style */
.fsoc .soc-li { display: flex; width: max-content; max-width: 100%; margin-top: 18px; }
.fsoc .soc-li img { border-radius: 4px; }

/* 4. Readability: gold labels on the light manuscript sheet (Behind the Book) use a deeper gold so small text passes WCAG AA (3.2:1 -> 5.1:1) */
html.imm[data-look="cinema"] .msheet.msheet, html.imm .msheet.msheet { --gold: #8a6420; }
