/* FotoMotion demo page: same look as the main site (site/style.css), only the parts this page uses */
:root {
  --cream: #F4F0DB;
  --cream-2: #ECE6CB;
  --olive: #2E3A26;
  --olive-2: #3A4831;
  --ink: #2E3A26;
  --ink-soft: rgba(46, 58, 38, .68);
  --line: rgba(46, 58, 38, .18);
  --clay: #B0744A;
  --clay-light: #D9A57E;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(16px, 4vw, 64px);
  --wrap: 1240px;
  /* side padding for full-bleed bands (pricing, footer), so their content lines up with the centred sections */
  --gutter: max(var(--pad), calc((100% - var(--wrap)) / 2 + var(--pad)));
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 17px/1.6 var(--sans); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.01em; }
h1 em, h2 em { color: var(--clay); }
::selection { background: var(--olive); color: var(--cream); }

.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 18px; color: var(--ink-soft); }
.eyebrow--light { color: rgba(244, 240, 219, .65); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 15px 26px; border-radius: 999px; border: 1px solid var(--olive);
  background: var(--olive); color: var(--cream); font: 500 15px/1.2 var(--sans);
  text-decoration: none; letter-spacing: .01em;
  transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease);
}
.btn:hover { background: var(--clay); border-color: var(--clay); color: var(--cream); }
.btn:active { transform: scale(.97); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--light { background: var(--cream); color: var(--olive); border-color: var(--cream); }

/* ---------- top bar ---------- */
.top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; max-width: var(--wrap); margin: 0 auto; padding: 22px var(--pad); }
.top__brand { font: italic 400 26px/1 var(--serif); }
.top__tag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- intro ---------- */
.intro { max-width: var(--wrap); margin: 0 auto; padding: clamp(40px, 8vw, 110px) var(--pad) clamp(40px, 6vw, 80px); }
.intro h1 { font-size: clamp(46px, 8.4vw, 128px); line-height: .94; letter-spacing: -.025em; }
.lede { max-width: 40ch; margin: 28px 0 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-soft); }

/* ---------- section labels ---------- */
.label { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 20px; padding-top: 16px; border-top: 1px solid var(--olive); }
.label__num { font: italic 400 22px var(--serif); color: var(--clay); }
.label h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1; }
.label__hint { margin-left: auto; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- before: contact sheet of the photos ---------- */
.photos, .tour { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.sheet { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.sheet button {
  position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 4px; overflow: hidden;
  background: var(--cream-2); cursor: pointer; aspect-ratio: 3 / 2;
}
.sheet img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.sheet button:hover img { transform: scale(1.06); }
.sheet span {
  position: absolute; left: 6px; bottom: 6px; padding: 2px 7px; border-radius: 999px;
  font: 600 11px/1.5 var(--sans); letter-spacing: .06em; background: rgba(244, 240, 219, .9); color: var(--olive);
}
.sheet button::after { content: ""; position: absolute; inset: 0; border-radius: 4px; box-shadow: inset 0 0 0 0 var(--clay); transition: box-shadow .25s; }
.sheet button.is-current::after { box-shadow: inset 0 0 0 3px var(--clay); }
.sheet button.is-current span { background: var(--clay); color: var(--cream); }
.sheet button:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

/* ---------- "became" ---------- */
.became { display: grid; justify-items: center; gap: 8px; margin: clamp(34px, 5vw, 60px) 0; font: italic 400 clamp(26px, 3vw, 38px)/1 var(--serif); color: var(--clay); }
.became::before, .became::after { content: ""; width: 1px; height: clamp(28px, 4vw, 50px); background: var(--clay); opacity: .5; }

/* ---------- after: the tour ---------- */
/* as wide as fits, but never taller than the screen, so the whole frame is visible while it plays */
.player { width: min(100%, (100vh - 140px) * 1.5); margin: 0 auto; position: relative; border-radius: 8px; overflow: hidden; background: var(--olive); aspect-ratio: 3 / 2; box-shadow: 0 40px 80px -40px rgba(46, 58, 38, .5); }
.player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.player__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 12px; padding: 16px 26px 16px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(244, 240, 219, .6); background: rgba(46, 58, 38, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--cream); font: 500 16px var(--sans); white-space: nowrap; transition: background .3s;
}
.player__play:hover { background: rgba(46, 58, 38, .75); }
.player__play small { font-size: 13px; opacity: .7; }
.player__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cream); color: var(--olive); font-size: 13px; padding-left: 3px; }
.player.is-on .player__play { display: none; }
.tour__note { max-width: 60ch; margin: 22px 0 0; color: var(--ink-soft); font-size: 16px; }

