/* ==========================================================================
   THE LINK — FOREVER YOUNG · deck styles
   Stage is a fixed 1920×1080 canvas, scaled to fit the window by deck.js.
   ========================================================================== */

:root {
  --ink: #0A0C11;
  --ink-2: #10131A;
  --ink-3: #171B24;
  --line: rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .18);
  --text: #F3F1EA;
  --body: #D3D3DC;
  --muted: #9EA1B0;
  --dim: #6B6F7E;

  --magenta: #D45CFB;
  --violet: #9466FD;
  --cyan: #3ADCE1;
  --green: #93E753;
  --yellow: #F2EE45;
  --grad: linear-gradient(90deg, var(--magenta), var(--violet) 25%, var(--cyan) 50%, var(--green) 75%, var(--yellow));

  --accent: var(--green);
  --pad-x: 104px;
  --radius: 18px;

  --f-display: "Unbounded", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --f-body: "Manrope", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

[data-floor="gf"] { --accent: var(--cyan); }
[data-floor="m1"] { --accent: var(--magenta); }
[data-floor="m2"] { --accent: var(--yellow); }
[data-floor="m3"] { --accent: var(--green); }
[data-floor="p1"] { --accent: var(--violet); }
[data-floor="out"] { --accent: var(--green); }
[data-floor="story"] { --accent: var(--violet); }
[data-floor="site"] { --accent: var(--yellow); }

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: #05060A;
  overflow: hidden;
  color: var(--text);
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button { font: inherit; color: inherit; }

/* ---------- stage ---------- */
.stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1920px;
  height: 1080px;
  transform: translate(-50%, -50%) scale(var(--s, .5));
  transform-origin: 50% 50%;
  overflow: hidden;
  background: var(--ink);
}

.slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .7s var(--ease), visibility 0s linear .7s;
  background:
    radial-gradient(900px 600px at 100% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
    radial-gradient(800px 500px at 0% 100%, color-mix(in srgb, var(--violet) 7%, transparent), transparent 70%),
    var(--ink);
}
.slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .7s var(--ease), visibility 0s;
  z-index: 2;
}

/* reveal animation */
.rv { opacity: 0; transform: translateY(26px); }
.slide.is-active .rv {
  animation: rise .9s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 90ms + 180ms);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
.slide.is-active .kb img { animation: kenburns 14s ease-out both; }
@keyframes kenburns { from { transform: scale(1.09); } to { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
  .slide.is-active .rv, .slide.is-active .kb img { animation: none; }
  .slide.is-active .arz-mark, .slide.is-active .arz-sweep { animation: none; }
  .arz-sweep { display: none; }
  .slide { transition: none; }
}

/* ---------- chrome ---------- */
.chrome {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  transition: opacity .5s var(--ease);
}
.stage[data-chrome="off"] .chrome .top,
.stage[data-chrome="off"] .chrome .counter,
.stage[data-chrome="off"] .chrome .brandline { opacity: 0; }

.chrome .top {
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  top: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(243, 241, 234, .72);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .6);
  transition: opacity .5s;
}
.chrome .top .mark { display: flex; align-items: center; gap: 14px; }
.chrome .top .mark i {
  width: 34px; height: 4px; border-radius: 2px; background: var(--grad);
}
.chrome .top .section { color: rgba(243, 241, 234, .55); }
.chrome .top .section b { color: var(--text); font-weight: 600; }

.chrome .progress {
  position: absolute;
  left: 0; bottom: 0;
  height: 5px;
  width: calc(var(--p, 0) * 100%);
  background: var(--grad);
  background-size: 1920px 100%;
  transition: width .7s var(--ease);
  box-shadow: 0 0 18px rgba(147, 231, 83, .35);
}
.chrome .counter {
  position: absolute;
  right: var(--pad-x);
  bottom: 30px;
  pointer-events: auto;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 6px 0;
  font-family: var(--f-display);
  font-size: 16px;
  letter-spacing: .12em;
  color: rgba(243, 241, 234, .7);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .6);
  transition: opacity .5s, color .2s;
}
.chrome .counter:hover { color: var(--text); }
.chrome .counter b { color: var(--text); font-weight: 600; }
.chrome .brandline {
  position: absolute;
  left: var(--pad-x);
  bottom: 34px;
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: .22em;
  color: rgba(243, 241, 234, .45);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .6);
  transition: opacity .5s;
}

.navbtn {
  position: absolute;
  top: 50%;
  width: 64px; height: 64px;
  margin-top: -32px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(10, 12, 17, .55);
  backdrop-filter: blur(8px);
  pointer-events: auto;
  cursor: pointer;
  opacity: 0;
  transition: opacity .3s, background .2s;
  display: grid; place-items: center;
}
.navbtn svg { width: 26px; height: 26px; }
.navbtn.prev { left: 22px; }
.navbtn.next { right: 22px; }
.stage:hover .navbtn { opacity: .55; }
.stage .navbtn:hover { opacity: 1; background: rgba(10, 12, 17, .85); }
.stage.is-idle .navbtn { opacity: 0 !important; }

