/* Festiwal Brzeszczotkowo — sponsor preview */
:root {
  --forest-950: #0b2419;
  --forest-900: #113322;
  --forest-800: #17462f;
  --forest-700: #205a3d;
  --olive: #748337;
  --moss: #a7b56c;
  --cream: #f5f0e4;
  --paper: #fffaf0;
  --paper-2: #ede5d4;
  --mustard: #e2a021;
  --mustard-light: #f7c75f;
  --terra: #cb4b27;
  --ink: #192019;
  --muted: #697168;
  --white: #fffef8;
  --line: rgba(23, 70, 47, 0.18);
  --shadow: 0 24px 70px rgba(11, 36, 25, 0.15);
  --radius: 28px;
  --shell: min(1180px, calc(100vw - 48px));
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
address { font-style: normal; }
::selection { background: var(--mustard); color: var(--forest-950); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--forest-900);
  font-weight: 800;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 120px 0; }

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  background: transparent;
  z-index: 120;
}
.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--mustard);
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(28px, calc((100vw - 1180px) / 2));
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.16);
  transition: height .25s ease, background .25s ease, box-shadow .25s ease, color .25s ease;
}
.site-header.scrolled {
  height: 72px;
  color: var(--forest-950);
  background: rgba(245, 240, 228, .94);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 36px rgba(11, 36, 25, .10);
  border-color: rgba(23, 70, 47, .12);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  line-height: 1;
}
.brand img { width: 58px; height: 52px; object-fit: contain; }
.brand-copy { display: grid; gap: 5px; }
.brand-copy small {
  font-size: 10px;
  letter-spacing: .32em;
  text-transform: uppercase;
  opacity: .74;
}
.brand-copy strong { font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  position: relative;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--mustard);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.nav-cta {
  padding: 12px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
}
.nav-cta:hover { color: var(--forest-950); background: var(--mustard); border-color: var(--mustard); }
.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: 820px;
  height: 100svh;
  max-height: 980px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--forest-950);
}
.hero-media, .hero-shade, .hero-pattern { position: absolute; inset: 0; }
.hero-media {
  background: url('/assets/ogrodzieniec-castle.webp') center 44% / cover no-repeat;
  transform: scale(1.02);
  animation: hero-in 1.4s cubic-bezier(.2,.7,.2,1) both;
}
.hero-shade {
  background:
    linear-gradient(90deg, rgba(8,31,21,.96) 0%, rgba(8,31,21,.78) 42%, rgba(8,31,21,.24) 74%, rgba(8,31,21,.18) 100%),
    linear-gradient(0deg, rgba(7,27,18,.88) 0%, transparent 42%);
}
.hero-pattern {
  opacity: .18;
  background-image:
    linear-gradient(45deg, transparent 46%, var(--mustard) 47%, var(--mustard) 53%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, var(--mustard) 47%, var(--mustard) 53%, transparent 54%);
  background-size: 56px 56px;
  background-position: calc(100% + 12px) calc(100% - 20px);
  mask-image: linear-gradient(90deg, transparent 62%, #000 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: 76px; }
.eyebrow {
  margin: 0 0 20px;
  color: var(--terra);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.hero-eyebrow { color: var(--mustard-light); }
.hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(64px, 9vw, 132px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .82;
  text-wrap: balance;
}
.hero h1 span {
  display: block;
  margin-bottom: 10px;
  font-family: var(--sans);
  font-size: .23em;
  font-weight: 800;
  letter-spacing: .36em;
  line-height: 1;
  text-transform: uppercase;
}
.hero-lead {
  max-width: 640px;
  margin: 30px 0;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.18;
}
.hero-lead strong { color: var(--mustard-light); font-weight: 600; }
.hero-facts {
  display: flex;
  gap: 0;
  width: fit-content;
  margin: 0 0 34px;
  border-block: 1px solid rgba(255,255,255,.28);
}
.hero-facts div {
  min-width: 178px;
  padding: 17px 30px 17px 0;
  margin-right: 30px;
  border-right: 1px solid rgba(255,255,255,.25);
  display: grid;
  gap: 2px;
}
.hero-facts div:last-child { border: 0; margin-right: 0; padding-right: 0; min-width: 118px; }
.hero-facts span { font-size: 23px; font-weight: 800; letter-spacing: -.03em; }
.hero-facts small { color: rgba(255,255,255,.72); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.hero-facts .free span { color: var(--mustard-light); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  min-height: 52px;
  padding: 14px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--forest-950); background: var(--mustard); }
.button-primary:hover { background: var(--mustard-light); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.48); background: rgba(255,255,255,.05); }
.button-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.12); }
.concept-note { margin: 22px 0 0; color: rgba(255,255,255,.68); font-size: 12px; }
.concept-note span { color: var(--mustard); margin-right: 7px; }
.hero-scroll {
  position: absolute;
  z-index: 3;
  right: 48px;
  bottom: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll span { width: 1px; height: 52px; background: var(--mustard); }
@keyframes hero-in { from { transform: scale(1.09); filter: saturate(.7); } to { transform: scale(1.02); filter: saturate(1); } }

.folk-ribbon { height: 42px; color: var(--mustard); background: var(--forest-900); overflow: hidden; }
.folk-ribbon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 5; vector-effect: non-scaling-stroke; }

