/* GREGORSWORK, look "Denné svetlo": light chalk paper, ink text, one fjord accent, thin Inter Tight headings whose
   second half (<em>) is grey, mono labels, and viewfinder corner marks (.vf) on pictures. */
:root {
  --paper: #F4F5F2;   /* krieda: the page */
  --sheet: #FFFFFF;   /* cards and alternating sections */
  --ink: #14171A;     /* atrament */
  --graphite: #666D73;/* kameň: secondary text, the grey half of headings */
  --line: #DCDFDA;
  --fjord: #2B5468;   /* the one accent */
  --mist: #E3EBEE;    /* hmla: soft accent background */
  --night: #101417;   /* noc: order section and footer */
  --error: #A6402F;
  --disp: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --gutter: clamp(20px, 5vw, 72px);
  --space: clamp(80px, 10vw, 144px);
  --ease: cubic-bezier(.3, .7, .2, 1);

  /* Text motion. Every text reveal on the page takes its numbers from here, and motion.js reads them too. */
  --m-ease: cubic-bezier(.22, 1, .36, 1);
  --m-line: .7s;          /* one line of a heading */
  --m-line-from: 105%;    /* where a line waits, below its mask */
  --m-line-gap: 90ms;     /* the next line starts this much later */
  --m-line-spread: 150ms; /* all those steps of one heading together, at most */
  --m-soft: .48s;         /* a short description */
  --m-soft-y: 16px;
  --m-tag: .26s;          /* a label, number or place */
  --m-after-tag: 70ms;    /* the heading starts this long after its label */
  --m-after-head: 140ms;  /* the description starts this long after its heading */
  --m-item-gap: 70ms;     /* items next to each other */
  --m-item-max: 280ms;    /* the last item never waits longer than this */
  --m-trigger-line: 88;   /* text starts when it crosses this % of the screen height */
  --m-word-rest: #7A8086; /* unlit words */
}
/* Phones: same style, shorter and closer together. */
@media (max-width: 820px), (max-height: 520px) and (pointer: coarse), (max-aspect-ratio: 85/100) {
  :root {
    --m-line: .56s;
    --m-line-gap: 60ms;
    --m-line-spread: 90ms;
    --m-soft: .38s;
    --m-soft-y: 11px;
    --m-tag: .22s;
    --m-after-tag: 50ms;
    --m-after-head: 100ms;
    --m-item-gap: 50ms;
    --m-item-max: 200ms;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; color-scheme: light; }
html.lenis, html.lenis body { height: auto; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  overflow-x: hidden;
}
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--disp); font-weight: 400; text-wrap: balance; }
h1, h2 { font-weight: 300; letter-spacing: -.03em; line-height: 1.03; }
h2 { font-size: clamp(36px, calc(3.6vw + 18px), 72px); }
h2 em, h3 em { font-style: normal; color: var(--graphite); }
:focus-visible { outline: 2px solid var(--fjord); outline-offset: 3px; }
.fly :focus-visible, .order :focus-visible, .foot :focus-visible { outline-color: #fff; }
.order .ocard :focus-visible { outline-color: var(--fjord); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Labels above headings */
.eyebrow { display: block; margin-bottom: 16px; font: 500 11px/1.3 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: var(--graphite); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 3px;
  background: var(--ink); color: #fff; font: 500 15px/1 var(--sans); letter-spacing: .01em;
  white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background .3s ease, color .3s ease, box-shadow .3s ease;
}
.btn svg { flex: none; transition: transform .35s var(--ease); }
/* Hover colours only where there is a real hover: on a phone a tap would leave them stuck. */
@media (hover: hover) {
  .btn:hover { background: var(--fjord); color: #fff; }
  .btn--line:hover { background: var(--ink); color: #fff; }
  .btn--ghost:hover { background: var(--paper); color: var(--ink); }
  .fly .btn:hover { background: var(--fjord); color: #fff; }
}
.btn--small { min-height: 40px; padding: 0 16px; font-size: 13.5px; }
.btn--full { width: 100%; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover svg { transform: translateX(4px); }
}
.link {
  display: inline-flex; align-items: center; min-height: 44px; padding-bottom: 2px;
  font: 500 15px/1.2 var(--sans);
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 1px no-repeat;
  transition: background-size .4s var(--ease);
}
@media (hover: hover) {
  .link:hover { background-size: 0 1px; background-position: 100% calc(100% - 10px); }
}

/* Viewfinder: corner marks and a rule-of-thirds grid, the signature detail of the look */
.vf {
  --c: rgba(255, 255, 255, .92); --l: 18px;
  position: absolute; inset: 14px; z-index: 1; pointer-events: none; opacity: 0;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) 1px, linear-gradient(var(--c), var(--c)) top left / 1px var(--l),
    linear-gradient(var(--c), var(--c)) top right / var(--l) 1px, linear-gradient(var(--c), var(--c)) top right / 1px var(--l),
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) 1px, linear-gradient(var(--c), var(--c)) bottom left / 1px var(--l),
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) 1px, linear-gradient(var(--c), var(--c)) bottom right / 1px var(--l);
  background-repeat: no-repeat;
  transition: opacity .4s ease, inset .5s var(--ease);
}
.thirds {
  --g: rgba(255, 255, 255, .55);
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s ease;
  background:
    linear-gradient(90deg, transparent calc(33.333% - .5px), var(--g) calc(33.333% - .5px), var(--g) calc(33.333% + .5px), transparent calc(33.333% + .5px), transparent calc(66.666% - .5px), var(--g) calc(66.666% - .5px), var(--g) calc(66.666% + .5px), transparent calc(66.666% + .5px)),
    linear-gradient(180deg, transparent calc(33.333% - .5px), var(--g) calc(33.333% - .5px), var(--g) calc(33.333% + .5px), transparent calc(33.333% + .5px), transparent calc(66.666% - .5px), var(--g) calc(66.666% - .5px), var(--g) calc(66.666% + .5px), transparent calc(66.666% + .5px));
}

/* Loader */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--night); color: #fff;
  display: grid; place-content: center; justify-items: center; gap: 20px;
  transition: opacity .5s ease, visibility .5s ease;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__brand { font: 300 15px/1 var(--disp); letter-spacing: .26em; }
.loader__bar { width: 180px; height: 1px; background: rgba(255,255,255,.22); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: #fff; transition: width .3s ease; }

/* Nav. Over the film it is white on the picture; after the film main.js makes it solid: frosted chalk with ink text. */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  display: flex; align-items: center; gap: clamp(16px, 2vw, 28px);
  padding: calc(10px + env(safe-area-inset-top, 0px)) var(--gutter) 10px;
  color: #fff; border-bottom: 1px solid transparent;
  transition: background .4s ease, color .4s ease, border-color .4s ease;
}
.nav.is-solid {
  background: rgba(244, 245, 242, .86); color: var(--ink); border-bottom-color: rgba(20, 23, 26, .08);
  -webkit-backdrop-filter: blur(16px) saturate(1.25); backdrop-filter: blur(16px) saturate(1.25);
}
.nav.is-open { background: transparent; color: var(--ink); border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav__logo { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; font: 500 13px/1 var(--disp); letter-spacing: .26em; }
.nav__links { display: none; gap: clamp(16px, 1.8vw, 26px); font-size: 13.5px; }
.nav__links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; opacity: .86; transition: opacity .3s ease; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: none; }
.nav__tel { display: none; font: 400 12.5px/1 var(--mono); letter-spacing: .04em; opacity: .9; min-height: 44px; align-items: center; }
.nav__cta { display: none; background: #fff; color: var(--ink); }
.nav.is-solid .nav__cta { background: var(--ink); color: #fff; }
.nav.is-solid .nav__cta:hover, .nav__cta:hover { background: var(--fjord); color: #fff; }
.nav__menu {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px;
  border: 1px solid currentColor; border-radius: 999px; background: none;
  font: 400 13px/1 var(--sans); cursor: pointer;
}
/* The menu button keeps a 44px tap area around its smaller outline. */
.nav__menu { position: relative; }
.nav__menu::after { content: ""; position: absolute; inset: -5px -4px; }
@media (min-width: 821px) and (min-height: 521px), (min-width: 821px) and (pointer: fine), (min-width: 821px) and (pointer: none) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__menu { display: none; }
}
@media (min-width: 1180px) {
  .nav__tel { display: inline-flex; }
}

.menu {
  position: fixed; inset: 0; z-index: 60; overflow-y: auto;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(84px + env(safe-area-inset-top, 0px)) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  background: var(--paper); color: var(--ink);
}
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
  font: 300 clamp(30px, 8.6vw, 40px)/1.1 var(--disp); letter-spacing: -.02em;
  animation: menu-in .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms);
}
@keyframes menu-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.menu p { font: 400 14px/1.3 var(--mono); }
.menu p a { display: inline-flex; align-items: center; min-height: 44px; }

/* Fly-through */
.fly { position: relative; height: 760vh; }
.fly__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--night); }
.fly__stage {
  position: absolute; inset: 0; overflow: hidden; will-change: transform;
  background: var(--night) url(assets/film7/d/0001.webp) center / cover no-repeat;
}
.fly__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; visibility: hidden; will-change: transform; }
.fly__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(8,11,13,.42) 0%, transparent 16%),
    linear-gradient(to top, rgba(8,11,13,.36) 0, transparent 110px);
}
/* A scrim only appears behind a caption, on the caption's own side, so the film stays bright. */
.fly__scrim { position: absolute; inset: 0; pointer-events: none; opacity: 0; visibility: hidden; will-change: opacity; }
.fly__scrim[data-scrim-layer="l"] { background: radial-gradient(112% 118% at 0% 100%, rgba(8,11,13,.8) 0%, rgba(8,11,13,.56) 36%, rgba(8,11,13,0) 72%); }
.fly__scrim[data-scrim-layer="r"] { background: radial-gradient(100% 118% at 100% 100%, rgba(8,11,13,.8) 0%, rgba(8,11,13,.56) 36%, rgba(8,11,13,0) 72%); }

