/* Adam Jagoš — cinematic one-pager */

:root {
  --bg: #0a0908;
  --bg-2: #14110e;
  --ink: #f4efe6;
  --muted: #b7aea0;
  --red: #c1121f;
  --red-deep: #8a0c16;
  --line: rgba(244, 239, 230, 0.14);
  --display: "Instrument Serif", "Times New Roman", serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Outfit", system-ui, sans-serif;
  --pad: clamp(18px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

img, video { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.03em; line-height: 0.95; }
h2 { font-size: clamp(36px, 6vw, 72px); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 80;
  padding: 10px 14px; background: var(--ink); color: var(--bg);
}
.skip:focus { top: 16px; }

.label {
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  background: var(--red);
  color: #fff;
  font-family: var(--cond);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}
.btn:hover { background: var(--red-deep); }
.btn:active { transform: translateY(1px); }
.btn--ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn--ghost:hover { background: rgba(244, 239, 230, 0.08); }

.play {
  width: 0; height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent currentColor;
}

/* --- Nav --- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--pad);
  color: var(--ink);
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.55), transparent);
  transition: background 220ms ease, border-color 220ms ease;
}
.nav.is-solid {
  background: rgba(10, 9, 8, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav__mark {
  font-family: var(--display);
  font-size: 22px;
  font-style: italic;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--cond);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav__book {
  padding: 8px 14px;
  background: var(--red);
  color: #fff;
}
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: none; cursor: pointer;
}
.nav__toggle span {
  display: block; width: 20px; height: 1.5px; background: currentColor; margin: 6px 0;
}

/* --- Hero --- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  color: var(--ink);
  overflow: hidden;
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: ken 28s ease-in-out infinite alternate;
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 9, 8, 0.72) 0%, rgba(10, 9, 8, 0.18) 48%, rgba(10, 9, 8, 0.35) 100%),
    linear-gradient(180deg, rgba(10, 9, 8, 0.2) 0%, rgba(10, 9, 8, 0.08) 40%, rgba(10, 9, 8, 0.85) 100%);
}
.hero__noise {
  position: absolute; inset: 0;
  opacity: 0.14;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--pad) 88px;
  max-width: 920px;
}
.hero__kicker {
  font-family: var(--cond);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #f0d2a8;
}
.hero h1 {
  font-size: clamp(64px, 14vw, 168px);
  line-height: 0.82;
  margin-bottom: 22px;
}
.hero h1 span { display: block; }
.hero h1 span:last-child { font-style: italic; }
.hero__tag {
  max-width: 38ch;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  margin-bottom: 28px;
}
.hero__row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll {
  position: absolute;
  right: var(--pad);
  bottom: 32px;
  z-index: 2;
  font-family: var(--cond);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  writing-mode: vertical-rl;
  color: var(--muted);
}

@keyframes ken {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(-1.5%, 1%, 0); }
}

/* --- Ticker --- */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg);
}
.ticker__track {
  display: flex;
  gap: 48px;
  width: max-content;
  padding: 14px 0;
  font-family: var(--cond);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: marquee 36s linear infinite;
}
.ticker__track span { position: relative; padding-right: 48px; }
.ticker__track span::after {
  content: "●";
  position: absolute;
  right: 0;
  color: var(--red);
  font-size: 8px;
  top: 50%;
  transform: translateY(-50%);
}
.ticker--red { background: var(--red); }
.ticker--red .ticker__track { color: #fff; animation-duration: 42s; }
.ticker--red .ticker__track span::after { color: #fff; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Film / showreel --- */
.film {
  padding: clamp(72px, 10vw, 120px) var(--pad);
}
.film__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 40px;
}
.film__head h2 { max-width: 14ch; }
.film__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 280px 220px;
  gap: 10px;
}
.clip {
  position: relative;
  overflow: hidden;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #000;
  color: #fff;
  width: 100%;
  height: 100%;
}
.clip:first-child { grid-row: 1 / span 2; }
.clip video {
  transition: transform 700ms ease, filter 400ms ease;
  filter: saturate(0.9);
}
.clip:hover video { transform: scale(1.04); filter: saturate(1); }
.clip__play {
  position: absolute;
  left: 50%; top: 50%;
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(10, 9, 8, 0.35);
  backdrop-filter: blur(6px);
}
.clip__play::after {
  content: "";
  position: absolute;
  left: 26px; top: 22px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}