/* PDF download: an icon button in the top-right corner of every slide (the cover too) */
.chrome .dl {
  position: absolute;
  right: 36px; top: 30px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(10, 12, 17, .55);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  color: rgba(243, 241, 234, .85);
  pointer-events: auto;
  opacity: .7;
  transition: opacity .3s, background .2s, color .2s, border-color .2s;
}
.chrome .dl svg { width: 19px; height: 19px; }
.chrome .dl:hover { opacity: 1; color: var(--text); background: rgba(10, 12, 17, .85); border-color: var(--green); }
.stage.is-idle .dl { opacity: 0; }

/* touch screens that keep the scaled canvas (tablets, phones on their side): no hover, so show the
   arrows, and make every control big enough to hit once the canvas is scaled down */
@media (hover: none) and (pointer: coarse) {
  .navbtn { opacity: .5; width: 108px; height: 108px; margin-top: -54px; }
  .navbtn svg { width: 44px; height: 44px; }
  .chrome .dl { opacity: .9; width: 72px; height: 72px; top: 22px; right: 28px; }
  .chrome .dl svg { width: 34px; height: 34px; }
}

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 30px;
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 44px; height: 3px; border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}
.eyebrow .num { color: var(--text); }

h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 700; color: var(--text); }
.h2 {
  font-size: 66px;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.h2.md { font-size: 52px; line-height: 1.12; }
.h2.sm { font-size: 42px; line-height: 1.16; letter-spacing: -.02em; }
.h3 { font-size: 26px; line-height: 1.25; letter-spacing: -.01em; font-weight: 600; }

.lead {
  font-size: 30px;
  line-height: 1.45;
  color: var(--text);
  font-weight: 500;
  margin: 0;
  text-wrap: pretty;
}
.body {
  font-size: 25px;
  line-height: 1.55;
  color: var(--body);
  margin: 0;
  text-wrap: pretty;
}
.body + .body, .lead + .body, .body + .lead { margin-top: 18px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 60px; align-items: start; }
.pair > p { margin: 0 !important; }
/* a small picture beside the sentence it illustrates */
.pair.tf { grid-template-columns: 232px 1fr 1fr; gap: 0 34px; align-items: center; }
.pair.tf .fig { aspect-ratio: 4 / 3; border-radius: 14px; }
.pair.tf .cap { left: 10px; bottom: 10px; padding: 6px 12px 6px 10px; font-size: 12px; }
.pair.strm { grid-template-columns: 268px 1fr 1fr; gap: 0 36px; align-items: center; }
.pair.strm .fig { aspect-ratio: 16 / 9; border-radius: 14px; }
.pair.strm .cap { left: 10px; bottom: 10px; padding: 6px 12px 6px 10px; font-size: 12px; }
.muted { color: var(--muted); }
.small { font-size: 20px; line-height: 1.5; }

.key {
  margin: 34px 0 0;
  font-family: var(--f-display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--text);
  padding-left: 26px;
  border-left: 4px solid var(--accent);
  text-wrap: balance;
}
.key.grad {
  border-left: 0;
  padding-left: 0;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hl { color: var(--accent); }
.gtext {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- generic layout ---------- */
.pad {
  position: absolute;
  inset: 128px var(--pad-x) 110px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  height: 100%;
  align-items: center;
}
.split.l45 { grid-template-columns: 45fr 55fr; }
.split.l40 { grid-template-columns: 40fr 60fr; }
.split.l35 { grid-template-columns: 35fr 65fr; }
.split.l55 { grid-template-columns: 55fr 45fr; }
.split.roof { grid-template-columns: 40fr 60fr; }
.roof-vis { justify-content: center; gap: 28px; }
.roof-gal { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.55fr 1fr; gap: 22px; flex: 1; min-height: 0; }
.roof-gal > :first-child { grid-column: 1 / -1; }
.col { display: flex; flex-direction: column; min-height: 0; }
.col.center { justify-content: center; }
.fill { height: 100%; }

.stack { display: flex; flex-direction: column; height: 100%; }
.stack > .grow { flex: 1; min-height: 0; }
.head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 40px;
}
.head-row .h2 { max-width: 1250px; }
.head-row .aside { max-width: 560px; }

/* ---------- media ---------- */
.fig {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-3);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), inset 0 0 0 1px var(--line);
  min-height: 0;
}
.fig img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease), opacity .6s;
}
.fig img[data-src] { opacity: 0; }
.fig::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  pointer-events: none;
}
.fig.zoom { cursor: zoom-in; }
.fig.zoom:hover img { transform: scale(1.035); }
.fig.contain img { object-fit: contain; }
.fig.white { background: #fff; }
.fig.plain { background: transparent; box-shadow: none; }
.fig.plain::after { display: none; }

.cap {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 9px 16px 9px 14px;
  border-radius: 999px;
  background: rgba(10, 12, 17, .72);
  backdrop-filter: blur(10px);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.cap::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.cap.dark-on-white { background: rgba(10, 12, 17, .82); }

/* galleries */
.gal { display: grid; gap: 22px; height: 100%; min-height: 0; }
.gal.g12 { grid-template-columns: 1.55fr 1fr; grid-template-rows: 1fr 1fr; }
.gal.g12 > :first-child { grid-row: 1 / 3; }
.gal.g13 { grid-template-columns: 2fr 1fr; grid-template-rows: repeat(3, 1fr); }
.gal.g13 > :first-child { grid-row: 1 / 4; }
.gal.g22 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gal.g31 { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1.35fr 1fr; }
.gal.g31 > :first-child { grid-column: 1 / 3; }
.gal.bento5 {
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.gal.bento5 > :first-child { grid-row: 1 / 3; }

/* ---------- full-bleed ---------- */
.bleed { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.bleed.fade-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }
.bleed img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .8s; }
.bleed img[data-src] { opacity: 0; }
.scrim-l::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 12, 17, .94) 0%, rgba(10, 12, 17, .78) 32%, rgba(10, 12, 17, .25) 62%, rgba(10, 12, 17, .05) 100%),
    linear-gradient(0deg, rgba(10, 12, 17, .85) 0%, transparent 38%),
    linear-gradient(180deg, rgba(10, 12, 17, .6) 0%, transparent 18%);
}

