@import url("./fonts.css?v=4");

:root {
  color-scheme: dark;
  --ground: #141b23;
  --section-dark: #19232d;
  --panel: #222e39;
  --panel-deep: #1a242e;
  --panel-hover: #2f3e4b;
  --accent: #9fb0c0;
  --accent-light: #d0dbe5;
  --ink: #edf1f5;
  --muted: #b0bdc9;
  --line: rgba(159, 176, 192, .30);
  --teal: #00d2a0;
  --type: Manrope, system-ui, sans-serif;
  --display: "Bricolage Grotesque", Manrope, system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --text-ease: cubic-bezier(.28, .58, .28, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1rem/1.65 var(--type); letter-spacing: .008em; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 650; line-height: 1; }
p + p { margin-top: 1rem; }
:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 4px; }
.wrap { width: min(100% - 8rem, 1240px); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 8vw, 8rem); }
.section-tonal { background: var(--section-dark); border-block: 1px solid #ffffff0d; }
.section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 46rem; }
.section-head > p:last-child:not(.eyebrow) { margin-top: .9rem; color: var(--muted); }
.eyebrow { font: 600 .78rem/1.35 var(--type); letter-spacing: .17em; text-transform: uppercase; color: var(--accent); }
h2 { font-size: clamp(2.6rem, 5.3vw, 4.7rem); letter-spacing: -.021em; }
.eyebrow + h2 { margin-top: .7rem; }
h2 em, .tagline em { color: var(--accent-light); font-weight: inherit; }
h3 { font-size: clamp(1.5rem, 2.7vw, 2.1rem); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.2rem; padding: .7rem 1.15rem; border: 1px solid transparent; border-radius: 3px; text-align: center; font-size: .875rem; font-weight: 600; line-height: 1.35; transition: background .2s, color .2s, border-color .2s; }
.button-primary { background: var(--accent-light); border-color: var(--accent-light); color: #161f28; }
.button-primary:hover { background: #eaf0f5; border-color: #eaf0f5; }
.button-outline { background: #121a2266; border-color: #8ea1b378; color: var(--ink); }
.button-outline:hover:not(:disabled) { background: #9fb0c024; border-color: var(--accent); }
.skip { position: fixed; z-index: 1002; left: 1rem; top: .5rem; transform: translateY(-160%); background: var(--accent-light); color: var(--ground); padding: .5rem 1rem; }
.skip:focus { transform: translateY(0); }

.navbar {
  --nav-bg: #18212bf2;
  --nav-line: #8c9dab39;
  --nav-text: #d9dee3;
  --nav-active: #e0e6ed;
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  background: linear-gradient(180deg, #17212bef, #17212ba6);
  border-bottom: 1px solid var(--nav-line);
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.navbar.scrolled, .navbar:has(.menu-toggle[aria-expanded="true"]) {
  background: var(--nav-bg);
  border-color: var(--nav-line);
  -webkit-backdrop-filter: blur(14px) saturate(115%);
  backdrop-filter: blur(14px) saturate(115%);
}
.nav-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(.65rem, 1.25vw, 1.25rem);
  width: min(100% - 3.5rem, 1360px);
  min-height: 4.25rem;
  margin-inline: auto;
}
.brand { display: inline-flex; align-items: center; justify-self: start; gap: .58rem; white-space: nowrap; }
.artisan-logo { width: 2.85rem; height: 2.85rem; object-fit: contain; }
.brand-name { font: 730 1.04rem/1.08 var(--display); letter-spacing: -.025em; text-transform: uppercase; }
.brand-divider { width: 1px; height: 1.1rem; background: var(--nav-line); }
.brand strong { color: var(--teal); font: 720 1.27rem/1 var(--display); letter-spacing: -.055em; }
.nav-items { display: flex; align-items: center; gap: clamp(.75rem, 1.45vw, 1.38rem); }
.navbar nav a { white-space: nowrap; font-size: .84rem; font-weight: 670; line-height: 1.25; }
.navbar nav a { display: grid; min-height: 2.75rem; align-items: center; color: var(--nav-text); transition: color .22s; }
.navbar nav a:hover, .navbar nav a[aria-current] { color: var(--nav-active); }
.navbar nav a[aria-current] { box-shadow: inset 0 -1px #98a9b9; }
.navbar :focus-visible { outline-color: #adbfd0; }
.menu-toggle, .nav-scrim { display: none; }
.menu-icon { display: grid; gap: 4px; width: 1rem; }
.menu-icon i { height: 1px; width: 100%; background: currentColor; transition: opacity .25s, transform .3s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-5px) rotate(-45deg); }
.back-top { position: fixed; z-index: 950; bottom: max(1rem, env(safe-area-inset-bottom)); left: max(1rem, env(safe-area-inset-left)); display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid #9fb0c072; border-radius: 100vmax; background: #212d38f5; color: var(--accent-light); font-size: .82rem; font-weight: 700; box-shadow: 0 8px 24px #0005; opacity: 0; transform: translateY(8px); visibility: hidden; transition: opacity .32s, transform .32s var(--ease), visibility .32s; }
.back-top.is-visible { opacity: 1; transform: translateY(0); visibility: visible; }
.back-top:hover { background: var(--panel-hover); }

.hero { min-height: 44rem; min-height: max(44rem, 100svh); position: relative; isolation: isolate; display: grid; overflow: clip; background: radial-gradient(ellipse at 80% 32%, #394957, #293641 54%, var(--ground) 83%); }
.hero-poppy { display: flex; align-items: center; justify-content: center; gap: .7rem; margin: 0 auto .5rem; pointer-events: none; }
.hero-poppy::before, .hero-poppy::after { content: ""; width: 3.6rem; height: 1px; background: linear-gradient(90deg, #9fb0c000, #9fb0c0ab); }
.hero-poppy::after { transform: scaleX(-1); }
.hero-poppy-mark { width: 2.55rem; height: 3.05rem; overflow: visible; transform-origin: 48% 100%; }
.hero-art, .hero-shade, .hero-frame { position: absolute; inset: 0; pointer-events: none; }
.hero-art { z-index: -4; transform: translate3d(var(--hero-x, 0px), calc(var(--hero-y, 0px) + var(--hero-scroll, 0px)), 0) scale(1.055); }
.hero-video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 53%; }
.hero-video-toggle { position: absolute; z-index: 1; right: clamp(1rem, 3.85vw, 3.4rem); bottom: 1.35rem; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid #d0dbe56e; border-radius: 50%; color: #edf2f6; background: #121a22cc; transition: background .22s, border-color .22s; }
.hero-video-toggle:not([hidden]):hover { background: var(--panel-hover); border-color: var(--accent-light); }
.hero-video-toggle svg { grid-area: 1 / 1; width: 1.35rem; height: 1.35rem; }
.hero-video-toggle[hidden], .hero-video-toggle .video-pause-icon, .hero-video-toggle[data-playing="true"] .video-play-icon { display: none; }
.hero-video-toggle[data-playing="true"] .video-pause-icon { display: block; }
.hero-shade { z-index: -2; background:
  radial-gradient(ellipse at 49% 53%, #121a227a, #121a2230 49%, #121a2200 74%),
  linear-gradient(180deg, #121a22c9, #121a2208 25%, #121a220d 62%, #121a2299 91%, #121a22e6);
}
.hero-wrap { display: grid; align-content: center; justify-items: center; min-height: 100%; padding-block: 9rem 4rem; position: relative; text-align: center; }
.hero-copy { width: 100%; }
.hero-kicker { display: flex; justify-content: center; gap: .85rem; align-items: center; color: var(--accent-light); }
.hero-kicker span, .hero-kicker::after { display: inline-block; width: clamp(1.2rem, 4.25vw, 3.8rem); height: 1px; background: linear-gradient(90deg, transparent, var(--accent)); }
.hero-kicker::after { content: ""; transform: scaleX(-1); }
.hero-title { width: fit-content; max-width: 100%; margin: .65rem auto .05rem; }
.hero-type-mask { overflow: clip; overflow-clip-margin: 12px; }
.hero-title h1 { display: flex; justify-content: center; padding-inline: .035em; font-size: clamp(6.3rem, 16vw, 15rem); line-height: .92; font-weight: 770; letter-spacing: .018em; color: #edf1f5; }
.hero-title h1 span { display: block; position: relative; }
@supports (background-clip: text) {
  .hero-title h1 span { background: linear-gradient(110deg, #d4dee7 0%, #f2f6fa 30%, #b9cbdc 47%, #f2f6fa 62%, #a8bdce 100%) right center / 240% 100%; background-clip: text; color: transparent; }
}
.tagline { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; column-gap: .27em; font: 530 clamp(1.9rem, 3.15vw, 3.3rem)/1.12 var(--display); letter-spacing: -.025em; margin-top: .8rem; }
.tagline > span { display: block; overflow: clip; overflow-clip-margin: 6px; }
.tagline > span > * { display: block; }
.hero-actions { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; margin-top: 1.95rem; }
.hero-actions .button { min-height: 3.45rem; gap: .65rem; padding: .7rem 1.2rem; border-radius: .7rem; font-size: .9rem; font-weight: 750; letter-spacing: -.012em; transition: background .25s, border-color .25s, box-shadow .3s var(--ease), transform .3s var(--ease); }
.hero-actions svg { width: 1.17rem; height: 1.17rem; flex: 0 0 auto; }
.hero-actions .button-primary { background: linear-gradient(160deg, #e4ebf2 4%, #c4d1dc 48%, #a1b2c4 100%); border-color: #d7e2eb; color: #15202a; box-shadow: inset 0 1px #fff9, 0 6px 18px #10182059; }
.hero-actions .button-outline { background: #1b2530e6; border-color: #98aabb82; color: #eef3f8; box-shadow: inset 0 1px #fff1, 0 6px 18px #0003; }
.hero-actions .button-outline svg { color: var(--accent-light); }
.hero-actions .button-primary:is(:hover, :focus-visible) { background: linear-gradient(160deg, #eff4f9 4%, #d3e0ec 48%, #b3c6d8 100%); box-shadow: inset 0 1px #fff9, 0 5px 25px #9bb0c236; }
.hero-actions .button-outline:is(:hover, :focus-visible) { background: var(--panel-hover); border-color: var(--accent-light); }
@media (hover: hover) and (pointer: fine) {
  .hero-actions .button:hover { transform: translateY(-2px); }
}
.hero-actions .button:active { transform: translateY(1px); }

.vision { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(1.75rem, 5vw, 5rem); }
.vision h2 { font-size: clamp(2.4rem, 4.45vw, 4.25rem); text-wrap: balance; }
.vision h2 > span, .vision h2 > em { display: block; }
.vision-copy { border-left: 1px solid var(--line); padding-left: clamp(1.1rem, 3vw, 2.8rem); color: var(--muted); }
.vision-copy .logline { color: var(--ink); font-size: 1.1rem; line-height: 1.7; }
.story-console { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.act-jumps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.act-jumps a { position: relative; min-width: 0; display: grid; place-content: center; gap: .2rem; min-height: 4.2rem; padding: .6rem .35rem; color: var(--muted); text-align: center; font-weight: 650; line-height: 1.25; transition: background .25s, color .25s; }
.act-jumps a + a { border-left: 1px solid #9fb0c022; }
.act-jumps a:first-child { border-top-left-radius: 9px; }
.act-jumps a:last-child { border-top-right-radius: 9px; }
.act-jumps a > span { font: 650 1.05rem/1.2 var(--display); }
.act-jumps small { font-size: .74rem; }
.act-jumps a:hover { color: var(--accent-light); background: var(--panel-hover); }
.act-jumps a[aria-selected="true"] { color: #18222c; background: var(--accent-light); }
.act-jumps a:focus-visible { z-index: 1; outline-offset: -5px; }
.act-jumps a[aria-selected="true"]:focus-visible { outline-color: #18222c; }
.story-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: stretch; }
.story-chart { display: grid; align-content: center; min-width: 0; padding: clamp(1.1rem, 2.6vw, 2.1rem); border-right: 1px solid var(--line); background: radial-gradient(ellipse at 87% 15%, #34485783, transparent 68%); }
.chart-heading { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.chart-heading h3 { font-size: clamp(1.02rem, 2vw, 1.45rem); }
.chart-heading p { color: var(--accent-light); border: 1px solid var(--line); border-radius: 4px; padding: .2rem .45rem; font-size: .74rem; white-space: nowrap; }
.chart-plot { width: min(100%, 27rem); margin: .6rem auto 0; }
.curve-control[role="slider"] { border-radius: 4px; cursor: ew-resize; touch-action: pan-y; user-select: none; }
.curve-control[role="slider"]:focus-visible { outline-offset: 2px; }
.curve { display: block; width: 100%; height: auto; overflow: visible; }
.curve path { vector-effect: non-scaling-stroke; }
.curve-grid, .curve-base, .curve-fill { fill: none; }
.curve-grid { stroke: #ffffff19; }
.curve-base { stroke: #9fb0c062; stroke-width: 1.5px; }
.curve-fill { stroke: var(--accent-light); stroke-width: 2px; stroke-linecap: round; }
.curve-guide { display: none; stroke: #9fb0c078; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.curve-control[role="slider"] .curve-guide { display: inline; }
.curve-halo { fill: #9fb0c044; stroke: #d0dbe5ab; transition: fill .2s, stroke .2s; }
.curve-control:is(:focus-visible, .is-scrubbing) .curve-halo { fill: #9fb0c083; stroke: var(--accent-light); }
.curve-marker { fill: #e6f0fa; }
.curve-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: .74rem; }
#curve-hint { color: var(--muted); text-align: center; font-size: .73rem; margin-top: .55rem; }
.acts { display: grid; min-width: 0; }
.act { display: grid; align-items: center; padding: clamp(1.25rem, 3vw, 2.65rem); }
.act[hidden] { display: none; }
.act .eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .7rem; }
.act .eyebrow span { width: .8rem; height: 1px; background: var(--accent); }
.act h3 { font-size: clamp(1.65rem, 3vw, 2.65rem); margin-block: .6rem; }
.act h3 + p { color: var(--muted); max-width: 56ch; }
.act:not([hidden]) + .act:not([hidden]) { border-top: 1px solid var(--line); }

.characters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.character-card { display: flex; flex-direction: column; text-align: left; min-height: 23rem; padding: 1.35rem; justify-content: end; position: relative; overflow: hidden; isolation: isolate; border: 1px solid var(--line); border-radius: 4px; background: linear-gradient(145deg, #2f3e4b, var(--panel-deep) 73%); transition: border-color .25s, background .25s; }
.character-card:hover { border-color: var(--accent); }
.character-portrait { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 27%; transition: transform .5s var(--ease); }
.character-portrait[hidden] { display: none; }
.character-card:hover .character-portrait { transform: scale(1.045); }
.character-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--ground) 4%, #121a22ed 33%, #121a2259 64%, transparent 92%); }
.character-initial { position: absolute; z-index: -3; color: #9fb3c538; font: 500 13rem/.85 var(--display); inset: .1rem .3rem auto auto; pointer-events: none; }
.character-role { text-transform: uppercase; font-size: .69rem; letter-spacing: .08em; color: var(--accent-light); min-height: 1.5rem; }
.character-name { display: block; font: 500 2.85rem/1 var(--display); margin-block: .65rem .35rem; }
.character-name small, .cast-role small { font: 400 .9rem/1 var(--type); color: var(--muted); }
.character-hook { display: block; color: var(--muted); line-height: 1.5; font-size: .9rem; padding-bottom: .85rem; }
.character-more { margin-top: .2rem; font-size: .78rem; font-weight: 600; color: var(--accent-light); display: flex; justify-content: space-between; align-items: center; }
.character-more b { font-size: 1.24rem; font-weight: 400; line-height: 1; }

.network-layout { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); overflow: clip; }
.network-select { display: flex; flex-wrap: wrap; gap: .45rem; padding: .9rem clamp(.85rem, 2.5vw, 1.5rem); border-bottom: 1px solid var(--line); }
.network-select button { min-height: 2.65rem; padding: .4rem .95rem; background: transparent; border: 1px solid #b0bdc940; border-radius: 5px; font-size: .98rem; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.network-select button:hover { border-color: var(--accent); }
.network-select button[aria-pressed="true"] { background: var(--accent-light); border-color: var(--accent-light); color: #18222c; }
.network-profile { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); min-height: 22rem; }
.network-focus { display: grid; place-items: center; align-content: center; text-align: center; padding: 1.35rem; border-right: 1px solid var(--line); background: radial-gradient(ellipse at 50% 44%, #334450, var(--panel-deep) 74%); }
.network-portrait { display: grid; place-items: center; width: min(100%, 12rem); aspect-ratio: 1; position: relative; }
.network-portrait img { width: 75%; height: 75%; object-fit: cover; border-radius: 50%; }
.network-portrait img[hidden] { display: none; }
.network-rings { position: absolute; inset: 0; width: 100%; height: 100%; stroke: #9fb0c040; }
.network-rings .ring-trace { stroke: var(--accent); stroke-width: 1.5px; stroke-dasharray: 1; stroke-dashoffset: .16; transform: rotate(-90deg); transform-origin: center; }
.network-rings .ring-dots { stroke: #d0dbe57d; stroke-dasharray: .006 .024; }
.network-focus h3 { font-size: clamp(2rem, 4vw, 3rem); margin: .55rem 0 .25rem; }
.network-focus p { color: var(--muted); }
.network-connections { padding: clamp(1rem, 3vw, 2.2rem); }
.network-connections .eyebrow { margin-bottom: .9rem; }
.network-connections ul { display: grid; gap: .5rem; list-style: none; padding: 0; }
.network-connections li button { width: 100%; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); align-items: center; gap: .8rem; text-align: left; padding: .42rem .65rem; min-height: 3.55rem; border: 1px solid #b0bdc92b; border-radius: 6px; background: var(--panel-deep); transition: border-color .25s, background .25s; }
.network-connections li button:hover, .network-connections li button:focus-visible { border-color: #9fb0c080; background: var(--panel-hover); }
.network-connections li img { border-radius: 50%; display: block; width: 2.65rem; aspect-ratio: 1; object-fit: cover; }
.network-connections li strong { display: block; font: 680 1.1rem/1.24 var(--display); }
.network-connections li span span { display: block; color: var(--muted); font-size: .87rem; line-height: 1.35; margin-top: .15rem; }

.cast-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.cast-role { border: 1px solid var(--line); border-radius: 4px; padding: 1rem; background: var(--panel); }
.cast-role h3 { margin-bottom: .8rem; }
.cast-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.actor-card { min-width: 0; display: grid; grid-template-rows: auto 1fr; border: 1px solid #ffffff26; border-radius: 4px; background: var(--ground); }
.actor-card:hover, .actor-card:has(.actor[aria-pressed="true"]) { border-color: var(--accent); }
.actor { min-width: 0; width: 100%; min-height: 3.45rem; display: grid; align-items: center; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem; padding: .55rem .62rem; border: 0; background: transparent; text-align: left; border-radius: 0 0 3px 3px; font-size: .82rem; line-height: 1.3; overflow-wrap: anywhere; transition: background .25s var(--ease); }
.actor:hover { background: var(--panel-hover); }
.actor[aria-pressed="true"] { background: #364858; }
.portrait { display: block; position: relative; width: 100%; aspect-ratio: 4 / 4.55; padding: 0; border: 0; border-radius: 3px 3px 0 0; background: #2b3a48; overflow: hidden; }
.portrait-preview { cursor: zoom-in; }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .7s var(--ease); }
.portrait:hover img, .portrait:focus-visible img { transform: scale(1.07); }
.portrait img[hidden], .scene img[hidden] { display: none; }
.option-label { position: absolute; left: .45rem; top: .45rem; min-width: 1.55rem; text-align: center; padding: .15rem .24rem; background: #121a22e0; color: var(--accent-light); font-size: .74rem; border: 1px solid var(--line); border-radius: 3px; }
.preview-icon { position: absolute; bottom: .45rem; right: .45rem; display: grid; width: 2rem; height: 2rem; place-items: center; color: var(--accent-light); border: 1px solid var(--line); border-radius: 3px; background: #121a22e0; transition: background .25s var(--ease), transform .35s var(--ease); }
.preview-icon svg { width: 1rem; height: 1rem; }
.portrait:hover .preview-icon, .portrait:focus-visible .preview-icon { transform: translateY(-3px); background: #334453; }
.portrait-note { display: block; margin-top: .36rem; color: var(--accent-light); font: 400 .72rem/1.3 var(--type); }
.actor-star { color: var(--accent-light); font-size: 1.23rem; line-height: 1; }
.cast-empty { grid-column: 1 / -1; min-height: 9rem; display: grid; align-content: center; justify-items: center; gap: .6rem; text-align: center; padding: 1rem; border: 1px dashed #9fb0c052; color: var(--muted); font-size: .85rem; }
.cast-empty svg { width: 1.8rem; color: var(--accent); }
.cast-summary { border: 1px solid var(--line); border-radius: 4px; margin-top: 1rem; padding: 1.4rem; display: flex; align-items: start; justify-content: space-between; gap: 1rem; background: #293744; }
.cast-summary p { color: var(--muted); margin-top: .45rem; font-size: .9rem; }
.cast-summary ul { padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; }
.cast-summary li { color: var(--accent-light); background: #9fb0c014; border: 1px solid var(--line); border-radius: 3px; padding: .3rem .55rem; margin-top: .45rem; font-size: .8rem; }
.copy-actions { flex-shrink: 0; max-width: 100%; }
.copy-actions textarea { display: block; width: 100%; margin-top: .55rem; }
#copy-status:empty { display: none; }

.scenes { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: .65rem; }
.scene { grid-column: span 4; display: grid; align-items: end; text-align: left; position: relative; isolation: isolate; min-height: 15.5rem; overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 3px; background: radial-gradient(ellipse at 80% 18%, #435462, #334453 53%, #232e39 80%); }
.scene:nth-child(-n + 2) { grid-column: span 5; min-height: 19rem; }
.scene:first-child { grid-column: span 7; }
.scene img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .85s var(--ease); }
.scene:hover img, .scene:focus-visible img { transform: scale(1.065); }
.scene::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #121a22f3, #121a2200 67%); }
.scene-text { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .9rem 1rem; font: 600 clamp(1.25rem, 2.4vw, 1.9rem)/1.05 var(--display); }
.scene-text svg { width: 1.2rem; flex-shrink: 0; color: var(--accent-light); }
.places-title { margin-block: 2.6rem 1rem; }
.places, .themes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.places article { border-top: 1px solid var(--line); padding-top: .85rem; }
.places h3, .themes h3 { font-size: 1.55rem; line-height: 1.1; }
.places p, .themes p { margin-top: .55rem; color: var(--muted); font-size: .9rem; }
.themes { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.themes article {
  min-width: 0;
  padding: 1.2rem;
  background: linear-gradient(152deg, #334453, #293744 64%, var(--panel-deep));
  border: 1px solid #98adbe51;
  border-top-color: #a4b7c88c;
  border-radius: 7px;
}
.themes svg {
  display: block;
  width: 2.65rem;
  height: 2.65rem;
  margin-bottom: 1rem;
  padding: .52rem;
  border: 1px solid #a9bfd054;
  border-radius: 7px;
  background: #a9bfd015;
  color: var(--accent-light);
}
.symbol {
  margin-top: 1rem;
  padding: 1.15rem 1.35rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: linear-gradient(100deg, #2e4150, var(--panel-deep) 66%);
}
.symbol svg { width: 3.4rem; flex-shrink: 0; }
.symbol h3 { color: var(--accent-light); margin-bottom: .35rem; }
.symbol p { color: var(--muted); }

footer.section { padding-block: clamp(3rem, 6vw, 5rem) 1.65rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.25fr 1.15fr; gap: 2.2rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .85rem; font-size: 1.35rem; line-height: 1.16; }
.footer-brand .footer-logo { width: 3.5rem; height: 3.5rem; }
.footer-brand small { display: block; color: var(--muted); font-size: .93rem; margin-top: .2rem; }
.footer-identity h2 { margin-top: 1.4rem; font-size: 2.9rem; }
.footer-identity p { color: var(--muted); margin-top: .35rem; }
.footer-links h3, .footer-contact h3 { font-size: 1.46rem; margin-bottom: .9rem; color: var(--accent-light); }
.footer-links ul { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem .9rem; list-style: none; padding: 0; }
.footer-links a, .footer-contact a, .footer-contact address { font-size: 1rem; }
.footer-grid a:hover { color: var(--accent-light); text-decoration: underline; text-underline-offset: .2em; }
.footer-contact address { display: grid; justify-items: start; gap: .4rem; font-style: normal; }
.footer-contact address span { color: var(--muted); }
.footer-contact .footer-map { color: var(--accent-light); text-decoration: underline; text-underline-offset: .23em; }
.footer-social { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: .95rem; }
.footer-bottom { margin-top: 2.65rem; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; color: var(--muted); font-size: .9rem; }
.footer-bottom p { margin: 0; }

.modal { background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 5px; width: min(36rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: clamp(1.25rem, 4vw, 2.5rem); }
.modal::backdrop { background: #0d141cdf; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.modal h2 { margin-top: .6rem; }
.modal h2 + p { margin-top: .75rem; color: var(--muted); }
.modal .button { margin-top: 1rem; }
.close-button { position: absolute; top: .6rem; right: .6rem; z-index: 2; border: 1px solid var(--line); border-radius: 3px; width: 2.55rem; height: 2.55rem; background: #121a22e8; font-size: 1.5rem; line-height: 1; }
.close-button:hover { border-color: var(--accent); }
.lightbox { width: min(60rem, calc(100% - 2rem)); padding: 0; }
.preview-stage { position: relative; display: grid; place-items: center; overflow: clip; height: min(59dvh, 35rem); background: radial-gradient(ellipse at 50% 55%, #283745, #141b23 70%); }
.preview-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.preview-stage > p { color: var(--muted); padding: 1rem; }
#character-dialog { width: min(52rem, calc(100% - 2rem)); padding: 0; }
.character-detail { display: grid; grid-template-columns: .85fr 1fr; }
.character-detail img { width: 100%; height: 100%; max-height: 29rem; min-height: 23rem; object-fit: cover; object-position: center 26%; }
.character-detail:has(img[hidden]) { grid-template-columns: 1fr; }
#character-content { align-self: center; padding: 2rem; }
#preview-counter { margin: 0; }
.lightbox-bottom { padding: 1rem 1.25rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.lightbox h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.gallery-controls { display: flex; gap: .5rem; }
.gallery-controls .button { margin-top: 0; }

@media (max-width: 1279px) {
  .wrap { width: min(100% - 5rem, 1240px); }
  .navbar { background: var(--nav-bg); }
  .nav-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: minmax(3.75rem, auto) auto;
    column-gap: .85rem;
    row-gap: 0;
    min-height: 0;
  }
  .brand .artisan-logo { width: 2.65rem; height: 2.65rem; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: .6rem;
    min-width: 4.25rem;
    min-height: 2.75rem;
    padding: .35rem .2rem .35rem .4rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--nav-text);
    font-weight: 700;
    font-size: .83rem;
    line-height: 1;
  }
  .menu-toggle:is(:hover, [aria-expanded="true"]) { color: var(--nav-active); }
  .menu-icon { width: 1.03rem; }
  .navbar nav {
    display: grid;
    grid-column: 1 / -1;
    grid-template-rows: 0fr;
    min-width: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: grid-template-rows .32s var(--ease), opacity .22s var(--ease), visibility 0s linear .32s;
  }
  .navbar nav.is-open {
    grid-template-rows: 1fr;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .nav-items {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    max-height: calc(100dvh - 4.25rem);
    overflow: auto;
    overscroll-behavior: contain;
  }
  .navbar nav a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 2.95rem;
    padding: .55rem .35rem;
    border-bottom: 1px solid #8c9dab24;
    color: var(--nav-text);
    font-size: .91rem;
    white-space: normal;
  }
  .navbar nav a:first-child { border-top: 1px solid var(--nav-line); }
  .navbar nav a:last-child { border-bottom: 0; margin-bottom: .45rem; }
  .navbar nav a:is(:hover, [aria-current]) { color: var(--nav-active); box-shadow: none; }
  .navbar nav a[aria-current] { font-weight: 800; }
  .navbar nav a[aria-current]::after {
    content: "";
    width: .38rem;
    height: .38rem;
    margin-inline-start: auto;
    border-radius: 50%;
    background: #a2b4c5;
  }
  .navbar nav a:focus-visible { outline-offset: -3px; }
  .nav-scrim {
    display: block;
    position: fixed;
    z-index: 980;
    inset: 0;
    background: #0a101790;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    touch-action: none;
    transition: opacity .28s var(--ease), visibility .28s;
  }
  .navbar:has(.menu-toggle[aria-expanded="true"]) + .nav-scrim {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .themes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 840px) {
  .wrap { width: calc(100% - 3rem); }
  .characters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.1fr) minmax(0, 1.1fr); gap: 1rem; }
  .footer-links ul { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 2.1rem); }
  html { scroll-padding-top: 72px; }
  .nav-inner { width: calc(100% - 2.05rem); column-gap: .55rem; }
  .brand { gap: .45rem; }
  .brand-name { font-size: clamp(.84rem, 3.35vw, 1.05rem); }
  .brand strong { font-size: clamp(1.1rem, 4.1vw, 1.28rem); }
  .hero-poppy { margin-bottom: .4rem; }
  .hero-poppy-mark { width: 1.95rem; height: 2.4rem; }
  .network-select { gap: .3rem; }
  .network-select button { padding-inline: .61rem; min-height: 2.3rem; font-size: .91rem; }
  .network-profile { grid-template-columns: 1fr; }
  .network-focus { grid-template-columns: 5.1rem minmax(0, 1fr); grid-template-rows: auto auto; place-items: initial; align-content: initial; column-gap: .75rem; text-align: left; padding: .75rem 1rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .network-portrait { grid-row: 1 / 3; width: 100%; }
  .network-focus h3 { margin: 0; align-self: end; }
  .network-focus p { align-self: start; margin-top: .18rem; }
  .footer-grid { gap: 1.6rem; }
  .footer-links ul { grid-template-columns: 1fr 1fr; }
  .section { padding-block: 3.7rem; }
  .hero { min-height: clamp(34rem, 89svh, 47rem); }
  .hero-wrap { align-content: end; padding-block: 7.35rem max(1.5rem, env(safe-area-inset-bottom)); }
  .hero-video { object-position: 54% center; }
  .hero-video-toggle { display: none; }
  .hero-shade { background: linear-gradient(0deg, #121a22fa, #121a22cd 17%, #121a226b 34%, #121a2214 57%, transparent 79%, #121a2287); }
  .hero-title h1 { font-size: clamp(4.45rem, 20vw, 7.6rem); }
  .hero-kicker { font-size: .68rem; letter-spacing: .13em; }
  .hero-kicker, .tagline { text-shadow: 0 1px 4px #121a22d9, 0 2px 14px #121a22b3; }
  .hero-kicker span, .hero-kicker::after { width: 1.35rem; }
  .tagline { flex-direction: column; align-items: center; font-size: clamp(1.55rem, 6.75vw, 3rem); }
  .hero-actions { gap: .55rem; margin-top: 1.25rem; }
  .hero-actions .button { min-height: 3.15rem; gap: .38rem; padding-inline: .73rem; font-size: .79rem; }
  .hero-actions svg { width: 1rem; height: 1rem; }

  .vision, .story-grid, .footer-grid { grid-template-columns: 1fr; }
  .vision { gap: 1.5rem; }
  .act-jumps a { min-height: 3.5rem; }
  .act-jumps a > span { font-size: .84rem; }
  .act-jumps small { font-size: .7rem; }
  .act-jumps small span { display: none; }
  .story-chart { border-right: 0; border-bottom: 1px solid var(--line); padding-block: .8rem; }
  .chart-plot { width: min(100%, 17rem); }
  .act { min-height: 14rem; align-items: start; padding: 1.05rem 1.1rem 1.35rem; }
  .characters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
  .character-card { padding: .82rem; min-height: 17rem; }
  .character-name { font-size: 2.25rem; }
  .character-role { min-height: 2rem; font-size: .64rem; }
  .character-hook { font-size: .8rem; }
  .character-more { font-size: .71rem; }
  .cast-grid { grid-template-columns: 1fr; gap: .65rem; }
  .cast-summary { flex-wrap: wrap; }
  .actor { font-size: .85rem; }
  .scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scene, .scene:nth-child(-n + 2) { grid-column: auto; min-height: 10.5rem; }
  .scene:first-child { grid-column: 1 / -1; min-height: 13rem; }
  .scene-text { padding: .68rem; }
  .scene-text svg { width: .9rem; }
  .themes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .themes article { padding: .9rem; }
  .themes svg { width: 2.35rem; height: 2.35rem; padding: .43rem; }
  .symbol { padding: .95rem; }
  .themes h3, .places h3 { font-size: 1.35rem; }
  .lightbox-bottom { display: block; }
  .gallery-controls { margin-top: .8rem; }
}
@media (max-width: 350px) {
  .hero-actions .button { padding-inline: .68rem; }
  .hero-actions svg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-art { transform: none; }
}

.hero-motion { position: absolute; z-index: -1; width: min(54%, 46rem); right: clamp(1rem, 3vw, 3rem); top: 50%; transform: translateY(-45%); pointer-events: none; stroke: url(#hero-traces); stroke-width: 1px; opacity: .43; }
.hero-orbit circle, .hero-contours path { stroke-dasharray: 1; }
.hero-orbit circle { stroke-dashoffset: .08; }
.hero-contours path { stroke-dashoffset: .02; }
.hero-frame {
  z-index: -1;
  inset: 7rem max(1.25rem, calc((100% - 1320px) / 2)) 1.35rem;
  background:
    linear-gradient(var(--accent), var(--accent)) right top / 1px 18px,
    linear-gradient(var(--accent), var(--accent)) right top / 18px 1px,
    linear-gradient(var(--accent), var(--accent)) left bottom / 1px 18px,
    linear-gradient(var(--accent), var(--accent)) left bottom / 18px 1px;
  background-repeat: no-repeat;
  opacity: .55;
}
@media (min-width: 621px) {
  .cast-role:has(.cast-empty) { grid-row: 3; }
  .cast-role:has(.cast-empty) .cast-empty { min-height: 7.5rem; }
}
@media (max-width: 620px) {
  .brand .artisan-logo { width: 2.45rem; height: 2.45rem; }
  .hero-motion { width: min(92%, 29rem); right: -22%; top: 47%; opacity: .23; }
  .hero-frame { inset: 5.9rem 1rem 1.35rem; opacity: .36; }
  .preview-stage { height: min(52dvh, 32rem); }
  .character-detail { grid-template-columns: 1fr; }
  .character-detail img { max-height: 42dvh; min-height: 0; }
  #character-content { padding: 1.25rem; }
}
@media (min-width: 621px) and (max-width: 840px) {
  .cast-role:has(.cast-empty) { grid-row: auto; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-video { animation: backdrop-open 1.25s var(--text-ease) backwards; }
  .hero-frame { animation: backdrop-open 1.65s .18s var(--text-ease) backwards; }
  .brand-name, .brand strong { animation: nav-type .95s .06s var(--text-ease) backwards; }
  .hero-kicker { animation: text-rise 1.55s .28s var(--text-ease) backwards; }
  .hero-title h1 span { animation: title-letter 1.95s var(--letter-delay, .22s) var(--text-ease) backwards, letter-light 2.25s calc(var(--letter-delay, .22s) + .46s) var(--text-ease) both; }
  .hero-title h1 span:nth-child(2) { --letter-delay: .33s; }
  .hero-title h1 span:nth-child(3) { --letter-delay: .44s; }
  .hero-title h1 span:nth-child(4) { --letter-delay: .55s; }
  .tagline > span > * { animation: type-open 1.75s .69s var(--text-ease) backwards; }
  .tagline > span + span > * { animation-delay: .85s; }
  .hero-actions { animation: text-rise 1.55s .96s var(--text-ease) backwards; }

  .reveal-waiting { opacity: 0; }
  .reveal-entered { animation: backdrop-open .92s var(--text-ease) backwards; }
  .vision .reveal-entered .eyebrow,
  .vision .reveal-entered h2 > *,
  .vision-copy.reveal-entered > p {
    animation: vision-sweep 1.85s var(--text-ease) backwards;
  }
  .entrance-waiting { opacity: 0; }
  #hikaye .entrance-playing { --story-ease: cubic-bezier(.4, .02, .26, 1); }
  #hikaye .section-head.entrance-playing > *,
  .story-console.entrance-playing :is(.chart-heading, .curve-labels, #curve-hint),
  .story-console.entrance-playing .act-jumps a > *,
  .story-console.entrance-playing .act-copy > * {
    animation: story-title-wipe 1.95s var(--story-ease) backwards;
  }
  #hikaye .section-head.entrance-playing > h2 { animation-duration: 2.2s; animation-delay: .14s; }
  #hikaye .section-head.entrance-playing > p:not(.eyebrow) { animation-delay: .43s; }
  .story-console.entrance-playing {
    position: relative;
    isolation: isolate;
    overflow: clip;
    animation: backdrop-open .5s var(--story-ease) backwards;
  }
  .story-console.entrance-playing::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: var(--section-dark);
    transform-origin: right center;
    pointer-events: none;
    animation: story-panel-open 1.75s var(--story-ease) both;
  }
  .story-console.entrance-playing::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0 auto 0 -36%;
    width: 36%;
    border-right: 1px solid #c3d7e781;
    background: linear-gradient(90deg, transparent 18%, #9fb0c018 75%, #b9d0e135);
    pointer-events: none;
    animation: story-light-pass 2s .08s var(--story-ease) both;
  }
  .story-console.entrance-playing .act-jumps a > * { animation-delay: calc(.14s + var(--tab-entry, 0s)); }
  .act-jumps a:nth-child(2) { --tab-entry: .085s; }
  .act-jumps a:nth-child(3) { --tab-entry: .17s; }
  .act-jumps a:nth-child(4) { --tab-entry: .255s; }
  .act-jumps a:nth-child(5) { --tab-entry: .34s; }
  .story-console.entrance-playing .chart-heading { animation-delay: .34s; }
  .story-console.entrance-playing .curve { animation: curve-sweep 2.15s .4s var(--story-ease) backwards; }
  .story-console.entrance-playing :is(.curve-labels, #curve-hint, .act-copy .eyebrow) { animation-delay: .5s; }
  .story-console.entrance-playing .act-copy h3 { animation-delay: .65s; }
  .story-console.entrance-playing .act-copy h3 + p { animation-delay: .82s; }
  .vision .reveal-entered h2 > span { animation-delay: .13s; }
  .vision .reveal-entered h2 > em { animation-delay: .31s; }
  .vision-copy.reveal-entered > p { animation-delay: .24s; }
  .vision-copy.reveal-entered > p + p { animation-delay: .43s; }
  .hero-poppy { animation: backdrop-open 1.45s .22s var(--text-ease) backwards; }
  .hero-poppy-mark { animation: blossom-sway 4.2s .95s ease-in-out 1; }
  .poppy-stem { stroke-dasharray: 1; animation: trace-on 1.4s .2s var(--ease) both; }
  .poppy-petal { transform-box: fill-box; transform-origin: center bottom; animation: bloom 1.3s .55s var(--ease) both; }
  .poppy-petal:last-child { animation-delay: .8s; }
  .footer-grid.reveal-entered :is(.footer-brand, h2, h3, p, .footer-links li, address > *, .footer-social),
  .footer-bottom.reveal-entered > p {
    animation: text-rise 1.5s calc(var(--reveal-delay, 0ms) + var(--text-delay, 0ms)) var(--text-ease) backwards;
  }
  .footer-identity h2 { --text-delay: 125ms; }
  .footer-identity p, .footer-links li, .footer-contact address > * { --text-delay: 245ms; }
  .footer-social { --text-delay: 340ms; }
  .footer-links li:nth-child(2n) { --text-delay: 110ms; }

  :is(.characters, .cast-grid, .scenes, .places, .themes) > .entrance-playing:nth-child(3n + 2) { --entry-delay: .12s; }
  :is(.characters, .cast-grid, .scenes, .places, .themes) > .entrance-playing:nth-child(3n) { --entry-delay: .24s; }

  :is(#karakterler, #iliski-agi, #cast, #sahneler, #temalar) .section-head.entrance-playing > * {
    animation: var(--section-entry, text-rise) 1.8s var(--text-ease) backwards;
  }
  :is(#karakterler, #iliski-agi, #cast, #sahneler, #temalar) .section-head.entrance-playing h2 { animation-delay: .13s; }
  :is(#karakterler, #iliski-agi, #cast, #sahneler, #temalar) .section-head.entrance-playing > p:not(.eyebrow) { animation-delay: .34s; }
  #karakterler .section-head { --section-entry: portrait-rise; }
  #iliski-agi .section-head { --section-entry: picture-focus; }
  #cast .section-head { --section-entry: cast-entry; --cast-from: -1.1rem; --cast-mask: inset(0 42% 0 0); }
  #sahneler .section-head { --section-entry: screen-open; }
  #temalar .section-head { --section-entry: theme-open; }

  .character-card.entrance-playing {
    animation: backdrop-open .8s var(--entry-delay, 0s) var(--text-ease) backwards;
  }
  .character-card.entrance-playing .character-portrait {
    animation: portrait-rise 1.95s var(--entry-delay, 0s) var(--text-ease) backwards;
  }
  .character-card.entrance-playing :is(.character-role, .character-name, .character-hook, .character-more) {
    animation: text-rise 1.7s calc(var(--entry-delay, 0s) + var(--portrait-text-delay, .24s)) var(--text-ease) backwards;
  }
  .character-name { --portrait-text-delay: .39s; }
  .character-hook { --portrait-text-delay: .52s; }
  .character-more { --portrait-text-delay: .63s; }

  .network-layout.entrance-playing { animation: backdrop-open 1s var(--text-ease) backwards; }
  .network-layout.entrance-playing .network-select { animation: text-rise 1.45s .04s var(--text-ease) backwards; }
  .network-layout.entrance-playing .network-portrait img { animation: portrait-circle 1.85s .18s var(--text-ease) backwards; }
  .network-layout.entrance-playing .ring-trace { animation: trace-on 1.95s .12s var(--text-ease) backwards; }
  .network-layout.entrance-playing .ring-dots { animation: backdrop-open 1.55s .45s var(--text-ease) backwards; }
  .network-layout.entrance-playing :is(.network-focus h3, .network-focus p) {
    animation: text-rise 1.6s .35s var(--text-ease) backwards;
  }
  .network-layout.entrance-playing :is(#network-list-heading, #network-links li) {
    --cast-from: 1.2rem;
    --cast-mask: inset(0 0 0 28%);
    animation: cast-entry 1.6s var(--row-entry, .19s) var(--text-ease) backwards;
  }
  #network-links li:nth-child(2) { --row-entry: .29s; }
  #network-links li:nth-child(3) { --row-entry: .39s; }
  #network-links li:nth-child(4) { --row-entry: .49s; }
  #network-links li:nth-child(5) { --row-entry: .59s; }

  .cast-role.entrance-playing, .cast-summary.entrance-playing { animation: theme-open 1.05s var(--entry-delay, 0s) var(--text-ease) backwards; }
  .cast-role.entrance-playing .actor-card {
    --cast-from: -1.15rem;
    --cast-mask: inset(0 22% 0 0);
    animation: cast-entry 1.85s calc(var(--entry-delay, 0s) + .12s) var(--text-ease) backwards;
  }
  .cast-role.entrance-playing .actor-card + .actor-card {
    --cast-from: 1.15rem;
    --cast-mask: inset(0 0 0 22%);
    animation-delay: calc(var(--entry-delay, 0s) + .22s);
  }
  .cast-role.entrance-playing :is(h3, .cast-empty p),
  .cast-summary.entrance-playing > :first-child > * {
    animation: text-rise 1.55s calc(var(--entry-delay, 0s) + .23s) var(--text-ease) backwards;
  }

  .scene.entrance-playing { animation: backdrop-open .9s var(--entry-delay, 0s) var(--text-ease) backwards; }
  .scene.entrance-playing img { animation: screen-open 2.05s var(--entry-delay, 0s) var(--text-ease) backwards; }
  .scene.entrance-playing .scene-text { animation: text-rise 1.65s calc(var(--entry-delay, 0s) + .35s) var(--text-ease) backwards; }
  .places-title.entrance-playing,
  .places .entrance-playing { animation: text-rise 1.55s var(--entry-delay, 0s) var(--text-ease) backwards; }

  .themes article.entrance-playing { animation: theme-open 1.6s var(--entry-delay, 0s) var(--text-ease) backwards; }
  .themes article.entrance-playing svg [pathLength] { stroke-dasharray: 1; animation: trace-on 1.8s calc(var(--entry-delay, 0s) + .06s) var(--text-ease) backwards; }
  .themes article.entrance-playing :is(h3, p),
  .symbol.entrance-playing div { animation: text-rise 1.65s calc(var(--entry-delay, 0s) + .39s) var(--text-ease) backwards; }
  .symbol.entrance-playing svg { transform-origin: center bottom; animation: bloom 1.6s .12s var(--text-ease) backwards; }
  .hero-actions:focus-within, .reveal-entered :focus-visible { animation: none; }
  .hero-orbit circle, .hero-contours path { animation: trace-on 2.6s var(--ease) both; }
  .hero-orbit circle:nth-child(2) { animation-delay: .14s; }
  .hero-contours path:nth-child(2) { animation-delay: .2s; }
  .hero-contours path:nth-child(3) { animation-delay: .33s; }
  .hero-orbit .orbit-marks { animation: fade-up .9s .55s var(--ease) both; }
  .modal[open] { animation: modal-open .5s var(--ease); }
  .modal[open]::backdrop { animation: backdrop-open .36s ease-out; }
  .modal[open] #character-content > *,
  .modal[open] .lightbox-bottom > :first-child > * {
    animation: text-rise 1.45s .1s var(--text-ease) backwards;
  }
  .modal[open] #character-content > h2, .modal[open] .lightbox-bottom h2 { animation-delay: .18s; }
  .modal[open] #character-content > h2 ~ *, .modal[open] .lightbox-bottom h2 + p { animation-delay: .31s; }
  .modal[open] #character-content > :focus-visible { animation: none; }
  @media (min-width: 1280px) {
    .navbar nav a { animation: nav-type 1.05s .16s var(--text-ease) backwards; }
    .navbar nav a:nth-child(n + 4) { animation-delay: .23s; }
  }
  .modal[open] #character-image { animation: picture-open .85s var(--ease) both; }
}
@keyframes title-letter {
  from { clip-path: inset(100% -.08em -.08em); transform: translateY(.26em); opacity: 0; }
  to { clip-path: inset(-.08em); transform: translateY(0); opacity: 1; }
}
@keyframes letter-light {
  from { background-position: 0% center; }
  to { background-position: 100% center; }
}
@keyframes picture-open {
  from { transform: scale(1.07); opacity: .58; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes type-open {
  from { transform: translateY(82%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes text-rise {
  from { transform: translateY(.85rem); opacity: .14; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes nav-type {
  from { transform: translateY(4px); opacity: .55; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes fade-up {
  from { transform: translateY(17px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes modal-open {
  from { transform: translateY(20px) scale(.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes backdrop-open {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes trace-on {
  from { stroke-dashoffset: 1; opacity: 0; }
  to { opacity: 1; }
}
@keyframes vision-sweep {
  from { transform: translateX(-2.2rem); clip-path: inset(-.2em 100% -.2em -1em); opacity: .18; }
  to { transform: translateX(0); clip-path: inset(-.2em -.2em -.2em -1em); opacity: 1; }
}
@keyframes portrait-rise {
  from { clip-path: inset(100% 0 -.35rem); transform: translateY(14px) scale(1.025); opacity: .22; }
  to { clip-path: inset(-.35rem); transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes picture-focus {
  from { opacity: .18; transform: scale(.972); filter: blur(4px); }
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}
@keyframes portrait-circle {
  from { clip-path: circle(0% at 50% 50%); opacity: .36; }
  to { clip-path: circle(72% at 50% 50%); opacity: 1; }
}
@keyframes cast-entry {
  from { clip-path: var(--cast-mask); transform: translateX(var(--cast-from)); opacity: .25; }
  to { clip-path: inset(-.25rem); transform: translateX(0); opacity: 1; }
}
@keyframes screen-open {
  from { clip-path: inset(0 50%); transform: scale(1.06); opacity: .2; }
  to { clip-path: inset(-.25rem); transform: scale(1); opacity: 1; }
}
@keyframes theme-open {
  from { transform: translateY(.5rem) scale(.96); opacity: .19; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes story-title-wipe {
  from { transform: translateX(-2.85rem); clip-path: inset(-.35em 100% -.35em -1em); opacity: .22; }
  to { transform: translateX(0); clip-path: inset(-.35em); opacity: 1; }
}
@keyframes story-panel-open {
  from { opacity: 1; transform: scaleX(1); }
  to { opacity: 1; transform: scaleX(0); }
}
@keyframes story-light-pass {
  0% { transform: translateX(0); opacity: 0; }
  22% { opacity: .8; }
  74% { opacity: .6; }
  100% { transform: translateX(378%); opacity: 0; }
}
@keyframes curve-sweep {
  from { clip-path: inset(-.55rem 100% -.55rem -.55rem); opacity: .18; }
  to { clip-path: inset(-.55rem); opacity: 1; }
}
@keyframes bloom {
  from { transform: scale(.25); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes blossom-sway {
  0%, 100% { transform: rotate(0deg); }
  38% { transform: rotate(-5deg); }
  70% { transform: rotate(3deg); }
}
