/* 24 SNÍMOK – P15 Film-strip / analog. Tokens: OKLCH only. */
:root {
  --dark: oklch(0.16 0.01 150);
  --dark-2: oklch(0.21 0.01 150);
  --film: oklch(0.1 0.005 150);
  --fg: oklch(0.92 0.01 90);
  --muted: oklch(0.65 0.01 90);
  --accent: oklch(0.68 0.19 35);
  --accent-hi: oklch(0.74 0.17 35);
  --accent-fg: oklch(0.12 0.02 35);
  --paper: oklch(0.92 0.01 90);
  --paper-2: oklch(0.88 0.012 90);
  --line: oklch(0.32 0.01 150);
  --hole: oklch(0.3 0.01 150);
  --ink: oklch(0.2 0.01 150);
  --ink-muted: oklch(0.44 0.01 90);
  --err: oklch(0.8 0.13 40);
  --section-y: clamp(4rem, 3rem + 3vw, 7rem);
  --gutter: clamp(16px, 4vw, 48px);
  --wrap: 1360px;
  --fgap: clamp(12px, 2.4vw, 36px);
  --bar-h: 44px;

  --step-0: 1.0625rem;
  --step-1: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  --step-2: clamp(1.375rem, 1.2rem + 0.7vw, 1.875rem);
  --mono: 0.8125rem;
  --display-1: clamp(2.25rem, 1.5rem + 3vw, 4.5rem);
  --display-2: clamp(1.625rem, 1.25rem + 1.6vw, 2.75rem);

  --f-serif: "Piazzolla", Georgia, "Times New Roman", serif;
  --f-mono: "Sometype Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);

  /* 35 mm perforation: one rounded hole per 24 px tile, used as a mask so colour stays a token */
  --perf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14'%3E%3Crect x='7' y='0' width='10' height='14' rx='2.5'/%3E%3C/svg%3E");
  --perf-v: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='24'%3E%3Crect x='0' y='7' width='14' height='10' rx='2.5'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--bar-h); }