/* floor opener */
.opener .content {
  position: absolute;
  left: var(--pad-x);
  bottom: 120px;
  width: 860px;
  z-index: 3;
}
/* floor number + floor name: one lockup, same size and weight, one baseline (--fl) */
.floorlock {
  display: flex;
  align-items: baseline;
  gap: .3em;
  font-size: var(--fl, 132px);
}
.floorno, .floorname {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: var(--fl, 132px);
  line-height: 1;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.floorno {
  color: var(--accent);
  text-shadow: 0 0 40px color-mix(in srgb, var(--accent) 50%, transparent), 0 8px 44px rgba(0, 0, 0, .45);
}
.floorname {
  color: var(--text);
  text-shadow: 0 8px 44px rgba(0, 0, 0, .55);
}
.opener .floorlock {
  position: absolute;
  left: calc(var(--pad-x) - 6px);
  top: 92px;
  z-index: 3;
}
.opener .h2 { font-size: 64px; }

/* −3 · Arzzon: the brand mark makes the entrance, so the floor feels like a new world */
.arz-mark {
  position: absolute;
  right: var(--pad-x);
  top: 96px;
  z-index: 3;
  width: 300px;
  height: auto;
  pointer-events: none;
  filter: blur(0) drop-shadow(0 0 40px rgba(147, 231, 83, .35)) drop-shadow(0 20px 40px rgba(0, 0, 0, .6));
}
.arz-sweep {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 26%;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  background: linear-gradient(90deg, transparent, rgba(147, 231, 83, .22) 44%, rgba(255, 255, 255, .3) 50%, rgba(147, 231, 83, .22) 56%, transparent);
}
.slide.is-active .arz-mark { animation: arzIn 1.6s var(--ease) .1s both; }
.slide.is-active .arz-sweep { animation: arzSweep 1.8s cubic-bezier(.4, 0, .2, 1) .15s both; }
@keyframes arzIn {
  from { opacity: 0; transform: scale(1.45); filter: blur(18px) drop-shadow(0 0 60px rgba(147, 231, 83, .9)) drop-shadow(0 20px 40px rgba(0, 0, 0, .6)); }
  to   { opacity: 1; transform: none; filter: blur(0) drop-shadow(0 0 40px rgba(147, 231, 83, .35)) drop-shadow(0 20px 40px rgba(0, 0, 0, .6)); }
}
@keyframes arzSweep {
  from { opacity: 1; transform: translateX(-100%); }
  85%  { opacity: 1; }
  to   { opacity: 0; transform: translateX(430%); }
}
.plan-inset {
  position: absolute;
  right: var(--pad-x);
  bottom: 110px;
  width: 400px;
  height: 474px; /* was 340×380: the plan is drawn ~30% larger */
  z-index: 3;
  padding: 16px 16px 56px;
  border-radius: 20px;
  background: rgba(10, 12, 17, .74);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-2);
  cursor: zoom-in;
  transition: transform .4s var(--ease), border-color .3s;
}
.plan-inset:hover { transform: translateY(-6px); border-color: var(--accent); }
.plan-inset img { width: 100%; height: 100%; object-fit: contain; display: block; }
.plan-inset span {
  position: absolute;
  left: 18px; right: 18px; bottom: 16px;
  display: flex; justify-content: space-between;
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text);
}
.plan-inset span::after { content: "↗"; color: var(--accent); }

/* plan as the hero of a slide, as tall as the canvas allows (the plan image is 2182×2333).
   No card: screen-blending drops the plan's black margin into the stage, so it needs no frame
   and the section label in the header can sit over its empty top-right corner. */