.fly__ui { position: absolute; inset: 0; pointer-events: none; color: #fff; }

/* Captions. main.js decides when they play; how they move comes from the shared text motion values in :root.
   Only the way out and the opening's slower start are their own. */
.chapter {
  --ease: var(--m-ease);
  --t-line: var(--m-line);
  --t-soft: var(--m-soft);
  --t-label: var(--m-tag);
  --t-out: .34s;
  --stagger: var(--m-line-gap);
  --d-lines: var(--m-after-tag);
  --d-lede: calc(var(--m-after-tag) + var(--m-after-head));
  --d-acts: calc(var(--m-after-tag) + var(--m-after-head) * 2);
  --y-label: 0px;
  --y-soft: var(--m-soft-y);
  --y-out: 28px;
  position: absolute; left: max(var(--gutter), env(safe-area-inset-left, 0px));
  width: min(50vw, 780px);
  bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  opacity: 0; visibility: hidden; pointer-events: none;
  text-shadow: 0 1px 22px rgba(8,11,13,.3);
}
.chapter--right { left: auto; right: max(var(--gutter), env(safe-area-inset-right, 0px)); width: fit-content; max-width: min(42vw, 640px); }
.chapter.is-in { opacity: 1; visibility: visible; transition: opacity .2s ease, transform .2s ease; }
.chapter.is-out {
  opacity: 0; visibility: hidden; transform: translate3d(0, calc(var(--y-out) * -1), 0);
  transition: opacity var(--t-out) ease, transform var(--t-out) cubic-bezier(.4, 0, .7, 1), visibility 0s linear var(--t-out);
}
.chapter h1, .chapter h2 { font-weight: 300; letter-spacing: -.035em; line-height: .98; }
.chapter h1 { font-size: clamp(48px, min(8.4vw, 15svh), 124px); }
.chapter h2 { font-size: clamp(40px, min(5.4vw, 10.5svh), 80px); }
.label { margin-bottom: 12px; font: 500 clamp(11px, .95vw, 13px)/1.3 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.86); }
.lede { margin-top: 16px; max-width: 640px; font-size: clamp(16px, 1.45vw, 21px); line-height: 1.5; color: rgba(255,255,255,.9); text-wrap: pretty; }
.tiny { margin-top: 14px; font: 400 11px/1.35 var(--mono); letter-spacing: .06em; color: rgba(255,255,255,.7); }
.chapter__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 24px; }
.chapter.is-in:not(.is-out):not(.no-hit) .chapter__actions a { pointer-events: auto; }
.fly .btn { background: #fff; color: var(--ink); text-shadow: none; }

/* The opening caption is on screen unless the animation code says otherwise. */
.chapter--hero { right: 30%; width: auto; opacity: 1; visibility: visible; will-change: opacity, transform; --d-lines: .12s; --d-lede: .5s; --d-acts: .65s; --t-out: 0s; }
.chapter--hero.is-in { transition: none; }
.no-trans, .no-trans * { transition: none !important; }

/* Mask: the box a line is clipped to is the line's own full height, accents and descenders included, and a touch
   wider than the text. Negative margins cancel all of that, so the heading keeps its natural line height and place.
   Moving the line down by --m-line-from of that box puts all of it below the clip edge. */
.line { display: block; overflow: hidden; margin: -.14em -.05em -.1em; padding-inline: .05em; }
.line__in { display: block; padding: .14em 0 .1em; white-space: nowrap; }

/* Start positions exist only once the script has promised to play them. */
html.anim .chapter .line__in { transform: translate3d(0, var(--m-line-from), 0); }
html.anim .chapter .label { opacity: 0; transform: translate3d(0, var(--y-label), 0); }
html.anim .chapter .lede,
html.anim .chapter .tiny,
html.anim .chapter__actions > * { opacity: 0; transform: translate3d(0, var(--y-soft), 0); }
html.anim .chapter--hero:not(.is-in) .chapter__actions > * { visibility: hidden; }

html.anim .chapter.is-in .line__in {
  transform: none;
  transition: transform var(--t-line) var(--ease) calc(var(--d-lines) + var(--i, 0) * var(--stagger));
}
html.anim .chapter.is-in .label {
  opacity: 1; transform: none;
  transition: opacity var(--t-label) ease-out, transform var(--t-label) var(--ease);
}
html.anim .chapter.is-in .lede,
html.anim .chapter.is-in .tiny {
  opacity: 1; transform: none;
  transition: opacity var(--t-soft) ease-out var(--d-lede), transform var(--t-soft) var(--ease) var(--d-lede);
}
html.anim .chapter.is-in .chapter__actions > * {
  opacity: 1; transform: none;
  transition: opacity var(--t-soft) ease-out var(--d-acts), transform var(--t-soft) var(--ease) var(--d-acts);
}
html.anim .chapter.is-in .chapter__actions > * + * { transition-delay: calc(var(--d-acts) + .06s); }
html.anim .chapter.is-in .chapter__actions ~ .tiny { transition-delay: calc(var(--d-acts) + .12s); }

/* Timeline: every segment is as long as its chapter, set from the chapter's own numbers in main.js. */
.hud {
  position: absolute;
  left: max(var(--gutter), env(safe-area-inset-left, 0px));
  right: max(var(--gutter), env(safe-area-inset-right, 0px));
  bottom: calc(6px + env(safe-area-inset-bottom, 0px));
  max-width: 660px; margin: 0 auto;
  display: flex; gap: 6px;
  pointer-events: auto;
}
.hud__item {
  appearance: none; background: none; border: 0; cursor: pointer;
  flex: 1 1 0; min-width: 44px; min-height: 48px; padding: 8px 0 0;
  display: flex; flex-direction: column; gap: 10px; align-items: stretch;
  text-align: left; font: 400 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.66); text-shadow: 0 1px 10px rgba(8,11,13,.4);
  transition: color .3s ease;
}
.hud__seg {
  display: block; height: 2px;
  background: linear-gradient(rgba(255,255,255,.36), rgba(255,255,255,.36)) left bottom / 100% 1px no-repeat;
  transition: background-size .3s ease;
}
.hud__seg > span { display: block; width: 100%; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.hud__name { white-space: nowrap; }
.hud__item.is-active { color: #fff; }
.hud__item:focus-visible { color: #fff; outline-offset: 3px; }
@media (hover: hover) {
  .hud__item:hover { color: #fff; }
  .hud__item:hover .hud__seg { background-image: linear-gradient(rgba(255,255,255,.8), rgba(255,255,255,.8)); }
}

/* Phones get their own, quieter numbers and a caption that always sits in the same place. */
@media (max-width: 820px), (max-height: 520px) and (pointer: coarse), (max-aspect-ratio: 85/100) {
  .chapter { --t-out: .26s; --y-out: 18px; }
  .chapter--hero { --d-lines: .1s; --d-lede: .4s; --d-acts: .5s; --t-out: 0s; }
}
@media (max-aspect-ratio: 85/100) {
  .fly { height: 560vh; }
  .fly__stage { background-image: url(assets/film7/p/0001.webp); }
  .chapter, .chapter--right, .chapter--hero {
    left: max(var(--gutter), env(safe-area-inset-left, 0px));
    right: max(var(--gutter), env(safe-area-inset-right, 0px));
    width: auto; max-width: none;
    bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }
  .chapter { text-shadow: 0 1px 14px rgba(8,11,13,.42); }
  .chapter h1 { font-size: clamp(40px, min(14.2vw, 8.4svh), 78px); line-height: .98; text-wrap: balance; }
  .chapter h2 { font-size: clamp(34px, min(10.4vw, 6.2svh), 62px); line-height: 1; text-wrap: balance; }
  .chapter .label { margin-bottom: 10px; font-size: 11px; letter-spacing: .12em; }
  .chapter .lede { margin-top: 12px; max-width: 36em; font-size: clamp(15px, min(4.2vw, 2.5svh), 19px); line-height: 1.42; text-wrap: balance; }
  .chapter__actions { margin-top: 18px; }
  .chapter .tiny { margin-top: 10px; }
  .hud__item { letter-spacing: .06em; font-size: 10px; }
  /* The header stays legible when a bright window passes behind it. */
  .fly__vignette { background: linear-gradient(to bottom, rgba(8,11,13,.52) 0, rgba(8,11,13,.3) 7%, transparent 15%), linear-gradient(to top, rgba(8,11,13,.4) 0, transparent 110px); }
  /* Two heights instead of two sides. Long captions get the tall one; the film stays bright above a shorter caption. */
  .fly__scrim[data-scrim-layer="l"] { background: linear-gradient(to top, rgba(8,11,13,.86) 0, rgba(8,11,13,.72) 26%, rgba(8,11,13,.46) 44%, rgba(8,11,13,.16) 58%, rgba(8,11,13,0) 70%); }
  .fly__scrim[data-scrim-layer="r"] { background: linear-gradient(to top, rgba(8,11,13,.86) 0, rgba(8,11,13,.68) 18%, rgba(8,11,13,.42) 32%, rgba(8,11,13,.12) 44%, rgba(8,11,13,0) 54%); }
  /* The film's own decoded layer never moves by itself on a touch screen. */
  .fly__stage canvas { will-change: auto; }
}
/* Short phones: the caption keeps its order, with less air, so it stays clear of the header. */
@media (max-aspect-ratio: 85/100) and (max-height: 640px) {
  .chapter, .chapter--right, .chapter--hero { bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  .chapter .lede { margin-top: 8px; }
  .chapter__actions { margin-top: 12px; }
  .fly .chapter .btn { min-height: 44px; }
  .fly__scrim[data-scrim-layer="l"] { background: linear-gradient(to top, rgba(8,11,13,.88) 0, rgba(8,11,13,.76) 40%, rgba(8,11,13,.5) 66%, rgba(8,11,13,.14) 84%, rgba(8,11,13,0) 96%); }
  .fly__scrim[data-scrim-layer="r"] { background: linear-gradient(to top, rgba(8,11,13,.86) 0, rgba(8,11,13,.7) 26%, rgba(8,11,13,.44) 44%, rgba(8,11,13,.12) 60%, rgba(8,11,13,0) 72%); }
}
/* The narrowest phones: the label holds one line, and the button and link hold one row. */
@media (max-aspect-ratio: 85/100) and (max-width: 350px) {
  .chapter .label { font-size: 10px; letter-spacing: .06em; }
  .chapter__actions { gap: 8px 14px; }
  .fly .chapter .btn { padding: 0 14px; font-size: 14px; }
  .fly .chapter .link { font-size: 14px; }
}
/* Phone on its side: little height, so everything tightens up to stay clear of the header. */
@media (min-aspect-ratio: 85/100) and (max-height: 500px) {
  .chapter { bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
  .chapter h1 { font-size: clamp(34px, 12svh, 56px); }
  .chapter h2 { font-size: clamp(30px, 11svh, 48px); }
  .label { margin-bottom: 4px; }
  .lede { margin-top: 6px; font-size: 15px; line-height: 1.3; }
  .chapter__actions { margin-top: 8px; }
  .fly .chapter .btn { min-height: 44px; }
}
/* The visible height changes as a phone's address bar slides away. The film keeps the larger size and
   never re-crops, while captions and timeline stay inside what can actually be seen. */
@supports (height: 100lvh) {
  .fly__sticky { height: 100lvh; }
  .fly__ui { bottom: auto; height: 100dvh; }
}

/* Fallback when the script never finished: same content as with scripts off. */
html.no-anim .loader, html.no-anim .hud, html.no-anim .nav__menu { display: none; }
html.no-anim .fly { height: 100svh; }
html.no-anim .chapter:not(.chapter--hero) { display: none; }
html.no-anim .fly__scrim[data-scrim-layer="l"] { opacity: 1; visibility: visible; }
html.no-anim .nav { background: rgba(16, 20, 23, .5); }

/* Text motion, see motion.js. Start states exist only once that script has promised to play them, and they end
   on the element's own values, so nothing stays set on it afterwards. */
html.m-on [data-anim="tag"]:not(.m-in):not(.m-done),
html.m-on [data-anim="lines"]:not(.m-split):not(.m-done) { opacity: 0; }
html.m-on [data-anim="soft"]:not(.m-in):not(.m-done) { opacity: 0; transform: translate3d(0, var(--m-soft-y), 0); }
html.m-on [data-anim="tag"].m-in { transition: opacity var(--m-tag) ease-out var(--m-delay, 0ms); }
html.m-on [data-anim="soft"].m-in {
  transition: opacity var(--m-soft) ease-out var(--m-delay, 0ms), transform var(--m-soft) var(--m-ease) var(--m-delay, 0ms);
}
/* Two negative margins next to each other don't add up, the larger one wins. This gives the gap between lines their
   sum, so a heading in pieces is exactly as tall as the whole heading it turns back into. */
[data-anim="lines"] .line + .line { margin-top: -.24em; }
/* Holds those margins inside the heading, so its own box doesn't change either and browsers see no layout shift. */
html.m-on [data-anim="lines"].m-split { display: flow-root; }
html.m-on [data-anim="lines"].m-split .line__in { transform: translate3d(0, var(--m-line-from), 0); }
html.m-on [data-anim="lines"].m-in .line__in {
  transform: none;
  transition: transform var(--m-line) var(--m-ease) calc(var(--m-delay, 0ms) + var(--i, 0) * var(--m-gap, 0ms));
}
/* Dark unless motion.js sets --k, which also makes it dark in any browser that can't mix colours. */
.word { color: color-mix(in srgb, var(--ink) calc(var(--k, 1) * 100%), var(--m-word-rest)); }
@media print {
  html.m-on [data-anim] { opacity: 1 !important; transform: none !important; }
}

/* Section heads shared by most sections: heading on the left, a short note on the right on larger screens. */
.facts, .predpo, .work, .price, .who, .proc, .faq, .order { padding: var(--space) var(--gutter); }
.facts__top, .predpo__head, .work__head, .who__head { display: grid; gap: 20px; }
.facts__top > *, .predpo__head > *, .work__head > *, .who__head > * { min-width: 0; }
.facts__lede, .predpo__hint, .work__head p { max-width: 34ch; color: var(--graphite); text-wrap: pretty; }
@media (min-width: 821px) and (min-height: 521px), (min-width: 821px) and (pointer: fine), (min-width: 821px) and (pointer: none) {
  .facts__top, .predpo__head, .work__head, .who__head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; }
  .facts__lede, .predpo__hint, .work__head p { padding-bottom: 8px; }
}

/* Three facts. The corner marks frame a number when it's pointed at. */
.facts { background: var(--paper); }
.facts__row { display: grid; margin-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.fact { position: relative; padding: 26px 0; border-bottom: 1px solid var(--line); }
.fact .vf { --c: var(--ink); --l: 12px; inset: 10px -8px; }
.fact__n { font: 200 clamp(56px, 7.4vw, 104px)/1 var(--disp); letter-spacing: -.045em; font-variant-numeric: tabular-nums; white-space: nowrap; transition: color .4s ease; }
.fact__n small { margin-left: .12em; font-size: .36em; font-weight: 300; letter-spacing: -.01em; }
.fact__l { margin: 16px 0 0; }
.fact__d { margin-top: 6px; font-size: 14.5px; color: var(--graphite); }
@media (hover: hover) {
  .fact:hover .vf { opacity: .5; }
  .fact:hover .fact__n { color: var(--fjord); }
}
@media (min-width: 821px) and (min-height: 521px), (min-width: 821px) and (pointer: fine), (min-width: 821px) and (pointer: none) {
  .facts__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fact { padding: 32px 28px 12px; border-bottom: 0; border-left: 1px solid var(--line); }
  .fact:first-child { padding-left: 0; border-left: 0; }
  .fact .vf { inset: 8px -2px 0 12px; }
  .fact:first-child .vf { inset: 8px 6px 0 -12px; }
}

/* Before and after. One comparison at a time; both photos of a pair are the same size, so they line up. */
.predpo { background: var(--sheet); }
.predpo__note { margin-top: 20px; font: 400 11px/1.4 var(--mono); letter-spacing: .04em; color: var(--graphite); }
/* Photo and controls fit on one screen. Past 2:1 the stage gets narrower instead of cropping the photo further. */
.ba-stage { width: min(100%, calc((100svh - 150px) * 2)); margin-top: 32px; }

.ba {
  --pos: 50%;
  position: relative; width: 100%; aspect-ratio: 4 / 3; max-height: calc(100svh - 150px); overflow: hidden; isolation: isolate;
  border-radius: 4px; background: #D9DCD8;
  cursor: ew-resize; touch-action: pan-y;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
/* Dims only when the next photos take a moment to arrive, so a fast switch never flickers. */
.ba.is-loading > img { opacity: .72; transition: opacity .2s ease .25s; }
/* The previous pair, fading out above the new one. */
.ba__ghost { position: absolute; inset: 0; pointer-events: none; }
.ba__line { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--pos); width: 1px; margin-left: -.5px; background: #fff; box-shadow: 0 0 6px rgba(8,11,13,.25); pointer-events: none; }
/* The handle stays fully on the photo when the line reaches an edge, so it can always be seen and grabbed. */
.ba__knob {
  position: absolute; z-index: 3; top: 50%; left: clamp(32px, var(--pos), calc(100% - 32px));
  display: grid; place-items: center; width: 50px; height: 50px; margin: -25px 0 0 -25px;
  border-radius: 50%; background: rgba(255,255,255,.95); color: var(--ink);
  box-shadow: 0 8px 28px rgba(0,0,0,.2); pointer-events: none;
}
.ba__tag {
  position: absolute; top: 14px; z-index: 4; min-height: 36px; padding: 0 12px;
  border: 0; border-radius: 2px;
  background: rgba(16,20,23,.66); color: #fff; font: 500 10.5px/1 var(--mono); letter-spacing: .15em; text-transform: uppercase;
  cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background .3s ease, color .3s ease;
}
/* Grows the tap area past 44px without making the label bigger on the photo. */
.ba__tag::after { content: ""; position: absolute; inset: -6px; }
.ba__tag--pred { left: 14px; }
.ba__tag--po { right: 14px; }
.ba__tag[aria-pressed="true"] { background: #fff; color: var(--ink); }
.ba__tag:focus-visible { box-shadow: 0 0 0 2px #fff; outline: 2px solid var(--fjord); outline-offset: 2px; }
/* The slider itself is invisible: it only serves the keyboard and screen readers. */
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.ba__range:focus-visible ~ .ba__knob { color: var(--fjord); outline: 2px solid var(--fjord); outline-offset: 3px; }

/* Caption and the controls that move between examples */
.ba-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 32px; margin-top: 16px; }
.ba-foot > * { min-width: 0; }
/* The caption wants 260px beside the controls; with less room the controls drop to their own row. */
.ba-cap { flex: 1 1 260px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; min-height: 3.1em; }
.ba-cap b { font: 400 20px/1.2 var(--disp); letter-spacing: -.01em; }
.ba-cap__count { font: 400 12px/1.4 var(--mono); color: var(--graphite); font-variant-numeric: tabular-nums; }
.ba-cap__text { font-size: 14.5px; color: var(--graphite); }
.ba-nav { flex: 1 1 auto; display: flex; align-items: center; gap: 6px; }
.ba-arrow {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.ba-nav__thumbs { position: relative; display: flex; flex: 1 1 auto; min-width: 0; gap: 8px; padding: 4px; overflow-x: auto; scrollbar-width: none; }
.ba-nav__thumbs::-webkit-scrollbar { display: none; }
.ba-thumb {
  flex: 1 0 52px; height: 42px; padding: 0; border: 0; border-radius: 2px; background: #D9DCD8;
  opacity: .55; cursor: pointer; transition: opacity .3s ease, box-shadow .3s ease;
}
.ba-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.ba-thumb[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 1px var(--sheet), 0 0 0 2px var(--ink); }
.ba-thumb:focus-visible { opacity: 1; outline-offset: 2px; }
@media (hover: hover) {
  .ba:hover .vf { opacity: 1; }
  .ba__tag:not([aria-pressed="true"]):hover { background: rgba(16,20,23,.78); }
  .ba-arrow:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
  .ba-thumb:hover { opacity: .9; }
}
@media (min-width: 821px) and (min-height: 521px), (min-width: 821px) and (pointer: fine), (min-width: 821px) and (pointer: none) {
  .ba-stage { margin-top: 44px; }
  .ba { aspect-ratio: 16 / 9; }
  .ba__tag { top: 18px; }
  .ba__tag--pred { left: 18px; }
  .ba__tag--po { right: 18px; }
  .ba-cap { min-height: 0; }
  .ba-nav { flex: 0 1 auto; }
  .ba-thumb { flex: 0 0 66px; height: 44px; }
}

/* Work. Empty frames with corner marks until real photos arrive. */
.work { padding-inline: 0; background: var(--paper); }
.work__head, .work__social { margin-inline: var(--gutter); }
.work__slots {
  display: flex; gap: 12px; margin-top: 32px; padding-inline: var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.work__slots::-webkit-scrollbar { display: none; }
.slot {
  position: relative; flex: 0 0 84%; aspect-ratio: 4 / 5; margin: 0; overflow: hidden; scroll-snap-align: start;
  border-radius: 4px; background: linear-gradient(160deg, #E9ECE8, #D7DCD8);
}
.slot .vf { --c: var(--ink); opacity: .28; }
.slot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.slot img ~ .vf { --c: rgba(255,255,255,.92); opacity: 0; }
.slot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 16px 14px; color: #fff; font: 400 11px/1.3 var(--mono); letter-spacing: .06em; background: linear-gradient(0deg, rgba(10,13,15,.6), transparent); }
.work__social { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 20px; }
@media (hover: hover) {
  .slot:hover .vf { opacity: .5; inset: 10px; }
  .slot:hover img ~ .vf { opacity: 1; }
}
@media (min-width: 821px) and (min-height: 521px), (min-width: 821px) and (pointer: fine), (min-width: 821px) and (pointer: none) {
  .work__slots { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; gap: 16px; margin-top: 44px; }
}

/* Foto, video, dron. Without tri.js this is three plain blocks, so nothing depends on the script.
   tri.js adds .is-pinned where the two columns fit, and .is-armed once it has promised to play the entrance. */
.tri {
  --tri-ease: cubic-bezier(.22, 1, .36, 1);
  --tri-fade: .42s;
  --tri-header: 64px;
  padding: var(--space) var(--gutter);
  background: var(--sheet);
}
.tri__core { display: grid; gap: 44px; }
.tri__core > * { min-width: 0; }
.tri__eyebrow { display: block; margin-bottom: 16px; font: 500 11px/1.3 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: var(--graphite); }
.tri h2 { font-size: clamp(34px, 9.6vw, 60px); }
.tri .line__in { white-space: normal; }
.tri .line + .line { margin-top: -.24em; }
.tri__note { display: none; }
.tri__intro { margin-top: 16px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: var(--graphite); text-wrap: pretty; }

.tri-step { display: grid; gap: 14px; }
.tri-step > * { min-width: 0; }
.tri-step__text { position: relative; }
.tri-step__name { font: 300 clamp(24px, 1.9vw, 32px)/1.15 var(--disp); letter-spacing: -.02em; }
.tri-step__label { display: inline-flex; align-items: baseline; gap: .6em; }
.tri-step__num { font: 400 12px/1 var(--mono); letter-spacing: .1em; color: var(--fjord); }
.tri-step__text p { margin-top: 8px; max-width: 30em; color: var(--graphite); text-wrap: pretty; }

.tri-fig { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; isolation: isolate; border-radius: 4px; background: #D9DCD8; }
.tri-fig img, .tri-fig video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
/* Alt text, should a picture fail, stays readable on the neutral background. */
.tri-fig img { color: var(--graphite); font-size: 14px; }
.tri-fig__note {
  position: absolute; z-index: 2; left: 8px; bottom: 8px; max-width: calc(100% - 68px); margin: 0; padding: 4px 8px;
  border-radius: 2px; background: rgba(16, 20, 23, .68); color: #fff; font: 400 10px/1.3 var(--mono); letter-spacing: .04em;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.tri-fig__msg { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; padding: 16px; background: #D9DCD8; color: var(--graphite); font: 400 13px/1.4 var(--mono); text-align: center; }
.tri-fig.is-failed video { display: none; }

.tri-play {
  position: absolute; right: 8px; bottom: 8px; z-index: 3;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 44px; min-height: 44px; padding: 0;
  border: 0; border-radius: 999px;
  background: rgba(16, 20, 23, .55); color: #fff; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background .3s ease;
}
.tri-play svg { flex: none; display: block; }
.tri-play__label { display: none; }
/* Shown when the video won't start by itself: automatic play refused, reduced motion or a data saver. */
.tri-play--big { top: 50%; left: 50%; right: auto; bottom: auto; min-height: 52px; padding: 0 22px 0 18px; transform: translate(-50%, -50%); background: rgba(255,255,255,.95); color: var(--ink); }
.tri-play--big .tri-play__label { display: inline; }
.tri-play:focus-visible { box-shadow: 0 0 0 2px #fff; outline: 2px solid var(--fjord); outline-offset: 2px; }
.tri-fig.is-failed .tri-play { display: none; }
@media (hover: hover) {
  .tri-play:hover { background: var(--fjord); color: #fff; }
}

/* Every block comes in once, a short way. The start positions only exist once the script has armed them. */
.tri.is-armed .tri__head:not(.is-seen) .line__in { transform: translate3d(0, var(--m-line-from), 0); }
.tri.is-armed .tri__head:not(.is-seen) .tri__eyebrow { opacity: 0; }
.tri.is-armed .tri__head:not(.is-seen) .tri__intro { opacity: 0; transform: translate3d(0, var(--m-soft-y), 0); }
.tri.is-armed .tri-step:not(.is-seen) .tri-step__text { opacity: 0; transform: translate3d(0, var(--m-soft-y), 0); }
.tri.is-armed:not(.is-pinned) .tri-step:not(.is-seen) .tri-fig { opacity: 0; transform: translate3d(0, var(--m-soft-y), 0); }
.tri.is-armed .tri__head.is-seen .line__in { transition: transform var(--m-line) var(--m-ease) calc(var(--m-after-tag) + var(--i, 0) * var(--m-line-gap)); }
.tri.is-armed .tri__head.is-seen .tri__eyebrow { transition: opacity var(--m-tag) ease-out; }
.tri.is-armed .tri__head.is-seen .tri__intro { transition: opacity var(--m-soft) ease-out calc(var(--m-after-tag) + var(--m-after-head)), transform var(--m-soft) var(--m-ease) calc(var(--m-after-tag) + var(--m-after-head)); }
.tri.is-armed .tri-step.is-seen .tri-step__text { transition: opacity var(--m-soft) ease-out var(--tri-delay, 0s), transform var(--m-soft) var(--m-ease) var(--tri-delay, 0s); }
.tri.is-armed:not(.is-pinned) .tri-step.is-seen .tri-fig { transition: opacity var(--m-soft) ease-out var(--m-item-gap), transform var(--m-soft) var(--m-ease) var(--m-item-gap); }
/* The photo settles once, then stays still. */
.tri.is-armed:not(.is-in) .tri-fig[data-zoom] img { transform: scale(1.03); }
.tri.is-armed.is-in .tri-fig[data-zoom] img { transition: transform 1.4s var(--tri-ease); }

/* Larger screens without pinning (a low window, reduced motion): each service keeps its own row. */
@media (min-width: 821px) and (min-height: 521px), (min-width: 821px) and (pointer: fine), (min-width: 821px) and (pointer: none) {
  .tri__core { gap: 56px; }
  .tri h2 { font-size: clamp(40px, 4.6vw, 72px); }
  .tri-step { grid-template-columns: minmax(0, 37fr) minmax(0, 63fr); gap: clamp(32px, 4.4vw, 72px); align-items: start; }
  .tri-fig { aspect-ratio: 16 / 9; }
  .tri-fig__note { left: 12px; bottom: 12px; max-width: calc(100% - 80px); font-size: 11px; }
  .tri-play { right: 12px; bottom: 12px; }
  .tri-play--big { right: auto; bottom: auto; }
}

/* Pinned. The steps dissolve into the shared grid: their text goes to the left column, and all three pictures
   land in the same cell on the right. The two empty rows keep the text column together when the picture is taller. */
.tri.is-pinned { height: 220vh; padding-block: 0; }
.tri.is-pinned .tri__pin {
  position: sticky; top: var(--tri-header);
  display: grid; align-items: center;
  height: calc(100vh - var(--tri-header)); height: calc(100svh - var(--tri-header));
}
.tri.is-pinned .tri__core {
  grid-template-columns: minmax(0, 37fr) minmax(0, 63fr);
  grid-template-rows: 1fr auto auto auto auto 1fr;
  gap: 0 clamp(32px, 4.4vw, 72px);
}
.tri.is-pinned .tri-step { display: contents; }
.tri.is-pinned .tri__head { grid-column: 1; grid-row: 2; margin-bottom: clamp(14px, 3.2vh, 34px); }
.tri.is-pinned h2 { font-size: clamp(30px, 3.4vw, 76px); }
.tri.is-pinned .tri__intro { margin-top: clamp(8px, 1.4vh, 14px); }
.tri.is-pinned .tri-step__text { grid-column: 1; grid-row: var(--row); padding: clamp(8px, 1.7vh, 18px) 0 clamp(8px, 1.7vh, 18px) 22px; }
.tri.is-pinned .tri-step:nth-of-type(1) .tri-step__text { --tri-delay: .08s; }
.tri.is-pinned .tri-step:nth-of-type(2) .tri-step__text { --tri-delay: .16s; }
.tri.is-pinned .tri-step:nth-of-type(3) .tri-step__text { --tri-delay: .24s; }
.tri.is-pinned .tri-step__text::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.tri.is-pinned .tri-step__text::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--ink);
  transform: scaleY(0); transform-origin: top; transition: transform var(--tri-fade) var(--tri-ease);
}
.tri.is-pinned .tri-step.is-active .tri-step__text::after { transform: none; }
.tri.is-pinned .tri-step__name,
.tri.is-pinned .tri-step__num,
.tri.is-pinned .tri-step__text p { color: var(--graphite); transition: color .3s ease; }
.tri.is-pinned .tri-step.is-active .tri-step__name,
.tri.is-pinned .tri-step.is-active .tri-step__text p { color: var(--ink); }
.tri.is-pinned .tri-step.is-active .tri-step__num { color: var(--fjord); }
@media (hover: hover) {
  .tri.is-pinned .tri-step:not(.is-active) .tri-step__text:hover .tri-step__name { color: var(--ink); }
}

/* The name is the control; its tap area covers the whole row without changing how it looks. */
.tri-step__btn {
  appearance: none; display: inline-flex; align-items: center; padding: 0; border: 0;
  background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: left; cursor: pointer;
}
.tri-step__btn::after { content: ""; position: absolute; inset: 0; }

/* The pictures are layers. A new one fades in over the last, which stays opaque underneath until it's done,
   so the empty frame never shows. See showLayer in tri.js. */
.tri.is-pinned .tri-fig {
  grid-column: 2; grid-row: 1 / -1; align-self: center; justify-self: end;
  width: min(100%, calc((100svh - var(--tri-header) - 40px) * 16 / 9));
  opacity: 0; pointer-events: none;
  transition: opacity var(--tri-fade) ease-out;
}
.tri.is-pinned .tri-fig.is-on { opacity: 1; }
.tri.is-pinned .tri-step.is-active .tri-fig { pointer-events: auto; }
.tri.tri--still *, .tri.tri--still *::before, .tri.tri--still *::after { transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  .tri *, .tri *::before, .tri *::after { transition: none !important; }
}

/* Price builder. All of this is feedback: state and prices live in konfigurator.js, and every control still works
   with these transitions gone. */
.price { display: grid; gap: 40px; background: var(--paper); }
.price > * { min-width: 0; }
.incl { margin-top: 36px; border-top: 1px solid var(--line); }
.incl li { display: flex; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.incl svg { flex: none; color: var(--fjord); }
.price__note { margin-top: 20px; font-size: 14px; color: var(--graphite); }
.price__note a { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; display: inline-block; padding-block: 10px; }

.cfg {
  padding: clamp(20px, 2.4vw, 32px); border: 1px solid var(--line); border-radius: 10px; background: var(--sheet);
  box-shadow: 0 30px 60px -40px rgba(20, 35, 45, .35);
}
/* One white plate slides under the chosen type. Its travel is a percentage of itself, so nothing is measured. */
.seg { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 8px; background: var(--paper); }
.seg__input { position: absolute; opacity: 0; pointer-events: none; }
.seg__thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 6px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.1); transition: transform .5s var(--ease); }
#pTypeDom:checked ~ .seg__thumb { transform: translateX(100%); }
.seg__opt { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 2px; min-height: 60px; padding: 12px 16px; border-radius: 6px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.seg__opt b { font: 500 15px/1.3 var(--sans); color: var(--graphite); transition: color .3s ease; }
.seg__opt small { font: 400 11.5px/1.3 var(--mono); color: var(--graphite); }
#pTypeByt:checked ~ [for="pTypeByt"] b, #pTypeDom:checked ~ [for="pTypeDom"] b { color: var(--ink); }
#pTypeByt:focus-visible ~ [for="pTypeByt"], #pTypeDom:focus-visible ~ [for="pTypeDom"] { outline: 2px solid var(--fjord); outline-offset: -2px; }

.cfg__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 66px; padding-block: 12px; border-bottom: 1px solid var(--line); }
label.cfg__row { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cfg__row b { display: block; font-weight: 500; }
.cfg__row small { font: 400 11.5px/1.35 var(--mono); color: var(--graphite); }
/* A native checkbox drawn as a switch. */
.sw { appearance: none; -webkit-appearance: none; position: relative; flex: none; width: 44px; height: 26px; margin: 0; border-radius: 999px; background: #C9CEC9; cursor: pointer; transition: background .3s ease; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .35s var(--ease); }
.sw:checked { background: var(--ink); }
.sw:checked::after { transform: translateX(18px); }
.incl-tag { flex: none; padding: 5px 10px; border-radius: 999px; background: var(--mist); color: var(--fjord); font: 500 10.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; }

.sum { display: flex; align-items: baseline; gap: 10px; padding-top: 24px; }
.sum__from { font: 400 13px/1 var(--mono); color: var(--graphite); }
.sum__n { font: 300 clamp(48px, 5vw, 64px)/1 var(--disp); letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum__k { margin-left: auto; font: 400 11px/1.35 var(--mono); color: var(--graphite); text-align: right; }
.pack { margin-top: 8px; font-size: 14px; color: var(--graphite); }

.when__l { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 26px 0 10px; }
.when__l .eyebrow { margin: 0; }
.when__hint { font: 400 11px/1.3 var(--mono); color: var(--graphite); }
.days { display: flex; gap: 6px; padding: 2px; overflow-x: auto; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.day {
  flex: 1 0 58px; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 52px; padding: 8px 6px 7px;
  border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.day small { font: 500 10px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); }
.day b { font: 400 14px/1.2 var(--sans); font-variant-numeric: tabular-nums; }
.day[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.day[aria-pressed="true"] small { color: rgba(255,255,255,.72); }
@media (hover: hover) {
  .day:not([aria-pressed="true"]):hover { border-color: var(--ink); }
}
.eta { display: flex; align-items: center; gap: 10px; min-height: 20px; margin: 14px 0 22px; font: 400 12.5px/1.4 var(--mono); color: var(--graphite); }
.eta::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background .3s ease, box-shadow .3s ease; }
.eta.is-set { color: var(--ink); }
.eta.is-set::before { background: var(--fjord); box-shadow: 0 0 0 4px var(--mist); }
.cfg__go { margin-top: 22px; }
.when:not([hidden]) + .cfg__go { margin-top: 0; }
@media (min-width: 821px) and (min-height: 521px), (min-width: 821px) and (pointer: fine), (min-width: 821px) and (pointer: none) {
  .price { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
  .cfg { position: sticky; top: 90px; }
}

/* Audience. main.js toggles .is-off on the panels and aria-pressed on the buttons; the indicator follows the pressed one. */
.who { background: var(--sheet); }
.pill2 { position: relative; isolation: isolate; display: inline-grid; grid-template-columns: 1fr 1fr; justify-self: start; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.pill2__ind { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--ink); transition: transform .5s var(--ease); }
.pill2:has([data-w="maj"][aria-pressed="true"]) .pill2__ind { transform: translateX(100%); }
.pill2 button { position: relative; z-index: 1; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--graphite); font-size: 13.5px; white-space: nowrap; cursor: pointer; transition: color .35s ease; }
.pill2 button[aria-pressed="true"] { color: #fff; }
@supports not selector(:has(*)) {
  .pill2__ind { display: none; }
  .pill2 button[aria-pressed="true"] { background: var(--ink); }
}
.who__panels { margin-top: clamp(32px, 4vw, 48px); }
.who__panel { display: grid; gap: 4px; }
.who__panel.is-off { display: none; }
.who__for { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ben { padding: 20px 0; border-top: 1px solid var(--line); animation: ben-in .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms); }
.ben:nth-of-type(2) { --i: 1; }
.ben:nth-of-type(3) { --i: 2; }
@keyframes ben-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ben svg { display: block; color: var(--fjord); }
.ben h4 { margin: 16px 0 8px; font: 400 21px/1.2 var(--disp); letter-spacing: -.015em; }
.ben p { font-size: 14.5px; color: var(--graphite); }
@media (min-width: 821px) and (min-height: 521px), (min-width: 821px) and (pointer: fine), (min-width: 821px) and (pointer: none) {
  .pill2 { justify-self: end; }
  .who__panel { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3.4vw, 48px); }
  .ben { padding: 24px 0 0; }
}
/* Without main.js the switch can't work, so both audiences are simply shown, each with its own heading. */
html.no-anim .pill2 { display: none; }
html.no-anim .who__panel.is-off { display: grid; margin-top: 40px; }
html.no-anim .who__for { position: static; width: auto; height: auto; clip-path: none; grid-column: 1 / -1; padding-bottom: 12px; font: 300 26px/1.2 var(--disp); }

/* Process */
.proc { background: var(--paper); }
.steps { --fill: 0; position: relative; display: grid; gap: 22px; margin-top: clamp(36px, 4.4vw, 52px); }
.steps__track { position: absolute; top: 20px; bottom: 20px; left: 20px; width: 1px; background: var(--line); }
.steps__track::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(var(--fill)); transform-origin: top; transition: transform .7s var(--ease); }
.step { position: relative; display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.step__dot { position: relative; z-index: 1; grid-row: 1 / 3; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); font: 400 13px/1 var(--mono); transition: background .4s ease, color .4s ease, border-color .4s ease, box-shadow .4s ease; }
.step.is-done .step__dot { background: var(--ink); border-color: var(--ink); color: #fff; }
.step.is-on .step__dot { box-shadow: 0 0 0 6px var(--mist); }
.step__t { grid-column: 2; align-self: center; font: 400 18px/1.25 var(--disp); letter-spacing: -.01em; color: var(--graphite); transition: color .3s ease; }
.step.is-done .step__t { color: var(--ink); }
.step__m { grid-column: 2; margin-top: 4px; font: 400 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); }
.sdet { display: grid; gap: 12px; margin-top: 36px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--sheet); }
.sdet__n { font: 200 40px/1 var(--disp); letter-spacing: -.04em; color: var(--fjord); font-variant-numeric: tabular-nums; }
.sdet h3 { font: 400 22px/1.2 var(--disp); letter-spacing: -.015em; }
.sdet p { margin-top: 6px; color: var(--graphite); }
.sdet__time { justify-self: start; padding: 8px 12px; border-radius: 999px; background: var(--mist); color: var(--fjord); font: 500 11.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.sdet > * { transition: opacity .3s ease, transform .4s var(--ease); }
.sdet.is-swap > * { opacity: 0; transform: translateY(6px); }
@media (min-width: 821px) and (min-height: 521px), (min-width: 821px) and (pointer: fine), (min-width: 821px) and (pointer: none) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .steps__track { top: 20px; bottom: auto; left: 20px; right: calc(25% - 20px); width: auto; height: 1px; }
  .steps__track::after { transform: scaleX(var(--fill)); transform-origin: left; }
  .step { display: block; padding-right: 16px; }
  .step__t { display: block; margin-top: 18px; }
  .step__m { display: block; margin-top: 6px; }
  .sdet { grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px; align-items: center; margin-top: 40px; padding: 24px 28px; }
  .sdet__n { font-size: 56px; }
}

/* FAQ. Answers fold only once sekcie.js has added .is-ready, so without it every answer is simply there. */
.faq { display: grid; gap: 32px; background: var(--sheet); }
.faq > * { min-width: 0; }
.search { position: relative; margin-top: 32px; }
.search input { width: 100%; padding: 12px 0 12px 28px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; font-size: 16px; color: var(--ink); -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: var(--graphite); }
.search input:focus { outline: none; border-bottom-width: 2px; padding-bottom: 11px; }
.search input:focus-visible { outline: none; }
.search svg { position: absolute; left: 0; top: 50%; margin-top: -8px; color: var(--graphite); }
.faq__alt { margin-top: 20px; font-size: 14px; color: var(--graphite); }
.faq__alt a, .faq__empty a { color: var(--ink); white-space: nowrap; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-of-type { border-bottom: 1px solid var(--line); }
.qa h3 { font: inherit; }
.qa__q { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; min-height: 64px; padding: 18px 0; border: 0; background: none; text-align: left; font: 400 clamp(17px, 1.5vw, 21px)/1.3 var(--disp); letter-spacing: -.01em; cursor: pointer; }
.qa__i { position: relative; flex: none; width: 14px; height: 14px; transition: transform .45s var(--ease); }
.qa__i::before, .qa__i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; }
.qa__i::after { transform: rotate(90deg); }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 40px 24px 0; max-width: 62ch; color: var(--graphite); }
.faq:not(.is-ready) .qa__i { display: none; }
.faq.is-ready .qa__a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .5s var(--ease), visibility 0s linear .5s; }
.faq.is-ready .qa.is-open .qa__a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .5s var(--ease), visibility 0s; }
.faq.is-ready .qa.is-open .qa__i { transform: rotate(45deg); }
mark.todo { padding: 1px 6px; border-radius: 2px; background: #FBEFC6; color: var(--ink); font: 400 .88em/1.5 var(--mono); }
.faq__empty { padding: 22px 0; border-top: 1px solid var(--line); color: var(--graphite); }
@media (hover: hover) {
  .qa__q:hover { color: var(--fjord); }
}
@media (min-width: 821px) and (min-height: 521px), (min-width: 821px) and (pointer: fine), (min-width: 821px) and (pointer: none) {
  .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
  .faq__side { position: sticky; top: 100px; }
}

/* Order. Dark, so the page closes the way the film opened it. */
.order { display: grid; gap: 40px; background: var(--night); color: #fff; }
.order > * { min-width: 0; }
.order .eyebrow { color: rgba(255,255,255,.6); }
.order h2 em { color: rgba(255,255,255,.55); }
.ways { margin-top: 40px; border-top: 1px solid rgba(255,255,255,.14); }
.ways li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-height: 64px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.ways small { flex: 0 0 100%; font: 400 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.ways a, .ways span { display: inline-flex; align-items: center; min-height: 32px; font-size: 15px; }
.ways a:hover { text-decoration: underline; text-underline-offset: .2em; }
.ways__tel { font: 300 26px/1.1 var(--disp) !important; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.copy { position: relative; margin-left: auto; min-height: 32px; padding: 0 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: none; color: #fff; font: 400 11px/1 var(--mono); letter-spacing: .08em; cursor: pointer; transition: background .3s ease; }
.copy::after { content: ""; position: absolute; inset: -6px -4px; }
.copy:hover { background: rgba(255,255,255,.1); }

.ocard { position: relative; padding: clamp(20px, 2.4vw, 32px); border-radius: 10px; background: #fff; color: var(--ink); }
.ostepper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 28px; }
.ostepper div { display: flex; flex-direction: column; gap: 8px; font: 400 10.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--graphite); }
.ostepper i { position: relative; display: block; height: 2px; overflow: hidden; background: var(--line); }
.ostepper i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.ostepper .is-done { color: var(--ink); }
.ostepper .is-done i::after { transform: none; }
.ostep { min-width: 0; margin: 0; padding: 0; border: 0; }
.ostep + .ostep { margin-top: 32px; }
.ocard.is-steps .ostep { margin-top: 0; animation: ostep .45s var(--ease); }
@keyframes ostep { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.ostep legend { display: block; width: 100%; margin-bottom: 20px; padding: 0; font: 300 26px/1.15 var(--disp); letter-spacing: -.02em; }
.rcards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rcards > div { position: relative; }
.rcards input { position: absolute; opacity: 0; pointer-events: none; }
.rcard { display: flex; flex-direction: column; gap: 4px; min-height: 72px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; transition: border-color .3s ease, box-shadow .3s ease; -webkit-tap-highlight-color: transparent; }
.rcard b { font-weight: 500; }
.rcard small { font: 400 11.5px/1.3 var(--mono); color: var(--graphite); }
.rcards input:checked + .rcard { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.rcards input:focus-visible + .rcard { outline: 2px solid var(--fjord); outline-offset: 2px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 56px; margin-top: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.check input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.check span { flex: 1; }
.check small { font: 400 11.5px/1.3 var(--mono); color: var(--graphite); }
.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.fld label, .fld__l { font: 500 10.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); }
.fld input, .fld textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); font-size: 16px; transition: border-color .3s ease, box-shadow .3s ease; }
.fld textarea { min-height: 84px; resize: vertical; }
.fld input::placeholder, .fld textarea::placeholder { color: #8A9095; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--mist); }
.fld input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px #F6E4DF; }
/* Phone: country code and number side by side, drawn as one field. */
.tel { display: flex; gap: 8px; }
.tel select {
  flex: none; min-height: 48px; padding: 0 30px 0 12px; border: 1px solid var(--line); border-radius: 6px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23666D73' stroke-width='1.4'/%3E%3C/svg%3E") right 12px center / 10px 6px no-repeat;
  color: var(--ink); font: 400 14px/1.2 var(--mono); cursor: pointer; -webkit-appearance: none; appearance: none;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.tel select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--mist); }
.tel input { flex: 1; min-width: 0; }
.fld__hint { margin: 0; font-size: 12.5px; color: var(--graphite); }
.err { margin: 0; font-size: 13px; color: var(--error); }
.privacy { margin-top: 4px; font-size: 12.5px; color: var(--graphite); }
.ofoot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.osum { min-width: 0; font: 400 12px/1.4 var(--mono); color: var(--graphite); }
.osum b { font-weight: 500; color: var(--ink); }
.obtns { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.odone__ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 50%; background: var(--mist); color: var(--fjord); }
.odone h3 { font: 300 28px/1.15 var(--disp); letter-spacing: -.02em; }
.odone__lede { margin-top: 10px; color: var(--graphite); }
.odone dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 20px 0; font-size: 14.5px; }
.odone dt { padding-top: 3px; font: 400 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--graphite); }
.odone dd { min-width: 0; overflow-wrap: anywhere; }
.odone__alt { margin-bottom: 20px; font-size: 14px; color: var(--graphite); }
.odone__alt a { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.odone:focus { outline: none; }
.odone .obtns { margin-left: 0; }
@media (max-width: 820px), (max-height: 520px) and (pointer: coarse) {
  .obtns { width: 100%; }
  .obtns .btn { flex: 1; }
}
@media (min-width: 821px) and (min-height: 521px), (min-width: 821px) and (pointer: fine), (min-width: 821px) and (pointer: none) {
  .order { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
}

/* Footer */
.foot { padding: clamp(48px, 7vw, 96px) var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255,255,255,.08); background: var(--night); color: rgba(255,255,255,.72); }
.foot__mark { font: 200 clamp(30px, 8.4vw, 132px)/1 var(--disp); letter-spacing: .12em; color: #fff; white-space: nowrap; overflow: hidden; }
.foot__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.foot__cols > div:last-child { grid-column: 1 / -1; }
.foot__cols h2 { margin-bottom: 12px; font: 500 10.5px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.foot__cols ul { display: flex; flex-direction: column; font-size: 14.5px; }
.foot__cols li { display: flex; align-items: center; min-height: 36px; }
.foot__cols a:hover { color: #fff; }
.foot__more { margin-top: 4px; color: rgba(255,255,255,.5); }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; font: 400 11px/1.5 var(--mono); letter-spacing: .06em; color: rgba(255,255,255,.5); }
@media (min-width: 821px) and (min-height: 521px), (min-width: 821px) and (pointer: fine), (min-width: 821px) and (pointer: none) {
  .foot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__cols > div:last-child { grid-column: auto; }
}

/* Sticky action bar on phones, only below the film and never over the order form */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px;
  padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  border-top: 1px solid var(--line);
  background: rgba(244, 245, 242, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transform: translateY(110%); visibility: hidden;
  transition: transform .3s var(--ease), visibility .3s ease;
}
.bar .btn { min-height: 48px; }
.bar.is-on { transform: none; visibility: visible; }
@media (min-width: 821px) and (min-height: 521px), (min-width: 821px) and (pointer: fine), (min-width: 821px) and (pointer: none) { .bar { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .bar, .nav, .btn, .btn svg, .ba__tag, .ba-arrow, .ba-thumb, .vf, .seg__thumb, .sw, .sw::after, .pill2__ind, .pill2 button,
  .day, .eta::before, .steps__track::after, .step__dot, .sdet > *, .qa__i, .ostepper i::after { transition: none; }
  .faq.is-ready .qa__a, .faq.is-ready .qa.is-open .qa__a { transition: none; }
  .menu nav a, .ben, .ocard.is-steps .ostep { animation: none; }
  /* Captions just appear, with a very short fade. Nothing travels. */
  .chapter { --y-label: 0px; --y-soft: 0px; --y-out: 0px; --t-out: .15s; --t-soft: .15s; --t-label: .15s; --d-lede: 0s; --d-acts: 0s; }
  html.anim .chapter.is-in .chapter__actions > * + *,
  html.anim .chapter.is-in .chapter__actions ~ .tiny { transition-delay: 0s; }
  .hud__item, .hud__seg { transition: none; }
}
@media (forced-colors: active) {
  .seg__thumb, .pill2__ind { forced-color-adjust: none; background: Highlight; }
  #pTypeByt:checked ~ [for="pTypeByt"] b, #pTypeDom:checked ~ [for="pTypeDom"] b, .pill2 button[aria-pressed="true"] { forced-color-adjust: none; color: HighlightText; }
  .tel select { background-image: none; padding-right: 12px; }
  .sw { forced-color-adjust: none; background: Canvas; outline: 1px solid CanvasText; }
  .sw::after { forced-color-adjust: none; background: CanvasText; }
  .sw:checked { background: Highlight; }
  .sw:checked::after { background: HighlightText; }
  .day[aria-pressed="true"] { forced-color-adjust: none; background: Highlight; color: HighlightText; }
}

/* "Prejsť vilou" exists only in phone mode, where the scroll-through film doesn't run. */
.villa-btn { display: none; }

/* ===================================================================================================================
   Phone mode. The condition is GW_PHONE_Q in index.html, written out here because CSS can't read it:
     (max-width: 820px), (max-height: 520px) and (pointer: coarse)
   Its exact complement, used by every "larger screens" rule above:
     (min-width: 821px) and (min-height: 521px), (min-width: 821px) and (pointer: fine), (min-width: 821px) and (pointer: none)
   The opening is one still picture instead of the film, main.js puts the sections in phone order, and everything
   else keeps the look of the larger screens, only tighter and with nothing smaller than a thumb.
   =================================================================================================================== */
@media (max-width: 820px), (max-height: 520px) and (pointer: coarse) {
  :root { --gutter: 20px; --space: 48px; --head: calc(64px + env(safe-area-inset-top, 0px)); }
  html { scroll-padding-top: calc(var(--head) + 8px); scroll-padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  html.is-locked { overflow: hidden; }
  body { line-height: 1.45; }
  h2 { font-size: clamp(30px, 8.4vw, 36px); line-height: 1.08; }
  .eyebrow { margin-bottom: 12px; }
  .btn { white-space: normal; text-align: center; line-height: 1.2; }
  /* With large text a long word breaks instead of running out of the screen or under a clip. */
  h1, h2, h3, legend, .tri .line__in { overflow-wrap: break-word; }
  .loader { display: none; }

  /* Header: the logo and a Menu that reads on any picture, a phone held sideways included. */
  .nav { gap: 12px; }
  .nav__links, .nav__cta, .nav__tel { display: none; }
  .nav__menu {
    display: inline-flex; min-height: 44px; padding: 0 18px; font-size: 14px; font-weight: 500;
    background: rgba(16, 20, 23, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  .nav.is-solid .nav__menu, .nav.is-open .nav__menu { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu nav a.menu__more { padding: 12px 0; font-size: clamp(22px, 6.2vw, 28px); color: var(--graphite); }

  /* The opening: one composition. The picture runs edge to edge under the header, the text sits on a shadow of
     its own in the lower part, and "Pred a po" begins below it on the first screen. */
  .fly { height: auto; }
  .fly__sticky {
    position: relative; top: auto; height: auto; overflow: visible;
    display: grid; grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(calc(var(--head) + 32px), 1fr) auto auto auto auto auto;
    min-height: 82svh;
  }
  .fly__stage, .fly__vignette, .fly__scrim { grid-column: 1; grid-row: 1 / 6; }
  .fly__stage { will-change: auto; background-image: url(assets/film7/p/0001.webp); background-position: 50% 40%; }
  .fly__scrim[data-scrim-layer="l"] {
    opacity: 1; visibility: visible;
    background: linear-gradient(to top, rgba(8,11,13,.84) 0, rgba(8,11,13,.7) 26%, rgba(8,11,13,.44) 44%, rgba(8,11,13,.14) 58%, rgba(8,11,13,0) 68%);
  }
  .fly__scrim[data-scrim-layer="r"] { display: none; }
  /* A shadow under the header and the villa button, so white text holds up against a bright sky. */
  .fly__vignette { background: linear-gradient(to bottom, rgba(8,11,13,.7) 0, rgba(8,11,13,.5) calc(var(--head) + 24px), rgba(8,11,13,.18) calc(var(--head) + 96px), rgba(8,11,13,0) calc(var(--head) + 170px)); }
  .fly__ui { display: contents; }
  .chapter:not(.chapter--hero), .hud { display: none; }
  .chapter--hero { display: contents; pointer-events: auto; text-shadow: 0 1px 16px rgba(8,11,13,.5); }
  .chapter--hero > *, .villa-btn {
    grid-column: 1; position: relative; z-index: 1;
    margin-left: max(var(--gutter), env(safe-area-inset-left, 0px));
    margin-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  }
  .chapter--hero .label { grid-row: 2; margin-bottom: 10px; font-size: 11px; letter-spacing: .12em; }
  .chapter--hero h1 { grid-row: 3; font-size: clamp(40px, 11vw, 52px); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
  .chapter--hero .lede { grid-row: 4; max-width: 34em; margin-top: 12px; font-size: 16px; line-height: 1.45; text-wrap: pretty; }
  .chapter--hero .chapter__actions { grid-row: 5; gap: 4px 20px; margin-top: 20px; margin-bottom: 24px; }
  .chapter--hero .chapter__actions a { pointer-events: auto; }
  /* Quiet, high on the left over the sky, under the logo: clear of both actions and of the house. */
  .villa-btn {
    grid-row: 1; align-self: start; justify-self: start; margin-top: calc(var(--head) + 8px); margin-bottom: 24px;
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px;
    border: 1px solid rgba(255,255,255,.5); border-radius: 999px; background: rgba(16,20,23,.6); color: #fff;
    font: 500 14px/1 var(--sans); cursor: pointer; pointer-events: auto; -webkit-tap-highlight-color: transparent;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  .villa-btn svg { flex: none; }

  /* Section rhythm: less air between sections, headings close to what they introduce. */
  .facts__top, .predpo__head, .work__head, .who__head { gap: 12px; }
  .facts__lede, .predpo__hint, .work__head p { font-size: 16px; }

  /* Pred a po: the photo nearly edge to edge at 4:3, both photos cut alike, and one compact row of controls. */
  .ba-stage { width: auto; margin: 20px -12px 0; }
  .ba { aspect-ratio: 4 / 3; max-height: none; border-radius: 3px; }
  .ba__tag { top: 10px; min-width: 44px; min-height: 44px; font-size: 11px; }
  .ba__tag--pred { left: 10px; }
  .ba__tag--po { right: 10px; }
  .ba-foot { gap: 6px 12px; margin: 12px 12px 0; }
  .ba-cap { flex: 1 1 100%; min-height: 0; gap: 0 10px; }
  .ba-cap__text { font-size: 16px; }
  .ba-nav { flex: 1 1 100%; justify-content: space-between; gap: 8px; }
  .ba-nav__thumbs { flex: 0 1 auto; gap: 8px; }
  .ba-thumb { flex: 0 0 44px; width: 44px; height: 44px; }
  .predpo__note { margin-top: 16px; }

  /* Zákazky: the next frame peeks in, so it's clear the row scrolls sideways. */
  .work__slots { gap: 10px; margin-top: 20px; }
  .slot { flex-basis: 84%; }
  .work__social { margin-top: 12px; }

  /* Facts: number on the left, what it means on the right. */
  .facts__row { margin-top: 20px; }
  .fact { display: grid; grid-template-columns: 150px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 14px 0; }
  .fact .vf { inset: 6px -6px; }
  .fact__n { grid-row: 1 / 3; font-size: 42px; }
  .fact__l { align-self: end; margin: 0; }
  .fact__d { align-self: start; margin-top: 4px; font-size: 16px; line-height: 1.4; }

  /* Foto, video, dron: the whole section on one screen. Three narrow rows, a small preview on the left and the
     words on the right; the video and drone previews play by themselves (tri.js). */
  .tri { padding-block: 40px; }
  .tri h2 { font-size: clamp(28px, 8vw, 34px); }
  .tri__core { gap: 12px; }
  .tri__head { margin-bottom: 4px; }
  .tri__eyebrow { margin-bottom: 10px; }
  .tri__intro { margin-top: 8px; font-size: 16px; }
  .tri-step { grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 14px; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); }
  .tri-fig { order: -1; }
  .tri-step__name { font-size: 20px; }
  .tri-step__num { font-size: 11px; }
  .tri-step__text p { margin-top: 4px; font-size: 16px; line-height: 1.35; }
  .tri-fig__note { display: none; }
  .tri__note { display: block; margin-top: 2px; font: 400 11px/1.4 var(--mono); letter-spacing: .02em; color: var(--graphite); }
  /* One small pause and play button in the preview's corner, also when the video waits for a tap. */
  .tri-play, .tri-play--big {
    top: auto; left: auto; right: 4px; bottom: 4px; transform: none;
    min-width: 36px; min-height: 36px; padding: 0; background: rgba(16, 20, 23, .66); color: #fff;
  }
  .tri-play::after { content: ""; position: absolute; inset: -4px; }
  .tri-play svg { width: 18px; height: 18px; }
  .tri-play--big .tri-play__label { display: none; }

  /* Price: heading, then the builder. Type, video, price and the button read as one; the day is optional and
     follows, and what the price includes comes after the builder. */
  .price { gap: 20px; }
  .incl { margin-top: 0; }
  .incl li { padding: 11px 0; font-size: 16px; }
  .price__note { margin-top: -8px; font-size: 16px; }
  .cfg { padding: 16px; }
  .seg__opt { min-height: 64px; padding: 12px 14px; }
  /* The chosen type is marked by shape as well as by colour. */
  .seg__opt b { display: flex; align-items: center; gap: 8px; }
  .seg__opt b::before { content: ""; flex: none; box-sizing: border-box; width: 16px; height: 16px; border: 1.5px solid var(--graphite); border-radius: 50%; }
  #pTypeByt:checked ~ [for="pTypeByt"] b::before, #pTypeDom:checked ~ [for="pTypeDom"] b::before { border: 5px solid var(--ink); }
  .cfg__row { min-height: 60px; }
  .sum { padding-top: 18px; }
  .sum__k { max-width: 6.5em; }
  .cfg__go { margin-top: 16px; }
  .when__l { flex-wrap: wrap; margin: 20px 0 8px; }
  .days { margin-inline: -16px; padding: 2px 16px; scroll-padding-inline: 16px; scroll-snap-type: x proximity; }
  .day { flex: 0 0 auto; min-width: 64px; min-height: 56px; padding-inline: 8px; scroll-snap-align: start; }
  .day b { white-space: nowrap; }
  .day small { font-size: 10.5px; }
  .eta { margin-bottom: 4px; }

  /* Audience */
  .pill2 { display: grid; justify-self: stretch; }
  .pill2 button { min-height: 44px; padding: 0 10px; }
  .who__panels { margin-top: 20px; }
  .ben { padding: 16px 0; }
  .ben h4 { margin: 12px 0 6px; }
  .ben p { font-size: 16px; }

  /* Process */
  .steps { gap: 16px; margin-top: 20px; }
  .step { min-height: 44px; }
  .sdet { margin-top: 20px; padding: 16px; }
  .sdet p { font-size: 16px; }

  /* FAQ */
  .faq { gap: 20px; }
  .search { margin-top: 16px; }
  .faq__alt { margin-top: 12px; font-size: 16px; }
  .qa__q { min-height: 56px; padding: 14px 0; }
  .qa__a p { padding-right: 28px; font-size: 16px; }

  /* Order: the form right under its heading, with the chosen package on top of every step. */
  .order { gap: 20px; }
  .ocard { padding: 16px; }
  .ostepper { margin-bottom: 16px; }
  #ordForm { display: flex; flex-direction: column; }
  .ofoot { display: contents; }
  .osum { order: -1; margin-bottom: 16px; padding: 10px 12px; border-radius: 6px; background: var(--paper); font-size: 13px; }
  .obtns { width: 100%; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
  .obtns .btn { flex: 1 1 auto; }
  .ostep legend { margin-bottom: 16px; font-size: 24px; }
  .ostep:focus { outline: none; }
  .tel select { font-size: 16px; }
  .fld__hint, .privacy, .err { font-size: 14px; }
  .ways { margin-top: 4px; }
  .ways a, .ways span { min-height: 44px; }
  .copy { min-height: 44px; padding: 0 16px; }
  .price__note a { padding-block: 11px; }

  /* Footer: room for the action bar, so showing it never moves anything. */
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .foot__mark { white-space: normal; overflow: visible; overflow-wrap: anywhere; }
  .foot__cols { margin-top: 32px; }
  .foot__cols a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot__cols li { min-height: 0; }
  .foot__base { margin-top: 32px; }
}
/* Smooth jumps to a section, unless motion is reduced. */
@media (max-width: 820px) and (prefers-reduced-motion: no-preference), (max-height: 520px) and (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
/* Low portrait screens: the description moves below the picture, so heading and action stay in reach. */
@media (max-width: 820px) and (max-aspect-ratio: 85/100) and (max-height: 700px) {
  .chapter--hero .lede { grid-row: 6; margin-top: 0; padding: 16px 0 4px; color: rgba(255,255,255,.82); text-shadow: none; }
  .chapter--hero .chapter__actions { margin-bottom: 20px; }
}
/* A phone held sideways: a shorter opening, text and picture side by side in the page's own flow. */
@media (max-width: 820px) and (min-aspect-ratio: 85/100), (max-height: 520px) and (pointer: coarse) and (min-aspect-ratio: 85/100) {
  .fly__sticky { min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: calc(var(--head) + 8px) auto auto auto auto 20px; }
  .fly__stage { grid-column: 2; grid-row: 2 / 6; inset: 0 max(var(--gutter), env(safe-area-inset-right, 0px)) 0 4px; border-radius: 4px; background-image: url(assets/film7/d/0001.webp); background-position: 50% 40%; }
  .fly__vignette, .fly__scrim[data-scrim-layer="l"] { display: none; }
  .chapter--hero { text-shadow: none; }
  .chapter--hero > * { margin-right: 24px; }
  .chapter--hero h1 { font-size: 40px; }
  .chapter--hero .chapter__actions { margin-bottom: 0; }
  .villa-btn { grid-column: 2; grid-row: 5; align-self: end; justify-self: end; margin: 0 calc(max(var(--gutter), env(safe-area-inset-right, 0px)) + 10px) 10px 0; }
  .ba-stage { width: min(100%, calc((100svh - 150px) * 4 / 3)); margin-inline: auto; }
  .ba-foot { margin-inline: 0; }
}
/* Foto, video, dron on a low phone: tighter rows, so the section still fits on one screen. */
@media (max-width: 820px) and (max-aspect-ratio: 85/100) and (max-height: 720px) {
  .tri { padding-block: 16px; }
  .tri h2 { font-size: 27px; }
  .tri__eyebrow { margin-bottom: 8px; }
  .tri__intro { margin-top: 6px; font-size: 15px; }
  .tri__core { gap: 8px; }
  .tri-step { grid-template-columns: minmax(0, 36%) minmax(0, 1fr); gap: 12px; padding-top: 8px; }
  .tri-step__name { font-size: 18px; }
  .tri-step__text p { margin-top: 2px; font-size: 15px; line-height: 1.3; }
}
/* Foto, video, dron on a phone held sideways: heading on the left, the three rows on the right. */
@media (max-width: 820px) and (min-aspect-ratio: 85/100), (max-height: 520px) and (pointer: coarse) and (min-aspect-ratio: 85/100) {
  .tri { padding-block: 10px; }
  .tri__core { grid-template-columns: minmax(0, 34%) minmax(0, 1fr); column-gap: 28px; row-gap: 8px; align-items: center; }
  .tri__head { grid-column: 1; grid-row: 1 / 4; margin: 0; }
  .tri h2 { font-size: 26px; }
  .tri-step { grid-column: 2; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding-top: 8px; }
  .tri__note { grid-column: 1; grid-row: 4; align-self: start; }
  .tri-step__name { font-size: 18px; }
  .tri-step__text p { margin-top: 2px; font-size: 15px; line-height: 1.3; }
}
/* Very narrow screens */
@media (max-width: 350px) {
  :root { --gutter: 16px; }
}
@media (max-width: 360px) {
  .fact { grid-template-columns: 132px minmax(0, 1fr); column-gap: 12px; }
  .fact__n { font-size: 37px; }
}
/* No room for the thumbnails: the arrows and the count do the job, beside the caption. */
@media (max-width: 379px) {
  .ba-nav__thumbs { display: none; }
  .ba-cap { flex: 1 1 0; }
  .ba-nav { flex: none; }
}

/* "Prejsť vilou" viewer. Closed, it isn't rendered at all, so nothing in it can take focus. */
.villa {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--night); color: #fff; overscroll-behavior: contain;
}
.villa[open] { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; }
.villa::backdrop { background: var(--night); }
.villa :focus-visible { outline-color: #fff; }
.villa__top {
  display: flex; align-items: center; gap: 12px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) 10px max(20px, env(safe-area-inset-left, 0px));
}
.villa__where { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-width: 0; margin-right: auto; }
.villa__count { font: 400 12px/1.2 var(--mono); color: rgba(255,255,255,.72); font-variant-numeric: tabular-nums; }
.villa__name { font: 500 12px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.villa__close { flex: none; min-height: 44px; padding: 0 18px; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; background: none; color: #fff; font: 500 14px/1 var(--sans); cursor: pointer; }
.villa__pic { position: relative; min-height: 0; overflow: hidden; background: #0B0E10; }
.villa__pic canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.villa__panel { padding: 16px max(20px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); }
.villa__cap { font: 300 26px/1.15 var(--disp); letter-spacing: -.02em; text-wrap: balance; }
.villa__lede { margin-top: 8px; font-size: 16px; line-height: 1.45; color: rgba(255,255,255,.82); }
.villa__lede:empty { display: none; }
.villa__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.villa__step {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 12px;
  border: 1px solid rgba(255,255,255,.4); border-radius: 3px; background: none; color: #fff; font: 500 15px/1.2 var(--sans); cursor: pointer;
}
.villa__step svg { flex: none; }
.villa__step:disabled { opacity: .38; cursor: default; }
.villa__note { margin-top: 12px; font: 400 11px/1.35 var(--mono); letter-spacing: .06em; color: rgba(255,255,255,.7); }
@media (min-aspect-ratio: 85/100) {
  .villa[open] { grid-template-columns: minmax(0, 1fr) minmax(260px, 38%); grid-template-rows: auto minmax(0, 1fr); }
  .villa__top { grid-column: 1 / -1; }
  .villa__pic { grid-row: 2; margin: 0 0 calc(12px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); border-radius: 4px; }
  .villa__panel { grid-column: 2; grid-row: 2; overflow-y: auto; padding-top: 0; }
  .villa__cap { font-size: 22px; }
}
@media (hover: hover) {
  .villa-btn:hover, .villa__close:hover, .villa__step:not(:disabled):hover { background: rgba(255,255,255,.12); }
}