.clip__cap {
  position: absolute;
  left: 16px; bottom: 14px;
  font-family: var(--cond);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
}
.clip__cap em { font-style: normal; color: var(--red); margin-right: 8px; }

/* --- About --- */
.about {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 72px);
  padding: 0 var(--pad) clamp(80px, 10vw, 130px);
  align-items: center;
}
.about__stage {
  position: relative;
  min-height: 620px;
}
.about__frame {
  position: absolute;
  overflow: hidden;
  background: #000;
}
.about__frame--video {
  width: 62%;
  height: 78%;
  left: 0; top: 0;
  z-index: 2;
}
.about__frame--still {
  width: 48%;
  height: 58%;
  right: 0; bottom: 0;
  z-index: 1;
}
.about__frame--hands {
  width: 28%;
  height: 32%;
  right: 8%;
  top: 8%;
  z-index: 3;
  border: 6px solid var(--bg);
}
.about__frame figcaption {
  position: absolute;
  left: 14px; bottom: 12px;
  font-family: var(--cond);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
}
.about__copy h2 { margin-bottom: 22px; }
.about__copy p { color: var(--muted); margin-bottom: 16px; max-width: 46ch; }
.facts {
  display: flex;
  gap: 28px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.facts li { font-size: 14px; color: var(--muted); }
.facts strong {
  display: block;
  font-family: var(--display);
  font-size: 28px;
  color: var(--ink);
  font-weight: 400;
}

/* --- Horizontal reel --- */
.reel-wrap { padding: 0 0 clamp(40px, 6vw, 72px); }
.reel-wrap__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 0 var(--pad) 28px;
}
.reel-wrap__hint {
  font-family: var(--cond);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--muted);
}
.reel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 var(--pad) 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--red) transparent;
  cursor: grab;
}
.reel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.card {
  position: relative;
  flex: 0 0 min(78vw, 420px);
  height: min(72vh, 560px);
  scroll-snap-align: start;
  overflow: hidden;
  background: #000;
  user-select: none;
}
.card img { -webkit-user-drag: none; }
.card img {
  transition: transform 900ms ease;
  filter: brightness(0.78);
}
.card:hover img { transform: scale(1.08); }
.card__meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 72px 22px 22px;
  background: linear-gradient(180deg, transparent, rgba(10, 9, 8, 0.92));
}
.card__meta span {
  font-family: var(--cond);
  letter-spacing: 0.2em;
  color: var(--red);
  font-size: 13px;
}
.card h3 { font-size: clamp(32px, 4vw, 48px); margin: 6px 0 8px; }
.card p { color: var(--muted); font-size: 15px; max-width: 32ch; }

/* --- Mosaic --- */
.mosaic {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  grid-template-rows: 240px 280px;
  gap: 8px;
  padding: 0 var(--pad) clamp(72px, 10vw, 120px);
}
.mosaic figure { overflow: hidden; background: #000; }
.mosaic img {
  transition: transform 1.2s ease;
  animation: ken 22s ease-in-out infinite alternate;
}
.mosaic figure:nth-child(1) { grid-row: 1 / span 2; }
.mosaic figure:nth-child(5) { grid-column: 2 / span 2; }
.mosaic figure:hover img { transform: scale(1.05); }

/* --- Repertoire --- */
.rep {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  padding: 0 var(--pad) clamp(72px, 10vw, 120px);
  align-items: start;
}
.rep__left p { color: var(--muted); max-width: 42ch; margin: 18px 0 28px; }
.rep__video {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.8);
}
.setlist li {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.setlist li:last-child { border-bottom: 1px solid var(--line); }
.setlist span {
  grid-row: 1 / span 2;
  font-family: var(--cond);
  color: var(--red);
  letter-spacing: 0.12em;
  padding-top: 8px;
}
.setlist b {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
}
.setlist i { color: var(--muted); font-style: normal; font-size: 15px; }

/* --- Voices --- */
.voices {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  min-height: 520px;
}
.quote {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  background-size: cover;
  background-position: center;
  min-height: 360px;
}
.quote::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.15), rgba(10, 9, 8, 0.88));
}
.quote blockquote,
.quote figcaption { position: relative; }
.quote blockquote {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 36px);
  font-style: italic;
  line-height: 1.15;
  margin-bottom: 18px;
}
.quote figcaption {
  font-family: var(--cond);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--muted);
}