.plan-hero {
  position: absolute;
  right: var(--pad-x);
  top: 20px;
  width: 935px;
  height: 1000px;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  mix-blend-mode: screen;
}
.plan-hero::after { display: none; }
.plan-text { right: calc(var(--pad-x) + 935px + 36px); }

/* stat */
.stats { display: flex; gap: 56px; margin-top: 44px; }
.stat .n {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 92px;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--accent);
  text-shadow: 0 0 34px color-mix(in srgb, var(--accent) 45%, transparent);
}
.stat .n small { font-size: .45em; letter-spacing: 0; margin-left: 4px; }
.stat .l {
  margin-top: 12px;
  font-size: 19px;
  line-height: 1.35;
  color: var(--body);
  max-width: 260px;
}

.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .04);
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
}
.chip b { color: var(--accent); font-family: var(--f-display); font-weight: 600; margin-right: 8px; }

/* lists */
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.list li {
  position: relative;
  padding-left: 40px;
  font-size: 24px;
  line-height: 1.45;
  color: var(--body);
}
.list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 13px;
  width: 14px; height: 14px;
  border-radius: 4px;
  border: 2px solid var(--accent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 60%, transparent);
  transform: rotate(45deg);
}
.list li strong { color: var(--text); font-weight: 700; }
.list.check li::before {
  content: "✓";
  width: 26px; height: 26px; top: 4px; left: 0;
  border: 0; transform: none; box-shadow: none;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent);
  font-size: 15px; font-weight: 800;
  display: grid; place-items: center;
}

/* ---------- COVER ---------- */
.cover .pano-bg { position: absolute; inset: 0; }
.cover .pano-bg::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 900px at 22% 55%, rgba(10, 12, 17, .86), rgba(10, 12, 17, .3) 70%, rgba(10, 12, 17, .5)),
    linear-gradient(0deg, rgba(10, 12, 17, .9), transparent 30%),
    linear-gradient(rgba(10, 12, 17, var(--veil, .2)), rgba(10, 12, 17, var(--veil, .2)));
}
.cover .lockup {
  position: absolute;
  left: 150px;
  top: 50%;
  transform: translateY(-52%);
  z-index: 3;
  width: 900px;
  pointer-events: none;
}
.cover .presents {
  display: flex; align-items: center; gap: 18px;
  font-family: var(--f-display);
  font-size: 18px; font-weight: 600;
  letter-spacing: .3em;
  color: var(--violet);
  text-transform: uppercase;
}
.cover .presents img { height: 84px; }
.closing { --veil: .5; }
.cover .logo { width: 560px; margin: 26px 0 18px -26px; display: block; filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .6)); }
.cover .tag { font-family: var(--f-display); font-size: 38px; font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }
.cover .since { margin-top: 18px; font-size: 26px; color: var(--muted); }
.cover .hint {
  position: absolute;
  left: 150px; bottom: 70px;
  z-index: 3;
  display: flex; gap: 30px; align-items: center;
  font-size: 17px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(243, 241, 234, .6);
  pointer-events: none;
}
.cover .hint kbd {
  font-family: var(--f-display);
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  margin-right: 8px;
  color: var(--text);
}
.badge360 {
  position: absolute;
  right: var(--pad-x);
  bottom: 64px;
  z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(10, 12, 17, .6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
  font-family: var(--f-display);
  font-size: 15px;
  letter-spacing: .16em;
  pointer-events: none;
}
.badge360 i {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 12px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- PANO ---------- */
.pano {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
  cursor: grab;
  touch-action: none;
}
.pano:active { cursor: grabbing; }
.pano canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pano .pano-fallback {
  position: absolute; inset: 0;
  background-size: auto 100%;
  background-repeat: repeat-x;
}
.pano .pano-loading {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--f-display);
  font-size: 16px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
  transition: opacity .4s;
}
.pano.is-ready .pano-loading { opacity: 0; }

.tour .scrim-top {
  position: absolute; left: 0; right: 0; top: 0; height: 260px;
  background: linear-gradient(180deg, rgba(10, 12, 17, .8), transparent);
  pointer-events: none; z-index: 2;
}
.tour .scrim-bottom {
  position: absolute; left: 0; right: 0; bottom: 0; height: 330px;
  background: linear-gradient(0deg, rgba(10, 12, 17, .9), transparent);
  pointer-events: none; z-index: 2;
}
.tour .tour-head {
  position: absolute;
  left: var(--pad-x);
  top: 118px;
  z-index: 3;
  pointer-events: none;
}
.tour .tour-head .h2 { font-size: 54px; }
.tour .tour-head .now {
  margin-top: 14px;
  font-size: 24px;
  color: var(--body);
}
.tour .tour-head .now b { color: var(--accent); font-weight: 700; }
.tour .tour-tools {
  position: absolute;
  right: var(--pad-x);
  top: 124px;
  z-index: 3;
  display: flex;
  gap: 12px;
  align-items: center;
}
.tour .hintpill, .tour .toolbtn {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(10, 12, 17, .6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--text);
}
.tour .hintpill { pointer-events: none; }
.tour .toolbtn { cursor: pointer; transition: border-color .2s, background .2s; }
.tour .toolbtn:hover { border-color: var(--accent); background: rgba(10, 12, 17, .85); }
.tour .toolbtn[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.tour .toolbtn svg, .tour .hintpill svg { width: 20px; height: 20px; }

.switcher {
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: 84px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 16px;
}
.switcher button {
  position: relative;
  width: 196px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
}
.switcher.many button { width: 168px; }
.switcher .th {
  display: block;
  height: 96px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .16);
  transition: border-color .25s, transform .3s var(--ease), box-shadow .25s;
  background: var(--ink-3);
}
.switcher.many .th { height: 84px; }
.switcher .th img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .75; transition: opacity .25s; }
.switcher .lb {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(243, 241, 234, .65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.switcher button:hover .th { transform: translateY(-4px); border-color: rgba(255, 255, 255, .45); }
.switcher button:hover .th img { opacity: 1; }
.switcher button.on .th {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent), 0 0 30px color-mix(in srgb, var(--accent) 40%, transparent);
}
.switcher button.on .th img { opacity: 1; }
.switcher button.on .lb { color: var(--text); }

/* ---------- AGENDA ---------- */
.agenda {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 22px;
  height: 100%;
}
.agenda .ag {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .4s var(--ease), box-shadow .3s;
}
.agenda .ag:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 50px -20px rgba(0, 0, 0, .7); }
.agenda .ag img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .55;
  transition: opacity .4s, transform .8s var(--ease);
}
.agenda .ag:hover img { opacity: .8; transform: scale(1.04); }
.agenda .ag::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10, 12, 17, .95) 10%, rgba(10, 12, 17, .2) 70%);
}
.agenda .ag .t {
  position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 2;
  font-family: var(--f-display);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.22;
  color: var(--text);
}
.agenda .ag .no {
  position: absolute; left: 26px; top: 22px; z-index: 2;
  font-family: var(--f-display);
  font-size: 44px; font-weight: 700;
  color: var(--c, var(--green));
  text-shadow: 0 0 24px color-mix(in srgb, var(--c, var(--green)) 50%, transparent);
}
/* chapter tile with a real app screen: a phone peeking up from the bottom edge */
.agenda .ag.app {
  background:
    radial-gradient(240px 200px at 72% 46%, color-mix(in srgb, var(--c) 30%, transparent), transparent 72%),
    var(--ink-3);
}
.agenda .ag .peek {
  position: absolute;
  right: 36px; top: 52px;
  width: 150px; height: 330px;
  padding: 6px;
  border-radius: 24px;
  background: linear-gradient(145deg, #2a2e39, #0d0f14);
  box-shadow: 0 22px 40px -12px rgba(0, 0, 0, .85), inset 0 0 0 1.5px rgba(255, 255, 255, .1);
  transform: rotate(6deg);
  transition: transform .5s var(--ease);
}
.agenda .ag:hover .peek { transform: rotate(3deg) translateY(-8px); }
.agenda .ag .peek img { position: static; display: block; width: 100%; height: 100%; border-radius: 18px; object-fit: cover; object-position: 50% 0; opacity: 1; }
.agenda .ag:hover .peek img { transform: none; }
.agenda .intro-card {
  display: flex;
  min-height: 0;
  overflow: hidden; flex-direction: column; justify-content: flex-end;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--grad);
  color: var(--ink);
}
.agenda .intro-card p { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 30px; line-height: 1.15; }
.agenda .intro-card span { margin-top: 14px; font-size: 18px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }

