/* Sebastian T. Thorsted, portfolio. Hvid flade, billederne bærer; Clash Display som i portfolio-PDF'erne. */
:root {
  --paper: #ffffff;
  --ink: #111111;
  --mute: #6c6c69;
  --line: #e7e7e4;
  --display: 'Clash Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --text: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 14px; overflow: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

.nav { position: fixed; z-index: 7000; top: 0; left: 0; right: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: calc(18px + env(safe-area-inset-top, 0px)) max(22px, env(safe-area-inset-right, 0px)) 0 max(22px, env(safe-area-inset-left, 0px)); pointer-events: none; }
.nav > * { pointer-events: auto; }
.name { font-family: var(--display); font-weight: 500; font-size: 17px; letter-spacing: .01em; }
.tabs { display: flex; gap: 22px; font-family: var(--display); font-weight: 400; font-size: 15px; }
.tabs button { color: var(--mute); }
.tabs button[aria-current="page"], .tabs button:hover { color: var(--ink); }

.stage { position: fixed; inset: 0; overflow: hidden; touch-action: none; cursor: grab; }
.stage.dragging { cursor: grabbing; }
.stage img { color: transparent; font-size: 0; position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform, opacity; user-select: none; -webkit-user-drag: none; display: block; }
.stage img.hit { cursor: pointer; }

.label { position: fixed; z-index: 7000; left: max(22px, env(safe-area-inset-left, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); pointer-events: none;
  font-family: var(--display); }
.label .t { font-size: 22px; font-weight: 400; line-height: 1.1; }
.label .c { margin-top: 4px; font-family: var(--text); font-size: 12px; color: var(--mute); letter-spacing: .02em; }

.toggle { position: fixed; z-index: 7000; right: max(22px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 14px;
  font-size: 12px; letter-spacing: .04em; }
.toggle button { color: var(--mute); padding-bottom: 2px; }
.toggle button[aria-pressed="true"] { color: var(--ink); border-bottom: 1px solid var(--ink); }

/* Serie: fælles hoved */
.back { position: fixed; z-index: 7000; left: max(22px, env(safe-area-inset-left, 0px)); top: calc(52px + env(safe-area-inset-top, 0px)); font-size: 12px; color: var(--mute); letter-spacing: .04em; }
.back:hover { color: var(--ink); }
.count { position: fixed; z-index: 7000; right: max(22px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); font-size: 12px; color: var(--mute);
  font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.titlecard { font-family: var(--display); }
.titlecard h1 { font-weight: 300; margin: 0; line-height: .98; letter-spacing: -.01em; text-wrap: balance; }
.titlecard p { font-family: var(--text); color: var(--mute); margin: 10px 0 0; font-size: 13px; letter-spacing: .02em; }

/* B: fladt magasin */
.mag { position: fixed; inset: 0; overflow-x: auto; overflow-y: hidden; display: flex; align-items: center; gap: 6vh;
  padding: 0 max(22px, env(safe-area-inset-right, 0px)) 0 max(22px, env(safe-area-inset-left, 0px)); scrollbar-width: none; }
.mag::-webkit-scrollbar { display: none; }
.spread { flex: 0 0 auto; height: min(76vh, 46vw); aspect-ratio: 460 / 300; max-width: none; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper);
  box-shadow: 0 0 0 1px var(--line); position: relative; }
.spread::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }
.page { position: relative; overflow: hidden; display: flex; }
.page img { display: block; }
.page.bleed img { width: 100%; height: 100%; object-fit: cover; }
.page.inset { padding: 9% 11%; align-items: center; justify-content: center; }
.page.inset img { max-width: 100%; max-height: 100%; object-fit: contain; }
.page.low { padding: 30% 18% 9%; align-items: flex-end; justify-content: center; }
.page.low img { max-width: 100%; max-height: 100%; object-fit: contain; }
.page.text { padding: 9% 10%; flex-direction: column; justify-content: space-between; }
.page.text h1 { font-size: clamp(28px, 4.2vh, 54px); }
.cap { position: absolute; left: 11%; bottom: 4.5%; font-size: 10px; color: var(--mute); letter-spacing: .03em; }
.spread.wide { grid-template-columns: 1fr; }
.spread.wide .page img { width: 100%; height: 100%; object-fit: cover; }

/* C: lodret stak */
.stack { position: fixed; inset: 0; overflow-y: auto; overflow-x: hidden; perspective: 1400px; scrollbar-width: none; }
.stack::-webkit-scrollbar { display: none; }
.stack .inner { position: relative; padding: 22vh max(22px, env(safe-area-inset-right, 0px)) 30vh max(22px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 16vh; }
.stack .item { position: relative; will-change: transform; transform-style: preserve-3d; }
.stack .item img { display: block; width: 100%; height: auto; box-shadow: 0 30px 60px -40px rgba(0,0,0,.35); }
.stack .titlecard h1 { font-size: clamp(40px, 8vw, 110px); }

/* Faner */
.page-scroll { position: fixed; inset: 0; overflow-y: auto; padding: calc(96px + env(safe-area-inset-top, 0px)) max(22px, env(safe-area-inset-right, 0px)) 80px max(22px, env(safe-area-inset-left, 0px)); }
.index { list-style: none; margin: 0; padding: 0; max-width: min(880px, calc(100% - min(30vw, 380px) - 48px)); }
.index li { border-top: 1px solid var(--line); }
.index li:last-child { border-bottom: 1px solid var(--line); }
.index button { width: 100%; display: grid; grid-template-columns: 3.2em 1fr auto; gap: 12px; align-items: baseline; padding: 14px 0; text-align: left; }
.index .n { color: var(--mute); font-size: 12px; font-variant-numeric: tabular-nums; }
.index .t { font-family: var(--display); font-size: clamp(20px, 2.6vw, 30px); font-weight: 400; line-height: 1.1; }
.index .y { color: var(--mute); font-size: 12px; letter-spacing: .03em; text-align: right; }
.index button:hover .t { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.peek { position: fixed; z-index: 5; right: max(22px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); width: min(30vw, 380px); pointer-events: none; opacity: 0; transition: opacity .2s; }
.peek.on { opacity: 1; }
.peek img { width: 100%; display: block; }
.motion { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 40px 22px; max-width: 1400px; }
.motion .film { display: block; width: 100%; cursor: pointer; }
.motion figure { margin: 0; }
.motion video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: #f3f3f1; }
.motion figcaption { margin-top: 8px; font-family: var(--display); font-size: 16px; }
.motion figcaption span { font-family: var(--text); font-size: 12px; color: var(--mute); margin-left: 8px; }
.info { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; max-width: 1100px; }
.info h2 { font-family: var(--display); font-weight: 300; font-size: clamp(34px, 5vw, 64px); margin: 0; line-height: 1; }
.info .role { color: var(--mute); margin-top: 10px; }
.info dl { margin: 0; display: grid; gap: 22px; }
.info dt { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.info dd { margin: 0; line-height: 1.55; max-width: 60ch; }
@media (max-width: 700px) { .info { grid-template-columns: 1fr; } .peek { display: none; } .tabs { gap: 14px; } }
@media (prefers-reduced-motion: reduce) { .peek { transition: none; } }

/* E: væg i perspektiv */
.wall-stage { perspective: 1300px; cursor: default; }
.wall { position: absolute; left: 50%; top: 52%; width: 150vw; display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; justify-content: center; transform-style: preserve-3d; }
.wall img { position: static; height: 26vh; width: auto; transition: transform .35s cubic-bezier(.2,.7,.2,1); transform: translateZ(0); }
.wall img:hover { transform: translateZ(90px); }
@media (prefers-reduced-motion: reduce) { .wall img { transition: none; } }

/* Motion: én film stort */
.film-page .back { position: fixed; }
.film-wrap { max-width: min(560px, 100%); margin: 0 auto; }
.film-wrap video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: #f3f3f1; }
.film-meta { max-width: min(560px, 100%); margin: 14px auto 0; }
.film-meta h2 { font-family: var(--display); font-weight: 400; font-size: 26px; margin: 0; }
.film-meta p { color: var(--mute); margin: 4px 0 0; font-size: 12px; letter-spacing: .03em; }
.film-stills { max-width: 1100px; margin: 64px auto 0; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: flex-end; }
.film-stills img { height: 220px; width: auto; display: block; }
.film-link { display: block; margin: 22px auto 0; font-family: var(--display); font-size: 18px; }
.film-link:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Stills: kontaktark */
.sheet-row { border-top: 1px solid var(--line); padding: 16px 0 26px; }
.sheet-head { display: flex; gap: 16px; align-items: baseline; justify-content: space-between; width: 100%; text-align: left; }
.sheet-head .t { font-family: var(--display); font-size: 22px; }
.sheet-head .y { color: var(--mute); font-size: 12px; letter-spacing: .03em; }
.sheet-strip { display: flex; gap: 10px; overflow-x: auto; margin-top: 12px; scrollbar-width: none; }
.sheet-strip img { height: 150px; width: auto; flex: 0 0 auto; cursor: pointer; display: block; }

/* Stills: fuldt billede bag listen */
/* Egen hvid baggrund: listen blandes (difference) inden for dette lag, så uden baggrund ville hvid tekst forblive hvid på hvidt. */
.stills-cover { padding-left: 0; padding-right: 0; background: var(--paper); isolation: isolate; }
.cover-bg { position: fixed; inset: 0; opacity: 0; transition: opacity .35s; pointer-events: none; }
.cover-bg.on { opacity: 1; }
.cover-bg img { width: 100%; height: 100%; object-fit: cover; }
.cover-list { position: relative; list-style: none; margin: 0; padding: 0 max(22px, env(safe-area-inset-right, 0px)) 0 max(22px, env(safe-area-inset-left, 0px)); mix-blend-mode: difference; color: #fff; }
.cover-list button { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 5.2vw, 76px); line-height: 1.02; text-align: left; color: #fff; }
.cover-list sup { font-family: var(--text); font-size: 12px; margin-left: 8px; vertical-align: top; letter-spacing: .03em; }
.cover-list button:hover { font-style: normal; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }
@media (prefers-reduced-motion: reduce) { .cover-bg { transition: none; } }

/* Stills: gitter */
.grid { columns: 4 240px; column-gap: 22px; }
.card { display: block; width: 100%; break-inside: avoid; margin: 0 0 34px; text-align: left; }
.card img { width: 100%; height: auto; display: block; }
.card .t { display: block; margin-top: 8px; font-family: var(--display); font-size: 17px; }
.card .y { display: block; color: var(--mute); font-size: 12px; letter-spacing: .03em; margin-top: 2px; }
.card:hover .t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.cap { font-size: 11px; }

/* Zoom − + nederst til højre, over skiftet mellem ét og flere billeder */
.zoom { position: fixed; z-index: 7000; right: max(22px, env(safe-area-inset-right, 0px)); bottom: calc(52px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 6px; }
.zoom button { width: 34px; height: 34px; border: 1px solid var(--line); background: var(--paper); font-size: 17px; line-height: 1; color: var(--ink); }
.zoom button:hover { border-color: var(--ink); }

/* S3-varianter: billedet bag titlerne uden at fylde hele skærmen */
.cover-bg.center { inset: auto; left: 50%; top: 52%; height: 62vh; transform: translate(-50%, -50%); }
.cover-bg.center img, .cover-bg.cursor img, .cover-bg.row img { width: auto; height: 100%; object-fit: contain; }
.cover-bg.cursor { inset: auto; height: 38vh; transform: translate(-50%, -50%); }
.cover-bg.row { inset: auto; height: 30vh; transform: translate(-50%, -50%); transition: opacity .25s, top .3s cubic-bezier(.2,.7,.2,1); }
.cover-bg.half { inset: 14vh max(22px, env(safe-area-inset-right, 0px)) 10vh auto; width: 46vw; }
@media (prefers-reduced-motion: reduce) { .cover-bg.row { transition: none; } }

/* Valgt (S3a, større og til højre): billedet i sit eget format, højrestillet og lodret centreret, bag titlerne. */
.cover-bg.right { inset: auto; right: max(22px, env(safe-area-inset-right, 0px)); top: 50%; height: 80vh; width: 60vw; transform: translateY(-50%); }
.cover-bg.right img { width: 100%; height: 100%; object-fit: contain; object-position: right center; }

/* Hover-titel ved siden af billedet (bud "stopper med titel") */
.hovercap { position: fixed; z-index: 6000; left: 0; top: 0; width: 240px; pointer-events: none; font-family: var(--display); opacity: 0; transition: opacity .3s; }
.hovercap.on { opacity: 1; }
.hovercap .t { font-size: 20px; line-height: 1.1; }
.hovercap .c { margin-top: 4px; font-family: var(--text); font-size: 12px; color: var(--mute); letter-spacing: .02em; }
@media (prefers-reduced-motion: reduce) { .hovercap { transition: none; } }

/* Hover uden at røre de andre billeder */
.stage img.hov { outline: calc(1px * var(--is, 1)) solid var(--ink); outline-offset: calc(6px * var(--is, 1)); }
.stage img.sib { outline: calc(1px * var(--is, 1)) dashed var(--ink); outline-offset: calc(6px * var(--is, 1)); }
.stage img.rise { box-shadow: 0 30px 60px -24px rgba(0,0,0,.45); }
.hoverlines { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 900; }
.hoverlines line { stroke: var(--ink); stroke-width: 1; }

/* Bevægelse til/fra, og årstal i dybden */
.motionbtn { position: fixed; z-index: 7000; right: max(22px, env(safe-area-inset-right, 0px)); bottom: calc(96px + env(safe-area-inset-bottom, 0px)); font-size: 12px; letter-spacing: .04em; color: var(--mute); }
.motionbtn:hover, .motionbtn[aria-pressed="true"] { color: var(--ink); }
.yearlist { position: fixed; z-index: 20; left: max(22px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-family: var(--display); font-size: 14px; color: var(--mute); font-variant-numeric: tabular-nums; pointer-events: none; }
.yearlist li.on { color: var(--ink); font-size: 22px; }

/* Strimmel: ét billede i fokus og en tynd linje med alle i bunden */
.strip-home { position: fixed; inset: 0; }
.strip-big { position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%); height: 64vh; width: min(70vw, 900px); display: flex; align-items: center; justify-content: center; }
.strip-big img { max-width: 100%; max-height: 100%; display: block; }
.strip-big img.in { animation: stripin .5s cubic-bezier(.2,.7,.2,1); }
@keyframes stripin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.strip-cap { position: absolute; left: max(22px, env(safe-area-inset-left, 0px)); bottom: calc(86px + env(safe-area-inset-bottom, 0px)); font-family: var(--display); }
.strip-cap .t { font-size: 22px; } .strip-cap .c { font-family: var(--text); font-size: 12px; color: var(--mute); margin-top: 4px; }
.strip-line { position: absolute; left: 0; right: 0; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); height: 44px; display: flex; gap: 6px; overflow-x: auto; padding: 0 50vw; scrollbar-width: none; align-items: flex-end; }
.strip-line::-webkit-scrollbar { display: none; }
.strip-line button { flex: 0 0 auto; height: 30px; opacity: 1; transition: height .3s; }
.strip-line button.on { height: 44px; }
.strip-line img { height: 100%; width: auto; display: block; }
@media (prefers-reduced-motion: reduce) { .strip-big img.in { animation: none; } .strip-line button { transition: none; } }

/* Bunken: billederne som prints i en stak (ses også, når et billede har hvid baggrund) */
.stage img.print { box-shadow: 0 .4px 1px rgba(0,0,0,.10), 0 6px 14px -8px rgba(0,0,0,.22); }

/* Linje (række): kant i kant, det valgte løftes og vises stort ovenover */
.stage img.rowimg { position: absolute; left: 0; top: 0; transform-origin: 0 0; display: block; }
.row-prev { position: fixed; left: 0; top: 0; margin: 0; z-index: 6500; pointer-events: none; opacity: 0; transition: opacity .25s; }
.row-prev.on { opacity: 1; }
.row-prev img { display: block; object-fit: cover; }
.row-prev figcaption { position: absolute; left: 0; top: 100%; margin-top: 6px; font-size: 12px; color: var(--mute); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .row-prev { transition: none; } }
.rowcap { position: absolute; left: 0; top: 0; font-size: 12px; line-height: 1.35; color: var(--mute); pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Linjen zoomet ud: rækken ligger i bunden; titel og knapper flytter op over den */
.label, .toggle, .zoom { transition: bottom .4s cubic-bezier(.2,.7,.2,1); }
body.row-low .label { bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
body.row-low .toggle { bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
body.row-low .zoom { bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
@media (prefers-reduced-motion: reduce) { .label, .toggle, .zoom { transition: none; } }

/* Spor: billeder popper frem efter musen */
.trail-img { position: absolute; display: block; object-fit: cover; cursor: pointer; opacity: 0; transform: scale(.92); transition: opacity .18s ease-out, transform .32s cubic-bezier(.2,.8,.2,1); user-select: none; -webkit-user-drag: none; }
.trail-img.in { opacity: 1; transform: none; }
.trail-img.out { opacity: 0; transition: opacity .6s ease; }
.trail-hint { position: fixed; z-index: 7000; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); font-size: 12px; color: var(--mute); letter-spacing: .04em; transition: opacity .4s; pointer-events: none; }
.trail-hint.gone { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .trail-img, .trail-img.in { transform: none; transition: opacity .2s; } }

/* Info: to spalter, små [mærker] i indrykket, store navne i løbende tekst */
.bio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 6vw; padding-top: 4px; font-family: var(--display); font-weight: 400; font-size: clamp(19px, 1.85vw, 30px); line-height: 1.18; letter-spacing: -.005em; }
.bio p { margin: 0; }
.bio .ib { position: relative; text-indent: 5.2em; margin-bottom: .95em; text-wrap: pretty; }
.bio .ib .k { position: absolute; left: 0; top: .42em; text-indent: 0; font-family: var(--text); font-size: 12px; letter-spacing: .02em; color: var(--mute); line-height: 1; }
.bio .sep { color: var(--mute); font-size: .7em; }
.bio .lead { margin-bottom: .2em; }
.bio .links a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.bio .links a:hover { color: var(--mute); }
@media (max-width: 760px) { .bio { grid-template-columns: 1fr; } .bio .ib { text-indent: 4.6em; } }

/* Serie, runde 7: fælles */
.sx-t { font-family: var(--display); font-weight: 300; font-size: clamp(38px, 5.4vw, 86px); line-height: .98; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.sx-m { margin: 12px 0 0; color: var(--mute); font-size: 13px; letter-spacing: .02em; }
.sx-next { display: block; text-align: left; font-family: var(--display); font-size: 20px; line-height: 1.15; }
.sx-next span { display: block; font-family: var(--text); font-size: 11px; letter-spacing: .06em; color: var(--mute); margin-bottom: 4px; }
.sx-next:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

/* 1 · Ét ad gangen */
.sx-one { position: fixed; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4vw;
  padding: 96px max(22px, env(safe-area-inset-right, 0px)) 64px max(22px, env(safe-area-inset-left, 0px)); }
.sx-one .sx-side { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 0; max-width: 34vw; }
.sx-one .sx-next { margin-top: 48px; }
.sx-nav { display: flex; gap: 18px; align-items: baseline; margin-top: 36px; font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.sx-nav button { font-size: 18px; color: var(--ink); padding: 4px 2px; }
.sx-nav button:hover { color: var(--mute); }
.sx-pic { display: grid; place-items: center end; }
.sx-pic img { grid-area: 1 / 1; display: block; cursor: pointer; user-select: none; }
@media (max-width: 760px) { .sx-one { grid-template-columns: 1fr; align-content: center; gap: 24px; } .sx-one .sx-side { max-width: none; order: 2; } .sx-pic { place-items: center; } .sx-one .sx-next { margin-top: 20px; } }

/* 2 · Række */
.sx-row { position: fixed; inset: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.sx-row::-webkit-scrollbar { display: none; }
.sx-track { display: flex; align-items: center; gap: 9vw; height: 100%; width: max-content; }
.sx-track figure { margin: 0; position: relative; }
.sx-track img { display: block; cursor: pointer; user-select: none; }
.sx-track figcaption { position: absolute; left: 0; top: 100%; margin-top: 10px; font-size: 11px; color: var(--mute); letter-spacing: .05em; font-variant-numeric: tabular-nums; }
.sx-end { width: 260px; }

/* 3 · Rum */
.sx-room { cursor: default; }
.sx-room-next { position: fixed; z-index: 7000; right: max(22px, env(safe-area-inset-right, 0px)); top: calc(52px + env(safe-area-inset-top, 0px)); }
.sx-room-next .sx-next { font-size: 15px; text-align: right; }

/* 4 · Opslag */
.sx-spread { padding-bottom: 18vh; }
.sx-open { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4vw; align-items: center; min-height: calc(100vh - 150px); }
.sx-hero { margin: 0; justify-self: end; }
.sx-hero img { display: block; }
.sx-spread > figure { margin: 22vh 0 0; }
.sx-spread > figure img, .sx-spread .pair img { display: block; width: 100%; height: auto; }
.sx-spread > figure.r { width: min(36vw, 520px); margin-left: auto; margin-right: 6vw; }
.sx-spread > figure.l { width: min(32vw, 470px); margin-left: 8vw; }
.sx-spread > figure.w { width: min(64vw, 1100px); margin-left: auto; margin-right: auto; }
.sx-spread .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; width: min(62vw, 980px); margin: 22vh auto 0; align-items: start; }
.sx-spread .pair figure { margin: 0; } .sx-spread .pair figure + figure { margin-top: 16vh; }
.sx-foot { margin-top: 26vh; }
@media (max-width: 760px) { .sx-open { grid-template-columns: 1fr; min-height: 0; } .sx-hero { justify-self: start; }
  .sx-spread > figure.r, .sx-spread > figure.l, .sx-spread > figure.w, .sx-spread .pair { width: 100%; margin-left: 0; margin-right: 0; margin-top: 10vh; } .sx-spread .pair figure + figure { margin-top: 0; } }

/* Serie, runde 8: rene og rolige billedsider */
.sv { position: fixed; inset: 0; overflow: hidden; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.sv.dragging { cursor: grabbing; }
.sv-stage { position: absolute; inset: 0; }
.sv-depth .sv-stage { perspective: 1700px; transform-style: preserve-3d; }
.sv-it { position: absolute; left: 0; top: 0; will-change: transform, opacity; }
.sv-it img { display: block; -webkit-user-drag: none; pointer-events: auto; }
.sv-end { text-align: left; }
.sv .label, .sv .count { transition: opacity .4s; }
.sv.at-end .count { opacity: 0; }
/* line: tynd række af alle billeder nederst i midten; det aktuelle løftes lidt */
.sv-strip { position: fixed; z-index: 7000; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; gap: 4px; align-items: flex-end; max-width: 46vw; overflow: hidden; }
.sv-strip button { flex: 0 0 auto; height: 30px; transition: transform .35s cubic-bezier(.22,.8,.2,1); }
.sv-strip button.on { transform: translateY(-6px); }
.sv-strip img { height: 100%; width: auto; display: block; }
/* calm: Forrige og Næste som stille ord midt ude ved kanterne */
.sv-side { position: fixed; z-index: 7000; top: 48%; transform: translateY(-50%); font-family: var(--display); font-size: 15px; color: var(--ink); padding: 12px 4px; }
.sv-side:hover { color: var(--mute); }
.sv-l { left: max(22px, env(safe-area-inset-left, 0px)); } .sv-r { right: max(22px, env(safe-area-inset-right, 0px)); }
@media (max-width: 760px) { .sv-strip { max-width: 70vw; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } .sv-side { display: none; } }
@media (prefers-reduced-motion: reduce) { .sv-strip button { transition: none; } }

/* Serie, runde 9 */
.sv-it { display: flex; align-items: flex-end; }
/* top: hele serien som en tynd række øverst, ét billede stort under til venstre, tekst til højre */
.sv-strip.sv-top { top: calc(84px + env(safe-area-inset-top, 0px)); bottom: auto; left: max(22px, 3vw); right: max(22px, 3vw); transform: none; max-width: none; gap: 3px; align-items: flex-start; overflow-x: auto; scrollbar-width: none; }
.sv-strip.sv-top::-webkit-scrollbar { display: none; }
.sv-strip.sv-top button { height: 40px; }
.sv-strip.sv-top button.on { transform: translateY(5px); }
.sv-cap { position: fixed; z-index: 7000; left: 54%; top: 128px; font-family: var(--display); max-width: 38vw; }
.sv-cap .t { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.1; }
.sv-cap .c { margin-top: 6px; font-family: var(--text); font-size: 13px; color: var(--mute); letter-spacing: .02em; }
.sv-cap .count { position: static; margin-top: 18px; }
@media (max-width: 760px) { .sv-cap { left: max(22px, 3vw); top: auto; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); max-width: 80vw; } .sv-strip.sv-top { top: calc(84px + env(safe-area-inset-top, 0px)); } }

/* Videre til næste serie: en lille pil i tekststørrelse, langt ude til højre, så billedet har luft. Viser sig ved sidste billede. */
.sv-arrow { position: fixed; z-index: 7000; left: 84%; top: var(--ay, 48%); transform: translateY(-50%); font-family: var(--display); font-weight: 300; font-size: 20px; line-height: 1; color: var(--ink); padding: 12px;
  opacity: 0; pointer-events: none; transition: opacity .45s, transform .35s cubic-bezier(.22,.8,.2,1); }
.sv.at-last .sv-arrow { opacity: 1; pointer-events: auto; }
.sv-arrow:hover { transform: translate(4px, -50%); }
@media (max-width: 760px) { .sv-arrow { left: auto; right: max(10px, env(safe-area-inset-right, 0px)); } }
@media (prefers-reduced-motion: reduce) { .sv-arrow { transition: none; } .sv-arrow:hover { transform: translateY(-50%); } }
/* Ro: ved sidste billede tager pilen over fra ordet "Næste" */
.sv-side { transition: opacity .45s; }
.sv-calm.at-last .sv-r { opacity: 0; pointer-events: none; }

/* Motion som Stills: filmen i sit eget format til højre bag titlerne */
.cover-bg video { width: 100%; height: 100%; object-fit: contain; object-position: right center; display: block; }
.motion-cover .cover-bg { transition: none; }

/* Motion: filmen i fokus, teksten lille */
.mv { position: fixed; inset: 0; touch-action: pan-y; }
.mv video { display: block; background: transparent; }
.mv button { cursor: pointer; }
.mv em { font-style: normal; color: var(--mute); margin-left: 8px; }
.mv-stage { position: absolute; inset: 0; display: grid; place-items: center; }
.mv-stage .mv-play { display: block; }
.mv-stage video { height: 72vh; width: auto; max-width: 86vw; object-fit: contain; }
.mv-list { position: fixed; z-index: 7000; list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 12px; letter-spacing: .02em; }
.mv-list button { color: var(--mute); text-align: left; display: flex; gap: 10px; align-items: baseline; }
.mv-list button .n { font-variant-numeric: tabular-nums; }
.mv-list button.on, .mv-list button:hover { color: var(--ink); }
.mv-list button.on em, .mv-list button:hover em { color: var(--mute); }
.mv-stage + .mv-list { left: max(22px, env(safe-area-inset-left, 0px)); bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
/* side: filmen til venstre for midten, listen i en smal spalte til højre */
.mv-side .mv-stage { place-items: center start; padding-left: 14vw; }
.mv-side .mv-stage video { height: 76vh; max-width: 60vw; }
.mv-side .mv-list { left: auto; right: max(22px, env(safe-area-inset-right, 0px)); bottom: auto; top: 50%; transform: translateY(-50%); width: 22vw; gap: 10px; font-size: 13px; }
/* full: så stor som muligt */
.mv-full .mv-stage video { height: 82vh; max-width: 92vw; }
/* row: alle film side om side */
.mv-row { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 3vw; padding: 0 max(22px, env(safe-area-inset-right, 0px)) 0 max(22px, env(safe-area-inset-left, 0px)); }
.mv-row figure { margin: 0; min-width: 0; }
.mv-row video { height: 62vh; width: auto; max-width: 30vw; object-fit: contain; }
.mv-row figcaption { margin-top: 10px; font-size: 12px; letter-spacing: .02em; }
@media (max-width: 760px) {
  .mv-side .mv-stage { place-items: center; padding: 0 0 20vh; } .mv-side .mv-stage video { height: 58vh; max-width: 90vw; }
  .mv-side .mv-list { top: auto; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); left: max(22px, env(safe-area-inset-left, 0px)); transform: none; width: auto; }
  .mv-row { flex-direction: column; overflow-y: auto; justify-content: flex-start; padding-top: 90px; padding-bottom: 40px; } .mv-row video { height: auto; width: 100%; max-width: none; }
}
.mv-side .mv-list em { display: block; margin: 2px 0 0; }
.mv-side .mv-list button { display: grid; grid-template-columns: 2.2em 1fr; }
/* Motion-tekst i samme skrift som resten af siden */
.mv figcaption, .mv-list { font-family: var(--display); }
.mv figcaption { font-size: 15px; letter-spacing: .005em; }
.mv em { font-family: var(--text); font-size: 12px; letter-spacing: .02em; }
.mv-row { touch-action: pan-y; }

/* Filmside: intet ekstra, titlen nederst til venstre */
.fm { position: fixed; inset: 0; touch-action: pan-y; user-select: none; }
.fm-stage { position: absolute; inset: 0; display: grid; place-items: center; }
.fm-clean .fm-stage video { height: 80vh; width: auto; max-width: 88vw; object-fit: contain; display: block; }
.fm-sound { position: fixed; z-index: 7000; right: max(22px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); font-size: 12px; letter-spacing: .04em; color: var(--mute); }
.fm-sound:hover, .fm-sound.on { color: var(--ink); }
/* Biograf: hele skærmen, teksten oven på filmen skifter farve mod den */
.fm-cinema { background: #000; }
.fm-cinema .fm-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
body.on-film .nav, .fm-cinema .fm-label, .fm-cinema .fm-sound { mix-blend-mode: difference; color: #fff; }
body.on-film .nav .tabs button { color: #fff; opacity: .7; } body.on-film .nav .tabs button[aria-current="page"] { opacity: 1; }
.fm-cinema .fm-label .c { color: #fff; opacity: .7; }
.fm-time { position: fixed; z-index: 7000; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255,255,255,.25); }
.fm-time i { display: block; height: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(0); }
/* Swipe mellem Stills og Motion: siden følger fingeren vandret, lodret scroll virker stadig */
.stills-cover, .mv-row { touch-action: pan-y; will-change: transform; }
.info-page { touch-action: pan-y; will-change: transform; }
