@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 650;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 650;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("assets/barlow-semi-condensed-600-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("assets/barlow-semi-condensed-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --black: #000;
  --ink: #09090a;
  --panel: #111113;
  --panel-2: #18181b;
  --text: #ece6d8;
  --muted: #a8a295;
  --gold: #dcae55;
  --gold-soft: #f0d18f;
  --line: rgba(236, 230, 216, .17);
  --screen: #000;
  --film-ink: #fff;
  --rail: 96px;
  --rail-scrolled: 72px;
  --film-width: 100vw;
  --upper-matte: calc(var(--film-width) * .071875);
  --lower-matte: var(--upper-matte);
  --edge: clamp(1.25rem, 5vw, 6rem);
  --measure: 96rem;
  --reading: 46rem;
  --assistant-width: clamp(9rem, 16vw, 16rem);
  --sans: "DM Sans", "Segoe UI", sans-serif;
  --display: "Barlow Semi Condensed", "Arial Narrow", "DM Sans", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  font: 100%/1.55 var(--sans);
  color: var(--text);
  background: var(--ink);
  scroll-padding-block-start: var(--rail-scrolled);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
body { background: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--gold); color: #000; }
a, button, summary { color: inherit; }
a { text-underline-offset: .25em; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
main:focus, section[tabindex]:focus { outline: 0; }
.wrap { max-width: var(--measure); margin-inline: auto; padding-inline: var(--edge); }

.icon { display: inline-block; flex: none; position: relative; width: 1rem; height: 1rem; }
.icon::before, .icon::after { content: ""; position: absolute; }
.icon-down, .icon-up { width: 1.15rem; height: 1.15rem; }
.icon-down::before, .icon-up::before { width: 1px; height: 78%; background: currentColor; left: 50%; top: 10%; }
.icon-down::after, .icon-up::after, .icon-chevron::after { width: .48rem; height: .48rem; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateX(-50%) rotate(45deg); left: calc(50% + .5px); bottom: 16%; }
.icon-up { rotate: 180deg; }
.icon-chevron::after { bottom: 38%; }
.icon-out { rotate: 45deg; }
.icon-out::before { width: 1px; height: 74%; background: currentColor; top: 12%; left: 50%; }
.icon-out::after { width: .42rem; height: .42rem; border: solid currentColor; border-width: 1px 0 0 1px; transform: translateX(-50%) rotate(45deg); left: calc(50% + .5px); top: 14%; }
.icon-play::after { border: .29rem solid transparent; border-left: .46rem solid currentColor; border-right: 0; inset: .21rem auto auto .38rem; }

.home main { margin-block-start: calc(-1 * var(--rail)); }

/* ---- typografia kinowa ---- */
.kicker { color: var(--gold); font: 600 .82rem/1.2 var(--display); letter-spacing: .26em; text-transform: uppercase; }
.title-card, .manifest h2, .scenes-head h2, .roll-head h2, .section-heading h2, .page-hero h1, .not-found h1,
.scene h3, .footer-name, .footer-support-title, .prose h2, .tiles-section h2, .article-index h2, .inquiry h2,
.retreat-gallery h2, .transfer h2, .post-title, .tile-title {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  text-wrap: balance;
}

.skip { position: fixed; z-index: 20; inset: .6rem auto auto 1rem; padding: .8rem 1rem; border: 0; background: var(--gold); color: #000; transform: translateY(-180%); }
.skip:focus { transform: none; }

/* ---- nawigacja ---- */
.top { position: sticky; inset-block-start: 0; z-index: 5; height: var(--rail); pointer-events: none; font: 600 clamp(.9rem, 1.02vw, 1rem)/1.3 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--film-ink); }
.top-inner a, .top-inner details { pointer-events: auto; }
.top::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: var(--rail); background-color: transparent; transition: height 240ms var(--ease), background-color 240ms var(--ease); }
.interior .top { height: var(--rail-scrolled); }
.interior .top::before, .home .top.scrolled::before { height: var(--rail-scrolled); background-color: #000; border-block-end: 1px solid var(--line); }
.top-inner { min-height: var(--rail); max-width: none; padding-inline: clamp(1.25rem, 3.8vw, 5rem); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 1.15rem; align-items: center; transition: min-height 240ms var(--ease), padding-block-end 240ms var(--ease); }
.home .top:not(.scrolled) .top-inner { padding-block-end: max(0px, calc(var(--rail) - var(--upper-matte))); }
.interior .top-inner, .top.scrolled .top-inner { min-height: var(--rail-scrolled); }
.brand { display: flex; align-items: center; gap: .75rem; min-height: 2.75rem; white-space: nowrap; text-decoration: none; }
.brand img { display: block; flex: none; inline-size: auto; block-size: 2.45rem; max-inline-size: 5rem; aspect-ratio: 200 / 173; object-fit: contain; }
.home .top:not(.scrolled) .brand img { block-size: clamp(2rem, calc(var(--upper-matte) - 12px), 3.75rem); filter: drop-shadow(0 0 .65px rgba(205, 222, 255, .9)); }
.desktop-nav { display: flex; gap: clamp(.85rem, 2.1vw, 2.55rem); align-items: center; }
.desktop-nav a, .mobile-nav a { display: flex; align-items: center; min-height: 2.75rem; text-decoration: none; }
.desktop-nav a:hover, .mobile-nav a:hover { color: var(--gold-soft); }
.desktop-nav a[aria-current], .mobile-nav a[aria-current], .header-contact[aria-current] { color: var(--gold); }
.header-contact { justify-self: end; display: grid; place-items: center; min-height: 2.75rem; padding-inline: 1.15rem; border: 1px solid currentColor; text-decoration: none; transition: background-color 200ms var(--ease), color 200ms var(--ease); }
.header-contact:hover { background: var(--film-ink); color: #000; }
.mobile-nav { display: none; }
.nav-extra summary, .mobile-nav summary { display: flex; gap: .35rem; align-items: center; cursor: pointer; min-height: 2.75rem; list-style: none; }
.nav-extra summary::-webkit-details-marker, .mobile-nav summary::-webkit-details-marker { display: none; }
.nav-extra[open] .icon-chevron, .mobile-nav[open] .icon-chevron { rotate: 180deg; }
.nav-panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 5vw; position: absolute; inset: var(--rail-scrolled) 0 auto; padding: 1.75rem clamp(1.25rem, 3.8vw, 5rem) 2.25rem; background: #000; color: var(--text); border-block-end: 1px solid var(--line); max-height: calc(100dvh - var(--rail-scrolled)); overflow: auto; font-family: var(--sans); font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 1rem; }
.nav-panel p, .mobile-nav-groups p { color: var(--gold); font: 600 .8rem var(--display); letter-spacing: .22em; text-transform: uppercase; padding-block-end: .55rem; margin-block-end: .25rem; border-block-end: 1px solid var(--line); }
.nav-letters { display: inline-flex; white-space: pre; }
.nav-letter { display: inline-block; overflow: hidden; }
.nav-letter-track { position: relative; display: block; }
.nav-letter-track > span { position: absolute; inset: auto 0 100%; }

/* ---- kinowe otwarcie ---- */
.cinema { position: relative; background-color: var(--screen); color: var(--film-ink); }
.screen { position: relative; display: grid; width: 100%; height: min(56.25vw, 100svh); overflow: hidden; background: var(--screen); }
.screen::before { content: ""; position: absolute; z-index: 1; inset: 0 0 auto; height: var(--upper-matte); background: #000; pointer-events: none; }
.screen-poster, .screen-video { grid-area: 1/1; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; object-position: center; }
.screen-poster img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.screen-video { opacity: 0; }
.screen-video.ready { opacity: 1; }
.cinema-caption {
  position: absolute;
  inset: auto 0 0;
  width: min(100%, var(--film-width));
  height: var(--lower-matte);
  margin-inline: auto;
  background: #000;
  padding-inline: clamp(.85rem, calc(var(--film-width) * .044), 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: .25rem clamp(.5rem, 1vw, 1.125rem);
}
.cinema-caption h1 {
  grid-area: 1/2;
  text-align: center;
  font: 600 clamp(.95rem, calc(var(--film-width) * .0215), 2.9rem)/1.05 var(--display);
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-inline-start: .16em;
}
.cinema-caption h1 br { display: none; }
.video-toggle, .screen-next { min-height: 2.75rem; background: transparent; padding: 0; white-space: nowrap; font: 600 .82rem var(--display); letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.video-toggle { grid-area: 1/3; justify-self: end; border: 0; cursor: pointer; }
.video-toggle:hover, .screen-next:hover { color: var(--gold-soft); }
.screen-next { grid-area: 1/1; justify-self: start; display: inline-flex; gap: .7rem; align-items: center; min-width: 2.75rem; text-decoration: none; }
.screen-next .icon, .text-link .icon { transition: transform 200ms var(--ease); }
.screen-next:hover .icon { transform: translateY(.15em); }
.screen-status { position: absolute; inset: auto 1rem .05rem; text-align: center; font-size: .82rem; }
.screen-status:empty { display: none; }

/* ---- wspólne elementy ---- */
.text-link { display: inline-flex; gap: .65rem; align-items: center; min-height: 2.75rem; font: 600 .9rem var(--display); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--gold); border-block-end: 1px solid transparent; }
.text-link:hover { color: var(--gold-soft); }
.text-link:hover .icon { transform: translate(.04em, -.16em); }
.btn { display: inline-flex; gap: .7rem; align-items: center; min-height: 3.1rem; padding: .5rem 1.5rem; border: 1px solid var(--gold); color: var(--gold); font: 600 .95rem var(--display); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; transition: background-color 200ms var(--ease), color 200ms var(--ease); }
.btn:hover { background: var(--gold); color: #000; }
figcaption { margin-top: .7rem; font-size: .86rem; color: var(--muted); }
.section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .65rem 2.4rem; margin-block-end: clamp(1.5rem, 3vw, 3rem); }
.section-heading h2 { font-size: clamp(2.6rem, 5.4vw, 5.6rem); line-height: .94; letter-spacing: .01em; margin-block-start: .5rem; }

/* ---- start: manifest ---- */
.manifest { padding-block: clamp(4rem, 9vw, 10rem) clamp(3rem, 6vw, 6rem); }
.manifest h2 { font-size: clamp(3rem, 8.2vw, 9rem); line-height: .9; letter-spacing: .004em; max-width: 14ch; margin-block: 1.1rem clamp(2rem, 4vw, 4rem); }
.manifest-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.8rem, 5vw, 6rem); align-items: end; }
.manifest-copy p { max-width: 38ch; font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.62; color: var(--muted); margin-block-end: 1rem; }
.manifest-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin-block-start: clamp(3rem, 6vw, 6rem); padding-block-start: 1.6rem; border-block-start: 1px solid var(--line); }
.facts dt { font: 600 clamp(2.2rem, 4.4vw, 4.4rem)/1 var(--display); color: var(--gold); text-transform: uppercase; }
.facts dd { margin-block-start: .45rem; color: var(--muted); font-size: .95rem; max-width: 20ch; }

/* ---- start: filmy jako sceny ---- */
.scenes-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .5rem 2rem; padding-block: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 3vw, 3rem); }
.scenes-head .kicker { flex: 1 0 100%; }
.scenes-head h2 { font-size: clamp(2.6rem, 5.4vw, 5.6rem); line-height: .94; }
.scene { position: relative; isolation: isolate; overflow: hidden; background: #000; border-block-start: 1px solid var(--line); }
.scene-bg { position: absolute; inset: -12%; width: 124%; height: 124%; max-width: none; object-fit: cover; filter: blur(46px) saturate(1.15) brightness(.34); z-index: -1; }
.scene-inner { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 8rem); padding-block: clamp(3rem, 7vw, 7.5rem); }
.scene:nth-of-type(even) .scene-poster { order: 2; }
.scene-poster img { width: min(100%, 27rem); margin-inline: auto; box-shadow: 0 2.2rem 5rem rgba(0, 0, 0, .65); }
.scene-no { font: 600 .95rem var(--display); letter-spacing: .3em; color: var(--muted); margin-block-end: 1rem; }
.scene h3 { font-size: clamp(2.8rem, 6.6vw, 7.2rem); line-height: .9; margin-block: .6rem .9rem; letter-spacing: .005em; }
.scene h3 a { text-decoration: none; }
.scene h3 a:hover { color: var(--gold-soft); }
.scene-caption { font-size: clamp(1.1rem, 1.7vw, 1.55rem); line-height: 1.4; max-width: 28ch; }
.scene-credit { color: var(--muted); margin-block: .9rem 1.2rem; max-width: 40ch; font-size: .95rem; }