html.motion { scroll-behavior: auto !important; }
@media (prefers-reduced-motion: no-preference) { html:not(.motion) { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--dark); color: var(--fg);
  font: 400 var(--step-0)/1.6 var(--f-serif); font-optical-sizing: auto;
  overflow-x: clip; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
p, h1, h2, h3, ol, ul, dl, dd, figure { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 12px 16px; background: var(--accent); color: var(--accent-fg); font: 700 var(--mono) var(--f-mono); text-decoration: none; }
.skip:focus { top: 8px; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.mono { font-family: var(--f-mono); }
.eyebrow { font: 400 0.75rem/1.4 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.display-1 { font-size: var(--display-1); font-weight: 300; line-height: 1.1; letter-spacing: -0.01em; }
.display-2 { font-size: var(--display-2); font-weight: 300; line-height: 1.15; letter-spacing: -0.005em; text-wrap: balance; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 22px;
  background: var(--accent); color: var(--accent-fg); border: 0; border-radius: 0; cursor: pointer;
  font: 700 var(--mono)/1.2 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  transition: background-color 0.15s;
}
.btn:hover { background: var(--accent-hi); }
.btn--quiet { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.btn--quiet:hover { background: var(--fg); color: var(--film); }
.tlink { display: inline-flex; align-items: center; min-height: 44px; font-style: italic; font-size: var(--step-1); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--muted); }
.tlink:hover { text-decoration-color: var(--accent); }

/* ---------- header: thumbnail strip ---------- */
.bar {
  position: sticky; top: 0; z-index: 50; height: var(--bar-h);
  display: flex; align-items: center; gap: 12px; padding-inline: var(--gutter) calc(var(--gutter) - 8px);
  background: var(--film); border-bottom: 1px solid var(--line);
}
.brand { font: italic 400 1.1875rem/1 var(--f-serif); text-decoration: none; white-space: nowrap; padding-block: 12px; }
.bar__now { margin-left: auto; font: 400 0.75rem/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.thumbs { min-width: 0; }
.thumbs ol { display: flex; list-style: none; padding: 0; }
.thumbs a { position: relative; display: grid; place-items: center; width: 44px; height: var(--bar-h); color: var(--muted); text-decoration: none; }
.tn {
  position: relative; display: grid; place-items: center; width: 24px; height: 16px;
  font: 700 8px/1 var(--f-mono); letter-spacing: 0.02em; background: var(--dark-2); box-shadow: inset 0 0 0 1px var(--line);
}
.tn::before, .tn::after {
  content: ""; position: absolute; left: 3px; right: 3px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--hole) 0 2px, transparent 2px 5px);
}
.tn::before { top: 1px; } .tn::after { bottom: 1px; }
.thumbs a:hover .tn, .thumbs a.is-on .tn { color: var(--fg); }
.thumbs .ring { position: absolute; left: 3px; top: 6px; width: 38px; height: 32px; }

/* China-marker ring (shared) */
.ring {
  overflow: visible; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1 2; stroke-dashoffset: 1.01; pointer-events: none;
  transition: stroke-dashoffset 0.4s var(--ease-out);
}
.thumbs a.is-on .ring, .cframe.is-used .ring, .step.is-current .ring { stroke-dashoffset: 0; }

/* ---------- film strip component ---------- */
.strip { --pad: 44px; --hole-c: var(--hole); position: relative; background: var(--film); padding-block: var(--pad); overflow: clip; list-style: none; }
.strip::before, .strip::after {
  content: ""; position: absolute; left: 0; right: 0; height: 14px; background: var(--hole-c); pointer-events: none;
  -webkit-mask-image: var(--perf); mask-image: var(--perf);
  -webkit-mask-size: 24px 14px; mask-size: 24px 14px;
  -webkit-mask-repeat: round no-repeat; mask-repeat: round no-repeat;
}
.strip::before { top: 8px; } .strip::after { bottom: 8px; }
.strip__track { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--fgap); padding-inline: var(--fgap); list-style: none; margin: 0; }
.frame { position: relative; }
.fno { position: absolute; left: 2px; top: calc(100% + 5px); font: 400 0.6875rem/1 var(--f-mono); letter-spacing: 0.08em; color: var(--muted); white-space: nowrap; }

.media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--film); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); background-size: 200px; opacity: 0.06; pointer-events: none; }
.media--film { box-shadow: inset 0 0 0 1px var(--line); }
.media.is-missing { box-shadow: inset 0 0 0 1px var(--line); }
.media.is-missing::before {
  content: "neexponované"; position: absolute; inset: 0; display: grid; place-items: center;
  font: 400 0.6875rem/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.crop-alt img { transform: scale(1.6); transform-origin: 72% 38%; }
.paper { position: absolute; inset: 0; z-index: 1; background: var(--paper); opacity: 0; pointer-events: none; }

/* develop start state: only with motion (no JS / reduced motion = finished prints) */
html.motion .dev img { opacity: 0.3; }
html.motion .dev .paper { opacity: 1; }
html.motion .dev.is-in img { opacity: 1 !important; filter: none !important; }
html.motion .dev.is-in .paper { opacity: 0 !important; }

/* text frames on black film */
.frame--text .media--film { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: clamp(16px, 7%, 36px); }
.time { font: 400 clamp(1.5rem, 1rem + 2vw, 2.75rem)/1 var(--f-mono); letter-spacing: -0.02em; margin-bottom: auto; }
.ftitle { font-size: var(--step-2); font-weight: 300; font-style: italic; line-height: 1.2; }
.frame--text p:not(.time):not(.snum):not(.price) { color: var(--muted); font-size: 1rem; line-height: 1.45; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 0 0 var(--section-y); overflow: clip; }
.safelight {
  position: absolute; inset: auto 0 0; height: 70%; pointer-events: none;
  background: radial-gradient(50% 60% at 78% 0%, oklch(0.68 0.19 35 / 0.2), transparent 72%),
              radial-gradient(40% 50% at 6% 60%, oklch(0.68 0.19 35 / 0.06), transparent 70%);
}
html.motion .safelight { opacity: 0; }
.strip--hero { --pad: 48px; }
.strip--hero .strip__track { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; grid-template-columns: repeat(3, 1fr); grid-auto-flow: row; padding: 0; }
html.motion .strip--hero .strip__track { transform: translateX(calc((100% + var(--fgap)) / -3)); }
.frame--ghost { position: absolute; top: 0; width: calc((100% - 2 * var(--fgap)) / 3); }
.frame--before { right: calc(100% + var(--fgap)); }
.frame--after { left: calc(100% + var(--fgap)); }
.media--video video { position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s; }
.media--video.is-playing video { opacity: 1; }
.vbtn {
  position: absolute; right: 8px; bottom: 8px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 0; background: oklch(0.1 0.005 150 / 0.72); color: var(--fg); cursor: pointer;
}
.vbtn .ic { fill: currentColor; stroke: none; width: 16px; height: 16px; }
.hero__copy { position: relative; padding-top: clamp(28px, 3.4vw, 48px); }
.hero h1 { margin-top: 14px; max-width: min(100%, 36ch); }
.hero h1 em { font-style: italic; font-weight: 300; }
.hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-top: clamp(20px, 2.4vw, 32px); }
.lead { max-width: 46ch; font-size: var(--step-1); line-height: 1.5; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
@media (min-width: 900px) { .hero h1 > * { display: block; } }

/* ---------- sections ---------- */
.sec { padding-block: var(--section-y); position: relative; }
.sec-head { max-width: 62ch; margin-bottom: clamp(36px, 4vw, 64px); }
.sec-head h2 { margin: 12px 0 14px; }
.sec-head p:not(.eyebrow) { color: var(--muted); }
.small { font-size: 0.75rem; letter-spacing: 0.04em; }

/* 2 Jeden deň – rail of half-frame offset strips */
.rail { display: grid; gap: 20px; list-style: none; padding: 0; }
.strip--row { width: 80%; }
.strip--row:nth-child(even) { margin-left: 20%; }

/* 3 Album builder */
.albumsec { background: var(--dark-2); }
.albumsec .wrap { position: relative; }
.builder { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--fgap); align-items: start; }
.sheet { grid-column: 1 / span 5; }
.album { grid-column: 6 / -1; }
.sheet__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.sheet__title { font-size: var(--step-1); font-weight: 400; }
.count { font: 700 1rem/1 var(--f-mono); letter-spacing: 0.06em; padding: 6px 10px; box-shadow: inset 0 0 0 1px var(--line); }
.count.is-full { background: var(--accent); color: var(--accent-fg); box-shadow: none; }
.hint { margin: 8px 0 20px; color: var(--muted); font-size: 0.9375rem; }
.hint--touch { display: none; }
@media (hover: none), (pointer: coarse) { .hint--fine { display: none; } .hint--touch { display: inline; } }
.sheet__strips { display: grid; gap: 12px; }
.strip--sheet { --pad: 36px; overflow: visible; }
.strip--sheet .strip__track { gap: 5%; padding-inline: 4%; }
.cframe {
  position: relative; display: block; padding: 0; border: 0; border-radius: 0; background: none; cursor: grab;
  touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
  transition: transform 0.15s var(--ease-out);
}
.cframe img, .slot img, .ghost img { pointer-events: none; -webkit-user-drag: none; }
.slot { -webkit-user-select: none; user-select: none; }
.cframe .ring { position: absolute; left: -14%; top: -26%; width: 128%; height: 152%; z-index: 2; }
.cframe .fno { top: calc(100% + 4px); }
.cframe:hover .media { box-shadow: 0 0 0 1px var(--muted); }
.cframe[aria-pressed="true"] { transform: translateY(-4px); }
.cframe[aria-pressed="true"] .media { outline: 3px solid var(--accent); outline-offset: 2px; }
.cframe:focus-visible { outline-offset: 5px; }