/* ---------- CHARACTERS ---------- */
.cards7 {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 18px;
  height: 100%;
}
.ccard {
  position: relative;
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 26px 50px -24px rgba(0, 0, 0, .8);
  cursor: zoom-in;
  transition: transform .4s var(--ease);
}
.ccard:hover { transform: translateY(-8px) rotate(-.6deg); }
.ccard .im { flex: 1; min-height: 0; padding: 18px 10px 0; }
.ccard .im img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; display: block; transition: opacity .6s; }
.ccard .im img[data-src] { opacity: 0; }
.ccard .nm {
  padding: 14px 16px 16px;
  background: var(--ink-2);
  border-top: 4px solid var(--c, var(--accent));
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.ccard .nm small {
  display: block;
  margin-top: 4px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.roles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.role { border-top: 2px solid var(--c, var(--line-2)); padding-top: 18px; }
.role h3 { font-size: 22px; font-weight: 600; margin-bottom: 8px; color: var(--c, var(--text)); }
.role p { margin: 0; font-size: 19px; line-height: 1.45; color: var(--body); }

/* tilted cards (Teta) */
.tilt-wrap { position: relative; height: 100%; }
.tilt-wrap .fig { position: absolute; }

/* ---------- BUILDING STACK ---------- */
.building { position: relative; height: 100%; display: flex; gap: 34px; align-items: stretch; }
.building .tower { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.floor-row {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 104px 1fr 210px;
  align-items: center;
  gap: 24px;
  padding: 0 14px 0 0;
  border-radius: 16px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 16%, var(--ink-2)), var(--ink-2) 60%);
  border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
  cursor: pointer;
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .3s;
  text-align: left;
}
.floor-row:hover {
  transform: translateX(10px);
  border-color: var(--c);
  box-shadow: 0 0 34px -6px color-mix(in srgb, var(--c) 55%, transparent);
}
.floor-row .lv {
  height: 100%;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-size: 32px; /* same size as .nm: number and name read as a pair */
  font-weight: 700;
  color: var(--c);
  border-right: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  text-shadow: 0 0 20px color-mix(in srgb, var(--c) 60%, transparent);
}
.floor-row .nm, .floor-row .ro { display: block; }
.floor-row .nm { font-family: var(--f-display); font-size: 32px; font-weight: 700; color: var(--text); }
.floor-row .ro { margin-top: 6px; font-size: 20px; color: var(--body); }
.floor-row .th { height: calc(100% - 20px); border-radius: 10px; overflow: hidden; }
.floor-row .th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.floor-row.roof { border-style: dashed; }
.floor-row.ground::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -7px; height: 2px;
  background: var(--line-2);
}
.building .outdoor {
  width: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding-bottom: 230px; /* centres the bridge on the −2 row */
}
.building .outdoor .floor-row {
  flex: none;
  height: 300px;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;
  padding: 0;
  align-items: stretch;
  background: var(--ink-2);
}
.building .outdoor .floor-row .th { height: 100%; border-radius: 0; }
.building .outdoor .floor-row .meta { padding: 16px 20px 18px; }
.building .bridge {
  position: relative;
  height: 40px;
  border: 2px dashed color-mix(in srgb, var(--green) 55%, transparent);
  border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--green);
  text-transform: uppercase;
}
.building .bridge::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  width: 36px;
  border-top: 2px dashed color-mix(in srgb, var(--green) 55%, transparent);
}