.section-heading h2, .locality h2, .schedule h2, .venue h2, .organizer-copy h2, .partners h2 {
  margin: 0;
  color: var(--forest-900);
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .98;
}
.section-heading h2 em, .locality h2 em, .schedule h2 em, .venue h2 em, .organizer-copy h2 em, .partners h2 em { color: var(--terra); font-weight: 500; }
.section-heading.centered { max-width: 840px; margin: 0 auto 62px; text-align: center; }
.section-heading.centered > p:last-child { max-width: 690px; margin: 24px auto 0; color: var(--muted); }

.intro { position: relative; overflow: hidden; }
.intro::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -230px;
  top: 80px;
  border: 90px solid rgba(116,131,55,.08);
  border-radius: 50%;
}
.intro-grid { display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: 64px; align-items: start; }
.intro-copy .lead { margin-top: 0; color: var(--forest-900); font-family: var(--serif); font-size: 26px; line-height: 1.35; }
.intro-copy p:last-child { color: var(--muted); }
.intro-manifesto { min-height: 260px; padding: 34px; color: var(--white); background: var(--forest-800); border-radius: var(--radius); box-shadow: var(--shadow); }
.intro-manifesto span { color: var(--mustard); font-family: var(--serif); font-size: 88px; line-height: .5; }
.intro-manifesto p { margin: 26px 0 0; font-family: var(--serif); font-size: 28px; line-height: 1.25; }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 90px; border-block: 1px solid var(--line); }
.fact { min-height: 150px; padding: 26px 34px; display: grid; align-content: center; border-right: 1px solid var(--line); }
.fact:last-child { border: 0; }
.fact strong { color: var(--terra); font-family: var(--serif); font-size: 60px; font-weight: 500; line-height: 1; }
.fact span { color: var(--forest-800); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.locality { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr); min-height: 690px; background: var(--paper); }
.locality-image { position: relative; overflow: hidden; }
.locality-image::after { content: ""; position: absolute; inset: 0; box-shadow: inset -50px 0 80px rgba(11,36,25,.14); }
.locality-image img { width: 100%; height: 100%; object-fit: cover; }
.image-stamp {
  position: absolute;
  z-index: 2;
  left: 28px;
  bottom: 28px;
  padding: 11px 16px;
  color: var(--white);
  background: rgba(11,36,25,.86);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.locality-copy { padding: clamp(64px, 8vw, 120px); display: grid; align-content: center; }
.locality-copy > p:not(.eyebrow) { margin: 28px 0; color: var(--muted); font-size: 18px; }
.check-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; color: var(--forest-800); font-weight: 700; }
.check-list li::before { content: "✦"; position: absolute; left: 0; color: var(--mustard); }