.album { position: relative; }
.spread { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); color: var(--ink); }
.spread::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: oklch(0.72 0.01 90); }
.page { aspect-ratio: 1; padding: 8%; display: flex; flex-direction: column; justify-content: center; }
.slot {
  position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; padding: 0; cursor: pointer; border-radius: 0;
  background: var(--paper-2); border: 1px dashed oklch(0.6 0.01 90); color: var(--ink-muted);
}
.page--r .slot { width: 69.6%; margin-inline: auto; }
.page--r .slot + .slot { margin-top: 7.1%; }
.slot__ph { position: absolute; inset: 0; display: grid; place-items: center; font: 400 0.6875rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.slot__cap { position: absolute; left: 0; top: calc(100% + 3px); font: 400 0.6875rem/1.2 var(--f-mono); letter-spacing: 0.06em; color: var(--ink-muted); white-space: nowrap; }
.slot .media { position: absolute; inset: 0; }
.slot.is-filled { border: 0; background: var(--film); }
.slot.is-filled .slot__ph { display: none; }
.slot:focus-visible { outline-color: var(--accent-fg); outline-width: 3px; }
.album.is-armed .slot:not(.is-filled) { border: 2px dashed var(--ink); }
.slot.is-over { outline: 3px solid var(--accent); outline-offset: 3px; }
.done { margin-top: 28px; display: grid; gap: 14px; justify-items: start; }
.done p { font-size: var(--step-1); }
.ghost {
  position: absolute; left: 0; top: 0; z-index: 30; pointer-events: none; visibility: hidden; opacity: 0;
  outline: 3px solid var(--accent); background: var(--film); overflow: hidden;
}
.ghost .media { width: 100%; height: 100%; aspect-ratio: auto; }

/* 4 Balíky */
.strip--pkgs .strip__track { grid-auto-rows: 1fr; }
.pkg .media--film { aspect-ratio: auto; min-height: 100%; justify-content: flex-start; gap: 18px; }
.specs { display: grid; gap: 6px; font: 400 var(--mono)/1.4 var(--f-mono); }
.specs div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.specs dt { color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; }
.specs dd { text-align: right; }
.price { margin-top: auto; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price span { font: 700 clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem)/1 var(--f-mono); letter-spacing: -0.02em; }
.price small { font: 400 0.75rem var(--f-mono); color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.pick { align-self: flex-start; }
.addon { margin-top: 28px; color: var(--muted); }
.addon .mono { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg); margin-right: 8px; }

/* 5 Ako pracujeme – contact sheet on paper */
.steps { background: var(--paper); color: var(--ink); }
.steps .eyebrow { color: var(--ink-muted); }
.steps__sheet { display: grid; gap: 16px; list-style: none; padding: 0; }
.strip--steps { --hole-c: var(--paper); --pad: 40px; color: var(--fg); overflow: visible; }
.step .media--film { aspect-ratio: 3 / 2; }
.snum { font: 700 var(--step-2)/1 var(--f-mono); margin-bottom: auto; color: var(--fg); }
.step { z-index: 0; }
.step.is-current { z-index: 2; }
.step .ring { position: absolute; left: -25%; top: -33%; width: 150%; height: 166%; stroke-width: 4; }
@media (max-width: 767px) { .step .ring { left: -11%; top: -22%; width: 122%; height: 144%; } }
@media (min-width: 1100px) {
  .steps__sheet { grid-template-columns: 1fr 1fr; gap: 0; }
  .strip--steps .strip__track { padding-inline: calc(var(--fgap) / 2); }
}

/* 6 Otázky */
.faq__grid { display: grid; gap: 0 var(--fgap); }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none;
  font-size: var(--step-1); line-height: 1.3;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary .mono { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.1em; width: 2.2em; flex: none; }
.faq__list summary .ic { margin-left: auto; transition: transform 0.2s var(--ease-out); color: var(--muted); }
.faq__list details[open] summary .ic { transform: rotate(45deg); color: var(--accent); }
.faq__list details p { padding: 0 0 22px calc(2.2em * 0.75 + 16px); max-width: 64ch; color: var(--muted); }
@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: 5fr 7fr; }
}

