/* REVIEW 2026-12-01 copy of ../../shared/ivory.css (original unchanged); theme scoped to any [data-theme] element so scenes can rotate. */
/* IVORY CINEMA — warm ivory page; a sepia horizon from the final artwork pans slowly through the lower hero. Centred composition. */
[data-theme="ivory"], body[data-chrome="ivory"] {
  --bg: #f4eee2; --fg: #1b2330; --muted: #4c5563; --dim: rgba(27,35,48,.36); --accent: #8c5c16; --blue: #1d5fb0; --ink: #1b2330;
  --line: rgba(27,35,48,.16); --chip: rgba(255,255,255,.55); --ftr-bg: rgba(248,244,236,.8); --hdr-solid: rgba(248,244,236,.97); --shadow: rgba(70,46,12,.34);
  --god-fill: linear-gradient(180deg, #f6bd3c 0%, #e0901f 55%, #b8541a 100%); --ai-fill: linear-gradient(180deg, #5aaeff 0%, #2a7be0 55%, #1650b0 100%);
  --h1-2: #24406a;
  --sky: linear-gradient(180deg, #f8f4ec 0%, #f3ecdf 55%, #e9dec8 100%);
  --far-o: 0; --near-o: .7;
  --glow: radial-gradient(50% 30% at 50% 74%, rgba(255,240,212,.75), transparent 72%);
  --scrim: linear-gradient(180deg, rgba(246,240,228,.94) 0%, rgba(246,240,228,.55) 40%, rgba(246,240,228,.06) 66%, rgba(246,240,228,.5) 100%);
  --scrim-inner: linear-gradient(90deg, rgba(246,240,228,.45), rgba(246,240,228,.86) 50%, rgba(246,240,228,.93));
}
[data-theme="ivory"] .w-god, [data-theme="ivory"] .w-ai { filter: drop-shadow(0 1px 0 rgba(60,30,0,.18)); }
/* moving scenery: a mirrored strip, two tiles wide; translating one tile width gives a seamless, very slow pan */
[data-theme="ivory"] .near { --nhv: 50vh; left: 0; right: auto; height: var(--nhv); width: calc(var(--nhv) * 14.198); background-size: auto 100%; background-repeat: repeat-x; background-position: 0 100%;
  animation: pan 260s linear infinite; }
@keyframes pan { to { transform: translateX(-50%); } }
[data-theme="ivory"] .tri--center { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; justify-items: center; gap: clamp(14px, 2.6vh, 28px); text-align: center; }
[data-theme="ivory"] .tri__head { display: grid; justify-items: center; gap: clamp(10px, 1.6vh, 16px); }
[data-theme="ivory"] .tri--center .lockup { text-align: center; }
[data-theme="ivory"] .tri--center .mono { width: clamp(80px, 11.5vh, 112px); }
[data-theme="ivory"] .tri--center h1 { font-size: clamp(32px, 5.4vh, 50px); }
[data-theme="ivory"] .tri--center h1 span { display: inline; }
[data-theme="ivory"] .tri__books { --tc: clamp(170px, min(33vh, 22vw), 340px); align-self: center; }
[data-theme="ivory"] .tri__foot { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-top: clamp(10px, 1.6vh, 16px); border-top: 1px solid var(--line); text-align: left; }
[data-theme="ivory"] .tri__foot .acts-row { justify-self: end; }
[data-theme="ivory"] .b3d { --enter: enter-slide; }
@keyframes enter-slide { from { opacity: 0; transform: translateX(-70px); --ry: 80deg; } }
[data-theme="ivory"] .b3d__front { box-shadow: inset 3px 0 6px -3px rgba(255,255,255,.35), 0 22px 40px -22px rgba(60,40,10,.6); }
[data-theme="ivory"] .au__photo img { box-shadow: 0 0 0 2px var(--accent), 0 0 0 14px rgba(255,255,255,.6), 0 40px 80px -30px rgba(60,40,10,.5); }
@media (max-width: 760px) {
  [data-theme="ivory"] .near { --nhv: 34vh; }
  [data-theme="ivory"] .tri--center h1 span { display: block; }
}
