/* ============ tokens ============ */
:root {
  --cream: #f3e7d0;
  --cream-2: #ecd9b8;
  --paper: #fbf3e3;
  --ink: #2b1810;
  --ink-soft: #4a3122;
  --rust: #a8402a;
  --rust-dark: #7c2c1c;
  --mustard: #d9a441;
  --mustard-dark: #b8822a;
  --forest: #3f5a3f;
  --forest-dark: #2c4028;
  --night: #241511;
  --night-2: #33201a;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Literata", Georgia, serif;

  --wrap: 1120px;
  --radius: 6px;
  --shadow-hard: 6px 6px 0 rgba(43, 24, 16, 0.18);
}

/* ============ reset ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* grain overlay for texture */
.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 231, 208, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--ink);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  text-decoration: none;
  letter-spacing: 0.01em;
  color: var(--rust-dark);
}
.brand-mark { color: var(--rust); transform: rotate(-6deg); }
.site-nav { display: flex; gap: 28px; }
.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 4px;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--rust);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ============ hero ============ */
.hero {
  position: relative;
  padding: 100px 0 70px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% -10%, rgba(217,164,65,0.35), transparent 55%),
    radial-gradient(ellipse at 90% 10%, rgba(168,64,42,0.18), transparent 50%),
    var(--cream);
}
.hero-cutout {
  position: absolute;
  top: -60px;
  width: 260px; height: 260px;
  opacity: 0.5;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}
.hero-cutout--left { left: -70px; transform: rotate(-12deg); color: var(--forest);
  background-image: radial-gradient(circle, transparent 60%, transparent 60%);
}
.hero-cutout--right { right: -80px; top: 20px; transform: rotate(10deg); }
.hero-inner { text-align: center; max-width: 760px; }
.kicker {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--rust-dark);
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(3.5rem, 11vw, 7.5rem);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.hero-title .line { display: inline-block; }
.hero-title-accent {
  color: var(--rust);
  font-style: italic;
  font-weight: 500;
}
.hero-sub {
  margin: 28px auto 0;
  max-width: 540px;
  font-size: 1.15rem;
  color: var(--ink-soft);
}
.hero-cta {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-divider {
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%; height: 40px;
  color: var(--paper);
}

/* ============ buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-primary {
  background: var(--rust);
  color: var(--paper);
  border-color: var(--rust-dark);
  box-shadow: var(--shadow-hard);
}
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 rgba(43,24,16,0.22); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: var(--shadow-hard);
}
.btn-ghost:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 rgba(43,24,16,0.22); }

/* ============ sections ============ */
.section { padding: 96px 0; background: var(--paper); }
.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--rust);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--mustard); }
.section h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; margin-bottom: 24px; }

/* two column */
.two-col {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.paper-frame {
  background: var(--cream-2);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-hard);
  transform: rotate(-2deg);
}
.wycinanka { width: 100%; height: auto; color: var(--forest); }
.two-col-text p { color: var(--ink-soft); font-size: 1.05rem; }

/* heritage */
.section--heritage {
  background: var(--night);
  color: var(--cream);
  position: relative;
}
.section--heritage::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 0%, rgba(217,164,65,0.15), transparent 60%);
  pointer-events: none;
}
.heritage-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: var(--cream);
  margin-bottom: 48px;
}
.heritage-title span { color: var(--mustard); font-style: italic; font-weight: 500; }
.heritage-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
.heritage-quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--cream-2);
  border-left: 3px solid var(--mustard);
  padding-left: 24px;
}
.heritage-source {
  margin-top: 16px;
  font-size: 0.85rem;
  color: rgba(243,231,208,0.6);
  padding-left: 27px;
}
.heritage-bio p { color: rgba(243,231,208,0.85); }
.heritage-note {
  font-weight: 600;
  color: var(--cream) !important;
  border-top: 1px solid rgba(217,164,65,0.3);
  padding-top: 18px;
  margin-top: 18px !important;
}

/* repertoire */
.repertoire-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.rep-card {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-hard);
  transition: transform 0.2s ease;
}
.rep-card:hover { transform: translateY(-4px); }
.rep-num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--mustard-dark);
  margin-bottom: 10px;
}
.rep-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.rep-card p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* koncerty */
.section--dark {
  background: var(--forest-dark);
  color: var(--cream);
}
.light-title { color: var(--cream); }
.gig-list { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid rgba(243,231,208,0.2); }
.gig-row {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid rgba(243,231,208,0.2);
  font-size: 1.02rem;
}
.gig-date { font-family: var(--font-display); font-weight: 700; color: var(--mustard); min-width: 110px; }
.gig-row--placeholder { color: rgba(243,231,208,0.75); font-style: italic; }
.gig-footnote { margin-top: 24px; color: rgba(243,231,208,0.7); font-size: 0.95rem; }

/* kontakt */
.kontakt-inner { text-align: center; max-width: 640px; }
.kontakt-lead { font-size: 1.1rem; color: var(--ink-soft); }
.kontakt-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.socials { display: flex; gap: 18px; }
.socials a {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.socials a:hover { background: var(--rust); color: var(--paper); border-color: var(--rust-dark); transform: translateY(-3px); }

/* footer */
.site-footer {
  background: var(--night-2);
  color: rgba(243,231,208,0.7);
  padding: 36px 0;
  text-align: center;
  font-size: 0.88rem;
}
.footer-dedication { margin-top: 6px; font-style: italic; color: rgba(217,164,65,0.8); }

/* ============ reveal animation ============ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal-in 0.8s ease forwards;
}
.hero-title.reveal { animation-delay: 0.1s; }
.hero-sub.reveal { animation-delay: 0.28s; }
.hero-cta.reveal { animation-delay: 0.42s; }
.kicker.reveal { animation-delay: 0s; }
@keyframes reveal-in {
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }

/* ============ responsive ============ */
@media (max-width: 860px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 2px solid var(--ink);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 16px 24px; border-bottom: 1px solid rgba(43,24,16,0.1); }
  .nav-toggle { display: flex; }
  .two-col, .heritage-grid { grid-template-columns: 1fr; gap: 36px; }
  .paper-frame { max-width: 240px; margin: 0 auto; }
  .repertoire-grid { grid-template-columns: repeat(2, 1fr); }
  .gig-row { flex-direction: column; gap: 4px; }
}
@media (max-width: 480px) {
  .repertoire-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