/* 7 Kontakt */
.contact { background: var(--dark-2); }
.contact__grid { display: grid; gap: 0 calc(var(--fgap) * 2); }
.contact .sec-head p + p { margin-top: 14px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px var(--fgap); align-content: start; }
.field { display: grid; gap: 8px; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field label { font: 400 0.75rem/1.3 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg); }
.opt { color: var(--muted); text-transform: none; letter-spacing: 0.02em; }
.field input:not([type="checkbox"]), .field select {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 0;
  background: var(--film); border: 1px solid var(--line); color: var(--fg); font-size: 1rem;
}
.field input::placeholder { color: oklch(0.62 0.01 90); }
.field input[readonly] { border-style: dashed; color: var(--accent-hi); font-family: var(--f-mono); letter-spacing: 0.06em; }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.err { color: var(--err); font-size: 0.875rem; min-height: 0; }
.err:empty { display: none; }
.note { color: var(--muted); font-size: 0.875rem; }
.field--check { grid-template-columns: auto 1fr; align-items: start; column-gap: 12px; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.field--check label { font: 400 0.9375rem/1.5 var(--f-serif); text-transform: none; letter-spacing: 0; }
.field--check .err { grid-column: 2; }
.form__end { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 4px; }
.ok { font-size: var(--step-1); font-style: italic; max-width: 40ch; }
.ok:focus { outline: none; }
@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: 5fr 7fr; }
}