/* ---------- pricing ---------- */
.pricing { margin-top: clamp(80px, 10vw, 140px); background: var(--olive); color: var(--cream); padding: clamp(70px, 9vw, 130px) var(--gutter); }
.pricing__head h2 { font-size: clamp(42px, 6.4vw, 96px); line-height: .98; }
.pricing__head h2 em { color: var(--clay-light); }
.pricing__head > p:last-child { color: rgba(244, 240, 219, .72); max-width: 44ch; margin: 24px 0 0; }
.price-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; margin-top: 54px; }
.price-card { display: flex; flex-direction: column; border: 1px solid rgba(244, 240, 219, .25); border-radius: 18px; padding: 44px; background: rgba(244, 240, 219, .04); }
.price-card .btn { margin-top: auto; align-self: flex-start; }
.price-card__top { display: flex; flex-direction: column; gap: 6px; padding-bottom: 28px; border-bottom: 1px solid rgba(244, 240, 219, .2); }
.price-card__name { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.price-card__price { font: 400 clamp(72px, 8vw, 120px)/.9 var(--serif); letter-spacing: -.03em; white-space: nowrap; }
.price-card__price small { font-size: .42em; letter-spacing: 0; }  /* currency after the number (Czech: 3 900 Kč) */
.price-card__note { color: rgba(244, 240, 219, .65); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.price-card__list { list-style: none; padding: 0; margin: 26px 0 36px; display: grid; gap: 14px; }
.price-card__list li { padding-left: 30px; position: relative; }
.price-card__list li::before { content: "✦"; position: absolute; left: 0; top: 3px; color: var(--clay-light); font-size: 13px; }
.price-card__list strong { font-weight: 600; }
.price-card--feature { background: var(--cream); color: var(--olive); border-color: var(--cream); }
.price-card--feature .price-card__top { border-bottom-color: var(--line); }
.price-card--feature .price-card__note { color: var(--ink-soft); }
.price-card--feature .price-card__list li::before { color: var(--clay); }
.pricing__reply { margin-top: 34px; margin-bottom: 0; color: rgba(244, 240, 219, .8); font: italic 400 clamp(22px, 2.2vw, 30px)/1.25 var(--serif); }

/* ---------- faq ---------- */
.faq { max-width: var(--wrap); margin: 0 auto; padding: clamp(70px, 9vw, 120px) var(--pad); display: grid; grid-template-columns: 1fr 1.8fr; gap: 30px 60px; align-items: start; }
.faq h2 { font-size: clamp(40px, 5vw, 72px); line-height: 1; }
.faq__list { border-top: 1px solid var(--olive); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 50px 24px 0; position: relative;
  font: 400 clamp(22px, 2.2vw, 30px)/1.2 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 300 30px var(--sans); color: var(--clay); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; }
.faq details p { margin: 0 0 18px; max-width: 64ch; color: var(--ink-soft); }
.faq details p:last-child { margin-bottom: 28px; }

/* ---------- footer ---------- */
.footer { display: flex; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; padding: 26px var(--gutter); background: var(--olive); color: rgba(244, 240, 219, .75); font-size: 13px; border-top: 1px solid rgba(244, 240, 219, .12); }
.footer > span:first-child { font: italic 400 20px var(--serif); color: var(--cream); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .sheet { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .sheet span { left: 4px; bottom: 4px; padding: 1px 6px; font-size: 10px; }
  .price-cards { grid-template-columns: 1fr; gap: 20px; }
  .price-card { padding: 30px 24px; }
  .faq { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .label__hint { margin-left: 0; flex-basis: 100%; }
  .player__play { padding: 12px 20px 12px 12px; font-size: 15px; gap: 10px; }
  .player__play small { display: none; }
  .player__icon { width: 38px; height: 38px; }
  .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .sheet img { transition: none; }
}
