:root {
  --ink: #fff3e2;
  --ink-soft: rgba(255, 243, 226, 0.78);
  --gold: #ffd28f;
  --rose: #f2a08a;
  --glass: rgba(42, 24, 52, 0.46);
  --line: rgba(255, 232, 205, 0.22);
  --font: "Courier New", Courier, "Nimbus Mono PS", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #2b2c5c; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ---------- background layers ---------- */
.bg, .halo, .grain { position: fixed; inset: 0; pointer-events: none; }
.bg {
  z-index: -3;
  background-color: #6b4a78;
  background-size: cover;
  background-position: 60% 62%;
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.03);
}
/* soft golden halo + faded-print wash: works over any photo Marek uploads */
.halo {
  z-index: -2;
  background:
    radial-gradient(ellipse 55% 40% at 60% 62%, rgba(255, 196, 120, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(40, 30, 80, 0.18), rgba(0, 0, 0, 0) 40%, rgba(60, 25, 50, 0.25)),
    linear-gradient(115deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0) 32%);
  mix-blend-mode: screen;
}
.grain {
  z-index: -1;
  inset: -100px;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 0.95 0 0 0 0 0.85 0 0 0 1.1 -0.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-30px, 20px); }
  40% { transform: translate(20px, -40px); }
  60% { transform: translate(-50px, -10px); }
  80% { transform: translate(40px, 30px); }
  100% { transform: translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- nav ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 5;
  padding: 18px 24px 26px;
  display: flex; justify-content: flex-end;
  background: linear-gradient(rgba(40, 32, 78, 0.55), rgba(40, 32, 78, 0));
}
.top nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.top a {
  color: var(--ink); text-decoration: none;
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(60, 20, 50, 0.5);
  padding: 4px 0; border-bottom: 1px solid transparent;
}
.top a:hover, .top a:focus-visible { border-bottom-color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 6vw 60px;
  position: relative;
}
h1 {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(4.2rem, 15vw, 12rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-shadow:
    0 0 18px rgba(255, 214, 160, 0.55),
    0 0 60px rgba(255, 170, 110, 0.45),
    0 2px 2px rgba(80, 30, 60, 0.25);
}
.pron {
  margin: 0.4em 0 0 0.3em;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  color: var(--ink-soft);
  letter-spacing: 0.08em;
}
.links {
  margin: 2.2em 0 0 0.3em;
  font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase;
}
.links a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.links a:hover, .links a:focus-visible { border-bottom-color: var(--ink); }
.links span { opacity: 0.55; }
.down {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  color: var(--ink); text-decoration: none; font-size: 22px; opacity: 0.75;
  animation: bob 2.8s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* ---------- glossy panels ---------- */
main { padding-bottom: 40px; }
.panel {
  position: relative;
  max-width: 780px;
  margin: 0 auto 40px;
  padding: 38px 42px 34px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 3px;
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
  box-shadow: 0 30px 60px -30px rgba(40, 10, 40, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  overflow: hidden;
  scroll-margin-top: 70px;
}
.panel::before { /* gloss sheen */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 28%, rgba(255, 255, 255, 0) 45%);
}
h2 {
  margin: 0 0 26px;
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 16px;
}
h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.panel p { margin: 0 0 1.1em; }
.panel p:last-child { margin-bottom: 0; }
.panel a { color: var(--ink); }
.empty { color: var(--ink-soft); font-style: italic; }
.bio p { color: var(--ink); }
.bio p:first-child::first-letter {
  font-size: 3.1em; float: left; line-height: 0.85; padding: 0.06em 0.1em 0 0; color: var(--gold);
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  color: var(--ink) !important; text-decoration: none;
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.btn:hover, .btn:focus-visible { background: var(--ink); color: #3a2440 !important; }

.mail { font-size: clamp(1.2rem, 3.4vw, 1.7rem); text-decoration: none; border-bottom: 1px solid var(--line); }
.mail:hover { border-bottom-color: var(--ink); }
.socials { list-style: none; padding: 0; margin: 22px 0 0; }
.socials li { padding: 6px 0; border-top: 1px dashed var(--line); display: flex; gap: 16px; }
.socials li span { width: 110px; color: var(--ink-soft); font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; padding-top: 2px; }
.socials a { text-decoration: none; }
.socials a:hover { text-decoration: underline; }

/* ---------- shows ---------- */
.shows { display: grid; gap: 22px; }
.show {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 22px;
  padding-bottom: 22px;
  border-bottom: 1px dashed var(--line);
}
.show:last-child { border-bottom: 0; padding-bottom: 0; }
.show.has-img { grid-template-columns: 92px 1fr 170px; }
.show-date {
  display: flex; flex-direction: column; align-items: center;
  border: 1px solid var(--line); padding: 8px 4px 10px; height: max-content;
  background: rgba(255, 240, 220, 0.06);
}
.show-date .dow { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ink-soft); }
.show-date .day { font-size: 40px; line-height: 1.05; color: var(--gold); }
.show-date .mon { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.show h3 { margin: 0 0 4px; font-size: 21px; font-weight: 700; line-height: 1.3; }
.show .where { margin: 0 0 10px; color: var(--ink-soft); }
.show .details { font-size: 15px; }
.show .details p { margin: 0 0 0.7em; }
.show-img img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block;
  border: 1px solid var(--line);
  filter: sepia(0.15) saturate(0.95) contrast(1.02);
}

footer {
  text-align: center; padding: 10px 0 40px;
  font-size: 12px; letter-spacing: 0.2em; color: var(--ink-soft);
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .top { padding: 14px 16px; justify-content: center; }
  .top nav { gap: 16px; justify-content: center; }
  .top a { font-size: 12px; letter-spacing: 0.16em; }
  .panel { margin: 0 12px 24px; padding: 28px 22px 26px; }
  .show, .show.has-img { grid-template-columns: 70px 1fr; gap: 16px; }
  .show-img { grid-column: 1 / -1; order: -1; }
  .show-img img { aspect-ratio: 16 / 10; }
  .show-date .day { font-size: 32px; }
  .show-date .mon { letter-spacing: 0.04em; font-size: 10px; }
  .show-date .mon { text-align: center; }
}