/* footer */
.foot { position: relative; background: var(--film); padding: 64px 0 28px; font-size: 0.9375rem; color: var(--muted); }
.foot::before {
  content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 14px; background: var(--hole);
  -webkit-mask: var(--perf) 0 0 / 24px 14px round no-repeat; mask: var(--perf) 0 0 / 24px 14px round no-repeat;
}
.foot__in { display: grid; gap: 32px var(--fgap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
@media (min-width: 1024px) { .foot__in { grid-template-columns: 2fr 1fr 1.4fr 1fr; } }
.brand--foot { color: var(--fg); padding: 0 0 10px; font-size: 1.5rem; }
.foot__h { font: 400 0.75rem/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg); margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; display: grid; gap: 2px; }
.foot a { display: inline-block; padding-block: 10px; text-decoration-color: var(--line); text-underline-offset: 4px; }
.foot p a { padding-block: 6px; }
.foot a:hover { color: var(--fg); }
.demo { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font: 400 0.75rem/1.6 var(--f-mono); letter-spacing: 0.04em; }
.demo strong { color: var(--fg); }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .strip--row { width: 88%; }
  .strip--row:nth-child(even) { margin-left: 12%; }
  .pkg .specs div { flex-direction: column; gap: 2px; }
  .pkg .specs dd { text-align: left; }
}
@media (max-width: 899px) {
  .builder { display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
  .album {
    order: -1; position: sticky; top: var(--bar-h); z-index: 5;
    margin-inline: calc(-1 * var(--gutter)); padding: 12px var(--gutter) 14px; background: var(--dark-2);
    border-bottom: 1px solid var(--line);
  }
  .spread { width: min(100%, 2 * (38vh - 26px)); margin-inline: auto; }
  .done { margin-top: 12px; gap: 8px; justify-items: center; text-align: center; }
  .done p { font-size: 1rem; }
  .slot__cap { top: auto; bottom: 0; left: 0; padding: 3px 5px; background: var(--paper); color: var(--ink); font-size: 0.625rem; }
  .sheet { width: 100%; }
}
@media (max-width: 767px) {
  .bar__now { display: none; }
  .thumbs { margin-left: auto; overflow-x: auto; scrollbar-width: none; }
  .thumbs::-webkit-scrollbar { display: none; }
  .strip--hero .strip__track { width: auto; grid-template-columns: repeat(3, 78vw); gap: 3vw; margin-left: -70vw; margin-right: 0; }
  html.motion .strip--hero .strip__track { transform: translateX(-81vw); }
  .strip--hero { --pad: 40px; }
  .hero h1 { margin-top: 10px; }

  .strip--row, .strip--row:nth-child(even) { width: 100%; margin-left: 0; }
  .sheet__strips { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* vertical strip: perforation left and right, frames under each other */
  .stack, .strip--sheet { --pad: 16px; padding: 18px 34px; }
  .stack::before, .stack::after, .strip--sheet::before, .strip--sheet::after {
    top: 0; bottom: 0; width: 14px; height: auto;
    -webkit-mask-image: var(--perf-v); mask-image: var(--perf-v);
    -webkit-mask-size: 14px 24px; mask-size: 14px 24px;
    -webkit-mask-repeat: no-repeat round; mask-repeat: no-repeat round;
  }
  .stack::before, .strip--sheet::before { left: 10px; right: auto; }
  .stack::after, .strip--sheet::after { right: 10px; left: auto; bottom: 0; }
  .stack .strip__track, .strip--sheet .strip__track { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; padding-inline: 0; gap: 30px; }
  .stack .strip__track { padding-bottom: 14px; }
  .strip--sheet .strip__track { gap: 28px; padding-bottom: 12px; }
  .pkg .media--film { min-height: 0; }
  .form { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .ring, .cframe, .faq__list summary .ic, .media--video video { transition: none !important; }
}