/* ---------- ROBOTICS FLOW ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin: 40px 0 0;
  position: relative;
}
.flow::before {
  content: "";
  position: absolute;
  left: 8%; right: 8%;
  top: 52px;
  height: 3px;
  background: var(--grad);
  border-radius: 2px;
  opacity: .8;
}
.flow .st { position: relative; text-align: center; }
.flow .st .dot {
  width: 104px; height: 104px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink-2);
  border: 2px solid var(--c);
  box-shadow: 0 0 26px -4px var(--c), inset 0 0 20px -8px var(--c);
  color: var(--c);
}
.flow .st .dot svg { width: 44px; height: 44px; }
.flow .st .k {
  margin-top: 18px;
  font-family: var(--f-display);
  font-size: 22px; font-weight: 600;
}
.flow .st .i {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--muted);
}

/* story → screen → space */
.sflow {
  display: grid;
  grid-template-columns: 1fr 60px 1fr 60px 1fr 60px 1fr;
  align-items: stretch;
  height: 100%;
}
.sflow .arrow {
  display: grid; place-items: center;
  color: var(--muted);
}
.sflow .arrow svg { width: 34px; height: 34px; }
.sflow .stepc { display: flex; flex-direction: column; gap: 18px; min-height: 0; }
.sflow .stepc .fig { flex: 1; }
.sflow .stepc .lbl {
  display: flex; align-items: baseline; gap: 12px;
  font-family: var(--f-display); font-size: 24px; font-weight: 600;
}
.sflow .stepc .lbl b { color: var(--c); font-size: 18px; }

/* attraction tiles */
.tiles4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; height: 100%; }
.tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.tile .fig { flex: 1; border-radius: 0; box-shadow: none; }
.tile .fig::after { display: none; }
.tile .tx { padding: 24px 26px 26px; }
.tiles4 .tx { min-height: 176px; } /* equal text blocks, so every tile image gets the same height */
.tile .big {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--c, var(--accent));
}
.tile .big small { font-size: .45em; letter-spacing: 0; }
.tile .d { margin-top: 12px; font-size: 21px; line-height: 1.4; color: var(--body); }
.tile.typo {
  justify-content: flex-end;
  background:
    radial-gradient(420px 320px at 80% 10%, color-mix(in srgb, var(--c) 28%, transparent), transparent 70%),
    var(--ink-2);
}
.tile.typo .glyph {
  position: absolute;
  right: -10px; top: 10px;
  font-family: var(--f-display);
  font-size: 150px; font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px color-mix(in srgb, var(--c) 40%, transparent);
}

/* cars */
.cars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cars .fig { aspect-ratio: 3 / 2; }

/* phone mockups */
.phones { position: relative; height: 100%; }
.phone {
  position: absolute;
  width: 380px;
  height: 780px;
  border-radius: 56px;
  padding: 14px;
  background: linear-gradient(145deg, #2a2e39, #0d0f14);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .9), inset 0 0 0 2px rgba(255, 255, 255, .08);
}
.phone .scr {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 44px;
  overflow: hidden;
  background: #07080c;
}
.phone .scr > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; display: block; transition: opacity .6s; }
.phone .scr > img[data-src] { opacity: 0; }
.phone.zoom { cursor: zoom-in; }
.phone .notch {
  position: absolute; left: 50%; top: 14px; transform: translateX(-50%);
  width: 110px; height: 30px; border-radius: 20px; background: #000; z-index: 3;
}