/* --- Places --- */
.places { padding: clamp(72px, 10vw, 120px) var(--pad); }
.places__head { margin-bottom: 28px; }
.places__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.places article {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #000;
}
.places img {
  filter: brightness(0.7);
  transition: transform 600ms ease, filter 600ms ease;
}
.places article:hover img { transform: scale(1.08); filter: brightness(0.9); }
.places span {
  position: absolute;
  left: 12px; bottom: 12px;
  font-family: var(--display);
  font-size: 28px;
}

/* --- How --- */
.how { padding: 0 var(--pad) clamp(72px, 10vw, 120px); }
.how ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 36px;
}
.how span {
  font-family: var(--cond);
  color: var(--red);
  letter-spacing: 0.16em;
}
.how h3 { font-size: 32px; margin: 10px 0 8px; }
.how p { color: var(--muted); max-width: 36ch; }

/* --- Contact --- */
.contact {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 720px;
}
.contact__bg { position: relative; overflow: hidden; background: #000; }
.contact__bg video { filter: brightness(0.55); }
.contact__panel {
  padding: clamp(40px, 6vw, 80px) var(--pad);
  background: var(--bg-2);
}
.contact__lead { color: var(--muted); margin: 16px 0 28px; max-width: 40ch; }

.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label {
  display: grid; gap: 6px;
  font-family: var(--cond);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}
.form input, .form textarea {
  width: 100%;
  padding: 12px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
  font-family: var(--sans);
  color: var(--ink);
  border-radius: 0;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-bottom-color: var(--red);
}
.form textarea { resize: vertical; min-height: 96px; }
.form__error { color: #ff8a8a; font-size: 14px; }
.form__ok { font-size: 14px; color: var(--muted); }
.form__ok a { text-decoration: underline; text-underline-offset: 3px; }
.form button { justify-self: start; margin-top: 8px; }

.contact__dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.contact__dl dt {
  font-family: var(--cond);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
}
.contact__dl dd {
  font-family: var(--display);
  font-size: 22px;
}
.contact__dl a:hover { color: var(--red); }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px var(--pad);
  border-top: 1px solid var(--line);
  font-family: var(--cond);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--muted);
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.92);
  display: grid;
  place-items: center;
  padding: 48px 24px;
}
.lightbox[hidden] { display: none; }
.lightbox video {
  width: min(100%, 1100px);
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}
.lightbox__close {
  position: absolute;
  top: 16px; right: 20px;
  width: 48px; height: 48px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .nav { mix-blend-mode: normal; background: rgba(10, 9, 8, 0.55); }
  .nav__toggle { display: block; }
  .nav__links {
    display: none;
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px var(--pad) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav__book { width: auto; margin-top: 12px; }

  .film__grid,
  .about,
  .mosaic,
  .rep,
  .voices,
  .places__grid,
  .how ol,
  .contact,
  .form__row,
  .contact__dl,
  .film__head { grid-template-columns: 1fr; }

  .film__grid { grid-template-rows: 360px 200px 200px 200px; }
  .clip:first-child { grid-row: auto; }

  .about__stage { min-height: 460px; }
  .mosaic { grid-template-rows: 220px 180px 180px; }
  .mosaic figure:nth-child(1),
  .mosaic figure:nth-child(5) { grid-row: auto; grid-column: auto; }
  .places__grid { grid-template-columns: repeat(2, 1fr); }
  .voices { grid-template-columns: 1fr; }
  .contact__bg { min-height: 280px; }
  .hero__scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__video, .mosaic img, .ticker__track { animation: none; }
}
