@font-face {
  font-family: Manrope;
  src: url("assets/type/manrope-latin.woff2") format("woff2");
  font-style: normal; font-weight: 400 700; font-display: swap;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cinema, .reading { font-family: Manrope, Arial, sans-serif; }
.cinema { --ink: #f6f5eb; --muted: #d4dbce; --amber: #efbe84; --edge: clamp(1.25rem,4.6vw,5.5rem); margin: 0; color: var(--ink); background: #050907; color-scheme: dark; }
.cinema a { color: inherit; }
.cinema .skip { color: #102118; }
.cinema button { color: inherit; border: 0; margin: 0; background: none; cursor: pointer; }
.cinema :focus-visible { outline: 2px solid #f3c380; outline-offset: 4px; }
.stage { height: 100vh; height: 100dvh; }
#wohnentwurf.scrub { height: 435vh; height: calc(335svh + 100dvh); }
.scrub .stage { position: sticky; top: 0; }
.composition { position: relative; isolation: isolate; width: 100%; height: 100%; overflow: hidden; }
.picture, .picture video, .scroll-preview { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.picture video, .scroll-preview { object-fit: cover; object-position: 50% 50%; background: #050907; }
.scroll-preview { pointer-events: none; }
.composition::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgb(0 8 6 / .44),transparent 16%,transparent 76%,rgb(0 7 5 / .58)), radial-gradient(ellipse at 16% 79%,rgb(0 8 4 / .61),transparent 39%); }
[data-scene="spirale"] .composition::after, [data-scene="see"] .composition::after, [data-scene="eingang"] .composition::after {
  background: linear-gradient(180deg,rgb(0 8 6 / .43),transparent 18%,transparent 74%,rgb(0 7 5 / .59)), radial-gradient(ellipse at 84% 72%,rgb(0 7 5 / .73),transparent 38%); }
.film-header, .chapters, .film-bottom, #film-hinweis { position: absolute; z-index: 2; }
.film-header { top: max(0.8rem,env(safe-area-inset-top)); left: max(var(--edge),env(safe-area-inset-left)); right: max(var(--edge),env(safe-area-inset-right)); height: 48px; pointer-events: none; }
.film-header a { pointer-events: auto; }
.film-brand { position: absolute; left: 50%; transform: translateX(-50%); width: 48px; height: 48px; display: grid; place-items: center; }
.film-brand span { display: block; width: 28px; height: 28px; background: #f7f5e6; mask: url("assets/punara.svg") center / contain no-repeat; -webkit-mask: url("assets/punara.svg") center / contain no-repeat; filter: drop-shadow(0 1px 4px #000); }
.menu-toggle, .panel-close, .panel-chrome a { display: inline-flex; min-height: 44px; align-items: center; gap: .65rem; }
.menu-toggle { position: absolute; right: 0; padding-inline: .4rem; font-size: .9rem; text-decoration: none; text-shadow: 0 1px 8px #000; }
.menu-icon { width: 18px; height: 7px; border-block: 1px solid currentColor; }
.chapters { left: max(var(--edge),env(safe-area-inset-left)); bottom: 18%; width: min(21rem,35%); text-shadow: 0 2px 14px #08100d; }
[data-scene="spirale"] .chapters, [data-scene="see"] .chapters, [data-scene="eingang"] .chapters { left: auto; right: max(6.3vw,env(safe-area-inset-right)); width: min(21rem,29%); }
.chapters article { margin: 0; }
[data-scene="spirale"] .chapters { top: 19%; bottom: auto; }
.chapters h2 { font: 500 clamp(2.1rem,3.3vw,3.8rem)/1.035 Manrope,Arial,sans-serif; letter-spacing: -.06em; text-wrap: balance; margin: 0; }
.title-link { display: inline-block; text-decoration: none; }
.story-hit { display: block; text-decoration: none; }
.story-hit:hover .story-link, .story-hit:focus-visible .story-link { text-decoration: underline; text-underline-offset: .22em; }
.chapters p { font-size: clamp(.95rem,1.04vw,1.15rem); line-height: 1.5; color: #efefe7; margin: .85rem 0 .2rem; max-width: 31ch; }
.story-link, .back-film { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; font-size: .875rem; font-weight: 600; text-decoration: none; }
.story-link::before { content: ""; width: 1.6rem; height: 1px; flex: 0 0 auto; background: var(--amber,#bd834e); }
.story-link:hover, .title-link:hover, .menu-toggle:hover { text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }
.film-bottom { left: max(var(--edge),env(safe-area-inset-left)); right: max(var(--edge),env(safe-area-inset-right)); bottom: max(1rem,env(safe-area-inset-bottom)); display: flex; justify-content: space-between; align-items: center; gap: .2rem 1rem; text-shadow: 0 1px 8px #000; }
.chapter-nav { order: -1; display: flex; gap: clamp(.5rem,1.3vw,1.6rem); }
.chapter-nav button, #play { min-height: 44px; min-width: 44px; padding: .3rem 0; font-size: .875rem; }
.chapter-nav button { color: #e1e4dc; }
.chapter-nav button[aria-current="step"] { color: #fff; text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 6px; }
#film-action { display: flex; align-items: center; gap: 1.3rem; }
.scroll-cue { font-size: .8rem; color: var(--muted); }
#play { display: inline-flex; align-items: center; gap: .6rem; }
#play::before { content: ""; width: 0; height: 0; border-block: .3rem solid transparent; border-left: .5rem solid currentColor; }
#play[data-playing]::before { width: .45rem; height: .65rem; border: 0; border-inline: 2px solid currentColor; }
.film-track { position: absolute; bottom: 0; height: 1px; width: 100%; background: rgb(245 241 221 / .25); }
.film-track i { display: block; height: 100%; width: 100%; background: var(--amber); transform-origin: left; transform: scaleX(0); }
#film-hinweis { top: 14%; left: var(--edge); right: var(--edge); margin: 0; color: #fff; text-align: center; }
.cinema:not(.enhanced) .film-bottom, #wohnentwurf:not(.scrub) .scroll-cue { display: none; }
.cinema:not(.enhanced) .composition::after { bottom: 3.5rem; }
.cinema:not(.enhanced) .chapters { bottom: 21%; }
#film-panel { position: fixed; inset: 0 0 0 auto; margin: 0; padding: clamp(1.25rem,3.5vw,3.75rem); padding-block: max(1rem,env(safe-area-inset-top)) max(1.5rem,env(safe-area-inset-bottom)); color: #f0f2e8; background: #0b1712; border: 0; border-left: 1px solid #4c554a; width: min(31rem,100%); max-width: 100%; height: 100%; max-height: 100%; overflow-y: auto; overscroll-behavior: contain; }
#film-panel::backdrop { background: rgb(1 8 5 / .52); }
html.panel-open { overflow: hidden; }
.panel-chrome { display: flex; justify-content: space-between; align-items: center; margin-bottom: clamp(1rem,8vh,5.5rem); border-bottom: 1px solid #344339; }
.panel-chrome a, .panel-chrome button { font-size: .9rem; text-decoration: none; }
.panel-close span { font-size: 1.6rem; font-weight: 400; }
.reading-section h2, .reading h1 { font: 500 clamp(2rem,3.8vw,3.5rem)/1.1 Manrope,Arial,sans-serif; letter-spacing: -.055em; margin: 0 0 1.2rem; }
.reading-section p, .reading-section dd { font-size: 1rem; line-height: 1.7; max-width: 58ch; }
.reading-section img { max-width: 100%; height: auto; }
.reading-section dt { margin-top: 1.25rem; font-weight: 650; }
.reading-section dd { margin: .3rem 0 0; }
.reading-section .back-film { display: flex; text-decoration: underline; }
.menu-chapters { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.menu-chapters a { display: block; padding-block: .55rem; font-size: 1.45rem; border-bottom: 1px solid #35463b; text-decoration: none; }
.menu-chapters a:hover,.menu-more a:hover { text-decoration: underline; }
.menu-more { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.menu-more a { display: inline-flex; align-items: center; min-height: 44px; }
.reading-section.questions { display: block; padding: 0; border: 0; }
.reading-section .answers { margin-top: 1.5rem; }
.reading { background: #101b15; color: #f4f3e7; color-scheme: dark; }
.reading header, .reading main, .reading footer { max-width: 55rem; margin: auto; padding: 1rem max(1.5rem,5vw); }
.reading header a { display: inline-flex; align-items: center; min-height: 44px; }
.reading main > section { margin: 3rem 0 0; }
.reading footer { justify-content: flex-start; gap: 2rem; margin-block: 3rem; }
@media (max-height: 32rem) and (orientation: landscape) {
  .chapters,[data-scene] .chapters { bottom: 16%; width: min(32%,19rem); }
  .chapters h2 { font-size: clamp(1.55rem,3.4vw,2.25rem); }
  .chapters p { font-size: .9rem; margin: .3rem 0 0; }
  .film-header { top: max(.25rem,env(safe-area-inset-top)); }
  .film-bottom { bottom: max(.35rem,env(safe-area-inset-bottom)); }
}
@media (forced-colors: active) { .film-brand span { background: CanvasText; } }

.film-surround { display: none; }
.contact-link { position: absolute; top: 0; left: 0; display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; text-decoration: none; text-shadow: 0 1px 8px #000; }
.contact-link:hover { text-decoration: underline; }
.reading-section .lead { font-size: clamp(1.08rem,2.1vw,1.28rem); line-height: 1.56; }
.reading-section h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.25; letter-spacing: -.035em; margin: 1.8rem 0 .5rem; }
.reading-section h3 + p { margin-top: .5rem; }
.work-photo { margin: 1.5rem 0; }
.work-photo img { display: block; width: 100%; height: auto; }
.work-photo figcaption,.project-type { font-size: .85rem; line-height: 1.5; color: #c1c9bd; }
.work-photo figcaption { margin-top: .5rem; }
.practice { margin: 1.5rem 0; }
.practice dt { padding-top: 1rem; border-top: 1px solid #35463b; }
.related { display: grid; align-items: start; margin: 1rem 0; }
.related a,.text-action { display: flex; width: fit-content; align-items: center; min-height: 44px; font-size: .95rem; text-decoration: underline; text-underline-offset: .22em; }
.feature-film { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.5fr); align-items: center; gap: 1rem; margin: 1.5rem 0; }
.feature-film img { width: 100%; height: auto; }
.feature-film h3 { margin-top: 0; }
.feature-film p { font-size: .95rem; }
.scene-index { border-block: 1px solid #35463b; margin-bottom: 1rem; }
.scene-index ul { display: flex; gap: .15rem 1rem; flex-wrap: wrap; list-style: none; padding: 0 0 .5rem; margin: 0; }
.scene-index .text-action { font-size: .875rem; }
.reading-section .anchor-alias { display: block; height: 0; }
@media (max-aspect-ratio: 1/1) {
  .composition { --film-center: 41%; --copy-gap: clamp(.75rem,2.4svh,1.85rem); }
  .film-surround { display: block; position: absolute; inset: -3%; width: 106%; height: 106%; opacity: .68; filter: blur(15px); pointer-events: none; }
  .picture video, .scroll-preview {
    inset: var(--film-center) 0 auto; transform: translateY(-50%);
    width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain;
  }
  .chapters,[data-scene] .chapters,.cinema:not(.enhanced) .chapters {
    left: max(var(--edge),env(safe-area-inset-left)); right: auto;
    top: calc(var(--film-center) + 28.125vw + var(--copy-gap)); bottom: auto;
    width: min(36rem,calc(100% - 2 * var(--edge))); text-shadow: 0 1px 6px #08100d;
  }
  .chapters h2 { font-size: clamp(1.8rem,6.2vw,3rem); max-width: 20ch; }
  .chapters p { margin-block: .45rem 0; max-width: 44ch; }
  .composition::after,[data-scene] .composition::after {
    background: linear-gradient(to bottom,rgba(0,6,3,.35),transparent 16%,transparent 54%,rgba(0,6,3,.62) 73%,rgba(0,6,3,.78));
  }
}
@media (max-width: 38rem) and (orientation: portrait) {
  .film-bottom { flex-wrap: wrap; gap: 0; }
  .chapter-nav { width: 100%; justify-content: space-between; gap: .15rem; }
  #film-action { position: absolute; inset-inline: 0; bottom: 100%; justify-content: space-between; }
}
@media (max-aspect-ratio: 1/1) and (max-height: 44rem) {
  .composition { --film-center: 36%; --copy-gap: .65rem; }
  .chapters h2 { font-size: clamp(1.55rem,5.6vw,2.15rem); }
  .chapters p { font-size: .95rem; line-height: 1.35; }
}
@media (max-aspect-ratio: 1/1) and (max-height: 33rem), (min-aspect-ratio: 3/4) and (max-aspect-ratio: 1/1) and (max-height: 47rem) {
  .chapters p,.scroll-cue { display: none; }
}
@media (max-width: 23rem) and (max-height: 43rem) and (orientation: portrait), (max-width: 38rem) and (max-height: 33rem) and (orientation: portrait) {
  .film-bottom { flex-wrap: nowrap; gap: .2rem; }
  .chapter-nav { width: auto; flex: 1; gap: 0; }
  #film-action { position: static; }
  .scroll-cue { display: none; }
  #play { justify-content: center; font-size: 0; gap: 0; }
}