/* app screens slide: six real screenshots in phone frames, drawn at phone size and scaled down */
.shots { display: flex; justify-content: center; align-items: flex-start; gap: 30px; padding-top: 4px; }
.shot { margin: 0; width: 260px; flex: none; }
.shot .ph { position: relative; width: 260px; height: 534px; }
.shot .ph .phone { left: 0; top: 0; transform: scale(.684); transform-origin: 0 0; }
.shot figcaption { margin-top: 24px; font-size: 19px; line-height: 1.4; color: var(--body); }
.shot figcaption b { display: block; margin-bottom: 8px; font-family: var(--f-display); font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c); }

/* paths */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; height: 100%; }
.path {
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
}
.path .fig { flex: 1; border-radius: 0; box-shadow: none; }
.path .tx { padding: 28px 30px 32px; border-top: 4px solid var(--c); }
.path h3 { font-size: 28px; font-weight: 600; margin-bottom: 10px; }
.path p { margin: 0; font-size: 21px; line-height: 1.45; color: var(--body); }

/* priorities */
.prios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.prio {
  position: relative;
  padding: 44px 40px 46px;
  border-radius: 24px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.prio::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: var(--c);
  box-shadow: 0 0 24px var(--c);
}
.prio .no {
  font-family: var(--f-display); font-weight: 800; font-size: 120px; line-height: .9;
  color: transparent;
  -webkit-text-stroke: 2px color-mix(in srgb, var(--c) 70%, transparent);
}
.prio h3 { margin-top: 30px; font-size: 33px; white-space: nowrap; font-weight: 700; color: var(--c); }
.prio p { margin: 14px 0 0; font-size: 23px; line-height: 1.45; color: var(--body); }

/* logo marks */
.marks { display: flex; align-items: center; gap: 30px; }
.marks img { height: 92px; }
.marks .x { font-family: var(--f-display); font-size: 28px; color: var(--muted); }

/* brand board */
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.sw { border-radius: 14px; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); }
.sw i { display: block; height: 74px; background: var(--c); }
.sw span { display: block; padding: 10px 14px 12px; font-family: var(--f-display); font-size: 14px; letter-spacing: .08em; color: var(--body); }

/* rounds */
.rounds { position: relative; height: 100%; }
.rounds img { position: absolute; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6)); transition: opacity .6s; }
.rounds img[data-src] { opacity: 0; }