/* ---- start: pas zdjęć ---- */
.roll { padding-block: clamp(3.5rem, 7vw, 8rem); border-block-start: 1px solid var(--line); }
.roll-head { padding-block-end: clamp(1.5rem, 3vw, 3rem); }
.roll-head h2 { font-size: clamp(2.6rem, 5.4vw, 5.6rem); line-height: .94; margin-block-start: .5rem; }
.roll-strip { display: flex; gap: clamp(.6rem, 1.2vw, 1.1rem); overflow-x: auto; scroll-snap-type: x proximity; padding-inline: var(--edge); padding-block-end: 1.2rem; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.roll-strip figure { flex: 0 0 clamp(17rem, 40vw, 38rem); scroll-snap-align: start; }
.roll-strip img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.roll-strip figcaption { font: 600 .78rem var(--display); letter-spacing: .24em; text-transform: uppercase; }

/* ---- blog i karty ---- */
.journal, .reading { padding-block: clamp(3.5rem, 7vw, 8rem) 0; }
.reading { padding-block-end: clamp(4rem, 8vw, 9rem); }
.post-row, .post-grid, .tile-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1rem, 2vw, 2rem); }
.post-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem) clamp(1rem, 2vw, 2rem); }
.post-card { display: grid; align-content: start; gap: 1.1rem; text-decoration: none; height: 100%; }
.post-media { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--panel-2); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.post-card:hover .post-media img { transform: scale(1.045); }
.post-body { display: grid; gap: .65rem; align-content: start; }
.post-meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; color: var(--gold); font: 600 .76rem var(--display); letter-spacing: .2em; text-transform: uppercase; }
.post-meta span { color: var(--muted); }
.post-title { font-size: clamp(1.6rem, 2.3vw, 2.35rem); line-height: 1; letter-spacing: .01em; }
.post-card:hover .post-title { color: var(--gold-soft); }
.post-excerpt { color: var(--muted); font-size: .98rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-more { display: inline-flex; gap: .6rem; align-items: center; color: var(--gold); font: 600 .82rem var(--display); letter-spacing: .2em; text-transform: uppercase; }
.blog-lead { margin-block-end: clamp(2.5rem, 5vw, 5rem); }
.post-card.featured { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.4rem, 3.5vw, 4rem); align-items: center; }
.post-card.featured .post-media { aspect-ratio: 16 / 9; }
.post-card.featured .post-title { font-size: clamp(2.5rem, 4.6vw, 5rem); line-height: .92; }
.post-card.featured .post-excerpt { font-size: 1.1rem; -webkit-line-clamp: 5; }