.zones { color: var(--white); background: var(--forest-950); }
.zones .eyebrow { color: var(--mustard-light); }
.zones .section-heading h2 { color: var(--white); }
.zones .section-heading h2 em { color: var(--mustard-light); }
.zones .section-heading.centered > p:last-child { color: rgba(255,255,255,.64); }
.zone-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.zone-card {
  position: relative;
  min-height: 390px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,.055);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.zone-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.3); }
.zone-card:nth-child(1), .zone-card:nth-child(4) { grid-column: span 7; }
.zone-card:nth-child(2), .zone-card:nth-child(3), .zone-card:nth-child(5), .zone-card:nth-child(6) { grid-column: span 5; }
.zone-number { color: rgba(255,255,255,.28); font-family: var(--serif); font-size: 18px; }
.zone-icon { position: absolute; right: 26px; top: 18px; color: var(--mustard); font-family: var(--serif); font-size: 66px; opacity: .78; }
.zone-card h3 { margin: auto 0 10px; font-family: var(--serif); font-size: 34px; font-weight: 500; }
.zone-card p { margin: 0 0 20px; color: rgba(255,255,255,.7); }
.zone-card ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.zone-card li { padding: 6px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: rgba(255,255,255,.75); font-size: 11px; font-weight: 700; }
.zone-taste { background: rgba(203,75,39,.16); }
.zone-stage { background: rgba(226,160,33,.12); }
.zone-night { background: linear-gradient(145deg, rgba(72,45,101,.55), rgba(17,51,34,.7)); }

.schedule { background: var(--paper-2); }
.schedule-head { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 64px; }
.schedule-head > p { margin: 0 0 10px; color: var(--muted); font-size: 17px; }
.day-tabs { width: fit-content; display: grid; grid-template-columns: repeat(2, 260px); gap: 8px; padding: 7px; margin-bottom: 40px; background: rgba(23,70,47,.09); border-radius: 22px; }
.day-tabs button { padding: 17px 20px; display: grid; gap: 2px; text-align: left; color: var(--forest-800); border: 0; border-radius: 16px; background: transparent; cursor: pointer; }
.day-tabs button[aria-selected="true"] { color: var(--white); background: var(--forest-800); box-shadow: 0 12px 30px rgba(11,36,25,.16); }
.day-tabs span { font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.day-tabs strong { font-size: 20px; }
.day-tabs small { opacity: .72; }
.day-panel[hidden] { display: none; }
.timeline { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.timeline li { position: relative; min-height: 170px; display: grid; grid-template-columns: 170px 1fr; border-bottom: 1px solid var(--line); }
.timeline li::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 0; background: var(--forest-800); transition: width .3s ease; }
.timeline li:hover::after { width: 8px; }
.timeline time { padding: 42px 28px 35px 0; color: var(--terra); font-family: var(--serif); font-size: 42px; font-weight: 600; }
.timeline div { padding: 38px 0 35px 38px; border-left: 1px solid var(--line); }
.timeline div > span { color: var(--olive); font-size: 11px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.timeline h3 { margin: 4px 0 5px; color: var(--forest-900); font-family: var(--serif); font-size: 30px; font-weight: 600; }
.timeline p { max-width: 760px; margin: 0; color: var(--muted); }
.timeline .featured { background: rgba(226,160,33,.10); }
.timeline .night { color: var(--white); background: var(--forest-900); border-radius: 0 0 22px 22px; }
.timeline .night time, .timeline .night h3 { color: var(--mustard-light); }
.timeline .night div > span { color: var(--moss); }
.timeline .night p { color: rgba(255,255,255,.66); }

.lineup { position: relative; overflow: hidden; background: var(--paper); }
.lineup::before, .lineup::after { content: ""; position: absolute; width: 340px; height: 340px; border: 50px solid rgba(226,160,33,.09); transform: rotate(45deg); }
.lineup::before { left: -210px; top: 70px; }
.lineup::after { right: -230px; bottom: 30px; border-color: rgba(203,75,39,.08); }
.artist-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.artist-card { min-height: 300px; padding: 30px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.artist-card.headliner { grid-column: span 3; min-height: 390px; color: var(--white); background: var(--forest-800); border-color: transparent; }
.artist-card.dj { grid-column: span 2; }
.artist-type { color: var(--terra); font-size: 11px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.headliner .artist-type { color: var(--mustard-light); }
.artist-card h3 { margin: auto 0 12px; color: var(--forest-900); font-family: var(--serif); font-size: clamp(34px, 4vw, 56px); font-weight: 600; line-height: 1; }
.headliner h3 { color: var(--white); }
.artist-card p { margin: 0 0 20px; color: var(--muted); }
.headliner p { color: rgba(255,255,255,.68); }
.artist-card > span { color: var(--olive); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.headliner > span { color: var(--mustard-light); }

.venue { position: relative; min-height: 820px; display: flex; align-items: center; overflow: hidden; color: var(--white); background: var(--forest-950); }
.venue-panorama {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,29,20,.97) 0%, rgba(7,29,20,.84) 50%, rgba(7,29,20,.45) 100%),
    url('/assets/podzamcze-panorama.webp') center / cover no-repeat;
  filter: saturate(.82);
}
.venue-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .78fr; gap: 120px; align-items: end; }
.venue-card { padding: 52px; background: rgba(245,240,228,.94); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); }
.venue-card h2 { font-size: clamp(54px, 7vw, 88px); }
.venue-card > p:not(.eyebrow) { color: var(--muted); }
.venue-card address { margin: 26px 0; color: var(--forest-800); font-size: 20px; font-weight: 800; }
.text-link { color: var(--terra); font-weight: 850; text-underline-offset: 5px; }
.venue-notes { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.32); }
.venue-notes div { padding: 24px 0; display: grid; gap: 5px; border-bottom: 1px solid rgba(255,255,255,.25); }
.venue-notes strong { color: var(--mustard-light); font-family: var(--serif); font-size: 26px; }
.venue-notes span { color: rgba(255,255,255,.68); }

