

@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/bodoni-moda/bodoni-moda-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("assets/fonts/bodoni-moda/bodoni-moda-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("assets/fonts/hanken-grotesk/hanken-grotesk-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/hanken-grotesk/hanken-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("assets/fonts/hanken-grotesk/hanken-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("assets/fonts/hanken-grotesk/hanken-grotesk-latin-600-normal.woff2") format("woff2"); }

@font-face { font-family: "UnifrakturMaguntia"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/unifrakturmaguntia/unifrakturmaguntia-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poiret One"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/poiret-one/poiret-one-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Shrikhand"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/shrikhand/shrikhand-latin-400-normal.woff2") format("woff2"); }

:root {
  --night-0: #02050b;
  --night-1: #050b16;
  --night-2: #08142a;
  --night-3: #0e1d38;
  --letterbox: #06090f;     
  --mist: #4f6f92;
  --ink: #efe8da;
  --ink-2: #bcc6d6;
  --ink-3: #91a0b8;
  --silver: #e4e8ef;        
  --silver-2: #b3bdcb;
  --silver-3: #8b96a8;
  --amber: #f2b54a;
  --gold: #dcaa5c;
  --gold-2: #f2c983;
  --amber-soft: rgba(242, 181, 74, 0.16);
  --line: rgba(188, 198, 214, 0.16);
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", "Bodoni MT", "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4.4vw, 64px);
  --maxw: 1376px;
  --studio-bar-h: 57px;     
  --bar-t: 22px;            
  --bar-b: 76px;            
  --bar-bg: rgba(3, 6, 12, 0.86);
  --bar-accent: #f2b54a;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night-1); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
[id] { scroll-margin-top: 64px; }
p, h1, h2, h3, dl, dd, figure { margin: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

.eyebrow {
  font: 500 0.75rem/1.4 var(--sans); letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--amber);
}
.eyebrow::before {
  content: ""; display: inline-block; width: 36px; height: 1px; margin: 0 14px 0.28em 0;
  background: currentColor; vertical-align: middle; opacity: 0.8;
}
.display {
  font: 400 clamp(2.375rem, 1.3rem + 3.2vw, 4.25rem)/1.06 var(--serif);
  letter-spacing: -0.015em; color: var(--ink); text-wrap: balance;
}


.cine {
  position: relative; isolation: isolate;
  height: calc(100vh - var(--studio-bar-h)); height: calc(100svh - var(--studio-bar-h));
  min-height: 600px; max-height: 1240px;
  background: var(--letterbox);
}
.cine__frame {
  position: absolute; left: 0; right: 0; top: var(--bar-t); bottom: var(--bar-b);
  overflow: hidden; background: #0b1428;
}
.cine__pic, .cine__pic img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cine__pic img { object-fit: cover; object-position: 50% 60%; }
.cine__frame::after { 
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(2, 4, 9, 0.55) 100%),
    radial-gradient(48% 52% at 20% 30%, rgba(4, 10, 24, 0.5) 0%, rgba(4, 10, 24, 0) 100%),
    linear-gradient(100deg, rgba(4, 10, 24, 0.5) 0%, rgba(4, 10, 24, 0.12) 42%, transparent 60%);
}
.cine__title {
  position: absolute; z-index: 3; left: var(--gutter); top: 6%;
  width: min(29rem, 33vw);
}

@media (min-width: 701px) {
  .cine .cine__pic img { object-position: 50% 50%; transform: scale(1.18); transform-origin: 50% 0; }
  .cine .cine__title { left: 0; right: 0; top: 2.4vh; width: auto; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
  .cine .cine__logo img { width: min(46rem, 62vh); }
  .cine .cine__line { margin: 0.7rem 0 0; max-width: none; justify-content: center; font-size: 1.0625rem; white-space: nowrap; }
}
.cine__logo { margin: 0; }
.cine__logo img {
  width: 100%; height: auto;
  filter: drop-shadow(0 18px 34px rgba(1, 3, 8, 0.6));
}
.cine__line {
  display: flex; align-items: baseline; gap: 16px;
  margin: clamp(18px, 3vh, 30px) 0 0 3.5%; max-width: 26rem;
  font: 300 1.125rem/1.6 var(--sans); color: var(--silver);
  text-shadow: 0 1px 14px rgba(2, 6, 16, 0.85);
}
.cine__line::before {
  content: ""; flex: none; width: 36px; height: 1px; background: var(--gold); transform: translateY(-0.32em);
}


.cine__frond {
  position: absolute; z-index: 2; left: -1%; bottom: 4%; overflow: visible;
  width: clamp(340px, 48vw, 820px); height: auto; aspect-ratio: 2 / 1;
  fill: #02040a;
  filter: drop-shadow(0 -1px 0 rgba(150, 175, 210, 0.26)) drop-shadow(0 -6px 18px rgba(2, 4, 10, 0.5));
}
.cine__frond .limb { fill: none; stroke: #02040a; stroke-linecap: round; }


.cine__fireflies { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 34%; pointer-events: none; }
.cine__fireflies i {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: #ffd894; box-shadow: 0 0 6px 2px rgba(255, 184, 86, 0.65), 0 0 18px 6px rgba(255, 160, 60, 0.18);
  opacity: 0.85;
  animation: ff-drift 16s ease-in-out infinite alternate, ff-glow 3.6s ease-in-out infinite;
}
.cine__fireflies i:nth-child(1)  { left: 12%; top: 30%; animation-delay: 0s, -1.2s; }
.cine__fireflies i:nth-child(2)  { left: 22%; top: 62%; animation-delay: -3s, -0.4s; animation-duration: 19s, 4.2s; }
.cine__fireflies i:nth-child(3)  { left: 31%; top: 18%; animation-delay: -7s, -2.1s; width: 3px; height: 3px; }
.cine__fireflies i:nth-child(4)  { left: 39%; top: 52%; animation-delay: -2s, -3s; animation-duration: 21s, 3.1s; }
.cine__fireflies i:nth-child(5)  { left: 47%; top: 76%; animation-delay: -11s, -1.7s; }
.cine__fireflies i:nth-child(6)  { left: 54%; top: 34%; animation-delay: -5s, -0.9s; width: 3px; height: 3px; animation-duration: 18s, 4.6s; }
.cine__fireflies i:nth-child(7)  { left: 61%; top: 64%; animation-delay: -9s, -2.6s; }
.cine__fireflies i:nth-child(8)  { left: 68%; top: 22%; animation-delay: -1s, -3.4s; animation-duration: 23s, 3.8s; }
.cine__fireflies i:nth-child(9)  { left: 74%; top: 58%; animation-delay: -13s, -0.2s; width: 3px; height: 3px; }
.cine__fireflies i:nth-child(10) { left: 8%;  top: 72%; animation-delay: -6s, -2.9s; animation-duration: 20s, 4s; }
.cine__fireflies i:nth-child(11) { left: 43%; top: 12%; animation-delay: -15s, -1.1s; width: 3px; height: 3px; }
.cine__fireflies i:nth-child(12) { left: 58%; top: 86%; animation-delay: -4s, -3.7s; animation-duration: 17s, 3.3s; }
@keyframes ff-drift {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(26px, -18px); }
  66%  { transform: translate(-14px, -34px); }
  100% { transform: translate(18px, -8px); }
}
@keyframes ff-glow { 0%, 100% { opacity: 0.15; } 45%, 60% { opacity: 0.95; } }


.cine__reel {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--bar-b);
  padding: 0 var(--gutter); display: flex; align-items: center; justify-content: center;
}
.cine__reel ol { display: flex; gap: clamp(8px, 3vw, 48px); margin: 0; padding: 0; list-style: none; }
.cine__reel a {
  display: inline-flex; align-items: baseline; gap: 12px; min-height: 44px; padding: 10px 6px;
  text-decoration: none; color: var(--silver-2); transition: color 0.2s;
}
.cine__reel-no { font: italic 400 1.0625rem/1 var(--serif); color: var(--gold); min-width: 1.4em; text-align: right; }
.cine__reel-name { font: 500 0.75rem/1.2 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; }
.cine__reel a:hover { color: var(--silver); }
.cine__reel a:hover .cine__reel-no { color: var(--gold-2); }


.prologue {
  position: relative; overflow: hidden;
  padding: clamp(96px, 14vw, 200px) var(--gutter) clamp(140px, 16vw, 230px);
  background: radial-gradient(70% 60% at 50% 0%, #0f1a2e 0%, var(--letterbox) 70%);
  color: var(--silver);
}
.prologue__inner { max-width: 62rem; margin: 0 auto; text-align: center; }
.prologue__kicker {
  font: 500 0.75rem/1.4 var(--sans); letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold);
}
.prologue__kicker::before, .prologue__kicker::after {
  content: ""; display: inline-block; width: 36px; height: 1px; margin: 0 14px 0.28em 0;
  background: currentColor; vertical-align: middle; opacity: 0.8;
}
.prologue__kicker::after { margin: 0 0 0.28em 14px; }
.prologue__title {
  margin: 0.9rem 0 0; font: 500 0.75rem/1.4 var(--sans); letter-spacing: 0.32em; text-transform: uppercase; color: var(--silver-3);
}
.prologue__statement {
  margin: 2.6rem auto 0; max-width: 23em;
  font: 400 clamp(1.75rem, 3.6vw, 3.25rem)/1.22 var(--serif); letter-spacing: -0.005em; color: var(--silver);
}
.prologue__statement em { color: var(--gold-2); }
.prologue__sub {
  margin: 2rem auto 0; max-width: 32rem;
  font: 300 1.1875rem/1.6 var(--sans); color: var(--silver-2);
}
.prologue__tarsier {
  position: absolute; right: 0; bottom: 8px;
  width: clamp(180px, 19vw, 290px); height: auto;
}


.worlds {
  position: relative; padding: clamp(88px, 10vw, 152px) 0 clamp(80px, 9vw, 140px);
  background: linear-gradient(to bottom, var(--night-1), var(--night-0) 30%, var(--night-0));
  border-top: 1px solid var(--line);
}
.worlds__head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px clamp(40px, 6vw, 112px); align-items: end; }
.worlds__head .eyebrow { grid-column: 1 / -1; }
.worlds__head .display { max-width: 14ch; }
.worlds__intro { max-width: 30rem; color: var(--ink-2); padding-bottom: 8px; }

.portals {
  list-style: none; margin: clamp(56px, 6vw, 96px) auto 0; padding: 0;
  width: min(100% - 2 * var(--gutter), var(--maxw));
  display: grid; gap: clamp(28px, 3.4vw, 48px);
}
.portal article {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(560px, 46vw, 680px);
  display: grid; align-content: start;
  border-radius: 4px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.portal__art, .portal__art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.portal__art { z-index: -2; }
.portal__art img { object-fit: cover; transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.portal article:hover .portal__art img, .portal article:focus-within .portal__art img { transform: scale(1.035); }
.portal article::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.portal__body {
  position: relative; max-width: 30rem;
  padding: clamp(36px, 4.6vw, 72px) clamp(24px, 4.6vw, 72px);
}
.portal__no {
  display: flex; align-items: center; gap: 12px; margin-bottom: clamp(28px, 4vw, 56px);
  font: 400 1.375rem/1 var(--serif); color: var(--ink-2);
}
.portal__no span { font: 500 0.6875rem/1 var(--sans); letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-3); }
.portal__no::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: 0.4; }
.portal__kind { font: 500 0.75rem/1.5 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.portal__title { margin-top: 12px; color: var(--ink); text-wrap: balance; }
.portal__text { margin-top: 18px; max-width: 26rem; color: var(--ink-2); }
.portal__status {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 24px;
  font: 500 0.75rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
}
.portal__status::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}
.portal__go {
  display: flex; width: fit-content; align-items: center; gap: 16px; min-height: 48px; margin-top: 28px;
  font: 600 0.9375rem/1.3 var(--sans); letter-spacing: 0.02em; text-decoration: none; color: var(--ink);
}
.portal__go span { border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.portal__go svg { width: 28px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform 0.3s; }
.portal__go::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.portal__go:focus-visible { outline: none; }
.portal__go:focus-visible span { outline: 2px solid currentColor; outline-offset: 4px; }
.portal article:has(.portal__go:focus-visible) { box-shadow: 0 0 0 2px var(--ink), 0 0 0 5px var(--amber); }
.portal article:hover .portal__go svg { transform: translateX(6px); }


.portal--curia article { background: #12171d; }
.portal--curia article::before {
  background: linear-gradient(100deg, rgba(14, 18, 23, 0.86) 0%, rgba(14, 18, 23, 0.55) 34%, rgba(14, 18, 23, 0) 56%);
}
.portal--curia .portal__title { font: 400 clamp(3rem, 2rem + 3.6vw, 5.25rem)/1 "UnifrakturMaguntia", "Old English Text MT", Georgia, serif; letter-spacing: 0.01em; color: #f0dfb8; }
.portal--curia .portal__kind { color: #d0ae76; }
.portal--curia .portal__status { color: #e7cf9f; }
.portal--curia .portal__go { color: #efe4cc; }
.portal__plate {
  position: absolute; z-index: 1; right: clamp(300px, 34%, 470px); bottom: clamp(32px, 4vw, 56px);
  width: clamp(240px, 23vw, 340px);
  padding: 8px 8px 0; background: #e9dcc0; border-radius: 2px;
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.85);
  transform: rotate(-1.2deg);
}
.portal__plate img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.portal__plate figcaption {
  padding: 4px 2px 5px; font: 400 0.5625rem/1.2 var(--sans); letter-spacing: 0.04em; color: #6b5f4a;
}


.portal--saboteur article { background: #0b1220; }
.portal--saboteur article::before {
  background: linear-gradient(90deg, rgba(8, 13, 22, 0.78) 0%, rgba(8, 13, 22, 0.35) 38%, rgba(8, 13, 22, 0) 55%);
}
.deco-frame {
  position: absolute; inset: clamp(12px, 1.6vw, 22px); z-index: 0; pointer-events: none;
  border: 1px solid rgba(201, 164, 92, 0.55);
  outline: 1px solid rgba(201, 164, 92, 0.22); outline-offset: -7px;
}
.deco-frame::before, .deco-frame::after {
  content: ""; position: absolute; width: 46px; height: 46px; border: 1px solid rgba(201, 164, 92, 0.7);
}
.deco-frame::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0;
  box-shadow: inset 6px 6px 0 -5px rgba(201, 164, 92, 0.7); }
.deco-frame::after { right: 10px; bottom: 10px; border-left: 0; border-top: 0;
  box-shadow: inset -6px -6px 0 -5px rgba(201, 164, 92, 0.7); }
.portal--saboteur .portal__title {
  font: 400 clamp(2.75rem, 1.6rem + 3.4vw, 4.75rem)/1 "Poiret One", "Josefin Sans", "Futura", "Century Gothic", sans-serif;
  letter-spacing: 0.04em; text-transform: uppercase; color: #f1e7d0;
}
.portal--saboteur .portal__kind { color: #d7b56f; }
.portal--saboteur .portal__no::after { width: 88px; background: linear-gradient(90deg, #c9a45c, transparent); opacity: 0.9; }
.portal--saboteur .portal__status { color: #e9d3a1; }
.portal--saboteur .portal__go { color: #f1e7d0; }


.portal--bisaya article { background: #1d1f35; }
.portal--bisaya article::before {
  background: linear-gradient(100deg, rgba(22, 20, 40, 0.72) 0%, rgba(22, 20, 40, 0.3) 40%, rgba(22, 20, 40, 0) 58%);
}
.portal--bisaya .portal__title { font: 400 clamp(2.875rem, 1.9rem + 3.4vw, 5rem)/1.05 "Shrikhand", Georgia, serif; letter-spacing: 0.005em; color: #ffc451; text-shadow: 0 3px 0 rgba(90, 40, 30, 0.45); }
.portal--bisaya .portal__kind { color: #f6b493; }
.portal--bisaya .portal__status { color: #ffd2b8; }
.portal--bisaya .portal__go { color: #fbeee0; }
.phrases {
  list-style: none; margin: 0; padding: 0;
  position: absolute; z-index: 1; left: clamp(24px, 4.6vw, 72px); right: clamp(24px, 4.6vw, 72px); bottom: clamp(32px, 4vw, 56px);
  display: flex; flex-wrap: wrap; gap: 12px;
}
.phrases li {
  display: grid; padding: 12px 18px 13px; border-radius: 14px;
  background: rgba(24, 18, 36, 0.55); border: 1px solid rgba(251, 238, 224, 0.18);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.phrases b { font: 600 1.0625rem/1.3 var(--sans); color: #fbeee0; }
.phrases span { font: 400 0.8125rem/1.4 var(--sans); color: #e2cfd4; }


.contact {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(112px, 12vw, 176px) 0 clamp(96px, 10vw, 144px);
  background:
    radial-gradient(48% 70% at 80% 34%, rgba(52, 76, 120, 0.62) 0%, rgba(20, 36, 66, 0.3) 45%, rgba(2, 5, 11, 0) 78%),
    linear-gradient(to bottom, var(--night-0), #060d1c 55%, var(--night-1));
}
.contact::before { 
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 180px; pointer-events: none;
  background: linear-gradient(to bottom, var(--night-0), rgba(2, 5, 11, 0));
}
.contact__forest { position: absolute; z-index: -1; top: 0; right: 0; width: min(760px, 58vw); height: auto; }
.contact__forest .fill path { fill: #010308; }
.contact__forest .vine path { fill: none; stroke: #010308; stroke-width: 2.2; stroke-linecap: round; }
.contact__forest .vine .tail { stroke-width: 5; }
.contact__inner { display: grid; justify-items: start; }
.contact__inner .eyebrow { margin-bottom: 20px; }
.contact__text { margin-top: 20px; max-width: 32rem; color: var(--ink-2); }
.contact__mail { margin-top: clamp(28px, 3vw, 40px); }
.contact__mail a {
  display: inline-block; padding: 6px 0 10px;
  font: italic 400 clamp(2rem, 1rem + 4.4vw, 4.5rem)/1.05 var(--serif); letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none; overflow-wrap: anywhere;
  background: linear-gradient(var(--amber), var(--amber)) 0 100% / 100% 1px no-repeat;
  transition: color 0.25s, background-size 0.25s;
}
.contact__mail a:hover { color: var(--amber); background-size: 100% 2px; }


.hero__art, .hero__art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__art { z-index: -3; }
.hero__art img { object-fit: cover; object-position: 50% 0%; }
.hero__veil { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end;
  min-height: clamp(340px, 46vh, 460px); background: var(--night-0);
}
.page-hero .hero__art img { object-position: 50% 24%; }
.page-hero .hero__veil { background: linear-gradient(to top, rgba(2, 4, 9, 0.97) 0%, rgba(2, 4, 9, 0.6) 40%, rgba(2, 4, 9, 0.15) 100%); }
.page-hero__copy { width: min(100% - 2 * var(--gutter), 52rem); margin: 0 auto; padding-bottom: clamp(36px, 5vw, 64px); }
.page-hero__copy .eyebrow { margin-bottom: 14px; }
.page-hero h1 { font: 400 clamp(3.5rem, 2rem + 6vw, 7rem)/0.92 var(--serif); letter-spacing: -0.02em; }
.legal { width: min(100% - 2 * var(--gutter), 52rem); margin: 0 auto; padding: clamp(48px, 6vw, 88px) 0 clamp(88px, 10vw, 136px); }
.legal__intro { font: 400 clamp(1.1875rem, 1rem + 0.6vw, 1.4375rem)/1.55 var(--sans); color: var(--ink); }
.legal section { padding: 32px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 13rem 1fr; gap: 12px 32px; }
.legal section:first-of-type { margin-top: 48px; }
.legal h2 { font: 400 1.5rem/1.2 var(--serif); color: var(--ink); }
.legal section p + p { margin-top: 12px; }
.legal p { color: var(--ink-2); }
.legal a { color: var(--ink); text-decoration-color: var(--amber); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal a:hover { color: var(--amber); }
.legal__updated { margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--ink-3); }
.legal p a { padding: 6px 0; } 
.legal__back { display: inline-flex; align-items: center; min-height: 44px; margin-top: 24px; font-weight: 600; }


@media (max-width: 1080px) {
  .portal__plate { right: 32px; }
  .portal--curia .portal__body { max-width: 26rem; }
}
@media (max-width: 860px) {
  .worlds__head { grid-template-columns: 1fr; }
  .worlds__head .display { max-width: 16ch; }
  .legal section { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  :root { --bar-t: 14px; --bar-b: 88px; }
  .cine { min-height: 620px; }
  .cine__title { top: 4%; right: var(--gutter); width: auto; }
  .cine__logo img { width: min(94vw, 430px); max-width: none; position: relative; left: 50%; transform: translateX(-50%); }
  .cine__line { margin: 0.7rem auto 0; max-width: 19.5rem; font-size: 1rem; gap: 12px; justify-content: center; text-align: left; }
  .cine__line::before { width: 24px; }
  .cine__pic img { object-position: 50% 50%; }
  .cine__frame::after {
    background: radial-gradient(130% 80% at 50% 55%, transparent 55%, rgba(2, 4, 9, 0.5) 100%),
                linear-gradient(180deg, rgba(4, 10, 24, 0.5) 0%, rgba(4, 10, 24, 0.2) 34%, transparent 50%);
  }
  .cine__frond { width: 92vw; left: -8%; bottom: 11%; }
  .cine__fireflies { height: 30%; }
  .cine__reel { padding: 0 8px; }
  .cine__reel ol { width: 100%; justify-content: space-between; gap: 4px; }
  .cine__reel li { flex: 1 1 0; }
  .cine__reel a { flex-direction: column; align-items: center; gap: 6px; width: 100%; padding: 8px 2px; text-align: center; }
  .cine__reel-no { min-width: 0; text-align: center; font-size: 1rem; }
  .cine__reel-name { font-size: 0.6875rem; letter-spacing: 0.12em; }

  .prologue__statement { font-size: 1.75rem; }
  .prologue__tarsier { width: 150px; }
  .prologue { padding-bottom: 150px; }

  .page-hero .hero__art img { object-position: 50% 46%; }

  
  .portal article { min-height: 0; display: block; }
  .portal__art { position: relative; display: block; height: 420px; }
  .portal__art img { position: absolute; }
  .portal article::before { inset: 0 0 auto; height: 420px; }
  .portal__body { max-width: none; margin-top: -120px; padding: 0 22px 32px; }
  .portal__no { margin-bottom: 22px; }
  .portal--curia .portal__art img { object-position: 60% 40%; }
  .portal--curia article::before { background: linear-gradient(to bottom, rgba(18, 23, 29, 0) 42%, rgba(18, 23, 29, 0.78) 62%, #12171d 80%); }
  .portal--saboteur .portal__art img { object-position: 50% 45%; }
  .portal--saboteur article::before { background: linear-gradient(to bottom, rgba(11, 18, 32, 0) 42%, rgba(11, 18, 32, 0.78) 62%, #0b1220 80%); }
  .portal--bisaya .portal__art img { object-position: 40% 45%; }
  .portal--bisaya article::before { background: linear-gradient(to bottom, rgba(29, 31, 53, 0) 42%, rgba(29, 31, 53, 0.78) 62%, #1d1f35 80%); }
  .portal__plate { position: relative; right: auto; bottom: auto; width: auto; margin: 0 22px 32px; transform: none; }
  .phrases { position: static; padding: 0 22px 32px; }
  .phrases li { flex: 1 1 auto; }
  .deco-frame { inset: 8px; }
  .portal--saboteur .portal__body { padding: 0 30px 52px; }

  .contact {
    padding-top: 300px;
    background:
      radial-gradient(90% 40% at 72% 20%, rgba(52, 76, 120, 0.6) 0%, rgba(20, 36, 66, 0.28) 50%, rgba(2, 5, 11, 0) 80%),
      linear-gradient(to bottom, var(--night-0), #060d1c 55%, var(--night-1));
  }
  .contact__forest { width: 120%; right: -6%; }
}
@media (max-width: 600px) {
  :root { --studio-bar-h: 97px; } 
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cine__fireflies i { animation: none; opacity: 0.7; }
  .cine__reel a { transition: none; }
  .portal__art img, .portal__go svg { transition: none; }
  .portal article:hover .portal__art img { transform: none; }
}


.cine { container-type: size; --R: 2; --s: 1.3; --oy: 0; --fx: 0.509; --pk: 0.270; --fw: 0.26; }
.cine .cine__pic img { object-position: 50% 50%; transform: scale(var(--s)); transform-origin: 50% calc(var(--oy) * 100%); }
.cine .cine__title {
  --imgw: max(100cqw, calc(var(--R) * 100cqh));
  --imgh: calc(var(--imgw) / var(--R));
  --fh: calc(100cqh - var(--bar-t) - var(--bar-b));             
  --fimgh: calc(max(100cqw, calc(var(--R) * var(--fh))) / var(--R));
  --peak: calc(var(--s) * ((var(--fh) - var(--fimgh)) / 2 + var(--pk) * var(--fimgh)));
  --lw: calc(var(--fw) * var(--imgw) * var(--s));
  display: block; margin: 0; right: auto; width: var(--lw);
  left: calc(50cqw + (var(--fx) - 0.5) * var(--imgw) * var(--s) - var(--lw) / 2);
  top: calc(var(--peak) / 2 - var(--lw) * 0.2236);
}
.cine .cine__title .cine__logo img { width: 100%; max-width: none; position: static; left: auto; transform: none; margin: 0; }
@media (max-width: 700px) {
  .cine { --R: 0.642857; --s: 1.3; --oy: 0; --fx: 0.5055; --pk: 0.410; --fw: 0.58; }
  .cine .cine__frond { bottom: 0; }
}
.nf-links ul { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.nf-links li { border-bottom: 1px solid var(--line); }
.nf-links a { display: block; padding: 18px 0; font: 400 clamp(1.25rem, 1rem + 0.8vw, 1.625rem)/1.3 var(--serif); color: var(--ink); text-decoration: none; }
.nf-links a:hover, .nf-links a:focus-visible { color: var(--gold-2); }