/* ---- kafle ---- */
.tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { position: relative; display: grid; align-items: end; min-height: clamp(15rem, 26vw, 26rem); overflow: hidden; isolation: isolate; text-decoration: none; background: var(--panel-2); }
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease), filter 400ms var(--ease); filter: brightness(.78); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0, 0, 0, .86), rgba(0, 0, 0, .05) 62%); }
.tile:hover img { transform: scale(1.06); filter: brightness(.95); }
.tile-text { display: grid; gap: .2rem; padding: clamp(1rem, 2vw, 1.8rem); }
.tile-title { font-size: clamp(1.7rem, 2.6vw, 2.7rem); line-height: .95; letter-spacing: .01em; }
.tile:hover .tile-title { color: var(--gold-soft); }
.tile-note { color: var(--muted); font-size: .92rem; }
.tiles-section { margin-block: clamp(2rem, 5vw, 4.5rem); max-width: none; }
.tiles-section h2 { font-size: clamp(2rem, 3.8vw, 3.8rem); line-height: .95; margin-block-end: 1.3rem; }

/* ---- strony wewnętrzne ---- */
.page-hero { padding-block: clamp(1.2rem, 3vw, 2.6rem) clamp(1.5rem, 3.5vw, 3.5rem); }
.page-hero .kicker { margin-block: clamp(1rem, 2.4vw, 2.2rem) .8rem; }
.page-hero h1 { font-size: clamp(3rem, 8vw, 8.6rem); line-height: .9; letter-spacing: .004em; max-width: 16ch; }
.page-hero .crumb + h1 { margin-block-start: clamp(1rem, 2.4vw, 2.2rem); }
.crumb { display: flex; flex-wrap: wrap; gap: .35rem .7rem; align-items: center; color: var(--muted); font-size: .9rem; }
.crumb a { display: grid; min-height: 2.75rem; align-items: center; }
.crumb a:hover { color: var(--gold-soft); }
.article { padding-block-end: clamp(4rem, 8vw, 8rem); }
.article-cover { position: relative; overflow: hidden; isolation: isolate; background: #000; margin-block-end: clamp(2rem, 5vw, 4.5rem); border-block: 1px solid var(--line); }
.article-cover.wide img { width: 100%; aspect-ratio: 2.39; max-height: 72vh; object-fit: cover; object-position: center 40%; }
.article-cover.poster { display: grid; place-items: center; height: clamp(18rem, 46vw, 38rem); }
.article-cover.poster .cover-bg { position: absolute; inset: -10%; z-index: -1; width: 120%; height: 120%; max-width: none; object-fit: cover; filter: blur(40px) brightness(.4) saturate(1.1); }
.article-cover.poster img:not(.cover-bg) { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.prose, .article-index, .archive-note, .transfer { max-width: var(--reading); }
.prose:empty { display: none; }
.prose { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.7; overflow-wrap: anywhere; color: #e4ded0; }
.prose > * + *, .prose p + p { margin-block-start: 1.05rem; }
.prose h2, .article-index h2, .transfer h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: .96; margin-block-start: 2.2rem; color: var(--text); letter-spacing: .01em; }
.prose h3, .prose h4 { font: 600 clamp(1.5rem, 2.6vw, 2.2rem)/1.05 var(--display); letter-spacing: .02em; text-transform: uppercase; color: var(--gold-soft); margin-block-start: 1.8rem; }
.prose a { color: var(--gold); }
.prose a:hover { color: var(--gold-soft); }
.prose strong, .prose b { color: #fff; }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { padding: .55rem; border: 1px solid var(--line); }
.prose audio { display: block; width: min(100%, 37rem); }
.prose video { display: block; width: min(100%, 50rem); }
.prose img { width: auto; max-width: 100%; height: auto; margin-block: .8rem; }
.prose img[height] { max-height: 67rem; object-fit: contain; }
.prose pre { white-space: pre-wrap; }
.prose blockquote { margin-inline: .5rem 0; padding-inline-start: 1.2rem; border-inline-start: 2px solid var(--gold); color: var(--muted); font-style: italic; }
.article-index { margin-block: 2.4rem; }
.article-index h2 { margin-block-end: .65rem; }
.link-list { margin: 0; padding: 0; list-style: none; border-block-start: 1px solid var(--line); }
.link-list li { border-block-end: 1px solid var(--line); }
.link-list a { display: flex; justify-content: space-between; padding-block: .75rem; font-weight: 600; text-decoration: none; }
.link-list a:hover { color: var(--gold-soft); }
.archive-note { margin: 0 0 1.3rem; padding: .75rem 1rem; background: var(--panel); border-inline-start: 2px solid var(--gold); color: var(--muted); }
.source-note, .player { padding: .8rem 1rem; border: 1px solid var(--line); background: var(--panel); }
.source-note + .source-note { margin-block-start: .6rem; }
.source-note summary, .player summary { cursor: pointer; font-weight: 650; }
.player iframe { display: block; width: 100%; aspect-ratio: 16 / 9; margin-block: .8rem; border: 0; }
.film-page { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1fr); gap: 1.6rem clamp(2rem, 5vw, 6rem); align-items: start; }
.film-page div > * + * { margin-block-start: 1rem; }
.film-page img { width: 100%; margin-top: 0; box-shadow: 0 2rem 4.5rem rgba(0, 0, 0, .65); }
.film-page p { font-size: 1.15rem; max-width: 40ch; }
.not-found { min-height: 55svh; padding-block: clamp(3rem, 10vw, 8rem); }
.not-found h1 { font-size: clamp(3rem, 8vw, 8rem); line-height: .9; }
.not-found p { margin-block: 1rem; }
.not-found a { color: var(--gold); }

.inquiry { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 1.65rem 7vw; margin-block: clamp(2.5rem, 7vw, 6rem); padding-block: clamp(1.5rem, 4vw, 3.75rem); border-block: 1px solid var(--line); max-width: none; }
.inquiry h2, .retreat-gallery h2 { font-size: clamp(2.25rem, 4.6vw, 4.7rem); line-height: .96; }
.inquiry-intro p { margin-block: .9rem 1.25rem; color: var(--muted); }
.inquiry-intro a { display: block; width: fit-content; overflow-wrap: anywhere; color: var(--gold); }
.inquiry-intro a + a { margin-block-start: .4rem; }
.inquiry-fields { display: grid; gap: .85rem; }
.inquiry-fields label { font-size: .94rem; font-weight: 650; }
.inquiry-fields label span { color: var(--muted); font-weight: 400; }
.inquiry-fields :is(input, textarea) { display: block; width: 100%; min-height: 2.9rem; margin-block-start: .28rem; padding: .65rem .75rem; border: 0; border-block-end: 1px solid #8b857a; background: var(--panel-2); color: var(--text); font: inherit; font-weight: 400; caret-color: var(--gold); }
.inquiry-fields textarea { resize: vertical; }
.inquiry-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1rem; }
.inquiry-actions button { min-height: 2.75rem; padding-inline: 1rem; border: 1px solid #6f6a60; background: transparent; color: var(--muted); }
.inquiry-actions p { font-size: .84rem; color: var(--muted); }
.retreat-gallery { margin-block: clamp(3rem, 7vw, 6.5rem); }
.retreat-gallery > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(.85rem, 2.4vw, 2rem); margin-block-start: 1.55rem; }
.retreat-gallery img { width: 100%; height: auto; }

.transfer { background: var(--panel); border: 1px solid var(--line); padding: clamp(1.1rem, 3vw, 2.2rem); margin-block-end: 2.2rem; }
.transfer h2 { margin-block-start: 0; }
.transfer dl { margin: 1.2rem 0 0; }
.transfer dt { font-size: .88rem; color: var(--muted); }
.transfer dd { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0 .75rem; margin-inline-start: 0; overflow-wrap: anywhere; }
.transfer dl > div + div { border-block-start: 1px solid var(--line); padding-block-start: .7rem; margin-block-start: .7rem; }
.copy { min-height: 2.75rem; border: 0; background: transparent; color: var(--gold); text-decoration: underline; text-underline-offset: .22em; cursor: pointer; }
.copy-status { color: var(--muted); }
.copy-status:empty { display: none; }

/* ---- stopka ---- */
.footer { background: #000; border-block-start: 1px solid var(--line); }
.footer-support { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; padding-block: clamp(2.5rem, 5vw, 4.5rem); border-block-end: 1px solid var(--line); }
.footer-support-title { font-size: clamp(2.2rem, 5vw, 5rem); line-height: .92; margin-block-start: .5rem; }
.footer-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.5rem 5vw; padding-block: clamp(2.5rem, 5vw, 5rem); }
.footer-name { font-size: clamp(1.8rem, 3.4vw, 3.4rem); line-height: .95; margin-bottom: 1rem; letter-spacing: .02em; }
.footer address { font-style: normal; overflow-wrap: anywhere; color: var(--muted); }
.footer address a:hover, .footer-nav a:hover { color: var(--gold-soft); }
.footer-nav { display: grid; align-content: start; justify-items: start; }
.footer-nav a { display: flex; align-items: center; gap: .5rem; min-height: 2.75rem; }

.return-top { position: fixed; inset-block-end: max(1rem, env(safe-area-inset-bottom)); inset-inline-end: 1rem; z-index: 4; display: inline-flex; gap: .45rem; min-height: 2.75rem; inline-size: 2.75rem; align-items: center; justify-content: center; padding: .22rem .65rem; border: 1px solid var(--gold); background: #000; color: var(--gold); text-decoration: none; font-size: 1.2rem; cursor: pointer; }
.angel-assistant { position: fixed; z-index: 3; inset: auto max(3.75rem, env(safe-area-inset-right)) max(.45rem, env(safe-area-inset-bottom)) auto; width: var(--assistant-width); aspect-ratio: 720 / 934; }
.angel-assistant img { width: 100%; height: 100%; object-fit: contain; }

/* ---- ruch ---- */
.js [data-reveal] { opacity: 0; transform: translateY(1.6rem); transition: opacity 900ms var(--ease), transform 900ms var(--ease); animation: reveal-fallback 0s 2.5s forwards; }
.js [data-reveal].in { opacity: 1; transform: none; animation: none; }
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }

@media (min-width: 1100px) {
  .interior .article-body, .home :is(.journal, .reading, .manifest), .footer-inner {
    padding-inline-end: max(var(--edge), calc(var(--assistant-width) - (100vw - min(100vw, var(--measure))) / 2 + 4.4rem));
  }
}

@media (max-width: 980px) {
  :root { --rail: 72px; --assistant-width: min(27vw, 12rem); }
  .desktop-nav { display: none; }
  .top-inner { display: flex; gap: .8rem; }
  .header-contact { margin-inline-start: auto; padding-inline: .8rem; font-size: .9rem; }
  .mobile-nav { display: block; }
  .mobile-nav nav { display: grid; position: absolute; inset: var(--rail-scrolled) 0 auto; padding: .65rem var(--edge) 1.5rem; background: #000; color: var(--text); border-bottom: 1px solid var(--line); max-height: calc(100dvh - var(--rail-scrolled)); overflow: auto; }
  .mobile-nav-groups { display: grid; gap: 1rem; margin-block-start: 1rem; font-family: var(--sans); font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 1rem; }
  .post-row, .post-grid, .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card.featured { grid-template-columns: 1fr; }
  .scene-inner { grid-template-columns: 1fr; }
  .scene:nth-of-type(even) .scene-poster { order: 0; }
  .scene-poster img { width: min(70%, 20rem); margin-inline: 0; }
}

@media (width > 700px) and ((width <= 900px) or (height <= 480px)) {
  .screen-next-text { display: none; }
  .video-toggle { font-size: .75rem; }
}

@media (max-width: 700px) {
  :root {
    --film-width: 100vw;
    --upper-matte: calc(var(--film-width) * .208333);
    --lower-matte: calc(var(--film-width) * .416667);
  }
  .screen { height: auto; aspect-ratio: 768 / 802; }
  .cinema-caption { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 2.75rem; padding-block: .2rem .45rem; }
  .cinema-caption h1 { grid-area: 1 / 1 / 2 / -1; font-size: clamp(1.2rem, calc(var(--film-width) * .058), 2.4rem); letter-spacing: .12em; white-space: normal; padding-inline-start: .12em; line-height: 1.1; }
  .cinema-caption h1 br { display: initial; }
  .video-toggle { grid-area: 2/2; }
  .screen-next { grid-area: 2/1; }
}

@media (max-width: 580px) {
  .brand { gap: .55rem; }
  .brand img { block-size: 2.125rem; }
  .home .top:not(.scrolled) .brand img { block-size: clamp(2rem, calc(var(--upper-matte) - 12px), 3.45rem); }
  .manifest-grid, .footer-inner, .inquiry, .retreat-gallery > div, .film-page { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-row, .post-grid, .tile-grid { grid-template-columns: 1fr; }
  :root { --assistant-width: min(34vw, 9.5rem); }
  .film-page img { max-width: 16rem; }
  .return-top { inset-inline-end: .65rem; }
  .footer-inner { padding-block-end: 9.5rem; }
  .roll-strip figure { flex-basis: 82vw; }
}

@media (max-width: 440px) {
  .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; animation: none; }
}