.partners { color: var(--white); background: var(--terra); }
.partners .eyebrow { color: var(--mustard-light); }
.partners h2 { color: var(--white); }
.partners h2 em { color: var(--mustard-light); }
.partners-intro { display: grid; grid-template-columns: 1.3fr .7fr; gap: 80px; align-items: end; }
.partners-intro > p { margin: 0 0 8px; color: rgba(255,255,255,.72); font-size: 18px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 70px; }
.value-card { min-height: 280px; padding: 30px; border: 1px solid rgba(255,255,255,.24); border-radius: var(--radius); background: rgba(255,255,255,.07); }
.value-card > span { color: var(--mustard-light); font-family: var(--serif); font-size: 30px; }
.value-card h3 { margin: 70px 0 10px; font-family: var(--serif); font-size: 28px; font-weight: 600; }
.value-card p { margin: 0; color: rgba(255,255,255,.68); }
.partner-levels { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 46px; background: var(--white); color: var(--ink); border-radius: var(--radius); overflow: hidden; }
.partner-levels div { min-height: 180px; padding: 30px; display: grid; align-content: center; gap: 4px; border-right: 1px solid var(--line); }
.partner-levels div:last-child { border: 0; }
.partner-levels small { color: var(--terra); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.partner-levels strong { color: var(--forest-900); font-family: var(--serif); font-size: 26px; }
.partner-levels span { color: var(--muted); font-size: 13px; }
.sponsor-cta { margin-top: 46px; padding: 42px 48px; display: flex; align-items: center; justify-content: space-between; gap: 40px; color: var(--forest-950); background: var(--mustard); border-radius: var(--radius); }
.sponsor-cta span { font-size: 11px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.sponsor-cta h3 { margin: 7px 0 0; font-family: var(--serif); font-size: 34px; line-height: 1.12; }
.button-light { color: var(--forest-950); background: var(--white); box-shadow: 0 12px 30px rgba(79,38,18,.12); }
.button-light:hover { background: var(--forest-950); color: var(--white); }

.organizers { background: var(--cream); }
.organizer-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; align-items: center; }
.organizer-logo { padding: 60px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 50%; aspect-ratio: 1; }
.organizer-logo img { width: 86%; height: auto; max-height: 86%; object-fit: contain; }
.organizer-names { display: grid; gap: 0; margin: 42px 0; border-top: 1px solid var(--line); }
.organizer-names div { padding: 22px 0; display: grid; grid-template-columns: 160px 1fr; gap: 30px; border-bottom: 1px solid var(--line); }
.organizer-names small { color: var(--terra); font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.organizer-names strong { color: var(--forest-900); font-size: 18px; }
.organizer-note { color: var(--muted); font-size: 13px; }

.site-footer { color: rgba(255,255,255,.7); background: var(--forest-950); }
.footer-main { min-height: 260px; padding-block: 58px; display: grid; grid-template-columns: 1fr 1fr .7fr; gap: 60px; align-items: center; }
.footer-brand { color: var(--white); }
.footer-event { display: grid; gap: 3px; }
.footer-event strong { color: var(--mustard-light); font-family: var(--serif); font-size: 30px; }
.footer-event span { color: var(--white); font-weight: 750; }
.footer-event em { font-size: 12px; font-style: normal; letter-spacing: .14em; text-transform: uppercase; }
.footer-main nav { display: grid; gap: 8px; }
.footer-main nav a { text-decoration: none; }
.footer-main nav a:hover { color: var(--mustard-light); }
.footer-legal { padding-block: 22px 34px; display: flex; justify-content: space-between; gap: 40px; border-top: 1px solid rgba(255,255,255,.12); font-size: 11px; }
.footer-legal p { margin: 0; }
.footer-legal details { max-width: 670px; text-align: right; }
.footer-legal summary { cursor: pointer; color: var(--moss); }
.footer-legal details p { margin-top: 12px; color: rgba(255,255,255,.55); }
.footer-legal a { color: var(--mustard-light); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  :root { --shell: min(100% - 40px, 920px); }
  .section { padding: 96px 0; }
  .main-nav { gap: 20px; }
  .intro-grid { grid-template-columns: 1fr 1fr; }
  .intro-manifesto { grid-column: 1 / -1; min-height: auto; }
  .locality { grid-template-columns: 1fr; }
  .locality-image { min-height: 520px; }
  .locality-copy { padding: 80px max(24px, calc((100vw - 920px)/2)); }
  .venue-grid { gap: 60px; }
  .organizer-grid { gap: 60px; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 32px, 720px); }
  .site-header { height: 76px; padding: 0 18px; }
  .site-header.scrolled { height: 68px; }
  .brand img { width: 48px; height: 44px; }
  .brand-copy strong { font-size: 13px; }
  .nav-toggle {
    width: 44px; height: 44px; padding: 11px; display: grid; align-content: center; gap: 5px;
    color: inherit; border: 1px solid currentColor; border-radius: 50%; background: transparent; cursor: pointer;
  }
  .nav-toggle span:not(.sr-only) { display: block; height: 2px; border-radius: 4px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: fixed; inset: 0; z-index: -1; padding: 120px 34px 40px; display: grid; align-content: start; gap: 6px;
    color: var(--white); background: var(--forest-950); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .2s ease;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav a { padding: 14px 0; font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: 0; text-transform: none; border-bottom: 1px solid rgba(255,255,255,.14); }
  .main-nav .nav-cta { margin-top: 14px; padding: 14px 20px; font-family: var(--sans); font-size: 13px; text-align: center; text-transform: uppercase; border: 1px solid var(--mustard); }
  .hero { min-height: 760px; height: auto; padding: 112px 0 82px; }
  .hero-content { padding-top: 0; }
  .hero h1 { font-size: clamp(58px, 15vw, 92px); }
  .hero-facts { width: 100%; }
  .hero-facts div { min-width: 0; flex: 1; padding-right: 16px; margin-right: 16px; }
  .hero-facts div:last-child { min-width: 0; }
  .hero-facts span { font-size: 18px; }
  .hero-scroll { display: none; }
  .intro-grid, .schedule-head, .partners-intro, .venue-grid, .organizer-grid { grid-template-columns: 1fr; }
  .facts-row { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .zone-card:nth-child(n) { grid-column: span 6; }
  .artist-card.headliner { grid-column: span 6; }
  .artist-card.dj { grid-column: span 2; }
  .venue { padding: 90px 0; }
  .venue-card { padding: 38px; }
  .value-grid, .partner-levels { grid-template-columns: 1fr; }
  .value-card { min-height: 230px; }
  .value-card h3 { margin-top: 40px; }
  .partner-levels div { border-right: 0; border-bottom: 1px solid var(--line); }
  .partner-levels div:last-child { border: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main nav { grid-column: 1/-1; grid-template-columns: repeat(4, auto); }
  .footer-legal { flex-direction: column; }
  .footer-legal details { text-align: left; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 28px); --radius: 22px; }
  .section { padding: 76px 0; }
  .hero { min-height: 780px; }
  .hero-media { background-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(8,31,21,.94), rgba(8,31,21,.58)), linear-gradient(0deg, rgba(7,27,18,.92), transparent 55%); }
  .hero h1 {
    font-size: clamp(34px, 11.4vw, 50px);
    line-height: .9;
    letter-spacing: -.06em;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }
  .hero h1 span { font-size: 14px; letter-spacing: .28em; white-space: normal; }
  .hero-lead { font-size: 24px; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-facts div { margin: 0; padding: 14px 10px; }
  .hero-facts div:first-child { padding-left: 0; }
  .hero-facts div:last-child { padding-right: 0; }
  .hero-facts span { font-size: 16px; }
  .hero-facts small { font-size: 9px; }
  .hero-actions .button { width: 100%; }
  .concept-note { font-size: 10px; }
  .section-heading h2, .locality h2, .schedule h2, .venue h2, .organizer-copy h2, .partners h2 { font-size: 43px; }
  .intro-grid { gap: 42px; }
  .facts-row { margin-top: 60px; }
  .fact { min-height: 120px; padding: 20px; }
  .fact strong { font-size: 46px; }
  .locality-image { min-height: 350px; }
  .locality-copy { padding: 68px 20px; }
  .zone-grid { grid-template-columns: 1fr; }
  .zone-card:nth-child(n) { grid-column: auto; min-height: 360px; }
  .schedule-head { gap: 28px; }
  .day-tabs { width: 100%; grid-template-columns: 1fr 1fr; }
  .day-tabs button { padding: 14px; }
  .day-tabs strong { font-size: 15px; }
  .day-tabs small { font-size: 11px; }
  .timeline li { grid-template-columns: 82px 1fr; min-height: 190px; }
  .timeline time { padding: 28px 12px 28px 0; font-size: 24px; }
  .timeline div { padding: 28px 0 28px 20px; }
  .timeline h3 { font-size: 24px; }
  .artist-grid { grid-template-columns: 1fr; }
  .artist-card.headliner, .artist-card.dj { grid-column: auto; min-height: 310px; }
  .venue-card { padding: 28px; }
  .venue-grid { gap: 44px; }
  .sponsor-cta { padding: 30px; flex-direction: column; align-items: flex-start; }
  .sponsor-cta .button { width: 100%; }
  .organizer-logo { width: min(100%, 360px); padding: 42px; justify-self: center; overflow: hidden; }
  .organizer-names div { grid-template-columns: 1fr; gap: 7px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-main nav { grid-column: auto; grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  @page { size: A4; margin: 10mm; }
  body { background: white; color: #111; font-size: 11pt; }
  .site-header, .scroll-progress, .hero-scroll, .hero-actions, .nav-toggle, .button, .folk-ribbon { display: none !important; }
  .hero { min-height: 210mm; height: auto; break-after: page; }
  .hero h1 { font-size: 70pt; }
  .section { padding: 16mm 0; break-inside: avoid; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .zone-grid, .artist-grid, .value-grid { break-inside: avoid; }
  .zone-card { min-height: 0; }
  .venue { min-height: 0; padding: 18mm 0; }
  .footer-legal details[open] p { display: block; }
}