/* ---------- CONSTRUCTION SITE ---------- */
.site {
  height: 100%;
  display: grid;
  grid-template-columns: 520px 1fr;
  grid-template-areas: "txt dia";
  column-gap: 70px;
  align-items: center;
}
.site .txt { grid-area: txt; }
.site .dia { grid-area: dia; min-width: 0; }
.site .dia svg { display: block; width: 100%; height: auto; overflow: visible; }
.site .site-photos { grid-area: pho; }
/* when real site photos exist (assets/img/site-N.webp) the page becomes a photo wall + a smaller drawing */
.site.has-photos {
  grid-template-columns: 1fr 857px;
  grid-template-rows: auto 1fr;
  grid-template-areas: "txt pho" "dia pho";
  align-items: start;
  row-gap: 22px;
}
.site.has-photos .txt .h2 { font-size: 42px; }
.site.has-photos .txt /* construction vs render: two rows that share one width, each image keeps its own ratio (no crop) */
.site-photos { display: flex; flex-direction: column; gap: 22px; align-self: center; }
.sp-row { display: flex; gap: 22px; justify-content: center; }
.sp-row .fig { flex: none; aspect-ratio: var(--ar); }
.sp-row:first-child .fig { height: 351px; }
.sp-row:last-child .fig { height: 485px; }
.hazard {
  width: 240px;
  height: 16px;
  margin-top: 44px;
  border-radius: 3px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 12px, #0b0d12 12px 24px);
  box-shadow: 0 0 26px rgba(242, 238, 69, .25);
}
.site svg text { font-family: var(--f-display); }
.site svg .tag { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; fill: rgba(243, 241, 234, .55); paint-order: stroke; stroke: #0b0d12; stroke-width: 6px; stroke-linejoin: round; }
.site svg .tag.g { fill: #B8F27A; }
.site svg .lvl .slab {
  fill: color-mix(in srgb, var(--c) 12%, #0b0d12);
  stroke: var(--c);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--c) 40%, transparent));
}
.site svg .lvl .plate { stroke: var(--c); stroke-width: 2; opacity: .35; }
.site svg .lvl text { font-weight: 800; font-size: 30px; letter-spacing: -.02em; }
.site svg .lvl .n { fill: var(--c); }
.site svg .lvl .m { fill: var(--text); }
/* the build: levels rise from −3 to the rooftop, then the bridge and the outdoors appear */
.slide.is-active .site .lvl .slab { transform-box: fill-box; transform-origin: 50% 100%; animation: slabUp .9s var(--ease) both; animation-delay: calc(.5s + var(--k) * .3s); }
.slide.is-active .site .lvl .plate, .slide.is-active .site .lvl text { animation: fadeIn .7s ease both; animation-delay: calc(.9s + var(--k) * .3s); }
.slide.is-active .site .out { animation: fadeIn .9s ease both; animation-delay: 2.3s; }
.slide.is-active .site .crane { animation: fadeIn .9s ease both; animation-delay: .1s; }
.slide.is-active .site .trolley { animation: trolley 11s ease-in-out 1.6s infinite alternate; }
@keyframes slabUp { from { transform: scaleY(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes trolley { from { transform: translateX(-70px); } to { transform: translateX(34px); } }
@media (prefers-reduced-motion: reduce) {
  .slide.is-active .site svg * { animation: none; }
}

/* misc */
.divider { height: 3px; width: 120px; border-radius: 2px; background: var(--grad); margin: 0 0 34px; }
.mt-s { margin-top: 18px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 48px; }
.w-780 { max-width: 780px; } .w-900 { max-width: 900px; } .w-1100 { max-width: 1100px; } .w-1400 { max-width: 1400px; }

/* ---------- overlays (outside the stage, viewport units) ---------- */
.lightbox, .menu, .help {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.lightbox.open, .menu.open, .help.open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease), visibility 0s; }

.lightbox {
  background: rgba(5, 6, 10, .96);
  display: grid;
  place-items: center;
  cursor: zoom-out;
}
.lightbox img {
  max-width: 94vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .7);
  transform: scale(.97);
  transition: transform .45s var(--ease);
}
.lightbox.open img { transform: none; }
.lightbox .lb-cap {
  position: absolute;
  left: 0; right: 0; bottom: 3vh;
  text-align: center;
  font-family: var(--f-display);
  font-size: clamp(12px, 1.1vw, 18px);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(243, 241, 234, .75);
}
.lightbox .lb-close, .menu .m-close {
  position: absolute;
  right: 2.4vw; top: 2.4vw;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  display: grid; place-items: center;
  color: var(--text);
}
.lightbox .lb-close svg, .menu .m-close svg { width: 20px; height: 20px; }

.menu {
  background: rgba(5, 6, 10, .97);
  overflow-y: auto;
  padding: 5vh 5vw;
}
.menu h2 {
  font-family: var(--f-display);
  font-size: clamp(18px, 1.6vw, 28px);
  font-weight: 600;
  margin: 0 0 3vh;
  display: flex; align-items: center; gap: 16px;
}
.menu h2 i { width: 40px; height: 4px; border-radius: 2px; background: var(--grad); }
.menu .m-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 6px 28px;
}
.menu .m-sec {
  grid-column: 1 / -1;
  margin: 2.2vh 0 .6vh;
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.menu a {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--body);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.35;
  transition: background .2s, color .2s;
}
.menu a:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.menu a.on { background: rgba(147, 231, 83, .12); color: var(--text); }
.menu a b { font-family: var(--f-display); font-size: 13px; color: var(--muted); min-width: 24px; }
.menu a.on b { color: var(--green); }
.menu a em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--green); border: 1px solid currentColor; border-radius: 6px; padding: 1px 6px; margin-left: auto; }
/* the index scrolls to the current slide, so its two controls are pinned to the corner */
.menu .m-close { position: fixed; z-index: 3; }
.menu .m-dl {
  position: fixed;
  z-index: 3;
  top: 2.4vw;
  right: calc(2.4vw + 62px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(10, 12, 17, .92);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
}
.menu .m-dl:hover { border-color: var(--green); background: rgba(24, 34, 18, .96); color: var(--text); }
.menu .m-dl svg { width: 18px; height: 18px; color: var(--green); }

.help {
  display: grid;
  place-items: center;
  background: rgba(5, 6, 10, .9);
}
.help .box {
  min-width: 420px;
  padding: 34px 40px;
  border-radius: 20px;
  background: var(--ink-2);
  border: 1px solid var(--line-2);
}
.help h3 { font-size: 20px; margin-bottom: 18px; }
.help dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 26px; margin: 0; font-size: 15px; }
.help dt { font-family: var(--f-display); font-size: 13px; color: var(--green); }
.help dd { margin: 0; color: var(--body); }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* round 5 */
.ccard.full .im { padding: 0; }
.ccard.full .im img { object-fit: cover; object-position: 50% 30%; }
.mascots-inset img { object-position: 50% 30%; }
.cover .url { margin: 26px 0 0; font-family: var(--f-display); font-size: 40px; font-weight: 700; letter-spacing: .04em; }
.cover .url a { pointer-events: auto; cursor: pointer; padding: 6px 0; border-bottom: 3px solid rgba(147, 231, 83, .5); color: var(--green); text-decoration: none; text-shadow: 0 0 30px rgba(147, 231, 83, .45); }
