@font-face {
  font-family: Jost;
  src: url("pismo/jost.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #11110f;
  --blue: #0649ce;
  --deep-blue: #073595;
  --red: #d32b23;
  --vermilion: #d82000;
  --muted: #565651;
  --rule: #c9c9c4;
  --gutter: clamp(20px, 3.8vw, 92px);
  font-family: Jost, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, p, dl, dd, fieldset { margin: 0; }
button, input { font: inherit; }
a { color: inherit; }
img, picture { display: block; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
::selection { color: #fff; background: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.margin { margin-inline: var(--gutter); }
.nowrap { white-space: nowrap; }
.sr, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.skip:focus {
  position: absolute;
  z-index: 4;
  top: 8px;
  left: 8px;
  padding: 10px 18px;
  background: var(--paper);
}

.footer a {
  text-underline-offset: .24em;
  text-decoration-thickness: 1px;
}
.check-order {
  background: var(--blue);
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease;
}
.check-order:hover { background: var(--deep-blue); }
.footer a:hover, .program-index a:hover { color: var(--blue); }

.intro {
  position: relative;
  container-type: inline-size;
  padding-top: clamp(19px, 2.2vw, 47px);
  z-index: 1;
}
.intro h1 {
  font-weight: 700;
  font-size: 14.45cqw;
  font-kerning: normal;
  letter-spacing: -.052em;
  word-spacing: -.015em;
  line-height: .87;
  white-space: nowrap;
}
.title-words { display: inline-block; vertical-align: top; width: max-content; }
.intro-stroke { display: none; }
.intro-copy {
  margin: clamp(19px, 2vw, 40px) 0 0 .025em;
  max-width: 64rem;
}
.intro-copy .motto {
  margin-bottom: .28rem;
  color: var(--blue);
  font-weight: 600;
  font-size: clamp(1.25rem, 1.86vw, 2rem);
  letter-spacing: -.035em;
  line-height: 1.13;
}
.intro-copy p:last-child {
  max-width: 71ch;
  font-size: clamp(1rem, 1.18vw, 1.25rem);
  line-height: 1.38;
}

.upcoming {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) max-content;
  align-items: center;
  gap: 16px clamp(22px, 3.5vw, 72px);
  margin-top: clamp(30px, 3.8vw, 78px);
  padding-block: clamp(20px, 2vw, 42px);
  border-block: 1px solid var(--ink);
}
.upcoming h2, .program-intro h2, .evening-scenes h3 {
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.05em;
}
.upcoming h2 {
  font-size: clamp(2.45rem, 4.65vw, 5.6rem);
  justify-self: start;
  padding: .07em .22em .13em;
  background: var(--blue);
  color: var(--paper);
}
.event-facts { display: flex; flex-wrap: wrap; gap: .55rem clamp(16px, 2.1vw, 40px); }
.event-facts time, .event-facts strong {
  display: block;
  white-space: nowrap;
  font-size: clamp(1.05rem, 1.5vw, 1.65rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.event-facts small { display: block; margin-top: 3px; font-size: .92rem; color: var(--muted); line-height: 1.35; }
.venue-link {
  display: block;
  width: fit-content;
  max-width: 100%;
  text-decoration: none;
}
.venue-link :is(strong, small) {
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}
.venue-link:hover :is(strong, small), .venue-link:focus-visible :is(strong, small) {
  color: var(--blue);
  text-decoration-color: currentColor;
}
.event-ticket {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  min-height: 48px;
  padding: 9px 18px;
  gap: 14px;
  background: var(--vermilion);
  color: white;
  font-size: 1.04rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.event-ticket:hover { background: #ad211b; }
.event-ticket span { border-left: 1px dashed currentColor; padding-left: 14px; }
.program-intro { margin-top: clamp(32px, 3.8vw, 77px); }
.program-intro h2 { font-size: clamp(2.05rem, 3.6vw, 4.4rem); }
.program-groups {
  display: grid;
  grid-template-columns: 1.15fr 1.1fr 1.25fr 1.4fr .7fr;
  gap: 20px clamp(16px, 2.8vw, 58px);
  margin-top: clamp(17px, 2vw, 32px);
}
.program-groups h3 {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .025em;
}
.program-index {
  list-style: none;
  margin: 5px 0 0;
  padding: 0;
}
.program-index li { display: flex; align-items: baseline; gap: .4em; }
.program-index li::before { content: "·"; color: var(--vermilion); font-weight: 700; }
.program-index a {
  display: inline-block;
  padding-block: 3px;
  font-size: 1.01rem;
  line-height: 1.3;
  text-decoration: none;
}
.program-index a:hover, .program-index a:focus-visible { text-decoration: underline; text-underline-offset: .2em; }
#program :is(section[id], h3[id]) { scroll-margin-block-start: 1.5rem; }
.mountains { position: relative; scroll-margin-top: 16px; }
.horizon { width: min(89%, 1860px); margin: clamp(6px, 1vw, 22px) 1.2% 0 auto; }
.horizon img, .monks img { width: 100%; }
.mobile-art { display: none; }
.mountain-captions {
  position: relative;
  display: grid;
  grid-template-columns: 1.37fr 1fr;
  margin-top: clamp(-270px, -15.5vw, -90px);
}
.mountain-captions .artist-copy { grid-column: 2; }
.mountain-captions .artist-title { font-size: clamp(3rem, 6.46vw, 8.9rem); }
.genre {
  color: var(--blue);
  font-size: .82rem;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 650;
  margin-bottom: clamp(11px, 1.2vw, 20px);
}
.artist-title, .ticket-title {
  font-weight: 700;
  letter-spacing: -.062em;
  line-height: .89;
}
.artist-title { font-size: clamp(3rem, 6.85vw, 9.5rem); }
.signed-name {
  display: grid;
  justify-items: start;
  gap: .22rem;
}
.instagram {
  display: flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  color: var(--deep-blue);
  font-size: .75rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .01em;
  white-space: nowrap;
  text-underline-offset: .24em;
  text-decoration-thickness: 1px;
}
.instagram:hover { color: var(--vermilion); }
.instagram--inline { display: inline-flex; margin-inline-start: .35rem; }
.copy-link {
  color: var(--deep-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: .15em;
}
.copy-link:hover { color: var(--vermilion); }
.origin {
  color: var(--muted);
  font-size: .75em;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}
.artist-title .origin { font-size: clamp(.85rem, 1.35vw, 1.5rem); }
.paint-break {
  display: grid;
  align-items: center;
  width: 100%;
  height: calc(clamp(94px, 12vw, 198px) + 6vw);
  overflow: hidden;
  background: var(--paper);
  pointer-events: none;
}
.paint-break::before {
  content: "";
  width: 100%;
  height: clamp(17px, 2vw, 32px);
  background: url("grafika/tah-modry.webp") center / 170% 100% no-repeat;
  transform: skewY(-2.5deg);
}
.paint-break--red::before {
  background-image: url("grafika/tah-cerveny.webp");
}
.description {
  max-width: 35ch;
  margin-top: clamp(16px, 1.65vw, 29px);
  font-size: clamp(1.05rem, 1.46vw, 1.55rem);
  line-height: 1.38;
  letter-spacing: -.014em;
  text-wrap: pretty;
}
.singer, .usagi {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(30px, 6vw, 135px);
}
.singer-art {
  justify-self: center;
  width: min(83%, 650px);
}
.singer .genre { color: var(--red); }
.singer .artist-title { font-size: clamp(3rem, 6.4vw, 8.6rem); }
.singer .description { max-width: 41ch; }
.booking-note { margin-top: 12px; color: var(--muted); font-size: .88rem; }

.leopard-scene, .chefs {
  display: grid;
  grid-template-columns: var(--gutter) minmax(0, .9fr) minmax(0, 1.62fr);
  align-items: center;
  isolation: isolate;
}
.leopard-art {
  grid-area: 1 / 2 / 2 / -1;
  justify-self: end;
  width: 79%;
}
.leopard-scene .artist-copy, .chefs .artist-copy {
  grid-area: 1 / 2;
  z-index: 1;
}
.leopard-scene .artist-copy {
  align-self: start;
  margin-top: clamp(10px, 2.8vw, 64px);
}
.leopard-scene .description { max-width: 30ch; }
.feast-art { grid-area: 1 / 3; width: 100%; }
.chefs .artist-copy { padding-right: clamp(10px, 2vw, 40px); }
.chefs .artist-title span { display: block; }
.chefs .genre { color: var(--red); }
.menu {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(16px, 3vw, 70px);
  margin-top: clamp(30px, 3.6vw, 78px);
}
.menu div { border-top: 1px solid var(--ink); padding-top: 13px; }
.menu dt {
  font-size: clamp(1.25rem, 2vw, 2.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.036em;
}
.menu dd, .ticket-facts { font-size: 1.05rem; line-height: 1.4; }
.menu dd { margin-top: 7px; color: var(--muted); }

.illustrated-scene {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  grid-template-areas: "art caption";
  align-items: center;
  gap: clamp(22px, 4vw, 80px);
}
.illustrated-scene--table {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  grid-template-areas: "caption art";
}
.scene-art { grid-area: art; width: 100%; }
.scene-caption { grid-area: caption; min-width: 0; }
.illustrated-scene--table .genre { color: var(--vermilion); }
.evening-scenes h3 { font-size: clamp(2.25rem, 4.5vw, 6rem); text-wrap: balance; }
.scene-copy { max-width: 38ch; margin-top: 12px; font-size: clamp(1.05rem, 1.2vw, 1.33rem); line-height: 1.42; text-wrap: pretty; }
.florists { margin-top: 14px; font-size: clamp(1rem, 1.25vw, 1.3rem); font-weight: 550; line-height: 1.35; }
.florists p span { font-size: .94rem; font-weight: 400; }
.usagi { margin-bottom: clamp(55px, 7vw, 150px); }
.rabbit { width: min(77%, 630px); justify-self: center; }
.usagi .artist-title { white-space: nowrap; }
.usagi .description { max-width: 26ch; }
.credits { border-block: 1px solid var(--rule); }
.credits summary {
  min-height: 65px;
  padding-block: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  font-size: 1.12rem;
  font-weight: 550;
}
.credits summary::-webkit-details-marker { display: none; }
.expand { width: 18px; height: 18px; position: relative; }
.expand::before, .expand::after {
  content: "";
  position: absolute;
  background: var(--blue);
  width: 100%;
  height: 2px;
  top: calc(50% - 1px);
  left: 0;
}
.expand::after { transform: rotate(90deg); }
details[open] .expand::after { transform: none; }
.credits-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 5px 0 30px;
}
.credits-list dt { color: var(--muted); font-size: .88rem; }
.credits-list dd { font-size: 1.06rem; font-weight: 550; margin-top: 1px; }

.tickets {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  padding: clamp(50px, 7.4vw, 145px) 0 clamp(80px, 8vw, 165px);
  scroll-margin-top: 10px;
}
.ticket-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .88fr); gap: 8%; align-items: start; }
.ticket-title { font-size: clamp(4.5rem, 9.65vw, 14rem); color: var(--blue); }
.ticket-date {
  margin-top: clamp(17px, 1.9vw, 32px);
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 2rem);
  letter-spacing: -.03em;
}
.ticket-unit { margin-top: .6rem; font-size: 1.08rem; }
.ticket-unit strong { font-size: clamp(1.6rem, 2.5vw, 3rem); margin-right: .25em; font-weight: 650; letter-spacing: -.05em; }
.ticket-facts { max-width: 42ch; margin-top: 11px; }
.ticket-art {
  position: absolute;
  z-index: -1;
  bottom: -3vw;
  left: 22%;
  width: clamp(230px, 26vw, 520px);
  pointer-events: none;
  transform: rotate(8deg);
}
.ticket-art img { width: 100%; }
.ticket-box {
  border: 2px solid var(--blue);
  padding: clamp(18px, 2.3vw, 43px);
  background: var(--paper);
  min-width: 0;
}
.ticket-box-head {
  display: flex;
  justify-content: space-between;
  gap: .6rem;
  color: var(--blue);
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--blue);
  margin-bottom: clamp(21px, 2vw, 32px);
  font-size: .85rem;
  font-weight: 650;
  letter-spacing: .065em;
}
.stub-name { display: inline-flex; gap: .55rem; align-items: center; }
.stub-name img { width: 28px; height: auto; }
fieldset { padding: 0; min-width: 0; border: 0; }
label { font-size: 1.04rem; font-weight: 550; line-height: 1.3; }
#email {
  width: 100%;
  display: block;
  margin-top: 7px;
  min-height: 49px;
  border: 1px solid #83847e;
  border-radius: 0;
  padding: .68rem .82rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.05rem;
}
#email::placeholder { color: #676863; }
input:user-invalid { outline: 2px solid var(--red); outline-offset: 1px; }
.quantity-line, .total-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.quantity-line { margin-top: 20px; }
.stepper {
  display: grid;
  grid-template-columns: 43px minmax(45px, auto) 43px;
  align-items: stretch;
  border: 1px solid #83847e;
}
.stepper button, .stepper input {
  border: 0;
  border-radius: 0;
  background: white;
  color: var(--ink);
  text-align: center;
  min-height: 44px;
}
.stepper input {
  appearance: textfield;
  -moz-appearance: textfield;
  width: 3.6em;
  min-width: 0;
  padding: 0 1px;
  font-variant-numeric: tabular-nums;
  font-size: 1.1rem;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper button { font-size: 1.38rem; cursor: pointer; color: var(--blue); }
.stepper button:hover:enabled { background: #eaf1ff; }
.stepper button:disabled { color: #858882; cursor: default; }
.total-line { border-top: 1px solid var(--rule); margin-top: 21px; padding-top: 14px; }
.total-line span { font-size: 1.13rem; font-weight: 600; }
.total-line small { display: block; font-size: .84rem; color: var(--muted); font-weight: 450; }
.total-line output {
  text-align: right;
  font-size: clamp(1.75rem, 3.2vw, 3.4rem);
  line-height: 1.05;
  font-weight: 650;
  letter-spacing: -.055em;
  color: var(--blue);
  overflow-wrap: anywhere;
}
.check-order {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0;
  margin-top: 22px;
  padding: 14px 12px;
  min-height: 49px;
  font-size: 1.04rem;
  cursor: pointer;
}
#objednavka .check-order { background: var(--red); }
#objednavka .check-order:hover { background: #ad211b; }
.preview-note, .review-note { font-size: .88rem; color: var(--muted); line-height: 1.45; }
.preview-note { margin: 12px 0 0; }
.review h3 { font-weight: 650; font-size: 1.75rem; letter-spacing: -.045em; }
.review dl { margin-block: 20px; }
.review dl div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--rule); padding: 8px 0; }
.review dt { color: var(--muted); }
.review dd { text-align: right; overflow-wrap: anywhere; min-width: 0; }
.review .review-total dd { font-weight: 650; color: var(--blue); }
.footer {
  border-top: 1px solid var(--ink);
  padding: 16px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: .86rem;
}
.footer strong { font-size: 1rem; letter-spacing: -.05em; }

@media (min-width: 1800px) {
  .horizon { margin-inline: auto; }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .upcoming { grid-template-columns: minmax(0, 1fr) max-content; }
  .upcoming h2 { grid-column: 1 / -1; }
  .program-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 950px) and (min-width: 701px) {
  .leopard-art { width: 73%; }
  .ticket-layout { gap: 5%; }
}
@media (max-width: 700px) {
  :root { --gutter: clamp(16px, 5.4vw, 34px); }
  .intro { padding-top: 23px; }
  .intro h1 { font-size: 23.35cqw; line-height: .84; }
  .title-words > span { display: block; width: max-content; }
  .intro-stroke {
    display: block;
    position: absolute;
    right: 3%;
    top: calc(20px + 1.4cqw);
    width: 30%;
    height: 15.4cqw;
    object-fit: fill;
  }
  .intro-copy { margin-top: 21px; }
  .intro-copy .motto { max-width: 35ch; }
  .intro-copy p:last-child { max-width: 43ch; }
  .upcoming { grid-template-columns: 1fr; row-gap: 15px; }
  .event-facts { display: grid; grid-template-columns: 1.18fr 1fr; gap: 10px; }
  .event-ticket { justify-self: start; }
  .program-groups { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .program-index { margin-top: 3px; }
  .horizon {
    width: 100%;
    margin: 18px 0 0;
    mask-image: linear-gradient(to bottom, black 80%, transparent);
  }
  .horizon img { aspect-ratio: 1070 / 520; }
  .mobile-art { display: block; }
  .monks {
    width: min(100%, 520px);
    margin: -2% auto 0;
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 81%, transparent),
                linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-composite: intersect;
  }
  .mountain-captions { display: block; margin-top: 9px; }
  .genre { font-size: .79rem; margin-bottom: 10px; }
  .artist-title, .mountain-captions .artist-title { font-size: clamp(3rem, 12.6vw, 5.5rem); }
  .description { font-size: 1.08rem; line-height: 1.4; margin-top: 15px; }
  .singer, .usagi { display: block; }
  .singer-art { width: min(82%, 405px); margin: 0 auto 15px; }
  .singer .artist-title { font-size: clamp(2.85rem, 12.5vw, 5.3rem); }
  .singer .description { max-width: 33ch; }
  .leopard-scene, .chefs { display: block; }
  .leopard-art, .feast-art { width: 100%; }
  .leopard-scene .artist-copy, .chefs .artist-copy {
    margin: 15px var(--gutter) 0;
    padding: 0;
  }
  .leopard-scene .description { max-width: 35ch; }
  .chefs .artist-title span { display: inline; }
  .menu { display: block; margin-top: 28px; }
  .menu div { padding: 10px 0; display: grid; grid-template-columns: 1fr 1.16fr; column-gap: 12px; }
  .menu div:last-child { border-bottom: 1px solid var(--ink); }
  .menu dt { font-size: 1.06rem; line-height: 1.45; }
  .menu dd { margin: 0; font-size: 1rem; line-height: 1.4; }
  .illustrated-scene {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "art" "caption";
    gap: 15px;
  }
  .scene-copy { max-width: 44ch; }
  .usagi { margin-bottom: 40px; }
  .rabbit { width: min(75%, 323px); margin: 0 auto 20px; }
  .credits summary { min-height: 54px; }
  .credits-list { grid-template-columns: 1fr; gap: 14px; }
  .tickets { padding: 43px 0 50px; }
  .ticket-layout { display: block; }
  .ticket-title { font-size: clamp(3rem, 13.55vw, 5.75rem); }
  .ticket-title br { display: none; }
  .ticket-art { left: auto; right: 0; top: 78px; bottom: auto; width: 25vw; transform: rotate(-8deg); }
  .ticket-box { margin-top: 25px; padding: clamp(17px, 5vw, 30px); }
  .stepper { grid-template-columns: 42px minmax(35px, auto) 42px; }
  .stepper input { width: 2.7em; }
  .footer { flex-wrap: wrap; font-size: .82rem; }
}
@media (max-width: 355px) {
  .quantity-line { flex-wrap: wrap; }
  .ticket-art { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
